[oe] [PATCH] insane.bbclass: fix the check for bad RPATH

Tom Rini tom_rini at mentor.com
Sun Feb 13 22:36:20 UTC 2011


On 02/13/2011 01:33 PM, Khem Raj wrote:
> On Sun, Feb 13, 2011 at 7:50 AM, Andreas Mueller<schnitzeltony at gmx.de>  wrote:
>> Hi OE folks,
>>
>> Yesterday I merged latest head into my working branch and started a fresh build for xfce46-image. I get
>>
>> ERROR: QA Issue with db: package db contains bad RPATH /home/Superandi/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib in file /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/db-5.0.21-r3/packages-split/db/usr/lib/libdb-5.0.so
>> ERROR: QA Issue with db: package db contains bad RPATH /home/Superandi/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib in file /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/db-5.0.21-r3/packages-split/db/usr/lib/libdb-5.0.so
>> ERROR: QA Issue with db-bin: package db-bin contains bad RPATH /home/Superandi/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib in file /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/db-5.0.21-r3/packages-split/db-bin/usr/bin/db_checkpoint
>> ERROR: QA Issue with db-bin: package db-bin contains bad RPATH /home/Superandi/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib in file /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/db-5.0.21-r3/packages-split/db-bin/usr/bin/db_checkpoint
>> ...
>> FATAL: QA run found fatal errors. Please consider fixing them.
>> ERROR: Error in executing python function in: /home/Superandi/data/OpenEmbedded/gumstix-oe/recipes/db/db_5.0.21.bb
>> ERROR: Exception:<type 'exceptions.SystemExit'>  Message:1
>> ERROR: Printing the environment of the function
>> ERROR: Function do_package_qa failed
>>
>> Without having further checks I think commit 14f7dd0965f14a09169dc5a2df18ff0b06f8bad5 causes this behaviour.
>>
>> What makes me wondering:
>>
>> - even in case I use the -k option the build aborts at the same position. Is that intended?
>> - Commit 6aa31074adaccffcfd3080e8390065ab5abda2a6 brings up many undetected RPATH cases which have to be fixed. With the current situation it is not possible to check which there are.
>>
>> How about creating a list (I know Frans did already - but I think it was before the latest RPATH commit) listing the packages with QA errors / the type of QA error / and (to prevent double efforts)  a person willing to take care. (Although I know nobody uses it :-) I take a look for clutter-box2d which has RPATH error)
>>
>> Or is there something ongoing I have missed?
>>
>
> hmm I think there are too many QA errors now it is reporting as errors
> and bailing out build. While we should fix
> the QA errors but I think we should not be that strict yet

I think we should see how many of these we can easily pull a fix out of 
from poky.

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list