[oe] QA Issue: sanity test failed issue

yajin zhou yajinzhou at vm-kernel.org
Tue Mar 10 01:03:45 UTC 2009


Thanks very much.
I check the do_stage log of ncurses and find the problem is caused by the
'/' in TMPDIR. It will confuse the sed. So one tip of using OE: do NOT add
'/' to your TMPDIR.

+ sed -e 's/^installed=yes$/installed=no/' -e
'/^dependency_libs=/s,/home/yajin/OE/angstrom-stable//work/mipsel-angstrom-linux/ncurses-5.4-r17[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/home/yajin/OE/angstrom-stable//staging/mipsel-angstrom-linux/usr/lib/\1,g'
-e
'/^dependency_libs=/s,\([[:space:]'\'']\)/usr/lib,\1/home/yajin/OE/angstrom-stable//staging/mipsel-angstrom-linux/usr/lib,g'
-i
/home/yajin/OE/angstrom-stable//work/mipsel-angstrom-linux/ncurses-5.4-r17/temp-staging//usr/lib/./
libncurses.la



On Mon, Mar 9, 2009 at 8:42 PM, GNUtoo <GNUtoo at no-log.org> wrote:

> I had it once:
> The cause was that the TMPDIR that wasn't setup correctly:
> I had:
> TMPDIR = ${HOME}/oetmp/
> instead of:
> TMPDIR = ${HOME}/oetmp
>
> the last / caused the path of something into the TMPDIR to be:
> ${HOME}/oetmp//work/etc...
> the doubble slash prevented a regular expression from working.
> The regular expression in question was changing the content of the .la
> files(libtool archive).
> And so the .la content were not changed.
> And that triggered the QA problem because the paths inside the .la files
> weren't changed(they were relative to the build directory instead of
> the / path if I remember well)
>
> Denis.
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
yajin

http://vm-kernel.org



More information about the Openembedded-devel mailing list