Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425766 - net-libs/c-client-2007f-r1: build system is not multilib aware
Summary: net-libs/c-client-2007f-r1: build system is not multilib aware
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-11 04:14 UTC by Anthony Basile
Modified: 2012-07-11 18:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Sets the correct multilib values for SSLLIB and AFSLIB (mutlib-aware-build.patch,952 bytes, patch)
2012-07-11 04:21 UTC, Anthony Basile
Details | Diff

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