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

Bug 503326

Summary: sys-fs/udev-init-scripts on mips32 installs into /usr/lib64
Product: Gentoo Linux Reporter: Hristo Venev <hristo>
Component: [OLD] Core systemAssignee: udev maintainers <udev-bugs>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hristo Venev 2014-03-03 15:44:51 UTC
Not exactly cross-compiling. Cross-installing.

Installs stuff in /usr/lib64 for mips32.
Makefile uses pkg-config instead of ${PKG_CONFIG}.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-03-04 06:46:51 UTC
err, udev.pc is installed to /usr/share/pkgconfig and is not arch specific:

<snip>
$ cat /usr/share/pkgconfig/udev.pc 
Name: udev
Description: udev
Version: 210

udevdir=/lib/udev

</snip>

it should be using /lib/udev, always, never /lib32/udev or /lib64/udev.

so it would seem your udev.pc is broken instead.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-03-04 06:51:00 UTC
need complete build.log from the udev compilation that created the broken udev.pc and emerge --info and any information from the used build environment that you think is necessary

in udev's source tree:

$ grep udevlibexecdir Makefile.am
Makefile.am:udevlibexecdir=$(rootprefix)/lib/udev

and we pass --rootprefix= as empty from ebuild's econf, thus udevlibexecdir=/lib/udev, which ends up in:

$ cat src/udev/udev.pc.in 
Name: udev
Description: udev
Version: @VERSION@

udevdir=@udevlibexecdir@