Bug 246459 - audio/murmur fails to build with libressl
Summary: audio/murmur fails to build with libressl
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Felder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-14 03:18 UTC by dave
Modified: 2020-08-21 15:12 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (feld)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dave 2020-05-14 03:18:06 UTC
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
Comment 1 Mark Felder freebsd_committer 2020-08-21 15:12:00 UTC
(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.