[Bug 248590] devel/qca and libressl

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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248590

            Bug ID: 248590
           Summary: devel/qca and libressl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: tjlegg at gmail.com
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

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

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


More information about the kde-freebsd mailing list