Date: Fri, 30 Apr 2010 09:40:31 +0200 From: Ralf Folkerts <ralf.folkerts@gmx.de> To: freebsd-ports@freebsd.org Subject: qca-ossl and bacula-client fail during compile Message-ID: <4BDA896F.6010405@gmx.de>
next in thread | raw e-mail | index | archive | help
Hi, last weekend I ran a portmaster-update on my FreeBSD 8-STABLE Box=20 (amd64). I thought it was a safe time to do so. Well, a few Ports failed (due to the OpenSSL-Update to 1.0.0?). I=20 watched and searched this "ports" ML but didn't find these, so probably=20 I did something wrong during the Update? Also, I didn't notice any=20 Head-Up -- did I miss something? One is security/qca-ossl (qca-ossl-2.0.0-beta3), the other bacula-client = (bacula-client-5.0.0). For the qca-ossl-Problem I found a Patch that with slight Modifications=20 (due to a Patch applied by the Port) I was able to apply here:=20 http://bugs.gentoo.org/show_bug.cgi?format=3Dmultiple&id=3D313571 and=20 compile qca-ossl. For the bacula-Problem I found a Thread initiated by Kern Sibbald re.=20 these Problems:=20 http://www.mail-archive.com/openssl-dev@openssl.org/msg27223.html and=20 there seems to be a more recent Version to be compatible with OpenSSL 1.0= =2E Did I do something completely wrong? Or is this all still WIP? Or should = I create Bug-Tickets for these problems (and maybe attach the patched=20 patch for qca-ossl)? Cheers, _ralf_ Good, your configure finished. Now run /usr/local/bin/gmake. =3D=3D=3D> Building for qca-ossl-2.0.0.b3_3 /usr/local/bin/moc-qt4 -DOSSL_097 -DQT_NO_DEBUG -DQT_PLUGIN=20 -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. = -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4=20 -I/usr/local/include -I/usr/local/include/QtCrypto -I.=20 -I/usr/local/include qca-ossl.cpp -o qca-ossl.moc g++ -c -pipe -O2 -Wall -W -fPIC -DOSSL_097 -DQT_NO_DEBUG -DQT_PLUGIN=20 -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. = -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4=20 -I/usr/local/include -I/usr/local/include/QtCrypto -I.=20 -I/usr/local/include -o qca-ossl.o qca-ossl.cpp qca-ossl.cpp: In function 'X509_EXTENSION*=20 opensslQCAPlugin::new_subject_key_id(X509*)': qca-ossl.cpp:330: warning: deprecated conversion from string constant to = 'char*' qca-ossl.cpp: In member function 'virtual void=20 opensslQCAPlugin::RSAKey::startSign(QCA::SignatureAlgorithm,=20 QCA::SignatureFormat)': qca-ossl.cpp:1775: error: 'EVP_md2' was not declared in this scope qca-ossl.cpp: In member function 'virtual void=20 opensslQCAPlugin::RSAKey::startVerify(QCA::SignatureAlgorithm,=20 QCA::SignatureFormat)': qca-ossl.cpp:1793: error: 'EVP_md2' was not declared in this scope qca-ossl.cpp: In member function 'virtual QCA::Provider::Context*=20 opensslProvider::createContext(const QString&)': qca-ossl.cpp:6794: error: 'EVP_md2' was not declared in this scope qca-ossl.cpp:6824: error: 'EVP_md2' was not declared in this scope *** Error code 1 Stop in /usr/ports/security/qca-ossl/work/qca-ossl-2.0.0-beta3. *** Error code 1 Stop in /usr/ports/security/qca-ossl. =3D=3D>Entering directory=20 /usr/ports/sysutils/bacula-client/work/bacula-5.0.0/src/lib Compiling attr.c Compiling base64.c Compiling berrno.c Compiling bsys.c Compiling bget_msg.c Compiling bnet.c Compiling bnet_server.c Compiling runscript.c Compiling bsock.c Compiling bpipe.c Compiling bsnprintf.c Compiling btime.c Compiling cram-md5.c Compiling crc32.c Compiling crypto.c crypto.c: In function 'ASN1_OCTET_STRING* openssl_cert_keyid(X509*)': crypto.c:333: error: invalid conversion from 'const X509V3_EXT_METHOD*'=20 to 'X509V3_EXT_METHOD*' crypto.c: In function 'CRYPTO_SESSION*=20 crypto_session_new(crypto_cipher_t, alist*)': crypto.c:1102: error: cannot convert 'unsigned char*' to 'EVP_PKEY_CTX*' = for argument '1' to 'int EVP_PKEY_encrypt(EVP_PKEY_CTX*, unsigned char*, = size_t*, const unsigned char*, size_t)' crypto.c: In function 'crypto_error_t crypto_session_decode(const=20 u_int8_t*, u_int32_t, alist*, CRYPTO_SESSION**)': crypto.c:1226: error: cannot convert 'unsigned char*' to 'EVP_PKEY_CTX*' = for argument '1' to 'int EVP_PKEY_decrypt(EVP_PKEY_CTX*, unsigned char*, = size_t*, const unsigned char*, size_t)' *** Error code 1 Stop in /usr/ports/sysutils/bacula-client/work/bacula-5.0.0/src/lib. =3D=3D=3D=3D=3D=3D Error in=20 /usr/ports/sysutils/bacula-client/work/bacula-5.0.0/src/lib =3D=3D=3D=3D=3D= =3D *** Error code 1 Stop in /usr/ports/sysutils/bacula-client/work/bacula-5.0.0. *** Error code 1 Stop in /usr/ports/sysutils/bacula-client. *** Error code 1 Stop in /usr/ports/sysutils/bacula-client.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BDA896F.6010405>