sys-fs/encfs-1.9.2 fails to build with libressl use flag: [ 89%] Building CXX object CMakeFiles/encfs.dir/encfs/XmlReader.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DELPP_DISABLE_DEFAULT_CRASH_HANDLING -DELPP_NO_DEFAULT_LOG_FILE -DELPP_SYSLOG -DELPP_THREAD_SAFE -DENABLE_NLS -DFUSE_USE_VERSION=26 -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"encfs\" -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I/var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2_build -I/var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2 -DNDEBUG -O2 -pipe -march=haswell -mtune=haswell -std=gnu++11 -o CMakeFiles/encfs.dir/encfs/XmlReader.cpp.o -c /var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2/encfs/XmlReader.cpp /var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2/encfs/SSL_Cipher.cpp: In function : /var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2/encfs/SSL_Cipher.cpp:78:35: error: was not declared in this scope EVP_MD_CTX *cx = EVP_MD_CTX_new(); ^ /var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2/encfs/SSL_Cipher.cpp:110:21: error: was not declared in this scope EVP_MD_CTX_free(cx); ^ /var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2/encfs/SSL_Cipher.cpp: In constructor : /var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2/encfs/SSL_Cipher.cpp:263:26: error: was not declared in this scope mac_ctx = HMAC_CTX_new(); ^ /var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2/encfs/SSL_Cipher.cpp:264:25: error: was not declared in this scope HMAC_CTX_reset(mac_ctx); ^ /var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2/encfs/SSL_Cipher.cpp: In destructor : /var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2/encfs/SSL_Cipher.cpp:281:24: error: was not declared in this scope HMAC_CTX_free(mac_ctx); ^ make[2]: *** [CMakeFiles/encfs.dir/build.make:687: CMakeFiles/encfs.dir/encfs/SSL_Cipher.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2_build' make[1]: *** [CMakeFiles/Makefile2:253: CMakeFiles/encfs.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-fs/encfs-1.9.2/work/encfs-1.9.2_build' make: *** [Makefile:163: all] Error 2 See the forum thread https://forums.gentoo.org/viewtopic-t-1066940.html Reproducible: Always
Created attachment 487418 [details, diff] encfs-1.9.2-libressl.patch
(In reply to Marco Genasci from comment #1) > Created attachment 487418 [details, diff] [details, diff] > encfs-1.9.2-libressl.patch thanks! for the record, what version of libressl are you running?
(In reply to Anthony Basile from comment #2) > (In reply to Marco Genasci from comment #1) > > Created attachment 487418 [details, diff] [details, diff] [details, diff] > > encfs-1.9.2-libressl.patch > > thanks! for the record, what version of libressl are you running? Sorry but I don't use libressl, I only created the patch for a user in the forum (https://forums.gentoo.org/viewtopic-t-1066940.html) and reported the bug.
(In reply to Marco Genasci from comment #3) > (In reply to Anthony Basile from comment #2) > > (In reply to Marco Genasci from comment #1) > > > Created attachment 487418 [details, diff] [details, diff] [details, diff] [details, diff] > > > encfs-1.9.2-libressl.patch > > > > thanks! for the record, what version of libressl are you running? > > Sorry but I don't use libressl, I only created the patch for a user in the > forum (https://forums.gentoo.org/viewtopic-t-1066940.html) and reported the > bug. well i can test at my end.
ChangeLog for 1.9.3 contains: """ * Ensure compatibility with LibreSSL """ https://github.com/vgough/encfs/commit/566f4e48cfe0a8bd27b53718ec5c51b6235804f1
*** Bug 644978 has been marked as a duplicate of this bug. ***