Created attachment 684888 [details] emerge --info output I'm running build issues into with libevent-2.1.21 with gentoo_prefix running on MacOS X Big Sur. I added the missing object files to the link and the build went a little further but ran into more issues. Here is the relevant part of the build log. libtool: link: x86_64-apple-darwin20-gcc -dynamiclib -o .libs/libevent_pthreads-2.1.7.dylib .libs/evthread_pthread.o -march=native -O2 -Wl,-dead_strip_dylibs -install_name /Users/ccambly/Gentoo/usr/lib/libevent_pthreads-2.1.7.dylib -compatibility_version 8 -current_version 8.1 -Wl,-single_module Undefined symbols for architecture x86_64: "_evthread_set_condition_callbacks", referenced from: _evthread_use_pthreads in evthread_pthread.o "_evthread_set_id_callback", referenced from: _evthread_use_pthreads in evthread_pthread.o "_evthread_set_lock_callbacks", referenced from: _evthread_use_pthreads in evthread_pthread.o ld: symbol(s) not found for architecture x86_64 Additional Info: >> emerge -pqv '=dev-libs/libevent-2.1.12::gentoo_prefix' [ebuild N ] dev-libs/libevent-2.1.12 USE="clock-gettime ssl threads -debug -libressl -malloc-replacement -static-libs -test -verbose-debug"
Created attachment 684891 [details] Build Log
How about USE=-threads?
oh, duh, nevermind. Reproduced. It has an outdated bundled copy of libtool stuff. Fix on the way.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d6568fbe59d38a855c43e1d386416fed9052f12 commit 0d6568fbe59d38a855c43e1d386416fed9052f12 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-01-27 17:52:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-01-27 17:52:10 +0000 dev-libs/libevent: elibtoolize to refresh Darwin logic Closes: https://bugs.gentoo.org/767472 Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libevent/libevent-2.1.12.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
Thanks!