[yocto] build failure on current
Paul Eggleton
paul.eggleton at linux.intel.com
Fri Sep 28 07:34:54 PDT 2012
On Friday 28 September 2012 10:16:27 Evade Flow wrote:
> Seems it definitely didn't build tar:
>
> evadeflow% pwd
> /home/evadeflow/projects/poky-git/build/tmp/sysroots/i686-linux/usr/bin
Just to confirm, this is the same path you get if you run "cat pseudodone" in
your build directory?
> evadeflow% ls t*
> tabs tailf taskset tic toe tput tset tunctl tzselect
> evadeflow% tar --version
> tar (GNU tar) 1.22
> ...
> This is on denzil, BTW. (Maybe the check against the tar version was added
> later?)
No, the code to do this was there in denzil as well. Here's the code cut out
into a shell script - could you put this into a file and run it and tell me
what it prints on your system?
--------------- snip --------------
#!/bin/sh
needtar=1
TARVERSION=`tar --version | head -n 1 | cut -d ' ' -f 4`
float_test() {
echo | awk 'END { exit ( !( '"$1"')); }'
}
# Tar version 1.24 and onwards handle overwriting symlinks correctly
# but earlier versions do not; this needs to work properly for sstate
float_test "$TARVERSION > 1.23" && needtar="0"
echo $needtar
--------------- snip --------------
Thanks,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the yocto
mailing list