Bug 241881

Summary: net/qt5-network build failed ssl/qsslsocket_openssl_symbols.cpp:1401:5: error: use of undeclared identifier '_q_SSL_set_alpn_protos'
Product: Ports & Packages Reporter: p5B2EA84B3
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: tcberner, w.schwarzenfeld
Priority: --- Flags: tcberner: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Poudriere build log file none

Description p5B2EA84B3 2019-11-11 13:46:24 UTC
Created attachment 209059 [details]
Poudriere build log file

Poudriere build fails on 12.1 for i386:
--- .obj/qsslsocket_openssl_symbols.o ---
ssl/qsslsocket_openssl_symbols.cpp:1401:5: error: use of undeclared identifier '_q_SSL_set_alpn_protos'; did you mean 'SSL_set_alpn_protos'?
    RESOLVEFUNC(SSL_set_alpn_protos)
    ^
ssl/qsslsocket_openssl_symbols.cpp:604:11: note: expanded from macro 'RESOLVEFUNC'
    if (!(_q_##func = _q_PTR_##func(libs.first->resolve(#func)))     \
          ^
<scratch space>:86:1: note: expanded from here
_q_SSL_set_alpn_protos

See attached Poudriere build logfile
Comment 1 Walter Schwarzenfeld freebsd_triage 2019-11-11 14:06:09 UTC
Maybe, this helps (cannot test I am working with libressl)

https://github.com/bitwiseworks/qtbase-os2/issues/93

The linenumbers maybe wrong.
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2020-01-07 17:41:01 UTC
Sorry, I could never reproduce this. 

Is this still an issue for you?


mfg Tobias
Comment 3 p5B2EA84B3 2020-01-19 12:51:37 UTC
(In reply to Tobias C. Berner from comment #2)
As I switched to LibreSSL it is no problem for me anymore.