Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416339 - dev-perl/Net-SSLeay: does not respect multilib systems
Summary: dev-perl/Net-SSLeay: does not respect multilib systems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: portage-multilib
  Show dependency tree
 
Reported: 2012-05-17 00:18 UTC by Anthony Basile
Modified: 2012-07-15 17:43 UTC (History)
1 user (show)

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


Attachments
Replace lib with $(get_libdir) everywhere (Net-SSLeay-respect-multilib.patch,521 bytes, text/plain)
2012-05-17 00:24 UTC, Anthony Basile
Details
Modify libpath in Module-Install extension (Net-SSLeay-1.480.0-r1.ebuild,822 bytes, text/plain)
2012-07-14 07:12 UTC, Torsten Veller (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Basile gentoo-dev 2012-05-17 00:18:20 UTC
I hit this while building on a mipsel64 system (the loongsoon lemote) but it effects all multilib systems.  Linkage is done against /lib and /usr/lib rather than using $(get_libdir).

The fix is a little hackish because it is better to patch Makefile.PL during src_prepare() rather than the generated Makefile during src_configure(), but the perl build systems (use inc::Module::Install) doesn't easily allow you do edit EXTRALIBS and LDLOADLIBS as does ExtUtils::MakeMaker, if someone wants to pursue that path upstream.

Reproducible: Always
Comment 2 Anthony Basile gentoo-dev 2012-05-17 00:24:15 UTC
Created attachment 312069 [details]
Replace lib with $(get_libdir) everywhere
Comment 3 Matt Turner gentoo-dev 2012-07-10 02:27:43 UTC
So.. uh. Perl devs?
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2012-07-10 03:53:36 UTC
Matt?
Comment 5 Matt Turner gentoo-dev 2012-07-10 23:31:54 UTC
(In reply to comment #4)
> Matt?

Can we commit this fix?
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2012-07-14 07:12:07 UTC
Created attachment 318120 [details]
Modify libpath in Module-Install extension

Patch hardcodes $(get_libdir) result in the extension.
It also removes the optimize overwrite.
Comment 7 Anthony Basile gentoo-dev 2012-07-15 12:53:41 UTC
(In reply to comment #6)
> Created attachment 318120 [details]
> Modify libpath in Module-Install extension
> 
> Patch hardcodes $(get_libdir) result in the extension.
> It also removes the optimize overwrite.

I test and this works.  To be honest, I don't like either solution because the fix means patching in lib32 without the build system being able to either detect or be told via an environment variable to use lib32.

Anyhow, please commit this.
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2012-07-15 17:43:02 UTC
I agree.

Fixed in 0.480.0-r1.

Thanks