Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426724 - app-text/openjade: not 100% multilib aware
Summary: app-text/openjade: not 100% multilib aware
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-15 15:35 UTC by Anthony Basile
Modified: 2012-07-16 02:23 UTC (History)
1 user (show)

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


Attachments
Set --enable-splibdir=/usr/$(get_libdir) in openjade-1.3.2-r4.ebuild (set-splibdir-ebuild.patch,413 bytes, patch)
2012-07-15 15:40 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-15 15:35:59 UTC
I hit this on a mips64el multilib/n32 system (lemote yeeloong) which is system that sports three abis: abi=o32 is housed in /lib, n32 in /lib32 and n64 in /lib64.

While the openjade ebuild does try to be multilib aware by setting --libdir=/usr/$(get_libdir), it doesn't set --enable-splibdir=/usr/$(get_libdir).  As a result, the build system looks for libosp in /usr/lib64 rather than /usr/lib32 causing failure.  The fix is simply to set splibdir.

Reproducible: Always
Comment 1 Anthony Basile gentoo-dev 2012-07-15 15:40:10 UTC
Created attachment 318238 [details, diff]
Set --enable-splibdir=/usr/$(get_libdir) in openjade-1.3.2-r4.ebuild

I'v also tested on multilib amd64. There splibdir is set to /usr/lib64 either with the patch or without, so it works.
Comment 2 Mike Gilbert gentoo-dev 2012-07-15 18:11:55 UTC
Please go ahead and commit it. Thanks.
Comment 3 Anthony Basile gentoo-dev 2012-07-16 02:23:04 UTC
Done.