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

Bug 312023

Summary: dev-cpp/Ice-3.3.1 fails to compile against openssl-1.0.0
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: [OLD] DevelopmentAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: spatz
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.zeroc.com/forums/patches/4840-patch-building-against-newer-openssl.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 304279    
Attachments: build.log
Ice-3.3.1-openssl.patch
files/Ice-3.3.1-openssl.patch

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-03-30 01:26:23 UTC
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/Ice-3.3.1/work/Ice-3.3.1/cpp/src/IceXML'
making all in IceSSL
make[2]: Entering directory `/var/tmp/portage/dev-cpp/Ice-3.3.1/work/Ice-3.3.1/cpp/src/IceSSL'
c++ -c -I.. -I../../include -DICE_SSL_API_EXPORTS  -march=barcelona -mtune=barcelona -O2 -pipe -m64 -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -O2 -DNDEBUG AcceptorI.cpp
c++ -c -I.. -I../../include -DICE_SSL_API_EXPORTS  -march=barcelona -mtune=barcelona -O2 -pipe -m64 -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -O2 -DNDEBUG Certificate.cpp
c++ -c -I.. -I../../include -DICE_SSL_API_EXPORTS  -march=barcelona -mtune=barcelona -O2 -pipe -m64 -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -O2 -DNDEBUG ConnectorI.cpp
c++ -c -I.. -I../../include -DICE_SSL_API_EXPORTS  -march=barcelona -mtune=barcelona -O2 -pipe -m64 -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -O2 -DNDEBUG EndpointI.cpp
c++ -c -I.. -I../../include -DICE_SSL_API_EXPORTS  -march=barcelona -mtune=barcelona -O2 -pipe -m64 -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -O2 -DNDEBUG Instance.cpp
c++ -c -I.. -I../../include -DICE_SSL_API_EXPORTS  -march=barcelona -mtune=barcelona -O2 -pipe -m64 -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -O2 -DNDEBUG PluginI.cpp
c++ -c -I.. -I../../include -DICE_SSL_API_EXPORTS  -march=barcelona -mtune=barcelona -O2 -pipe -m64 -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -O2 -DNDEBUG TransceiverI.cpp
Instance.cpp: In member function ‘void IceSSL::Instance::traceConnection(SSL*, bool)’:
Instance.cpp:992: error: invalid conversion from ‘const SSL_CIPHER*’ to ‘SSL_CIPHER*’
make[2]: *** [Instance.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/Ice-3.3.1/work/Ice-3.3.1/cpp/src/IceSSL'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/Ice-3.3.1/work/Ice-3.3.1/cpp/src'
make: *** [all] Error 1


Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-03-30 01:27:53 UTC
Created attachment 225769 [details]
build.log
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-03-30 01:58:04 UTC
Created attachment 225775 [details, diff]
Ice-3.3.1-openssl.patch

Patch from URL.
Comment 3 Philip Kovacs 2010-04-03 21:16:27 UTC
Created attachment 226471 [details, diff]
files/Ice-3.3.1-openssl.patch

Here's my better patch.  I also submitted it upstream at zeroc.com.
Comment 4 Dror Levin (RETIRED) gentoo-dev 2010-06-04 13:09:43 UTC
Added patch to -r1, thanks.

Philip: the patch you attached is local and there are many Instance.cpp files in the source tree, so it fails and I had to redo it. Next time the patch should be made for the entire directory.