[bitbake-devel] Unpack failure for URL: 'http://zlib.net/pigz/pigz-2.3.tar.gz

Mark Hatle mark.hatle at windriver.com
Tue May 28 15:47:30 UTC 2013


On 5/25/13 11:52 PM, lee wrote:
> Hi all:
> I build a project according to the yocto project quit start guide as follows:
>
>   $ wget http://downloads.yoctoproject.org/releases/yocto/yocto-1.4/poky-dylan-9.0.tar.bz2
>   $ tar xjf poky-dylan-9.0.tar.bz2
>   $ cd poky-dylan-9.0
>   $ source oe-init-build-env
>
> $ bitbake -k core-image-sato
>
> the result failed ,and print the following error log, can you give some suggestion to resolve this issue? thanks
>
> Pseudo is not present but is required, building this first before the main build
> Loading cache: 100% |###########################################| ETA:  00:00:00
> Loaded 1121 entries from dependency cache.
>
> Build Configuration:
> BB_VERSION        = "1.18.0"
> BUILD_SYS         = "i686-linux"
> NATIVELSBSTRING   = "Ubuntu-10.04"
> TARGET_SYS        = "i586-poky-linux"
> MACHINE           = "qemux86"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.4"
> TUNE_FEATURES     = "m32 i586"
> TARGET_FPU        = ""
> meta
> meta-yocto
> meta-yocto-bsp    = "<unknown>:<unknown>"
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: Function failed: Unpack failure for URL: 'http://zlib.net/pigz/pigz-2.3.tar.gz'. Unpack command PATH="/home/lijilong/poky-dylan-9.0.0/scripts/native-intercept:/home/lijilong/poky-dylan-9.0.0/scripts:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux/usr/bin/i586-linux:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux/usr/bin:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux/usr/sbin:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux/usr/bin:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux/sbin:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux//bin:/home/lijilong/poky-dylan-9.0.0/bitbake/bin:/home/lijilong/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" tar xz --no-same-owner -f /home/lijilong/poky-dylan-9.0.0/build/downloads/pigz-2.3.tar.gz failed with return value 2
> ERROR: Logfile of failure stored in: /home/lijilong/poky-dylan-9.0.0/build/tmp/work/i686-linux/pigz-native/2.3-r1/temp/log.do_unpack.6223
> Log data follows:
> | DEBUG: Executing python function do_unpack
> | DEBUG: Executing python function base_do_unpack
> | NOTE: Unpacking /home/lijilong/poky-dylan-9.0.0/build/downloads/pigz-2.3.tar.gz to /home/lijilong/poky-dylan-9.0.0/build/tmp/work/i686-linux/pigz-native/2.3-r1/
> |
> | gzip: stdin: invalid compressed data--crc error
> | tar: Child returned status 1
> | tar: Error is not recoverable: exiting now
> | DEBUG: Python function base_do_unpack finished
> | DEBUG: Python function do_unpack finished
> | ERROR: Function failed: Unpack failure for URL: 'http://zlib.net/pigz/pigz-2.3.tar.gz'. Unpack command PATH="/home/lijilong/poky-dylan-9.0.0/scripts/native-intercept:/home/lijilong/poky-dylan-9.0.0/scripts:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux/usr/bin/i586-linux:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux/usr/bin:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux/usr/sbin:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux/usr/bin:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux/sbin:/home/lijilong/poky-dylan-9.0.0/build/tmp/sysroots/i686-linux//bin:/home/lijilong/poky-dylan-9.0.0/bitbake/bin:/home/lijilong/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" tar xz --no-same-owner -f /home/lijilong/poky-dylan-9.0.0/build/downloads/pigz-2.3.tar.gz failed with return value 2
> ERROR: Task 112 (virtual:native:/home/lijilong/poky-dylan-9.0.0/meta/recipes-extended/pigz/pigz_2.3.bb, do_unpack) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 58 tasks of which 57 didn't need to be rerun and 1 failed.
> No currently running tasks (58 of 119)

Either the download is corrupted, you are having disk errors -- or more likely 
the gzip on your system is old and causing some kind of incompatibility with the 
system.

What version of gzip are you running and what host OS are you using?

--Mark

> Summary: 1 task failed:
>    virtual:native:/home/lijilong/poky-dylan-9.0.0/meta/recipes-extended/pigz/pigz_2.3.bb, do_unpack
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
>
>
>
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>




More information about the bitbake-devel mailing list