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

Bug 309095

Summary: sys-libs/libixp needs $(get_libdir)
Product: Gentoo Linux Reporter: Nathan Phillip Brink (binki) (RETIRED) <binki>
Component: [OLD] LibraryAssignee: Desktop WM Team (OBSOLETE) <desktop-wm+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: libixp-get_libdir.patch
cleanup, EAPI=2, adds $(get_libdir)
cleanup, EAPI=2, adds $(get_libdir) IIRC

Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-12 02:55:33 UTC
$ qlist libixp
/usr/bin/ixpc
/usr/lib/debug/usr/bin/ixpc.debug
/usr/lib/libixp_pthread.a
/usr/lib/libixp.a
/usr/share/man/man1/ixpc.1.bz2
/usr/include/ixp.h
/usr/include/ixp_srvutil.h

I'm on a amd64 multilib profile, I'd expect those (unfortunately static) libraries to end up in /usr/lib64 instead of /usr/lib.
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-12 04:12:17 UTC
Created attachment 223245 [details]
libixp-get_libdir.patch

The changes in this patch will affect the layout of the installed files on multilib systems. Thus, a revbump should be done for each ebuild. This appears to fix at least the installation directory for the libixp.a file (and libixp.so for 0.2).

The older two versions of libixp were hardest to fix. 0.4 is required for wmii, but maybe 0.2 can be dropped?
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-06-10 22:22:15 UTC
Created attachment 234887 [details]
cleanup, EAPI=2, adds $(get_libdir)
Comment 3 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-06-10 22:22:44 UTC
Created attachment 234889 [details]
cleanup, EAPI=2, adds $(get_libdir) IIRC
Comment 4 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-06-10 23:10:32 UTC
Oh, and I recommend dropping libixp-0.2 as nothing in portage seems to need it (that's why I didn't attach an ebuild for libixp-0.2).

The revbumps are because the libraries are installed into /usr/$(get_libdir) instead of /usr/lib which does make a difference on certain systems (like mine).
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-11 16:12:58 UTC
Fixed in tree:

+*libixp-0.5-r1 (11 Jun 2010)
+
+  11 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> +libixp-0.5-r1.ebuild,
+  +files/libixp-0.5-gentoo.diff:
+  Fix install paths wrt bug 309095. Thanks to Nathan Phillip Brink
+  <ohnobinki@ohnopublishing.net> for report and patch. Additionally fixing
+  multiple QA issues and install shared libs
+