Skip to contentSkip to conversation

sanity test failure at the end of build

DISCUSSION Valentin Longchamp 1 participant 1 message Nov 20, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

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:

Quoted 44 lines

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,

Quoted 8 lines

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:

Quoted 26 lines

# 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"

Quoted 7 lines

# 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