maintainer-feedback requested: [Bug 248590] devel/qca and libressl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 11 11:23:10 BST 2020


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (Team)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 248590: devel/qca and libressl
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248590



--- Description ---
devel/qca fails to build with libressl. Patch exists with gentoo that could be
merged with existing patch.

qca-qt5
/wrkdirs/usr/ports/devel/qca/work/qca-2.3.1/plugins/qca-ossl/qca-ossl.cpp:5028:
39:
error: use of undeclared identifier 'TLS1_3_VERSION'
			SSL_CTX_set_max_proto_version(ctx, TLS1_3_VERSION);
							   ^
/wrkdirs/usr/ports/devel/qca/work/qca-2.3.1/plugins/qca-ossl/qca-ossl.cpp:5049:
38:
error: use of undeclared identifier 'SSL_CIPHER_standard_name'; did you mean
'SSL_CIPHER_get_name'?
			cipherList +=
QString::fromLatin1(SSL_CIPHER_standard_name(thisCipher));
							 
^~~~~~~~~~~~~~~~~~~~~~~~
							  SSL_CIPHER_get_name
/usr/local/include/openssl/ssl.h:1296:14: note: 'SSL_CIPHER_get_name' declared
here
const char *	SSL_CIPHER_get_name(const SSL_CIPHER *c);
		^
/wrkdirs/usr/ports/devel/qca/work/qca-2.3.1/plugins/qca-ossl/qca-ossl.cpp:5442:
46:
error: use of undeclared identifier 'SSL_CIPHER_standard_name'; did you mean
'SSL_CIPHER_get_name'?
		sessInfo.cipherSuite =
QString::fromLatin1(SSL_CIPHER_standard_name(SSL_get_current_cipher(ssl)));
							  
^~~~~~~~~~~~~~~~~~~~~~~~
							   SSL_CIPHER_get_name
/usr/local/include/openssl/ssl.h:1296:14: note: 'SSL_CIPHER_get_name' declared
here
const char *	SSL_CIPHER_get_name(const SSL_CIPHER *c);
		^
/wrkdirs/usr/ports/devel/qca/work/qca-2.3.1/plugins/qca-ossl/qca-ossl.cpp:6736:
4:
warning: 'qsrand' is deprecated: use QRandomGenerator instead
[-Wdeprecated-declarations]
			qsrand(time(nullptr));
			^
/usr/local/include/qt5/QtCore/qglobal.h:1276:15: note: 'qsrand' has been
explicitly marked deprecated here
Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void
qsrand(uint seed);
	      ^
/usr/local/include/qt5/QtCore/qglobal.h:372:45: note: expanded from macro
'QT_DEPRECATED_VERSION_X_5_15'
# define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)
					    ^
/usr/local/include/qt5/QtCore/qglobal.h:294:33: note: expanded from macro
'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
				^
/usr/local/include/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from
macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
						      ^
/wrkdirs/usr/ports/devel/qca/work/qca-2.3.1/plugins/qca-ossl/qca-ossl.cpp:6739:
9:
warning: 'qrand' is deprecated: use QRandomGenerator instead
[-Wdeprecated-declarations]
				n = qrand();
				    ^
/usr/local/include/qt5/QtCore/qglobal.h:1277:15: note: 'qrand' has been
explicitly marked deprecated here
Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int
qrand();
	      ^
/usr/local/include/qt5/QtCore/qglobal.h:372:45: note: expanded from macro
'QT_DEPRECATED_VERSION_X_5_15'
# define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)
					    ^
/usr/local/include/qt5/QtCore/qglobal.h:294:33: note: expanded from macro
'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
				^
/usr/local/include/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from
macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
						      ^
2 warnings and 3 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1


More information about the kde-freebsd mailing list