Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604698 - sys-fs/cryptsetup-1.7.3 with dev-libs/openssl-1.1.0c - error: 'SSLEAY_VERSION' undeclared
Summary: sys-fs/cryptsetup-1.7.3 with dev-libs/openssl-1.1.0c - error: 'SSLEAY_VERSION...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://gitlab.com/cryptsetup/cryptse...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2017-01-04 20:59 UTC by eroen
Modified: 2017-04-12 08:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-fs/cryptsetup-1.7.3:20170104-205646.log (cryptsetup-1.7.3:20170104-205646.log,16.29 KB, text/plain)
2017-01-04 20:59 UTC, eroen
Details
0001-Enhance-openssl-1.1.0-compatibility.patch (0001-Enhance-openssl-1.1.0-compatibility.patch,2.00 KB, patch)
2017-01-04 21:04 UTC, eroen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2017-01-04 20:59:37 UTC
Created attachment 458786 [details]
sys-fs/cryptsetup-1.7.3:20170104-205646.log

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -include config.h -I../../lib -Wall -O0 -g -c crypto_openssl.c  -fPIC -DPIC -o .libs/libcrypto_backend_la-crypto_openssl.o
crypto_openssl.c: In function 'crypt_backend_init':
crypto_openssl.c:57:2: warning: implicit declaration of function 'OpenSSL_add_all_algorithms' [-Wimplicit-function-declaration]
  OpenSSL_add_all_algorithms();
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
crypto_openssl.c: In function 'crypt_backend_version':
crypto_openssl.c:70:9: warning: implicit declaration of function 'SSLeay_version' [-Wimplicit-function-declaration]
  return SSLeay_version(SSLEAY_VERSION);
         ^~~~~~~~~~~~~~
crypto_openssl.c:70:24: error: 'SSLEAY_VERSION' undeclared (first use in this function)
  return SSLeay_version(SSLEAY_VERSION);
                        ^~~~~~~~~~~~~~
crypto_openssl.c:70:24: note: each undeclared identifier is reported only once for each function it appears in
crypto_openssl.c:71:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[3]: *** [Makefile:509: libcrypto_backend_la-crypto_openssl.lo] Error 1
make[3]: Leaving directory '/var/tmp/portage/sys-fs/cryptsetup-1.7.3/work/cryptsetup-1.7.3/lib/crypto_backend'
make[2]: *** [Makefile:758: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-fs/cryptsetup-1.7.3/work/cryptsetup-1.7.3/lib'
make[1]: *** [Makefile:462: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-fs/cryptsetup-1.7.3/work/cryptsetup-1.7.3'
make: *** [Makefile:394: all] Error 2
 * ERROR: sys-fs/cryptsetup-1.7.3::gentoo failed (compile phase):
 *   emake failed
Comment 1 eroen 2017-01-04 21:04:59 UTC
Created attachment 458788 [details, diff]
0001-Enhance-openssl-1.1.0-compatibility.patch

I have submitted this patch upstream.[0]

0: https://gitlab.com/cryptsetup/cryptsetup/merge_requests/14
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-04-12 08:45:00 UTC
Fixed in >=sys-fs/cryptsetup-1.7.4