Bug 122288 - qca-tls-1.0-r2 fails with openssl-0.9.8
Bug#: 122288 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Other Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: humpback@gentoo.org Reported By: portage@bigmichi1.dyndns.org
Component: Library
URL:  ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/security/qca-tls/patches/patch-ab
Summary: qca-tls-1.0-r2 fails with openssl-0.9.8
Keywords:  
Status Whiteboard: 
Opened: 2006-02-09 11:22 0000
Description:   Opened: 2006-02-09 11:22 0000
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 From Michael Cramer 2006-02-09 11:24:33 0000 -------
Created an attachment (id=79347) [details]
opensslfix.patch

fix for building with openssl-0.9.8, taken from netbsd

------- Comment #2 From Michael Cramer 2006-02-13 12:25:31 0000 -------
fixed with 1.0-r3

------- Comment #3 From R!tman 2006-09-06 07:29:26 0000 -------
(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 From Albert Zeyer 2006-09-14 13:20:33 0000 -------
Exactly same problem here; ...-r3 works perfectly, please mark it as stable.