Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391895 - sys-fs/udev-164 pci.ids not found in cross compile
Summary: sys-fs/udev-164 pci.ids not found in cross compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-25 20:12 UTC by Wim Muskee
Modified: 2011-12-09 22:21 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 Wim Muskee 2011-11-25 20:12:37 UTC
When emerging USE="extras" sys-fs/udev-164-r2 from i686 to armv6j, I get the following configure error:

configure: error: pci.ids not found, try --with-pci-ids-path=

Solved by setting --with-pci-ids-path="/usr/share/misc/pci.ids" in the ebuild's src_compile section.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-26 16:53:10 UTC
Um, so cross-emerge sys-apps/pciutils first?
Comment 2 Wim Muskee 2011-11-27 09:12:26 UTC
I'm using the cross compiler on the host to compile into another stage3 environment. 

My emerge wrapper looks as follows:
export ROOT="/opt/ltsp/armv6j/"
export SYSROOT="/opt/ltsp/armv6j/"
export LDFLAGS="-L/opt/ltsp/armv6j/usr/armv6j-unknown-linux-gnueabi/lib -L/opt/ltsp/armv6j/usr/armv6j-unknown-linux-gnueabi/usr/lib"

export PORTDIR="/opt/ltsp/armv6j/usr/portage"
export PKGDIR="/opt/ltsp/armv6j/usr/portage/packages"
emerge-armv6j-unknown-linux-gnueabi "$@"


However, pciutils is emerged on the host, in the crossdev env at /usr/armv6j-unknown-linux-gnueabi and on my build-to-root. I also assured the availability of /usr/share/misc/pci.ids in all three envs.
Comment 3 SpanKY gentoo-dev 2011-12-09 19:58:28 UTC
already been fixed in udev-171-r1+
Comment 4 William Hubbs gentoo-dev 2011-12-09 22:21:43 UTC
This is fixed in udev-171-r3.
Thanks for the report.