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

Bug 425766

Summary: net-libs/c-client-2007f-r1: build system is not multilib aware
Product: Gentoo Linux Reporter: Anthony Basile <blueness>
Component: [OLD] LibraryAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: mips
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Sets the correct multilib values for SSLLIB and AFSLIB

Description Anthony Basile gentoo-dev 2012-07-11 04:14:45 UTC
The build system, based off the makefile at src/osdep/unix/Makefile, simply assumes that the library directories are at /*/lib.  But on multilib systems, the libraries can be in /lib, /lib32 or /lib64.  Eg. on mipsel/multilib/n32, each is a different abi and we need to link to /lib32 not /lib.

Reproducible: Always
Comment 1 Anthony Basile gentoo-dev 2012-07-11 04:21:12 UTC
Created attachment 317888 [details, diff]
Sets the correct multilib values for SSLLIB and AFSLIB

Besides the mips systems, I've tested on amd64 and its fine.
Comment 2 Anthony Basile gentoo-dev 2012-07-11 04:24:29 UTC
One final note: you should probably inherit multilib.eclass even though it is transitively inehrited via toolchain-funcs.eclass just in case the later were changed.  Unlikely but possible.
Comment 3 Eray Aslan gentoo-dev 2012-07-11 18:58:46 UTC
+*c-client-2007f-r2 (11 Jul 2012)
+
+  11 Jul 2012; Eray Aslan <eras@gentoo.org> +c-client-2007f-r2.ebuild:
+  Make build system multilib aware - bug #425766. Thanks to Anthony Basile
+

Thanks for the report.