You're running the new ubuntu aren't you (10.4)? There is a bug in gunzip. Delete it and downgrade.

I manually deleted the gunzip binary and downloaded the gunzip package from dapper or hardy (6.06/8.04) using this server:

http://packages.ubuntu.com/

Then installed those. It looks like it's a known issue with 10.4, well at least there are some bug reports where expat is used as the example tgz file that can't be uncompressed. I couldn't find an alternative download, and the downgrade is still gzip 1.3.12 (the same version as used in 10.4). I don't really know the effect this has on apt-get or any future upgrades.

Bodey

On 13 May 2010 03:08, <gumstix-users-request@lists.sourceforge.net> wrote:
Message: 3
Date: Wed, 12 May 2010 15:08:14 -0400
From: Shael <mrshael@gmail.com>
Subject: Re: [Gumstix-users] Development Machine Build Environment
       Setup - Help!
To: "General mailing list for gumstix users."
       <gumstix-users@lists.sourceforge.net>
Message-ID: <1273691294.19463.1.camel@nonlinear-desktop>
Content-Type: text/plain; charset="utf-8"

So I tried that, and it ran for a short while, then I got this error:

NOTE: Running task 350 of 539 (ID:
0, /home/nonlinear/overo-oe/org.openembedded.dev/recipes/expat/expat_2.0.1.bb, do_unpack)
NOTE: Unpacking sources/expat-2.0.1.tar.gz to
tmp/work/armv7a-angstrom-linux-gnueabi/expat-2.0.1-r3/

gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Exiting with failure status due to previous errors
NOTE: Task failed:
ERROR: TaskFailed event exception, aborting
ERROR: Build
of /home/nonlinear/overo-oe/org.openembedded.dev/recipes/expat/expat_2.0.1.bb do_unpack failed
ERROR: Task 0
(/home/nonlinear/overo-oe/org.openembedded.dev/recipes/expat/expat_2.0.1.bb, do_unpack) failed
NOTE: Tasks Summary: Attempted 349 tasks of which 295 didn't need to be
rerun and 1 failed.
ERROR:
'/home/nonlinear/overo-oe/org.openembedded.dev/recipes/expat/expat_2.0.1.bb' failed


Thoughts?


On Wed, 2010-05-12 at 14:52 -0400, Eduardo Silva wrote:

> i will suggest you to try:
>
> bitbake -c clean expat
> cd org.openembedded.dev && git pull
> cd ..
> bitbake expat
>
>
> On Wed, May 12, 2010 at 2:33 PM, shael <mrshael@gmail.com> wrote:
>
>
>         Hi,
>
>         I am very new to both Linux and the Overo Series. I have tried
>         to setup a
>         build environment on my development PC (running Ubuntu 10.04)
>         a couple of
>         times by following the steps on the Gumstix website:
>
>         http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Setting-up-a-build-environment/111.html
>         http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Setting-up-a-build-environment/111.html
>
>         When I try the very last step ($ bitbake omap3-console-image),
>         the process
>         fails at task 310 of 4113 with these messages:
>
>         -------
>
>         NOTE: Running task 310 of 4113 (ID: 1574,
>         /home/nonlinear/overo-oe/org.openembedded.dev/recipes/expat/expat_2.0.1.bb,
>         do_unpack)
>         NOTE: Unpacking sources/expat-2.0.1.tar.gz to
>         tmp/work/armv7a-angstrom-linux-gnueabi/expat-2.0.1-r3/
>
>         gzip: stdin: invalid compressed data--crc error
>         tar: Child returned status 1
>         tar: Exiting with failure status due to previous errors
>         NOTE: Task failed:
>         ERROR: TaskFailed event exception, aborting
>         ERROR: Build of
>         /home/nonlinear/overo-oe/org.openembedded.dev/recipes/expat/expat_2.0.1.bb
>         do_unpack failed
>         ERROR: Task 1574
>         (/home/nonlinear/overo-oe/org.openembedded.dev/recipes/expat/expat_2.0.1.bb,
>         do_unpack) failed
>         NOTE: Tasks Summary: Attempted 309 tasks of which 0 didn't
>         need to be rerun
>         and 1 failed.
>         ERROR:
>         '/home/nonlinear/overo-oe/org.openembedded.dev/recipes/expat/expat_2.0.1.bb'
>         failed
>
>         ------
>
>         This happened once before, so I deleted the entire overo-oe
>         folder and did
>         everything over again, but the same error occurred the second
>         time. What
>         should I do next?
>
>         Also, my end goal is very simple - I want to write some C++
>         code for my
>         Overo Fire COM that will perform some serial communication
>         with another
>         device. I was hoping for now just to get a simple 'Hello
>         world' program
>         running first, but I am stuck with this error. Is there a
>         simpler way to do
>         what I need to do and I'm just not realizing it, or do I still
>         have to go
>         through this whole build process?
>
>         Thanks in advance,
>         Shael
>         --
>         View this message in context:
>         http://old.nabble.com/Development-Machine-Build-Environment-Setup---Help%21-tp28539560p28539560.html
>         Sent from the Gumstix mailing list archive at Nabble.com.