[yocto] WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the base_prefix, requires a shared library under exec_prefix (/usr)

Andrei Gherzan andrei at gherzan.ro
Sat Aug 25 08:29:11 PDT 2012


On Sat, Aug 25, 2012 at 4:14 PM, Elvis Dowson <elvis.dowson at gmail.com>wrote:

> Hi,
>       I have added support for gcc-4.5 and eglibc-2.13, in the retired
> tool-chain layer, and ran the build, against the latest poky master branch,
> and get the following warnings:
>
> Build Configuration:
> BB_VERSION        = "1.15.3"
> TARGET_ARCH       = "powerpc"
> TARGET_OS         = "linux"
> MACHINE           = "virtex5"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.2+snapshot-20120825"
> TUNE_FEATURES     = "m32 ppc440 fpu-soft"
> TARGET_FPU        = "soft"
> meta
> meta-yocto        =
> "master-xilinx-ml507-gcc-4.5:230631343fd1439fcf5c408e1d31870f5490d235"
> toolchain-layer   =
> "master-xilinx-ml507-gcc-4.5:7086c388699be96873d57f1d4c72ceaabf67846b"
> meta-xilinx       =
> "master-xilinx-ml507-gcc-4.5:4625488ffab40bf9eed6ce36906e433430f0155d"
>
>
> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
> base_prefix, requires a shared library under exec_prefix (/usr):
> libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xdead2000)
> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
> base_prefix, requires a shared library under exec_prefix (/usr):
> libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xdead3000)
> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
> base_prefix, requires a shared library under exec_prefix (/usr):
> libffi.so.5 => /usr/lib/libffi.so.5 (0xdead4000)
> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
> base_prefix, requires a shared library under exec_prefix (/usr):
> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xdead5000)
> WARNING: QA Issue: udev: /lib/udev/udev-acl, installed in the base_prefix,
> requires a shared library under exec_prefix (/usr): libglib-2.0.so.0 =>
> /usr/lib/libglib-2.0.so.0 (0xdead2000)
>
> How can I fix this?
>
>
The fix is very simple. The idea here is that a library from / which needs
something from /usr can have some problems while being on systems where /
and /usr are on different partitions and /usr can be unavailable at an
early stage. The obvious fix would be to move libgudev in /usr but before
doing this we need to be sure that nobody needs this in the early stages of
booting.

I would love to see this warning addressed.

ag
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120825/8a14feff/attachment.html>


More information about the yocto mailing list