Bug 242573 - databases/mariadb104-server: Port references arc4random_addrandom from libevent
Summary: databases/mariadb104-server: Port references arc4random_addrandom from libevent
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Bernard Spil
Depends on:
Reported: 2019-12-11 07:35 UTC by stefan.witzel
Modified: 2020-05-31 16:08 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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

Comment 1 Bernard Spil freebsd_committer 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 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.