[kde-freebsd] maintainer-feedback requested: [Bug 210053] devel/qca: doesn't compile with libressl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 5 13:59:19 UTC 2016


lbartoletti <lbartoletti at tuxfamily.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to kde at FreeBSD.org:
Bug 210053: devel/qca: doesn't compile with libressl
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210053



--- Description ---
Seems to be a classical problem with LibreSSL security:

My conf:
WITH_OPENSSL_PORT=yes
OPENSSL_PORT=security/libressl

The error:
[ 95%] Building CXX object
plugins/qca-ossl/CMakeFiles/qca-ossl.dir/qca-ossl.cpp.o
cd /wrkdirs/usr/ports/devel/qca/work/.build/plugins/qca-ossl &&
/usr/local/libexec/ccache/c++	-DHAVE_OPENSSL_AES_CTR
-DQCA_SYSTEMSTORE_PATH=\"/usr/local/share/certs/ca-root-nss.crt\" -DQT_CORE_LIB
-DQT_NO_DEBUG -Dqca_ossl_EXPORTS
-I/wrkdirs/usr/ports/devel/qca/work/.build/plugins/qca-ossl
-I/wrkdirs/usr/ports/devel/qca/work/qca-2.1.1/plugins/qca-ossl
-I/wrkdirs/usr/ports/devel/qca/work/qca-2.1.1/include/QtCrypto
-I/wrkdirs/usr/ports/devel/qca/work/.build -isystem /usr/local/include/qt4
-isystem /usr/local/include/qt4/QtCore -I/usr/local/include -isystem
/usr/local/share/qt4/mkspecs/default -O2 -pipe -fstack-protector
-fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -o
CMakeFiles/qca-ossl.dir/qca-ossl.cpp.o -c
/wrkdirs/usr/ports/devel/qca/work/qca-2.1.1/plugins/qca-ossl/qca-ossl.cpp
/wrkdirs/usr/ports/devel/qca/work/qca-2.1.1/plugins/qca-ossl/qca-ossl.cpp:5407:
22:
error: use of undeclared identifier 'SSLv3_client_method'; did you mean
'SSLv23_client_method'?
			ctx = SSL_CTX_new(SSLv3_client_method());
					  ^~~~~~~~~~~~~~~~~~~
					  SSLv23_client_method
/usr/local/include/openssl/ssl.h:1678:19: note: 'SSLv23_client_method' declared
here
const SSL_METHOD *SSLv23_client_method(void);	/* SSLv3 or TLSv1.* */
		  ^
/wrkdirs/usr/ports/devel/qca/work/qca-2.1.1/plugins/qca-ossl/qca-ossl.cpp:7141:
35:
error: use of undeclared identifier 'EVP_sha'; did you mean 'EVP_sha1'?
			return new opensslHashContext( EVP_sha(), this, type);
						       ^~~~~~~
						       EVP_sha1
/usr/local/include/openssl/evp.h:658:15: note: 'EVP_sha1' declared here
const EVP_MD *EVP_sha1(void);

Thanks!


More information about the kde-freebsd mailing list