maintainer-feedback requested: [Bug 243383] devel/qca + LibreSSL = fails to build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 15 22:46:14 GMT 2020


Bugzilla Automation <bugzilla at FreeBSD.org> has asked kde at FreeBSD.org for
maintainer-feedback:
Bug 243383: devel/qca + LibreSSL = fails to build
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243383



--- Description ---
Building devel/qca with latest quarterly snapshot 2020Q1 on FreeBSD 11.3 with
ssl=libressl and option SSL fails. The relevant log bits are at the end of the
comment.

Note, this resembles but is not exactly equivalent to the following bugs:

bug #235883 
bug #232784

A complete log will be attached. 

In file included from
/wrkdirs/usr/ports/devel/qca/work/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:44:
/wrkdirs/usr/ports/devel/qca/work/qca-2.2.1/plugins/qca-ossl/ossl110-compat.h:2
60:12:
error: static declaration of 'RSA_meth_set_sign' follows non-static declaration
static int RSA_meth_set_sign(RSA_METHOD *meth, int (*sign) (int type, const
unsigned char *m,
	   ^
/usr/local/include/openssl/rsa.h:480:5: note: previous declaration is here
int RSA_meth_set_sign(RSA_METHOD *rsa, int (*sign)(int type,
    ^
In file included from
/wrkdirs/usr/ports/devel/qca/work/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:44:
/wrkdirs/usr/ports/devel/qca/work/qca-2.2.1/plugins/qca-ossl/ossl110-compat.h:2
68:12:
error: static declaration of 'RSA_meth_set_verify' follows non-static
declaration
static int RSA_meth_set_verify(RSA_METHOD *meth, int (*verify) (int dtype,
const unsigned char *m,
	   ^
/usr/local/include/openssl/rsa.h:486:5: note: previous declaration is here
int RSA_meth_set_verify(RSA_METHOD *rsa, int (*verify)(int dtype,
    ^
/wrkdirs/usr/ports/devel/qca/work/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2849:
4:
error: call to 'RSA_meth_set_sign' is ambiguous
			RSA_meth_set_sign(ops, NULL);
			^~~~~~~~~~~~~~~~~
/usr/local/include/openssl/rsa.h:480:5: note: candidate function
int RSA_meth_set_sign(RSA_METHOD *rsa, int (*sign)(int type,
    ^
/wrkdirs/usr/ports/devel/qca/work/qca-2.2.1/plugins/qca-ossl/ossl110-compat.h:2
60:12:
note: candidate function
static int RSA_meth_set_sign(RSA_METHOD *meth, int (*sign) (int type, const
unsigned char *m,
	   ^
/wrkdirs/usr/ports/devel/qca/work/qca-2.2.1/plugins/qca-ossl/qca-ossl.cpp:2853:
4:
error: call to 'RSA_meth_set_verify' is ambiguous
			RSA_meth_set_verify(ops, NULL); //pkcs11_rsa_verify
			^~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/rsa.h:486:5: note: candidate function
int RSA_meth_set_verify(RSA_METHOD *rsa, int (*verify)(int dtype,
    ^
/wrkdirs/usr/ports/devel/qca/work/qca-2.2.1/plugins/qca-ossl/ossl110-compat.h:2
68:12:
note: candidate function
static int RSA_meth_set_verify(RSA_METHOD *meth, int (*verify) (int dtype,
const unsigned char *m,
	   ^
4 errors generated.


More information about the kde-freebsd mailing list