[yocto] [meta-raspberrypi] gettext RPATH QA issue

Paul Eggleton paul.eggleton at linux.intel.com
Fri Aug 31 03:00:41 PDT 2012


On Friday 31 August 2012 10:32:53 Jack Mitchell wrote:
> On 31/08/12 10:26, Jack Mitchell wrote:
> > So, I have run into a second problem with the new RPATH sanity checks
> > in bitbake. I'm on master for everything and this is the error I am
> > 
> > receiving:
> >    [jack at archHP raspberry]$ bitbake rpi-hwup-image
> >    Pseudo may be out of date, rebuilding pseudo before the main build
> >    Parsing recipes: 100% |#########################################|
> >    Time: 00:00:19
> >    Parsing of 1193 .bb files complete (0 cached, 1193 parsed). 1528
> >    targets, 48 skipped, 1 masked, 0 errors.
> >    WARNING: Host distribution could not be determined; you may possibly
> >    experience unexpected failures. It is recommended that you use a
> >    tested distribution.
> >    
> >    Build Configuration:
> >    BB_VERSION        = "1.15.3"
> >    TARGET_ARCH       = "arm"
> >    TARGET_OS         = "linux-gnueabi"
> >    MACHINE           = "raspberrypi"
> >    DISTRO            = "poky"
> >    DISTRO_VERSION    = "1.2+snapshot-20120831"
> >    TUNE_FEATURES     = "armv6 vfp arm1176jzfs"
> >    TARGET_FPU        = "vfp"
> >    meta
> >    meta-yocto        = "master:9ba1e33e2d14362971d6441ee6142bcb0857df1a"
> >    meta-raspberrypi  = "master:ad5ef650663b7bf67c4ca08f0b1a9ce402e58be9"
> >    meta-oe           = "master:a81cdc840c1dfca2bd0cb4ddd6e4bc1488286649"
> >    
> >    NOTE: Resolving any missing task queue dependencies
> >    NOTE: Preparing runqueue
> >    NOTE: Executing SetScene Tasks
> >    NOTE: Executing RunQueue Tasks
> >    NOTE: Tasks Summary: Attempted 63 tasks of which 30 didn't need to
> >    be rerun and all succeeded.
> >    
> >    Summary: There was 1 WARNING message shown.
> >    Loading cache: 100% |###########################################|
> >    ETA:  00:00:00
> >    Loaded 1529 entries from dependency cache.
> >    WARNING: Host distribution could not be determined; you may possibly
> >    experience unexpected failures. It is recommended that you use a
> >    tested distribution.
> >    
> >    Build Configuration:
> >    BB_VERSION        = "1.15.3"
> >    TARGET_ARCH       = "arm"
> >    TARGET_OS         = "linux-gnueabi"
> >    MACHINE           = "raspberrypi"
> >    DISTRO            = "poky"
> >    DISTRO_VERSION    = "1.2+snapshot-20120831"
> >    TUNE_FEATURES     = "armv6 vfp arm1176jzfs"
> >    TARGET_FPU        = "vfp"
> >    meta
> >    meta-yocto        = "master:9ba1e33e2d14362971d6441ee6142bcb0857df1a"
> >    meta-raspberrypi  = "master:ad5ef650663b7bf67c4ca08f0b1a9ce402e58be9"
> >    meta-oe           = "master:a81cdc840c1dfca2bd0cb4ddd6e4bc1488286649"
> >    
> >    NOTE: Resolving any missing task queue dependencies
> >    NOTE: Preparing runqueue
> >    NOTE: Executing SetScene Tasks
> >    NOTE: Executing RunQueue Tasks
> > 
> >    ERROR: QA Issue: libgettextlib:
> > /work/armv6-vfp-poky-linux-gnueabi/gettext-0.18.1.1-r16/packages-split/lib
> > gettextlib/usr/lib/libgettextlib-0.18.1.so> 
> >    contains probably-redundant RPATH /usr/lib/../lib
> > 
> >    ERROR: QA Issue: libgettextsrc:
> > /work/armv6-vfp-poky-linux-gnueabi/gettext-0.18.1.1-r16/packages-split/lib
> > gettextsrc/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:
> > /home/jack/Projects/poky-rasp/raspberry/tmp/work/armv6-vfp-poky-linux-gnue
> > abi/gettext-0.18.1.1-r16/temp/log.do_package.7077> 
> >    ERROR: Task 834
> > 
> > (/home/jack/Projects/poky-rasp/meta/recipes-core/gettext/gettext_0.18.1.1.
> > bb,> 
> >    do_package) failed with exit code '1'
> >    NOTE: Tasks Summary: Attempted 1412 tasks of which 661 didn't need
> >    to be rerun and 1 failed.
> > 
> >    Summary: 1 task failed:
> > /home/jack/Projects/poky-rasp/meta/recipes-core/gettext/gettext_0.18.1.1.b
> > b,> 
> >    do_package
> >    Summary: There was 1 WARNING message shown.
> >    Summary: There were 4 ERROR messages shown, returning a non-zero
> >    exit code.
> > 
> > Does anybody have an suggestions?
> > 
> > Regards,
> 
> I'm not sure where this issue lies, I have a standard qemu build on
> going which seems ok, so I'm tempted to say that it is either meta-oe or
> meta-raspberry pi doing some overides?

This has been fixed, but unfortunately the change to fix it was in libtool and 
did not trigger a recompile - we probably ought to bump PR on gettext. At the 
moment the fix is to "bitbake -c cleansstate gettext" and then carry on.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list