All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] insane.bbclass: fix the check for bad RPATH
@ 2011-02-03  7:00 Denys Dmytriyenko
  2011-02-12  0:38 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2011-02-03  7:00 UTC (permalink / raw)
  To: openembedded-devel

* Variable 'sane' is boolean, so adding to it breaks the error condition
* Fixes previous commit 6aa31074 ported from Yocto

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
---
 classes/insane.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 50752b5..a846832 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -174,7 +174,7 @@ def package_qa_check_rpath(file,name,d, elf):
         for dir in bad_dirs:
             if dir in line:
                 error_msg = "package %s contains bad RPATH %s in file %s" % (name, line, file)
-                sane = sane + package_qa_handle_error(1, error_msg, name, file, d)
+                sane = package_qa_handle_error(1, error_msg, name, file, d)
 
     return sane
 
-- 
1.7.4




^ permalink raw reply related	[flat|nested] 5+ messages in thread
* Re: [PATCH] insane.bbclass: fix the check for bad RPATH
@ 2011-02-13 15:50 Andreas Mueller
  2011-02-13 20:33 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Mueller @ 2011-02-13 15:50 UTC (permalink / raw)
  To: openembedded-devel

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?

Andreas



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-13 22:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03  7:00 [PATCH] insane.bbclass: fix the check for bad RPATH Denys Dmytriyenko
2011-02-12  0:38 ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2011-02-13 15:50 Andreas Mueller
2011-02-13 20:33 ` Khem Raj
2011-02-13 22:36   ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.