Re: build failure on current

Evade Flow <evadeflow@...>

Just to bring this full circle: I finally got the CRC error on my Ubuntu
10.04 build server to go away by adding the following line to

deb lucid-updates main universe restricted

and then executing:

sudo apt-get install gzip

to update gzip. Thanks, Paul, for all of your help in tracking this

On Fri, Sep 28, 2012 at 12:34 PM, Evade Flow <> wrote:
Is it definitely tar that's the problem or gzip? ...
Oh! Didn't even think of that. :-% Looks like it's gzip:

evadeflow% gzip -d perl-5.14.2.tar.gz

gzip: perl-5.14.2.tar.gz: invalid compressed data--crc error

Nice find! I'll see about updating my gzip...

On Fri, Sep 28, 2012 at 12:00 PM, Paul Eggleton
<> wrote:
On Friday 28 September 2012 11:53:53 Evade Flow wrote:
Erm... that *specific* bit prints nothing when pasted into a file and
executed. (Is it really supposed to?)
No, but the rest of the script (the bit following the blank line that
you've omitted) is...
My bad, sorry. (I really need to read more carefully.) Here's what I get
when I add the missing lines:

evadeflow% cat >
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
evadeflow% chmod +x
evadeflow% ./

So... it correctly determines that it needs to build tar, but... the built
tar can't unpack the tarball from CPAN:

evadeflow% wget
--2012-09-28 11:46:13--
Connecting to||:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 15223598 (15M) [application/x-gzip]
Saving to: `perl-5.14.2.tar.gz'

15,223,598 62.2M/s in 0.2s

2012-09-28 11:46:13 (62.2 MB/s) - `perl-5.14.2.tar.gz' saved

evadeflow% ./poky-git/build/tmp/sysroots/i686-linux/usr/bin/tar xf

gzip: stdin: invalid compressed data--crc error
./poky-git/build/tmp/sysroots/i686-linux/usr/bin/tar: Child returned status
1 ./poky-git/build/tmp/sysroots/i686-linux/usr/bin/tar: Error is not
recoverable: exiting now

Weird. Anyway, I have a workaround, so it's not a big deal--especially given
that Ubuntu 10.04 isn't officially supported. I'm happy to run any other
tests you can think of to hunt down the cause of this (I've got a pretty
fast build mchine now), but I totally understand if you've got bigger fish
to fry at the moment...
Is it definitely tar that's the problem or gzip? This would suggest gzip:



Paul Eggleton
Intel Open Source Technology Centre

Join to automatically receive all group messages.