Bug 2987

Summary: gettext has RPATH QA error
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: Wenzong.Fan <wenzong.fan>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: alexandrux.palalau, meta.mr.watcher, meta.watcher, sgw
Version: 1.3   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: (autobuilder)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Ross Burton 2012-08-22 10:10:41 UTC
The latest insane has improved rpath sanity checks, which is failing with gettext.  e.g. http://autobuilder.yoctoproject.org:8010/builders/nightly-x86/builds/654/steps/shell_26/logs/stdio

ERROR: QA Issue: libgettextlib: /work/i586-poky-linux/gettext-0.18.1.1-r16/packages-split/libgettextlib/usr/lib/libgettextlib-0.18.1.so contains probably-redundant RPATH /usr/lib/../lib
ERROR: QA Issue: libgettextsrc: /work/i586-poky-linux/gettext-0.18.1.1-r16/packages-split/libgettextsrc/usr/lib/libgettextsrc-0.18.1.so contains probably-redundant RPATH /usr/lib/../lib
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/gettext-0.18.1.1-r16/temp/log.do_package.27484
NOTE: recipe gettext-0.18.1.1-r16: task do_package: Failed

#2669 and #2965 seem relevant too.
Comment 1 Ross Burton 2012-08-22 10:17:50 UTC
Being worked on, I see.

22:41 <khem> I am now seeing contains probably-redundant RPATH /usr/lib/../lib
22:42 <sgw> ag_: I would ask why is installed in /lib to start with?  Is it used by something early in startup?
22:42 <khem> there was a patch to squash such uses
22:42 <khem> has that been merged
22:45 <sgw> khem: Yes we are all seeing it, RP is waiting for a libtool patch, not sure why he pulled the insane check patch in first, quick work around is to using INSANE_SKIP_gettext = "useless-rpaths"
22:46 <sgw> sorry INSANE_SKIP_libgettextlib = "useless-rpaths
22:48 <khem> yeah thanks I will use this workaround meanwhile
22:49 <khem> I wonder if there are more packages which will fail in same manner
22:49 <sgw> libgettextextsrc also needs it
Comment 2 Saul Wold 2012-08-22 20:00:21 UTC
This seems to be fixed by the following commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=25e926e5f6bbfb31d784e1f6a86bd77d4a3f7622http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=25e926e5f6bbfb31d784e1f6a86bd77d4a3f7622

But it may have introduced some other issues in pango and rpm!
Comment 3 Alexandru Palalau 2012-09-24 09:59:02 UTC
Verified on master today on master branch.
Last commit ID df74f8d9a8b1500da3fffd77f12ec8d1900d0bf6