| Summary: | shlibs failing to add dependencies for some .so files | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Khem Raj <raj.khem> |
| Component: | core | Assignee: | Khem Raj <raj.khem> |
| Status: | VERIFIED FIXED | QA Contact: | Mihail Stanciu <stanciux.mihail> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | bogdanx.a.voiculescu, ionutx.chisanovici, meta.mr.watcher, meta.watcher, otavio, richard.purdie, sgw |
| Version: | 1.7 | ||
| Target Milestone: | 1.7 M4 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Khem Raj
2014-10-04 18:39:22 UTC
What I see is this
DEBUG: calculating shlib provides for libllvm3.3-llvm-3.3
DEBUG: registering libllvm3.3-llvm-3.3-3.3 as shlib provider for libLLVM-3.3.so
DEBUG: LIBNAMES: pkg libllvm3.3-llvm-3.3 sonames [('libLLVM-3.3.so', '/usr/lib/llvm3.3', '3.3')]
Actually there is a symlink to libLLVM-3.3.so in /usr/lib which points to libLLVM-3.3.so in /usr/lib/llvm3.3
Both .so file as well as symlink is packaged into libllvm3.3-llvm-3.3
and when I look at package logs of mesa it says
NOTE: Couldn't find shared library provider for libLLVM-3.3.so, used by files: /home/ubuntu/work/dizzy/build-qemux86/tmp/work/i586-rdk-linux/mesa/2_10.1.3-r0/packages-split/libegl-gallium/usr/lib/egl/egl_gallium.so
is it because its looking for libLLVM-3.3.so in /lib and /usr/lib only ?
its happening after commit 48b9ecd5335f63fb2bcc47c4b23d067122734fe9 Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Mon Jul 7 18:40:55 2014 +0100 package.bbclass: Rewrite shlib_provider handling to include RPATH Change the do_package shlibs code to account for RPATHS. This means that for library dependency purposes, only libraries in system paths or in any declared RPATH will be seen. This is important to resolve problems people have been having where similarly named libraries in "private" paths were conflicting, e.g. with gstreamer. For now this code assumes the default search path is libdir and base_libdir and places ASSUME_SHLIBS in libdir so they are searched by default. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> A potential fix is posted for review http://lists.openembedded.org/pipermail/openembedded-core/2014-October/097802.html Hi guys, I tried to verify this issue but couldn't find anything in the ~/work/poky/build/tmp/work/i586-poky-linux/mesa/2_10.1.3-r0/packages-split/libegl-gallium folder ~/work/poky/build/tmp/work/i586-poky-linux/mesa/2_10.1.3-r0/packages-split/libegl-gallium$ ll drwxr-xr-x 2 ionut ionut 4096 Oct 15 13:15 . drwxr-xr-x 33 ionut ionut 4096 Oct 15 13:15 .. There is no usr/lib/ folder. The build I made had: MACHINE ?= "qemux86" meta-openembedded/meta-oe layer in bblayer.conf Latest masters for both poky and meta-oe. bitbake mesa Should I test this in another way ? Cheers, Ionut C Reopened as I need more infos on how to test this. Thanks, Ionut C . (In reply to comment #5) > Hi guys, > > I tried to verify this issue but couldn't find anything in the > ~/work/poky/build/tmp/work/i586-poky-linux/mesa/2_10.1.3-r0/packages-split/ > libegl-gallium folder > > ~/work/poky/build/tmp/work/i586-poky-linux/mesa/2_10.1.3-r0/packages-split/ > libegl-gallium$ ll > drwxr-xr-x 2 ionut ionut 4096 Oct 15 13:15 . > drwxr-xr-x 33 ionut ionut 4096 Oct 15 13:15 .. > > There is no usr/lib/ folder. > > The build I made had: > MACHINE ?= "qemux86" > meta-openembedded/meta-oe layer in bblayer.conf > Latest masters for both poky and meta-oe. > > bitbake mesa > > Should I test this in another way ? In the description its pretty clear I guess what the problem is and how it can be verified. Please check the build history before and after this fix and especially for libegl-gallium you will see libllvm3.3-llvm-3.3 will appear in dependencies after the patch where as it will be missing before the patch. > > Cheers, > Ionut C Bug is resolved Verified on master: ae736dbdd140975ba43f06e635b461dbf36a117e |