Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498626 - dev-util/plan9port FEATURES=multilib-strict - installs into /usr/lib/plan9
Summary: dev-util/plan9port FEATURES=multilib-strict - installs into /usr/lib/plan9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andy Spencer
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-01-19 20:03 UTC by Emery Hemingway
Modified: 2014-02-10 13:01 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emery Hemingway 2014-01-19 20:03:07 UTC
Plan9port violates multilib-strict with /usr/lib/plan9, my solution was to add an exception with QA_MULITLIB_PATHS.

diff --git a/usr/portage/dev-util/plan9port/plan9port-20140107.ebuild b/overlay/dev-util/plan9port/plan9port-20140107.ebuild
index 53a716d..e37b2e9 100644
--- a/usr/portage/dev-util/plan9port/plan9port-20140107.ebuild
+++ b/overlay/dev-util/plan9port/plan9port-20140107.ebuild
@@ -21,6 +21,7 @@ RDEPEND="${DEPEND}"
 S="${WORKDIR}/${PN}"
 
 PLAN9=/usr/lib/plan9
+QA_MULTILIB_PATHS="${PLAN9}/.*/.*"
 
 src_prepare()
 {
Comment 1 Anthony Basile gentoo-dev 2014-01-20 13:34:55 UTC
If this has been tested I don't see a problem.  Pinging andy for the okay to commit.
Comment 2 Andy Spencer 2014-02-10 07:02:48 UTC
Looks fine to me. I tested it on my system, although compiling without the patch and with FEATURES="multilib-strict" doesn't trigger an error for me, so I'm not quite sure if I'm testing it correctly.
Comment 3 Anthony Basile gentoo-dev 2014-02-10 13:01:22 UTC
(In reply to Andy Spencer from comment #2)
> Looks fine to me. I tested it on my system, although compiling without the
> patch and with FEATURES="multilib-strict" doesn't trigger an error for me,
> so I'm not quite sure if I'm testing it correctly.

I've committed this.  I don't know enough about plan9port's internals to see if we could fix the path to install into the correct LIBDIR.  If this bites us in the future then we may need to revisit this issue and make plan9port multilib aware via $(get_libdir) or similar.