Subject: pkg/36786: build crashs on Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <pkgsrc@blackmouse.biz>
List: pkgsrc-bugs
Date: 08/15/2007 10:40:01
>Number: 36786
>Category: pkg
>Synopsis: build crashs on Linux
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 15 10:40:01 +0000 2007
>Originator: Ondrej Tuma
>Release: current
>Organization:
Blackmouse
>Environment:
Linux ip1 2.6.20.1 #3 Thu Mar 8 18:42:01 CET 2007 i686 athlon-4 i386 GNU/Linux
>Description:
===> Building for qca-tls-1.0nb3
libtool --silent --mode=compile g++ -c -O2 -march=i686 -I/usr/pkg/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2 -DQ_TRAILING_DIR_SEP -D_REENTRANT -DQCA_PLUGIN -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/pkg/qt3/mkspecs/netbsd-g++ -I. -I../../../../../pkg/include -I../../../../../pkg/include -I/usr/pkg/qt3/include -o qca-tls.lo qca-tls.cpp
qca-tls.cpp: In member function `void RSAKeyContext::separate(RSA*, RSA**, RSA**)':
qca-tls.cpp:390: error: invalid conversion from `unsigned char**' to `const unsigned char**'
qca-tls.cpp:390: error: initializing argument 2 of `RSA* d2i_RSAPublicKey(RSA**, const unsigned char**, long int)'
qca-tls.cpp:404: error: invalid conversion from `unsigned char**' to `const unsigned char**'
qca-tls.cpp:404: error: initializing argument 2 of `RSA* d2i_RSAPrivateKey(RSA**, const unsigned char**, long int)'
qca-tls.cpp: In member function `virtual bool RSAKeyContext::createFromDER(const char*, unsigned int)':
qca-tls.cpp:437: error: invalid conversion from `unsigned char**' to `const unsigned char**'
qca-tls.cpp:437: error: initializing argument 2 of `RSA* d2i_RSAPrivateKey(RSA**, const unsigned char**, long int)'
qca-tls.cpp:452: error: invalid conversion from `unsigned char**' to `const unsigned char**'
qca-tls.cpp:452: error: initializing argument 2 of `RSA* d2i_RSAPublicKey(RSA**, const unsigned char**, long int)'
make: *** [qca-tls.lo] Error 1
full log is here:
http://linux.blackmouse.biz/pub/blackmouse-current/i686/pkgstat-modular/20070814.0054/security/qca-tls/.broken.html
>How-To-Repeat:
bmake
>Fix: