Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503326 - sys-fs/udev-init-scripts on mips32 installs into /usr/lib64
Summary: sys-fs/udev-init-scripts on mips32 installs into /usr/lib64
Status: RESOLVED NEEDINFO
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: 2014-03-03 15:44 UTC by Hristo Venev
Modified: 2014-03-04 06:51 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 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@