Capn_Fish Zaurus wrote:
As far as I've gathered, you just use the -k option and ignore the
errors. I don't believe the cause has been isolated or a solution has
been forund, though people are free to correct me.

On 3/11/09, D.Pageau <dpag...@infodev.ca> wrote:
bitbake base-image fail with QA Issue.  See log and .conf bellow:

********

dpag...@openembedded:~/oe/org.openembedded.dev$ bitbake base-image
NOTE: Handling BitBake files: \ (6563/6563) [100 %]
NOTE: Parsing finished. 6275 cached, 0 parsed, 288 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200903110658: started

OE Build Configuration:
BB_VERSION        = "1.8.12"
METADATA_BRANCH   = "org.openembedded.dev"
METADATA_REVISION = "15595fa2e1222509a57ae6c2e55ef9d8b8829989"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "at91-l9260"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2009.X-test-20090311"
TARGET_FPU        = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 1380 of 2237 (ID: 282,
/home/dpageau/oe/org.openembedded.dev/packages/angstrom/angstrom-version.bb,
do_patch)
NOTE: package angstrom-version-2009.X-test-20090311: started
NOTE: package angstrom-version-1_2009.X-test-20090311-r2: task do_patch:
started
NOTE: package angstrom-version-1_2009.X-test-20090311-r2: task do_patch:
completed
NOTE: package angstrom-version-2009.X-test-20090311: completed
NOTE: Running task 2219 of 2237 (ID: 11,
/home/dpageau/oe/org.openembedded.dev/packages/images/base-image.bb,
do_qa_staging)
NOTE: Running task 2220 of 2237 (ID: 283,
/home/dpageau/oe/org.openembedded.dev/packages/angstrom/angstrom-version.bb,
do_configure)
NOTE: package angstrom-version-2009.X-test-20090311: started
NOTE: package angstrom-version-1_2009.X-test-20090311-r2: task
do_configure: started
NOTE: package base-image-1.0: started
NOTE: package base-image-1.0-r0: task do_qa_staging: started
NOTE: QA checking staging
ERROR: QA Issue: libform.la failed sanity test (workdir) in path
/home/dpageau/oe/build/angstrom/tmp//staging/armv5te-angstrom-linux-gnueabi/usr/lib
ERROR: QA Issue: libmenu.la failed sanity test (workdir) in path
/home/dpageau/oe/build/angstrom/tmp//staging/armv5te-angstrom-linux-gnueabi/usr/lib
ERROR: QA Issue: libpanel.la failed sanity test (workdir) in path
/home/dpageau/oe/build/angstrom/tmp//staging/armv5te-angstrom-linux-gnueabi/usr/lib
ERROR: QA Issue: libncurses.la failed sanity test (workdir) in path
/home/dpageau/oe/build/angstrom/tmp//staging/armv5te-angstrom-linux-gnueabi/usr/lib
NOTE: package angstrom-version-1_2009.X-test-20090311-r2: task
do_configure: completed
NOTE: package angstrom-version-2009.X-test-20090311: completed
ERROR: QA staging was broken by the package built above
ERROR: Error in executing:
/home/dpageau/oe/org.openembedded.dev/packages/images/base-image.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Build of
/home/dpageau/oe/org.openembedded.dev/packages/images/base-image.bb
do_qa_staging failed
NOTE: Running task 2221 of 2237 (ID: 284,
/home/dpageau/oe/org.openembedded.dev/packages/angstrom/angstrom-version.bb,
do_qa_configure)
NOTE: package angstrom-version-2009.X-test-20090311: started
NOTE: package angstrom-version-1_2009.X-test-20090311-r2: task
do_qa_configure: started
NOTE: Checking sanity of the config.log file
NOTE: package angstrom-version-1_2009.X-test-20090311-r2: task
do_qa_configure: completed
NOTE: package angstrom-version-2009.X-test-20090311: completed
ERROR: Task 11
(/home/dpageau/oe/org.openembedded.dev/packages/images/base-image.bb,
do_qa_staging) failed
NOTE: Waiting for 1 active tasks to finish
NOTE: 1:
/home/dpageau/oe/org.openembedded.dev/packages/angstrom/angstrom-version.bb,
do_qa_configure (16830)
NOTE: Tasks Summary: Attempted 2219 tasks of which 2217 didn't need to
be rerun and 1 failed.
ERROR:
'/home/dpageau/oe/org.openembedded.dev/packages/images/base-image.bb' failed
NOTE: build 200903110658: completed

********

# Where to store sources
DL_DIR = "/home/dpageau/oe/downloads"

# Which files do we want to parse:
BBFILES := "/home/dpageau/oe/org.openembedded.dev/packages/*/*.bb"
BBMASK = ""

# 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 = "/home/dpageau/oe/build/${DISTRO}/tmp/"

I've just run into the same problem, and we have one thing in common: our TMPDIR ends with a '/';

autotools_stage_all() from classes/autotools.bbclass has some sed script that replace in the .la files -L${WORKDIR}/... with -L${STAGING_LIBDIR}... but because of the final / your WORKDIR contains a // in it, but ncurse's -LPATH doesn't, so the regexp doesn't match and the replacement is not done.

That's just a theory for now, but after checking longly run.do_stage and libncurses.la that's definitely what happend:

here's my libncurses.la:
dependency_libs=' -L/home/cgagneraud/work/angstrom-2009.x/angstrom-dev/work/x86_64-linux/ncurses-native-5.4-r18/ncurses-5.4/lib'
and here is the regexp used by autotools_stage_all:
/^dependency_libs=/s,/home/cgagneraud/work/angstrom-2009.x/angstrom-dev//work/x86_64-linux/ncurses-native-5.4-r18[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/home/cgagneraud/work/angstrom-2009.x/angstrom-dev//staging/x86_64-linux/usr/lib,g

Clearly the regexp doesn't match but it should!

i'm retrying a build from scratch to see if it works.

cheers
Chris


# 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 = "at91sam9260ek"
MACHINE = "at91-l9260"

BBDEBUG = "yes"

#icecc

# use icecc
INHERIT += "icecc"

# you can set it to 15 but the bigger overhead will slow down your
# system. find a balance that works for you.
PARALLEL_MAKE = "-j 8"

# besides running more then one compiler, you can also run more
# then one bitbake.
BB_NUMBER_THREADS = "2"

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to