Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348225 - [x11-overlay/libpciaccess] ebuild broken
Summary: [x11-overlay/libpciaccess] ebuild broken
Status: RESOLVED DUPLICATE of bug 348224
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-08 23:45 UTC by Ben Widawsky
Modified: 2010-12-08 23:55 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 Ben Widawsky 2010-12-08 23:45:31 UTC
As of commit libpciaccess dcb79a20cba1eaaa83158b80bb538d50b003bd79 scanpci is now in its own directory and therefore install fails

Reproducible: Always

Steps to Reproduce:
1. layman -a x11
2. unmask appropriate packages
3. emerge libpciaccess

Actual Results:  
fatal: Not a git repository (or any of the parent directories): .git
!!! dobin: src/.libs/scanpci does not exist
dobin failed
 * ERROR: x11-libs/libpciaccess-9999 failed:
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 3550:  Called die
 * The specific snippet of code:
 *           dobin src/.libs/scanpci || die;
 *



Here is a patch which fixes the problem:


diff --git a/x11-libs/libpciaccess/libpciaccess-9999.ebuild b/x11-libs/libpciaccess/libpciaccess-9999.ebuild
index f9eaeca..7487a3f 100644
--- a/x11-libs/libpciaccess/libpciaccess-9999.ebuild
+++ b/x11-libs/libpciaccess/libpciaccess-9999.ebuild
@@ -18,6 +18,6 @@ CONFIGURE_OPTIONS="--with-pciids-path=/usr/share/misc"
 src_install() {
        x-modular-r2_src_install
        if ! use minimal; then
-               dobin src/.libs/scanpci || die
+               dobin scanpci/.libs/scanpci || die
        fi
 }
Comment 1 Ben Widawsky 2010-12-08 23:55:40 UTC
I'm not sure why 2 dupes were created

*** This bug has been marked as a duplicate of bug 348224 ***