Summary: | sys-fs/encfs-1.9.4 with dev-libs/openssl-1.1.0g-r2 - .../work/encfs-1.9.4/encfs/openssl.cpp:47:33: error: ?CRYPTO_num_locks? was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | bug2017 |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asturm, johannes.hirte, thomas.bettler |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 592438 | ||
Attachments: |
emerge output
encfs-1.9.4-openssl-1.1.patch |
Created attachment 522222 [details, diff]
encfs-1.9.4-openssl-1.1.patch
patch for building encfs-1.9.4 with openssl-1.1 without compat layer
(In reply to Johannes Hirte from comment #1) > Created attachment 522222 [details, diff] [details, diff] > encfs-1.9.4-openssl-1.1.patch > > patch for building encfs-1.9.4 with openssl-1.1 without compat layer Did this patch go upstream? Much to my surprise, 1.9.4 and 1.9.5 built fine against openssl-1.1.0i. (In reply to Andreas Sturmlechner from comment #3) > Much to my surprise, 1.9.4 and 1.9.5 built fine against openssl-1.1.0i. I assume openssl was build with the compat-API now, right? Not to my knowledge. I'm using regular 1.1.0i Gentoo repo ebuild, and API=1.0.0 option is dropped since v1.1.0h. Either fixed by removal of "disable-deprecated" in openssl or by the following encfs upstream commit: https://github.com/vgough/encfs/commit/441fa20ed6a501115d07252787d6c99dd3dd5538 |
Created attachment 520882 [details] emerge output Pulled in by kde-plasma/plasma-vault. My workaround is change to cryfs. The first lines of the build error: /var/tmp/portage/sys-fs/encfs-1.9.4/work/encfs-1.9.4/encfs/openssl.cpp: In function ‘void encfs::pthreads_locking_callback(int, int, const char*, int)’: /var/tmp/portage/sys-fs/encfs-1.9.4/work/encfs-1.9.4/encfs/openssl.cpp:47:33: error: ‘CRYPTO_num_locks’ was not declared in this scope VLOG(1) << "Allocating " << CRYPTO_num_locks() << " locks for OpenSSL";