Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 614764

Summary: dev-libs/Ice fails to build with openssl-1.1
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Current packagesAssignee: Robert Förster <Dessa>
Status: RESOLVED FIXED    
Severity: normal CC: cpp+disabled, kripton
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 592438    
Attachments: build.log

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-04-05 15:07:49 UTC
Created attachment 469242 [details]
build.log

make[2]: Entering directory '/var/tmp/portage/dev-libs/Ice-3.6.3-r1/work/ice-3.6.3/cpp/src/IceSSL'
rm -f ../../include/IceSSL/ConnectionInfo.h ConnectionInfo.cpp
../../bin/slice2cpp --ice --include-dir IceSSL --dll-export ICE_SSL_API -I../../../slice ../../../slice/IceSSL/ConnectionInfo.ice
mv ConnectionInfo.h ../../include/IceSSL
rm -f ../../include/IceSSL/EndpointInfo.h EndpointInfo.cpp
../../bin/slice2cpp --ice --include-dir IceSSL --dll-export ICE_SSL_API -I../../../slice ../../../slice/IceSSL/EndpointInfo.ice
mv EndpointInfo.h ../../include/IceSSL
x86_64-pc-linux-gnu-g++ -c -I.. -I../../include -DICE_SSL_API_EXPORTS  -march=native -mtune=native -O2 -pipe  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG -MMD AcceptorI.cpp -MF .depend/AcceptorI.d
x86_64-pc-linux-gnu-g++ -c -I.. -I../../include -DICE_SSL_API_EXPORTS  -march=native -mtune=native -O2 -pipe  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG -MMD Certificate.cpp -MF .depend/Certificate.d
Certificate.cpp: In member function ‘IceUtil::Time IceSSL::Certificate::getNotAfter() const’:
Certificate.cpp:1204:59: error: ‘X509_get_notAfter’ was not declared in this scope
     return ASMUtcTimeToIceUtilTime(X509_get_notAfter(_cert));
                                                           ^
Certificate.cpp: In member function ‘IceUtil::Time IceSSL::Certificate::getNotBefore() const’:
Certificate.cpp:1216:60: error: ‘X509_get_notBefore’ was not declared in this scope
     return ASMUtcTimeToIceUtilTime(X509_get_notBefore(_cert));
                                                            ^
Certificate.cpp: In member function ‘std::__cxx11::string IceSSL::Certificate::getSerialNumber() const’:
Certificate.cpp:1241:29: error: ‘BN_bn2dec’ was not declared in this scope
     char* dec = BN_bn2dec(bn);
                             ^
Certificate.cpp:1244:15: error: ‘BN_free’ was not declared in this scope
     BN_free(bn);
               ^
make[2]: *** [../../config/Make.rules:388: Certificate.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/Ice-3.6.3-r1/work/ice-3.6.3/cpp/src/IceSSL'
make[1]: *** [Makefile:91: IceSSL] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-libs/Ice-3.6.3-r1/work/ice-3.6.3/cpp/src'
make: *** [Makefile:51: all] Error 1
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-09-29 18:13:28 UTC
Since we decided to no longer build openssl without deprecated features, this
bug can now be considered as fixed (but will eventually reappear once openssl
upstream finally removed deprecated features from their code).