Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474452 - dev-libs/libffi: Installs to ${EPREFIX}/usr/lib64 instead of ${EPREFIX}/usr/$(get_libdir)
Summary: dev-libs/libffi: Installs to ${EPREFIX}/usr/lib64 instead of ${EPREFIX}/usr/$...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-23 02:33 UTC by johndoe49322
Modified: 2013-07-01 08:43 UTC (History)
0 users

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 johndoe49322 2013-06-23 02:33:18 UTC
(As discussed on #gentoo-prefix around 20130623 midnight UTC.)

A gentoo-prefix run on Linux resulted in dev-libs/glib emerge in stage3 failing due to libffi.so* being installed in EPREFIX/usr/lib64 instead of EPREFIX/usr/lib.

Someone wiser than I said:

> nothing should install to ${EPREFIX}/usr/lib64...
> the correct (temporary) fix would be to mv ${EPREFIX}/usr/lib64/* ${EPREFIX}/usr/lib; rmdir ${EPREFIX}/usr/lib64; ln -s lib ${EPREFIX}/usr/lib64

and...

> in an ideal world, there is no lib64 at all
> that's the ideal world situation, libffi not installing to lib64 when it should have been configured with --libdir=$EPREFIX/usr/lib
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-06-24 07:03:43 UTC
Duplicate of bug 462814?

libffi-3.0.11.ebuild:	sed -i 's:@toolexeclibdir@:$(libdir):g' Makefile.in || die #462814
libffi-3.0.12.ebuild:	sed -i 's:@toolexeclibdir@:$(libdir):g' Makefile.in || die #462814
libffi-3.0.13.ebuild:	sed -i 's:@toolexeclibdir@:$(libdir):g' Makefile.in || die #462814
Comment 2 Fabian Groffen gentoo-dev 2013-07-01 08:43:57 UTC
(In reply to Samuli Suominen from comment #1)
> Duplicate of bug 462814?
> 
> libffi-3.0.13.ebuild:	sed -i 's:@toolexeclibdir@:$(libdir):g' Makefile.in ||
> die #462814

Looks like it to me.  Please reopen if problem persists.