qca-ossl and bacula-client fail during compile

Ralf Folkerts ralf.folkerts at gmx.de
Fri Apr 30 07:40:34 UTC 2010


Hi,

last weekend I ran a portmaster-update on my FreeBSD 8-STABLE Box 
(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 
watched and searched this "ports" ML but didn't find these, so probably 
I did something wrong during the Update? Also, I didn't notice any 
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 
(due to a Patch applied by the Port) I was able to apply here: 
http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=313571 and 
compile qca-ossl.

For the bacula-Problem I found a Thread initiated by Kern Sibbald re. 
these Problems: 
http://www.mail-archive.com/openssl-dev@openssl.org/msg27223.html and 
there seems to be a more recent Version to be compatible with OpenSSL 1.0.

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 
patch for qca-ossl)?

Cheers,
_ralf_


Good, your configure finished.  Now run /usr/local/bin/gmake.
===>  Building for qca-ossl-2.0.0.b3_3
/usr/local/bin/moc-qt4 -DOSSL_097 -DQT_NO_DEBUG -DQT_PLUGIN 
-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 
-I/usr/local/include -I/usr/local/include/QtCrypto -I. 
-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 
-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 
-I/usr/local/include -I/usr/local/include/QtCrypto -I. 
-I/usr/local/include -o qca-ossl.o qca-ossl.cpp
qca-ossl.cpp: In function 'X509_EXTENSION* 
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 
opensslQCAPlugin::RSAKey::startSign(QCA::SignatureAlgorithm, 
QCA::SignatureFormat)':
qca-ossl.cpp:1775: error: 'EVP_md2' was not declared in this scope
qca-ossl.cpp: In member function 'virtual void 
opensslQCAPlugin::RSAKey::startVerify(QCA::SignatureAlgorithm, 
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* 
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.


==>Entering directory 
/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*' 
to 'X509V3_EXT_METHOD*'
crypto.c: In function 'CRYPTO_SESSION* 
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 
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.


   ====== Error in 
/usr/ports/sysutils/bacula-client/work/bacula-5.0.0/src/lib ======


*** 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.






More information about the freebsd-ports mailing list