All of lore.kernel.org
 help / color / mirror / Atom feed
* sanity test problems at end of build
@ 2008-11-27 10:42 Valentin Longchamp
  2008-11-27 10:55 ` Koen Kooi
  0 siblings, 1 reply; 10+ messages in thread
From: Valentin Longchamp @ 2008-11-27 10:42 UTC (permalink / raw)
  To: openembedded-devel

Hello,

Sorry if it is a repost, but I have got not answer and have not seen my mail 
in the mailing-list archives, so I send it again

I have seen various people that have experienced the same problem during the 
last months, but I have never read a clear answer or fix to what is wrong with 
this issue.

OE builds just fine all the needed packages for my system, but in the I get a 
failed sanity check for various libraries. Here is the log for a console-image 
for instance:

> NOTE: Running task 1589 of 1960 (ID: 217,
> /usr/local/OE/openembedded/packages/angstrom/angstrom-version.bb,
> do_populate_staging) NOTE: package angstrom-version-2008.1-test-20081120:
> started
> NOTE: package angstrom-version-1_2008.1-test-20081120-r1: task
> do_populate_staging: started NOTE: package
> angstrom-version-1_2008.1-test-20081120-r1: task do_populate_staging:
> completed NOTE: package angstrom-version-2008.1-test-20081120: completed
> NOTE: Running task 1861 of 1960 (ID: 216,
> /usr/local/OE/openembedded/packages/angstrom/angstrom-version.bb,
> do_package_write) NOTE: package angstrom-version-2008.1-test-20081120:
> started
> NOTE: package angstrom-version-1_2008.1-test-20081120-r1: task
> do_package_write: started NOTE: package
> angstrom-version-1_2008.1-test-20081120-r1: task do_package_write:
> completed NOTE: package angstrom-version-2008.1-test-20081120: completed
> NOTE: Running task 1862 of 1960 (ID: 215,
> /usr/local/OE/openembedded/packages/angstrom/angstrom-version.bb,
> do_package_stage) NOTE: package angstrom-version-2008.1-test-20081120:
> started
> NOTE: package angstrom-version-1_2008.1-test-20081120-r1: task
> do_package_stage: started NOTE: package
> angstrom-version-1_2008.1-test-20081120-r1: task do_package_stage:
> completed NOTE: package angstrom-version-2008.1-test-20081120: completed
> NOTE: Running task 1892 of 1960 (ID: 5,
> /usr/local/OE/openembedded/packages/images/console-image.bb, do_qa_staging)
> NOTE: package console-image-1.0: started
> NOTE: package console-image-1.0-r0: task do_qa_staging: started
> NOTE: QA checking staging
> ERROR: QA Issue: libpanel.la failed sanity test (workdir) in path
> /usr/local/OE/angstrom//staging/armv6-angstrom-linux-gnueabi/usr/lib ERROR:
> QA Issue: libncurses.la failed sanity test (workdir) in path
> /usr/local/OE/angstrom//staging/armv6-angstrom-linux-gnueabi/usr/lib ERROR:
> QA Issue: libmenu.la failed sanity test (workdir) in path
> /usr/local/OE/angstrom//staging/armv6-angstrom-linux-gnueabi/usr/lib ERROR:
> QA Issue: libform.la failed sanity test (workdir) in path
> /usr/local/OE/angstrom//staging/armv6-angstrom-linux-gnueabi/usr/lib ERROR:
> QA staging was broken by the package built above
> ERROR: Error in executing:
> ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
> ERROR: Printing the environment of the function
> ERROR: Build of /usr/local/OE/openembedded/packages/images/console-image.bb
> do_qa_staging failed ERROR: Task 5
> (/usr/local/OE/openembedded/packages/images/console-image.bb,
> do_qa_staging) failed NOTE: Waiting for 1 active tasks to finish
> NOTE: 1: /usr/local/OE/openembedded/packages/gnutls/gnutls_2.4.2.bb,
> do_configure (13056) NOTE: package gnutls-2.4.2-r3: task do_configure:
> completed
> NOTE: package gnutls-2.4.2: completed
> NOTE: Tasks Summary: Attempted 1890 tasks of which 1873 didn't need to be
> rerun and 1 failed. ERROR:
> '/usr/local/OE/openembedded/packages/images/console-image.bb' failed

I had read that this could have something to do with the fact that -tmp was in 
the name of the tmp build dir. However it is not the case for me and the 
problem is still here. Here is my local.conf file:

> # Where to store sources
> DL_DIR = "/usr/local/OE/downloads"
>
> # Which files do we want to parse:
> BBFILES := "/usr/local/OE/openembedded/packages/*/*.bb"
> BBMASK = ""
>
> # qemu has a few problems with our architecture
> #ENABLE_BINARY_LOCALE_GENERATION = "0"
> # We only need a few locales
> # does not work with ENABLE_BINARY_LOCALE_GENERATION = "0"
> GLIBC_GENERATE_LOCALES = "en_GB.UTF-8 fr_CH.UTF-8"
>
> # ccache always overfill $HOME....
> CCACHE=""
>
> # What kind of images do we want?
> IMAGE_FSTYPES = "jffs2 tar.gz"
>
> # Set TMPDIR instead of defaulting it to $pwd/tmp
> TMPDIR = "/usr/local/OE/${DISTRO}/"
>
> # Make use of my SMP box
> PARALLEL_MAKE="-j4"
> BB_NUMBER_THREADS = "2"
>
> # Set the Distro
> DISTRO = "angstrom-2008.1"
>
> # 'uclibc' or 'glibc' or 'eglibc'
> #ANGSTROM_MODE = "glibc"
>
> MACHINE = "mx31moboard"

Thank you for your help, that would be really nice to fix this, because I am 
not able to build rootfs images at this point because of this problem.

Regards

Valentin



^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: sanity test problems at end of build
@ 2008-11-29 11:44 代尔欣
  2008-11-30 17:44 ` Stanislav Brabec
  0 siblings, 1 reply; 10+ messages in thread
From: 代尔欣 @ 2008-11-29 11:44 UTC (permalink / raw)
  To: openembedded-devel

Hello..,
   I also met this problem. In may case, from  the log:

ERROR: QA Issue: paragui.pc failed sanity check
....
>> QA staging was broken by the package built above
>> ERROR: Error in executing:
>> ERROR: Exception:<type 'exceptions.SystemExit'>  Message:1
>> ERROR: Printing the environment of the function


if it is because the file paragui.pc:

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: ParaGUI
Description: cross-platform widget library
Version: 1.1.8
Libs: -lparagui -lsigc-1.2   -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
-lexpat -lfreetype -lz  -lstdc++
Cflags: -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2
-I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
After some debug, I found if I remove below lines from paragui.pc

Libs: -lparagui -lsigc-1.2   -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
-lexpat -lfreetype -lz  -lstdc++
Cflags: -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2
-I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT

The error is gone. But I don't think it is a correct fix. Because some
packages may use pkgconfig with this file. To find the clue, I have question
about this error, hope someone can answer me.

Q:
1. What is the purpose of the QA sanity check? And How this check do?

2. Just a guess, QA sanity check, Is it for checking the lib or include file
installed correctly base on the .pc file or the .la(mail in Valentin
Longchamp)? If it is, I think the error is in the bb files or Makefile in
the package, it can't install the lib correctly.

Best Regards.


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

end of thread, other threads:[~2008-11-30 17:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-27 10:42 sanity test problems at end of build Valentin Longchamp
2008-11-27 10:55 ` Koen Kooi
2008-11-27 11:27   ` Stanislav Brabec
2008-11-27 11:44     ` Koen Kooi
2008-11-27 14:53       ` Valentin Longchamp
2008-11-27 15:12         ` Koen Kooi
2008-11-27 18:46         ` Stanislav Brabec
2008-11-28 13:56           ` Valentin Longchamp
  -- strict thread matches above, loose matches on Subject: below --
2008-11-29 11:44 代尔欣
2008-11-30 17:44 ` Stanislav Brabec

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.