Failed trying to build the version of this in 2020Q2. I'm using LibreSSL and this port has always had issues for me with that. It appears audio/mumble has the exact same issue Here's the failure: c++ -Wl,-rpath,/usr/local/lib -fstack-protector-strong -pie -Wl,--no-add-needed -Wl,-z,relro -Wl,-z,now -fstack-protector -pthread -Wl,-rpath,/usr/local/lib/qt5 -o ../../debug/murmurd ../../debug/.obj/murmur/ACL.o ../../debug/.obj/murmur/Group.o ../../debug/.obj/murmur/Channel.o ../../debug/.obj/murmur/Connection.o ../../debug/.obj/murmur/HTMLFilter.o ../../debug/.obj/murmur/User.o ../../debug/.obj/murmur/Timer.o ../../debug/.obj/murmur/CryptState.o ../../debug/.obj/murmur/OSInfo.o ../../debug/.obj/murmur/SSL.o ../../debug/.obj/murmur/Version.o ../../debug/.obj/murmur/SSLCipherInfo.o ../../debug/.obj/murmur/License.o ../../debug/.obj/murmur/LogEmitter.o ../../debug/.obj/murmur/CryptographicHash.o ../../debug/.obj/murmur/CryptographicRandom.o ../../debug/.obj/murmur/PasswordGenerator.o ../../debug/.obj/murmur/HostAddress.o ../../debug/.obj/murmur/Ban.o ../../debug/.obj/murmur/EnvUtils.o ../../debug/.obj/murmur/UnresolvedServerAddress.o ../../debug/.obj/murmur/ServerAddress.o ../../debug/.obj/murmur/ServerResolver_qt5.o ../../debug/.obj/murmur/ServerResolverRecord.o ../../debug/.obj/murmur/SelfSignedCertificate.o ../../debug/.obj/murmur/SSLLocks.o ../../debug/.obj/murmur/FFDHE.o ../../debug/.obj/murmur/arc4random_uniform.o ../../debug/.obj/murmur/main.o ../../debug/.obj/murmur/Server.o ../../debug/.obj/murmur/ServerUser.o ../../debug/.obj/murmur/ServerDB.o ../../debug/.obj/murmur/Register.o ../../debug/.obj/murmur/Cert.o ../../debug/.obj/murmur/Messages.o ../../debug/.obj/murmur/Meta.o ../../debug/.obj/murmur/RPC.o ../../debug/.obj/murmur/PBKDF2.o ../../debug/.obj/murmur/UnixMurmur.o ../../debug/.obj/murmur/BonjourServiceRegister.o ../../debug/.obj/murmur/BonjourServer.o ../../debug/.obj/murmur/moc_ACL.o ../../debug/.obj/murmur/moc_Channel.o ../../debug/.obj/murmur/moc_Connection.o ../../debug/.obj/murmur/moc_LogEmitter.o ../../debug/.obj/murmur/moc_ServerResolver.o ../../debug/.obj/murmur/moc_Server.o ../../debug/.obj/murmur/moc_ServerUser.o ../../debug/.obj/murmur/moc_Meta.o ../../debug/.obj/murmur/moc_UnixMurmur.o ../../debug/.obj/murmur/moc_BonjourServiceRegister.o ../../debug/.obj/murmur/moc_BonjourServer.o -L/wrkdirs/usr/ports/audio/murmur/work/mumble-1.3.0/debug -L/usr/lib -L/usr/local/lib -lmumble_proto -lcrypto -lssl -ldns_sd -lprotobuf -pthread /usr/local/lib/qt5/libQt5Network.so /usr/local/lib/qt5/libQt5Sql.so /usr/local/lib/qt5/libQt5Xml.so /usr/local/lib/qt5/libQt5Core.so --- release-all --- ../../release/.obj/murmur/SelfSignedCertificate.o: In function `SelfSignedCertificate::generate(CertificateType, QString, QString, QSslCertificate&, QSslKey&)': SelfSignedCertificate.cpp:(.text+0x14b): undefined reference to `X509_getm_notBefore' SelfSignedCertificate.cpp:(.text+0x173): undefined reference to `X509_getm_notAfter' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [../../release/murmurd] Error code 1
(In reply to dave from comment #0) I'd expect to see patches for this in OpenBSD's ports tree for Mumble but they don't have anything for this. I'll try to reproduce the failure.
This is still a problem as of 2021Q1 (retrieved on 02/24/21): --- ../../debug/.obj/murmur/ServerResolver_qt5.o --- c++ -c -Xclang -include-pch -Xclang debug/murmurd.pch/c++.pch -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -fvisibility=hidden -Wall -Wextra -Wno-deprecated -I/usr/local/include -isystem /usr/local/include -fstack-protector -fPIE -U_FORTIFY_SOURCE -I../mumble_proto -isystem ../mumble_proto -std=gnu++1z -pthread -Wall -Wextra -pthread -fPIC -DRESTRICT=__restrict__ -DSNAPSHOT_BUILD -DMUMBLE_VERSION_STRING=1.3.3 -DMURMUR -DUSE_BONJOUR -DUSE_QSSLDIFFIEHELLMANPARAMETERS -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I../../src -I. -I../mumble_proto -I../../3rdparty/arc4random-src -I../../3rdparty/qqbonjour-src -I/usr/local/include -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtSql -I/usr/local/include/qt5/QtXml -I/usr/local/include/qt5/QtCore -I../../debug/.moc/murmur -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o ../../debug/.obj/murmur/ServerResolver_qt5.o ../ServerResolver_qt5.cpp --- release-all --- ld: error: undefined symbol: SSL_library_init >>> referenced by SSL.cpp >>> ../../release/.obj/murmur/SSL.o:(MumbleSSL::initialize()) >>> referenced by main.cpp >>> ../../release/.obj/murmur/main.o:(main) ld: error: undefined symbol: SSL_load_error_strings I'm presuming this is an issue with Qt network, but I am no expert.
I ran into this problem and brought it up on the mumble GIT issues page and got a very disheartening response: https://github.com/mumble-voip/mumble/issues/4725 So I switched back to OpenSSL and am still getting compilation errors related to SSL: <pre> --- release-all --- ../../release/.obj/murmur/SSL.o: In function `MumbleSSL::initialize()': SSL.cpp:(.text+0xe): undefined reference to `OPENSSL_init_ssl' SSL.cpp:(.text+0x1a): undefined reference to `OPENSSL_init_ssl' ../../release/.obj/murmur/SSL.o: In function `MumbleSSL::ciphersFromOpenSSLCipherString(QString)': SSL.cpp:(.text+0xaf): undefined reference to `TLS_server_method' ../../release/.obj/murmur/CryptographicHash.o: In function `CryptographicHashPrivate::cleanupMdctx()': CryptographicHash.cpp:(.text+0x32): undefined reference to `EVP_MD_CTX_free' ../../release/.obj/murmur/CryptographicHash.o: In function `CryptographicHashPrivate::CryptographicHashPrivate(evp_md_st const*)': CryptographicHash.cpp:(.text+0x70): undefined reference to `EVP_MD_CTX_new' CryptographicHash.cpp:(.text+0x97): undefined reference to `EVP_MD_CTX_free' ../../release/.obj/murmur/CryptographicHash.o: In function `CryptographicHashPrivate::~CryptographicHashPrivate()': CryptographicHash.cpp:(.text+0xf3): undefined reference to `EVP_MD_CTX_free' ../../release/.obj/murmur/CryptographicHash.o: In function `CryptographicHashPrivate::addData(QByteArray const&)': CryptographicHash.cpp:(.text+0x194): undefined reference to `EVP_MD_CTX_free' ../../release/.obj/murmur/CryptographicHash.o: In function `CryptographicHashPrivate::result()': CryptographicHash.cpp:(.text+0x29c): undefined reference to `EVP_MD_CTX_free' ../../release/.obj/murmur/CryptographicHash.o: In function `CryptographicHash::hash(QByteArray const&, CryptographicHash::Algorithm)': CryptographicHash.cpp:(.text+0x39f): undefined reference to `EVP_MD_CTX_free' ../../release/.obj/murmur/CryptographicHash.o:CryptographicHash.cpp:(.text+0x429): more undefined references to `EVP_MD_CTX_free' follow ../../release/.obj/murmur/SelfSignedCertificate.o: In function `SelfSignedCertificate::generate(CertificateType, QString, QString, QSslCertificate&, QSslKey&)': SelfSignedCertificate.cpp:(.text+0x14b): undefined reference to `X509_getm_notBefore' SelfSignedCertificate.cpp:(.text+0x173): undefined reference to `X509_getm_notAfter' ../../release/.obj/murmur/main.o: In function `main': main.cpp:(.text+0x212): undefined reference to `OPENSSL_init_ssl' main.cpp:(.text+0x21e): undefined reference to `OPENSSL_init_ssl' main.cpp:(.text+0x971): undefined reference to `OpenSSL_version' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [../../release/murmurd] Error code 1 make[3]: stopped in /var/ports/usr/ports/audio/murmur/work/mumble-1.3.3/src/murmur 1 error </pre> This is with: <pre> # pkg version -v | grep ssl openssl-1.1.1k_1,1 = up-to-date with index </pre> As I'm still on 11.x, base SSL (which should be overwritten) is still <pre> # openssl version OpenSSL 1.0.2s-freebsd 28 May 2019 </pre> I'm still a way off from migrating to 12.x to verify this possibility.
(In reply to gessel from comment #3) Closing this as upstream doesn't support LibreSSL