Bug 237009

Summary: audio/murmur build fails with SSL errors
Product: Ports & Packages Reporter: Jonas Palm <jonaspalm>
Component: Individual Port(s)Assignee: Mark Felder <feld>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: david, sascha.folie, vvd, w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (feld)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Poudriere build log none

Description Jonas Palm 2019-04-04 10:12:41 UTC
Created attachment 203373 [details]
Poudriere build log

When trying to build audio/murmur it fails with many

/usr/bin/ld: error: undefined symbol: EVP_*
/usr/bin/ld: error: undefined symbol: CRYPTO_*
/usr/bin/ld: error: undefined symbol: SSL_*

errors. See attachment for full Poudriere build log.

Build machine is on FreeBSD 12.0-p2 and the ports tree is up to date.
Comment 1 Jonas Palm 2019-04-29 09:33:25 UTC
It has been over three weeks and the build is still failing. Maintainer feedback please
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2019-09-08 14:50:27 UTC
(In reply to Jonas Palm from comment #1)
Check 1.3.0 release: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240419

Build and work fine from me on live system 12.0 amd64.
Comment 3 Walter Schwarzenfeld freebsd_triage 2019-09-08 23:51:02 UTC
(In reply to Jonas Palm from comment #0)
Got an other error on 11.3 (with libressl)

../../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 4 Vladimir Druzenko freebsd_committer freebsd_triage 2019-09-09 00:36:24 UTC
(In reply to Walter Schwarzenfeld from comment #3)
> Got an other error on 11.3 (with libressl)
Are you sure the mumble have support of the libressl?
Comment 5 Walter Schwarzenfeld freebsd_triage 2019-09-09 01:22:48 UTC
Yes (maybe the error is from qt5-network).
Comment 6 Walter Schwarzenfeld freebsd_triage 2019-09-10 20:15:35 UTC
Solved for libressl needs:
LDFLAGS+="-L/usr/local/lib  -lcrypto"
Comment 7 Jonas Palm 2019-10-23 12:13:08 UTC
Still the same error with murmur 1.3.0_1

Using DEFAULT_VERSIONS+= ssl=openssl
Comment 8 Jonas Palm 2020-01-17 11:59:32 UTC
Builds again after the openssl update