This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Building an image for beagleboard

Hello,

          I am trying to build an image for beagleboard and i am following arago based method ..when i was trying "bitbake arago-base-image" then i got this type of error...

Unable to unpack '/home/all-is-well/oe/downloads/expat-2.0.1.tar.gz' to '/home/all-is-well/oe/arago-tmp/work/i686-linux/expat-native-2.0.1-r3.0' (cmd: tar xz --no-same-owner -f /home/all-is-well/oe/downloads/expat-2.0.1.tar.gz):
Execution of 'tar xz --no-same-owner -f /home/all-is-well/oe/downloads/expat-2.0.1.tar.gz' failed with exit code 2:

gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Exiting with failure status due to previous errors

ERROR: Function base_do_unpack failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of virtual:native:/home/all-is-well/oe/arago-oe-dev/recipes/expat/expat_2.0.1.bb do_unpack failed
NOTE: Running task 355 of 3832 (ID: 845, virtual:native:/home/all-is-well/oe/arago-oe-dev/recipes/expat/expat_2.0.1.bb, do_unpack)
ERROR: Task 845 (virtual:native:/home/all-is-well/oe/arago-oe-dev/recipes/expat/expat_2.0.1.bb, do_unpack) failed with exit code 1
ERROR: 'virtual:native:/home/all-is-well/oe/arago-oe-dev/recipes/expat/expat_2.0.1.bb' failed
NOTE: package expat-native-2.0.1-r3.0: task do_unpack: Started
NOTE: Unpacking downloads/expat-2.0.1.tar.gz to arago-tmp/work/i686-linux/expat-native-2.0.1-r3.0/
FATAL: Unable to unpack '/home/all-is-well/oe/downloads/expat-2.0.1.tar.gz' to '/home/all-is-well/oe/arago-tmp/work/i686-linux/expat-native-2.0.1-r3.0' (cmd: tar xz --no-same-owner -f /home/all-is-well/oe/downloads/expat-2.0.1.tar.gz):
Execution of 'tar xz --no-same-owner -f /home/all-is-well/oe/downloads/expat-2.0.1.tar.gz' failed with exit code 2:

gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Exiting with failure status due to previous errors

ERROR: 'virtual:native:/home/all-is-well/oe/arago-oe-dev/recipes/expat/expat_2.0.1.bb' failed

can anyone tell how to  solve this problem ?????


  • You may want to check the /home/all-is-well/oe/downloads/expat-2.0.1.tar.gz file.  It looks like this file may have been corrupted.  If the md5sum and sha256sum values do not match those in the /home/all-is-well/oe/arago-oe-dev/recipes/expat/expat_2.0.1.bb recipe then you have a bad copy.  Try deleting this file and its .md5 file and try again.  i.e.


    rm /home/all-is-well/oe/downloads/expat-2.0.1.tar.gz*