When compiling net-mail/mailutils-2.99.98-r1 with the gold linker as the default linker, compilation fails due to unresolved references to 'ber_memvfree' and other functions from liblber. Seems like this is an underlinking issue (mailutils links to libldap, which links to liblber, but uses functions from liblber directly) Reproducible: Always
Created attachment 459064 [details] emerge --info
Created attachment 459066 [details] Build log
Newest (3.1) mailutils fails with the same errors: /var/tmp/portage/portage/net-mail/mailutils-3.1/work/mailutils-3.1/libmu_auth/.libs/libmu_auth.so: error: undefined reference to 'ber_memvfree' /var/tmp/portage/portage/net-mail/mailutils-3.1/work/mailutils-3.1/libmu_auth/.libs/libmu_auth.so: error: undefined reference to 'ber_memfree' /var/tmp/portage/portage/net-mail/mailutils-3.1/work/mailutils-3.1/libmu_auth/.libs/libmu_auth.so: error: undefined reference to 'ber_set_option'
3.4 fails as well
Should be fixed in net-mail/mailutils-3.6. Closing.