Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 604942

Summary: net-mail/mailutils-2.99.98-r1: Fails to compile with gold linker
Product: Gentoo Linux Reporter: Simon Levermann (sonOfRa) <simon-bgo>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: ansla80, esigra, net-mail+disabled, walch.martin
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 269315    
Attachments: emerge --info
Build log

Description Simon Levermann (sonOfRa) 2017-01-07 16:06:15 UTC
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
Comment 1 Simon Levermann (sonOfRa) 2017-01-07 16:06:37 UTC
Created attachment 459064 [details]
emerge --info
Comment 2 Simon Levermann (sonOfRa) 2017-01-07 16:07:47 UTC
Created attachment 459066 [details]
Build log
Comment 3 Simon Levermann (sonOfRa) 2017-01-07 16:14:29 UTC
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'
Comment 4 Andrei Slavoiu 2017-12-20 23:18:05 UTC
3.4 fails as well
Comment 5 Eray Aslan gentoo-dev 2019-03-27 05:22:00 UTC
Should be fixed in net-mail/mailutils-3.6.  Closing.