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

Bug 498626

Summary: dev-util/plan9port FEATURES=multilib-strict - installs into /usr/lib/plan9
Product: Gentoo Linux Reporter: Emery Hemingway <emery>
Component: [OLD] DevelopmentAssignee: Andy Spencer <andy753421>
Status: RESOLVED FIXED    
Severity: normal CC: andy753421, blueness, proxy-maint
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.