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

Bug 122288

Summary: qca-tls-1.0-r2 fails with openssl-0.9.8
Product: Gentoo Linux Reporter: Michael Cramer <portage>
Component: [OLD] LibraryAssignee: Gustavo Felisberto (RETIRED) <humpback>
Status: RESOLVED FIXED    
Severity: normal CC: crypto+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
URL: ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/security/qca-tls/patches/patch-ab
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: opensslfix.patch

Description Michael Cramer 2006-02-09 11:22:49 UTC
emerge fails with:
g++ -c -pipe -Wall -W -march=pentium3 -pipe -Os -D_REENTRANT -fPIC  -DQCA_PLUGIN -DOSSL_097 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -march=pentium3 -pipe -Os -fomit-frame-pointer -I/usr/qt/3/mkspecs/linux-g++ -I/var/tmp/portage/qca-tls-1.0-r2/work/qca-tls-1.0 -I/usr/qt/3/include -o qca-tls.o qca-tls.cpp
qca-tls.cpp: In member function 'virtual bool RSAKeyContext::createFromDER(const char*, unsigned int)':
qca-tls.cpp:457: error: invalid conversion from 'unsigned char**' to 'const unsigned char**'
qca-tls.cpp:457: error:   initializing argument 2 of 'RSA* d2i_RSA_PUBKEY(RSA**, const unsigned char**, long int)'
qca-tls.cpp: In member function 'virtual bool CertContext::createFromDER(const char*, unsigned int)':
qca-tls.cpp:802: error: invalid conversion from 'unsigned char**' to 'const unsigned char**'
qca-tls.cpp:802: error:   initializing argument 2 of 'X509* d2i_X509(X509**, const unsigned char**, long int)'
make: *** [qca-tls.o] Fehler 1

!!! ERROR: app-crypt/qca-tls-1.0-r2 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Michael Cramer 2006-02-09 11:24:33 UTC
Created attachment 79347 [details, diff]
opensslfix.patch

fix for building with openssl-0.9.8, taken from netbsd
Comment 2 Michael Cramer 2006-02-13 12:25:31 UTC
fixed with 1.0-r3
Comment 3 R!tman 2006-09-06 07:29:26 UTC
(In reply to comment #2)
> fixed with 1.0-r3

1.0-r3 should be stable then, as openssl-0.9.8 is. 
Comment 4 Albert Zeyer 2006-09-14 13:20:33 UTC
Exactly same problem here; ...-r3 works perfectly, please mark it as stable.