Hi,
Since a few weeks ago, when I try to compile Encryptpad 0.5.0.2 in Manjaro from AUR repository, it gives me the following compile error:
--------------------------------------
g++ -fstack-protector -m64 -pthread -std=c++11 -D_REENTRANT -O3 -momit-leaf-frame-pointer -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor -I/usr/include/botan-2 -Ibuild/include/encryptmsg -Ibuild/include/encryptmsg/internal -isystem /var/tmp/pamac-build-rondo/encryptpad/src/encryptpad0_5_0_2_src/deps/stlplus/containers -isystem /var/tmp/pamac-build-rondo/encryptpad/src/encryptpad0_5_0_2_src/deps/plog/include -c src/lib/emsg_constants.cpp -o build/obj/lib/lib_emsg_constants.o
In file included from src/lib/emsg_constants.cpp:7:
src/lib/emsg_constants.h:23:11: error: ‘uint8_t’ does not name a type
23 | const uint8_t kDefaultPartialLengthPower = 4;
| ^~~~~~~
src/lib/emsg_constants.h:11:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
10 | #include "algo_spec.h"
+++ |+#include <cstdint>
11 |
make[1]: *** [Makefile:178: build/obj/lib/lib_emsg_constants.o] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-rondo/encryptpad/src/encryptpad0_5_0_2_src/deps/libencryptmsg'
make: *** [Makefile:68: /var/tmp/pamac-build-rondo/encryptpad/src/encryptpad0_5_0_2_src/deps/libencryptmsg/build/libencryptmsg.a] Error 2
==> ERROR: A failure occurred in build().
Aborting...
--------------------------------------
Does anyone know why this error occurs and how it can be fixed?
And on the other hand, are there any short-term plans to migrate the version of botan that Encryptpad uses to start using version 3?
Thanks in advance for the help.
Regards,
Chema