Failed to compile Encryptpad on Majaro (Arch Linux)

10 views
Skip to first unread message

Chema

unread,
May 17, 2023, 7:42:25 AM5/17/23
to EncryptPad
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

Evgeny Pokhilko

unread,
May 17, 2023, 8:24:20 AM5/17/23
to Chema, EncryptPad
Hi Chema,

Thanks for reporting this issue. I will look at it.

Regarding Botan 3, I don't know yet. I need to see how much needs to change to support it.

Cheers,
Evgeny
> --
> You received this message because you are subscribed to the Google Groups "EncryptPad" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to encryptpad+...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/encryptpad/25a4ef6b-ede5-4b3a-8a82-da4801e7d2fcn%40googlegroups.com.


--
Evgeny Pokhilko <soft...@evpo.net>

Evgeny Pokhilko

unread,
Dec 6, 2023, 6:20:13 AM12/6/23
to Evgeny Pokhilko, EncryptPad
I created a branch to build the project with Botan 3: https://github.com/evpo/EncryptPad/tree/botan3
It passes all tests so can be used for those who are comfortable to compile encryptpad from source.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/encryptpad/20230517223114.093e57ae6abfc2bf6aa5933c%40evpo.net.


--
Evgeny Pokhilko <soft...@evpo.net>
Reply all
Reply to author
Forward
0 new messages