[Bug 269316] devel/qt6-base fails to build with libressl 3.5.x

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 4 07:01:48 GMT 2023


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

            Bug ID: 269316
           Summary: devel/qt6-base fails to build with libressl 3.5.x
           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
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)

In file included from
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qtlsbackend_openssl.cpp:4:
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:209:22:
error: unknown type name 'OPENSSL_STACK'
int q_OPENSSL_sk_num(OPENSSL_STACK *a);
                     ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:210:28:
error: unknown type name 'OPENSSL_STACK'
void q_OPENSSL_sk_pop_free(OPENSSL_STACK *a, void (*b)(void *));
                           ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:211:1:
error: unknown type name 'OPENSSL_STACK'; did you mean 'OPENSSL_BLOCK'?
OPENSSL_STACK *q_OPENSSL_sk_new_null();
^~~~~~~~~~~~~
OPENSSL_BLOCK
/usr/local/include/openssl/safestack.h:132:15: note: 'OPENSSL_BLOCK' declared
here
typedef void *OPENSSL_BLOCK;
              ^
In file included from
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qtlsbackend_openssl.cpp:4:
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:212:24:
error: unknown type name 'OPENSSL_STACK'
void q_OPENSSL_sk_push(OPENSSL_STACK *st, void *data);
                       ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:213:24:
error: unknown type name 'OPENSSL_STACK'
void q_OPENSSL_sk_free(OPENSSL_STACK *a);
                       ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:214:27:
error: unknown type name 'OPENSSL_STACK'
void * q_OPENSSL_sk_value(OPENSSL_STACK *a, int b);
                          ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:217:45:
error: unknown type name 'OPENSSL_INIT_SETTINGS'
int q_OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
                                            ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:250:48:
error: unknown type name 'OPENSSL_INIT_SETTINGS'
int q_OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS
*settings);
                                               ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:294:29:
error: unknown type name 'BIO_ADDR'
int q_DTLSv1_listen(SSL *s, BIO_ADDR *client);
                            ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:295:1:
error: unknown type name 'BIO_ADDR'
BIO_ADDR *q_BIO_ADDR_new();
^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:296:22:
error: unknown type name 'BIO_ADDR'
void q_BIO_ADDR_free(BIO_ADDR *ap);
                     ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:428:1:
error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'?
SSL_CONF_CTX *q_SSL_CONF_CTX_new();
^~~~~~~~~~~~
SSL_AEAD_CTX
/usr/local/include/openssl/ssl.h:519:32: note: 'SSL_AEAD_CTX' declared here
typedef struct ssl_aead_ctx_st SSL_AEAD_CTX;
                               ^
In file included from
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qtlsbackend_openssl.cpp:4:
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:429:26:
error: unknown type name 'SSL_CONF_CTX'
void q_SSL_CONF_CTX_free(SSL_CONF_CTX *a);
                         ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:430:33:
error: unknown type name 'SSL_CONF_CTX'
void q_SSL_CONF_CTX_set_ssl_ctx(SSL_CONF_CTX *a, SSL_CTX *b);
                                ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:431:39:
error: unknown type name 'SSL_CONF_CTX'
unsigned int q_SSL_CONF_CTX_set_flags(SSL_CONF_CTX *a, unsigned int b);
                                      ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:432:27:
error: unknown type name 'SSL_CONF_CTX'
int q_SSL_CONF_CTX_finish(SSL_CONF_CTX *a);
                          ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:433:20:
error: unknown type name 'SSL_CONF_CTX'
int q_SSL_CONF_cmd(SSL_CONF_CTX *a, const char *b, const char *c);
                   ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qtlsbackend_openssl.cpp:44:25:
error: use of undeclared identifier 'OPENSSL_STACK'
    for (int i = 0; i < q_sk_SSL_CIPHER_num(supportedCiphers); ++i) {
                        ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:542:33:
note: expanded from macro 'q_sk_SSL_CIPHER_num'
#define q_sk_SSL_CIPHER_num(st) q_SKM_sk_num((st))
                                ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:241:44:
note: expanded from macro 'q_SKM_sk_num'
#define q_SKM_sk_num(st) q_OPENSSL_sk_num((OPENSSL_STACK *)st)
                                           ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qtlsbackend_openssl.cpp:44:25:
error: expected expression
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:542:33:
note: expanded from macro 'q_sk_SSL_CIPHER_num'
#define q_sk_SSL_CIPHER_num(st) q_SKM_sk_num((st))
                                ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:241:59:
note: expanded from macro 'q_SKM_sk_num'
#define q_SKM_sk_num(st) q_OPENSSL_sk_num((OPENSSL_STACK *)st)
                                                          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.


Found this "QSslSocket: OpenSSL >= 1.1.1 is required; %s was found instead" in
devel/qt6-base/work/qtbase-everywhere-src-6.4.2/src/plugins/tls/openssl/qopenssl_p.h
which is annoying as qt6-base 6.3 actually built with libressl.

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


More information about the kde-freebsd mailing list