Bug 242573

Summary: databases/mariadb104-server: Port references arc4random_addrandom from libevent
Product: Ports & Packages Reporter: stefan.witzel
Component: Individual Port(s)Assignee: Bernard Spil <brnrd>
Status: Closed Not Enough Information    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (brnrd)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description stefan.witzel 2019-12-11 07:35:34 UTC
Building MariaDB-Server 10.4 fails because of unresolved reference to arc4random_addrandom.


# portmaster mariadb104-server
... ... ...

l.so /usr/local/lib/libcrypto.so ../dbug/libdbug.a ../mysys/libmysys.a ../dbug/libdbug.a -lz -lm ../strings/libstrings.a -lexecinfo -pthread
ld: error: /usr/local/lib/libevent.so: undefined reference to arc4random_addrandom
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [tests/async_queries] Error code 1
... ... ...

From arcrandom(3): " ... was introduced in FreeBSD 12.0, with obsolete stir and addrandom interfaces removed at the same time."q

Stefan
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2019-12-11 16:48:10 UTC
Hi Stefan,

You're building with OpenSSL from ports. Can you share your make.conf? Link to poudriere logs would do fine too.
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2020-05-31 16:08:29 UTC
Hi Stefan,

Any update? Will close this issue if there's no response within 2 weeks.

Cheers, Bernard.