Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jun 2016 13:59:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210053] devel/qca: doesn't compile with libressl
Message-ID:  <bug-210053-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210053

            Bug ID: 210053
           Summary: devel/qca: doesn't compile with libressl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: lbartoletti@tuxfamily.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

Seems to be a classical problem with LibreSSL security:

My conf:
WITH_OPENSSL_PORT=3Dyes
OPENSSL_PORT=3Dsecurity/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=3D\"/usr/local/share/certs/ca-root-nss.crt\" -DQT_CO=
RE_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:5=
407:22:
error: use of undeclared identifier 'SSLv3_client_method'; did you mean
'SSLv23_client_method'?
                        ctx =3D SSL_CTX_new(SSLv3_client_method());
                                          ^~~~~~~~~~~~~~~~~~~
                                          SSLv23_client_method
/usr/local/include/openssl/ssl.h:1678:19: note: 'SSLv23_client_method' decl=
ared
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:7=
141:35:
error: use of undeclared identifier 'EVP_sha'; did you mean 'EVP_sha1'?
                        return new opensslHashContext( EVP_sha(), this, typ=
e);
                                                       ^~~~~~~
                                                       EVP_sha1
/usr/local/include/openssl/evp.h:658:15: note: 'EVP_sha1' declared here
const EVP_MD *EVP_sha1(void);

Thanks!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210053-13>