[yocto] Yocto : QA issue: package qlibc-dbg contains bad RPATH

Khem Raj raj.khem at gmail.com
Fri Nov 4 10:46:20 PDT 2016


On Fri, Nov 4, 2016 at 8:09 AM, Dinh Nguyen (dinhn) <dinhn at cisco.com> wrote:
> Hi Yocto Gurus,
>
> ERROR: QA Issue: package qlibc-dbg contains bad RPATH

quick fix is in a do_install or do_install_append do

chrpath -d ${D}${libdir}/libqlibcext.so

ideally, one should fix build system to not emit the wrong rpath in first place.

> /media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp_qlibc32/tmp/work/ppce500v2-poky-linux-gnuspe/qlibc/1.0-r0/git/lib
> in file
> /media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp_qlibc32/tmp/work/ppce500v2-poky-linux-gnuspe/qlibc/1.0-r0/packages-split/qlibc-dbg/usr/lib/libqlibcext.so
> [rpaths]
> ERROR: QA run found fatal errors. Please consider fixing them.
>
>
> I am able to compile and build IPK package for qlibc recipe. But it the
> above QA issue, which indicate package qlibc-dbg has a bad RPATH.
> Any idea how to solve this?
>
> Many thanks in advance
>   —Dinh
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list