[Bug 245600] net/qt5-network build fails with error: unknown type name 'OPENSSL_STACK'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 13 14:34:59 BST 2020


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

            Bug ID: 245600
           Summary: net/qt5-network build fails with error: unknown type
                    name 'OPENSSL_STACK'
           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: p5B2E9A8F at t-online.de
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
 Attachment #213371 text/plain
         mime type:

Created attachment 213371
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=213371&action=edit
Poudriere build log

--- .obj/qsslcertificate.o ---
In file included from ssl/qsslcertificate.cpp:116:
In file included from ssl/qsslsocket_openssl_symbols_p.h:224:
ssl/qsslsocket_openssl11_symbols_p.h:88:40: error: unknown type name
'OPENSSL_STACK'
Q_AUTOTEST_EXPORT int q_OPENSSL_sk_num(OPENSSL_STACK *a);
                                       ^
ssl/qsslsocket_openssl11_symbols_p.h:89:46: error: unknown type name
'OPENSSL_STACK'
Q_AUTOTEST_EXPORT void q_OPENSSL_sk_pop_free(OPENSSL_STACK *a, void (*b)(void
*));
                                             ^
ssl/qsslsocket_openssl11_symbols_p.h:90:19: error: unknown type name
'OPENSSL_STACK'; did you mean 'OPENSSL_BLOCK'?
Q_AUTOTEST_EXPORT 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 ssl/qsslcertificate.cpp:116:
In file included from ssl/qsslsocket_openssl_symbols_p.h:224:
ssl/qsslsocket_openssl11_symbols_p.h:91:42: error: unknown type name
'OPENSSL_STACK'
Q_AUTOTEST_EXPORT void q_OPENSSL_sk_push(OPENSSL_STACK *st, void *data);
                                         ^
ssl/qsslsocket_openssl11_symbols_p.h:92:42: error: unknown type name
'OPENSSL_STACK'
Q_AUTOTEST_EXPORT void q_OPENSSL_sk_free(OPENSSL_STACK *a);
                                         ^
ssl/qsslsocket_openssl11_symbols_p.h:93:45: error: unknown type name
'OPENSSL_STACK'
Q_AUTOTEST_EXPORT void * q_OPENSSL_sk_value(OPENSSL_STACK *a, int b);
                                            ^
ssl/qsslsocket_openssl11_symbols_p.h:96:45: error: unknown type name
'OPENSSL_INIT_SETTINGS'
int q_OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
                                            ^
ssl/qsslsocket_openssl11_symbols_p.h:109:50: error: unknown type name
'X509_STORE_CTX_verify_cb'
void q_X509_STORE_set_verify_cb(X509_STORE *ctx, X509_STORE_CTX_verify_cb
verify_cb);
                                                 ^
ssl/qsslsocket_openssl11_symbols_p.h:128:48: error: unknown type name
'OPENSSL_INIT_SETTINGS'
int q_OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS
*settings);
                                               ^
In file included from ssl/qsslcertificate.cpp:116:
ssl/qsslsocket_openssl_symbols_p.h:382: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:614:32: note: 'SSL_AEAD_CTX' declared here
typedef struct ssl_aead_ctx_st SSL_AEAD_CTX;
                               ^
In file included from ssl/qsslcertificate.cpp:116:
ssl/qsslsocket_openssl_symbols_p.h:383:26: error: unknown type name
'SSL_CONF_CTX'
void q_SSL_CONF_CTX_free(SSL_CONF_CTX *a);
                         ^
ssl/qsslsocket_openssl_symbols_p.h:384:33: error: unknown type name
'SSL_CONF_CTX'
void q_SSL_CONF_CTX_set_ssl_ctx(SSL_CONF_CTX *a, SSL_CTX *b);
                                ^
ssl/qsslsocket_openssl_symbols_p.h:385:39: error: unknown type name
'SSL_CONF_CTX'
unsigned int q_SSL_CONF_CTX_set_flags(SSL_CONF_CTX *a, unsigned int b);
                                      ^
ssl/qsslsocket_openssl_symbols_p.h:386:27: error: unknown type name
'SSL_CONF_CTX'
int q_SSL_CONF_CTX_finish(SSL_CONF_CTX *a);
                          ^
ssl/qsslsocket_openssl_symbols_p.h:387:20: error: unknown type name
'SSL_CONF_CTX'
int q_SSL_CONF_cmd(SSL_CONF_CTX *a, const char *b, const char *c);
                   ^
15 errors generated.
*** [.obj/qsslcertificate.o] Error code 1

make[1]: stopped in
/wrkdirs/usr/ports/net/qt5-network/work/qtbase-everywhere-src-5.14.2/src/network
--- .obj/qsslkey_p.o ---
In file included from ssl/qsslkey_p.cpp:60:
In file included from ssl/qsslsocket_openssl_symbols_p.h:224:
ssl/qsslsocket_openssl11_symbols_p.h:88:40: error: unknown type name
'OPENSSL_STACK'
Q_AUTOTEST_EXPORT int q_OPENSSL_sk_num(OPENSSL_STACK *a);
                                       ^
ssl/qsslsocket_openssl11_symbols_p.h:89:46: error: unknown type name
'OPENSSL_STACK'
Q_AUTOTEST_EXPORT void q_OPENSSL_sk_pop_free(OPENSSL_STACK *a, void (*b)(void
*));
                                             ^
ssl/qsslsocket_openssl11_symbols_p.h:90:19: error: unknown type name
'OPENSSL_STACK'; did you mean 'OPENSSL_BLOCK'?
Q_AUTOTEST_EXPORT 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 ssl/qsslkey_p.cpp:60:
In file included from ssl/qsslsocket_openssl_symbols_p.h:224:
ssl/qsslsocket_openssl11_symbols_p.h:91:42: error: unknown type name
'OPENSSL_STACK'
Q_AUTOTEST_EXPORT void q_OPENSSL_sk_push(OPENSSL_STACK *st, void *data);
                                         ^
ssl/qsslsocket_openssl11_symbols_p.h:92:42: error: unknown type name
'OPENSSL_STACK'
Q_AUTOTEST_EXPORT void q_OPENSSL_sk_free(OPENSSL_STACK *a);
                                         ^
ssl/qsslsocket_openssl11_symbols_p.h:93:45: error: unknown type name
'OPENSSL_STACK'
Q_AUTOTEST_EXPORT void * q_OPENSSL_sk_value(OPENSSL_STACK *a, int b);
                                            ^
ssl/qsslsocket_openssl11_symbols_p.h:96:45: error: unknown type name
'OPENSSL_INIT_SETTINGS'
int q_OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
                                            ^
ssl/qsslsocket_openssl11_symbols_p.h:109:50: error: unknown type name
'X509_STORE_CTX_verify_cb'
void q_X509_STORE_set_verify_cb(X509_STORE *ctx, X509_STORE_CTX_verify_cb
verify_cb);
                                                 ^
ssl/qsslsocket_openssl11_symbols_p.h:128:48: error: unknown type name
'OPENSSL_INIT_SETTINGS'
int q_OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS
*settings);
                                               ^
In file included from ssl/qsslkey_p.cpp:60:
ssl/qsslsocket_openssl_symbols_p.h:382: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:614:32: note: 'SSL_AEAD_CTX' declared here
typedef struct ssl_aead_ctx_st SSL_AEAD_CTX;
                               ^
In file included from ssl/qsslkey_p.cpp:60:
ssl/qsslsocket_openssl_symbols_p.h:383:26: error: unknown type name
'SSL_CONF_CTX'
void q_SSL_CONF_CTX_free(SSL_CONF_CTX *a);
                         ^
ssl/qsslsocket_openssl_symbols_p.h:384:33: error: unknown type name
'SSL_CONF_CTX'
void q_SSL_CONF_CTX_set_ssl_ctx(SSL_CONF_CTX *a, SSL_CTX *b);
                                ^
ssl/qsslsocket_openssl_symbols_p.h:385:39: error: unknown type name
'SSL_CONF_CTX'
unsigned int q_SSL_CONF_CTX_set_flags(SSL_CONF_CTX *a, unsigned int b);
                                      ^
ssl/qsslsocket_openssl_symbols_p.h:386:27: error: unknown type name
'SSL_CONF_CTX'
int q_SSL_CONF_CTX_finish(SSL_CONF_CTX *a);
                          ^
ssl/qsslsocket_openssl_symbols_p.h:387:20: error: unknown type name
'SSL_CONF_CTX'
int q_SSL_CONF_cmd(SSL_CONF_CTX *a, const char *b, const char *c);
                   ^
15 errors generated.
*** [.obj/qsslkey_p.o] Error code 1

make[1]: stopped in
/wrkdirs/usr/ports/net/qt5-network/work/qtbase-everywhere-src-5.14.2/src/network
2 errors

make[1]: stopped in
/wrkdirs/usr/ports/net/qt5-network/work/qtbase-everywhere-src-5.14.2/src/network
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/qt5-network

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


More information about the kde-freebsd mailing list