[yocto] do_unpack task getting failed when tar files are added to download directory manually

Vivek Per pervivek at gmail.com
Tue Sep 8 07:20:00 PDT 2015


Thank you very much Gary Thomas , The vlan tar  file has been corrupted .
The issue has been resolved.

Thanks and Regards
         Vivek

On Tue, Sep 8, 2015 at 6:23 PM, Gary Thomas <gary at mlbassoc.com> wrote:

> On 2015-09-08 06:47, Vivek Per wrote:
>
>> Hi Gary Thomas,
>>
>
> Please keep replies on the mailing list so that all may benefit.
>
>
>> I am getting this error
>>
>> ERROR: Function failed: Unpack failure for URL: '
>> http://vlan.sourcearchive.com/downloadss/1.9-3ubuntu9/vlan_1.9.orig.tar.gz'.
>> Unpack command
>>
>> PATH="/data/work/vivek/yocto/poky/ossdk/poky/scripts:/data/work/vivek/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/arm-linux-linux-gnueabi:/data/work/vivek/yocto/poky/build/tmp/sysroots/iukram/usr/bin/crossscripts:/data/work/vivek/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/sbin:/data/work/vivek/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin:/data/work/vivek/yocto/poky/build/tmp/sysroots/x86_64-linux/sbin:/data/work/vivek/yocto/poky/build/tmp/sysroots/x86_64-linux/bin:/data/work/vivek/yocto/poky/ossdk/poky/scripts:/data/work/vivek/yocto/poky/ossdk/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
>> tar xz --no-same-owner -f
>> /data/work/vivek/yocto/poky/downloads/vlan_1.9.orig.tar.gz failed with
>> return value 2
>> Log data follows:
>> | DEBUG: Executing python function do_unpack
>> | DEBUG: Executing python function base_do_unpack
>> | NOTE: Unpacking
>> /data/work/vivek/yocto/poky/downloads/vlan_1.9.orig.tar.gz to
>> /data/work/vivek/yocto/poky/build/tmp/work/cortexa8t2hf-vfp-neon-linux-linux-gnueabi/vlan/1.9-r0/
>> |
>> | gzip: stdin: unexpected end of file
>> | tar: Child returned status 1
>> | tar: Error is not recoverable: exiting now
>>
>
> Have you tried unpacking _exactly_ this file by hand?  It looks to be
> damaged.
>
> | DEBUG: Python function base_do_unpack finished
>> | DEBUG: Python function do_unpack finished
>> | ERROR: Function failed: Unpack failure for URL: '
>> http://vlan.sourcearchive.com/downloadss/1.9-3ubuntu9/vlan_1.9.orig.tar.gz'.
>> Unpack command
>>
>> PATH="/data/work/vivek/yocto/poky/ossdk/poky/scripts:/data/work/vivek/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/arm-linux-linux-gnueabi:/data/work/vivek/yocto/poky/build/tmp/sysroots/iukram/usr/bin/crossscripts:/data/work/vivek/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/sbin:/data/work/vivek/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin:/data/work/vivek/yocto/poky/build/tmp/sysroots/x86_64-linux/sbin:/data/work/vivek/yocto/poky/build/tmp/sysroots/x86_64-linux/bin:/data/work/vivek/yocto/poky/ossdk/poky/scripts:/data/work/vivek/yocto/poky/ossdk/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
>> tar xz --no-same-owner -f
>> /data/work/vivek/yocto/poky/downloads/vlan_1.9.orig.tar.gz failed with
>> return value 2
>> ERROR: Task 0
>> (/data/work/vivek/yocto/poky/ossdk/openembedded/meta-networking/recipes-connectivity/vlan/
>> vlan_1.9.bb <http://vlan_1.9.bb>, do_unpack) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 361 tasks of which 359 didn't need to be
>> rerun and 1 failed.
>> No currently running tasks (361 of 372)
>>
>> Summary: 1 task failed:
>>
>>  /data/work/vivek/yocto/poky/ossdk/openembedded/meta-networking/recipes-connectivity/vlan/
>> vlan_1.9.bb <http://vlan_1.9.bb>, do_unpack
>> Summary: There were 2 WARNING messages shown.
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>>
>> Thanks and regards
>>      vivek
>>
>> On Tue, Sep 8, 2015 at 5:54 PM, Gary Thomas <gary at mlbassoc.com <mailto:
>> gary at mlbassoc.com>> wrote:
>>
>>     On 2015-09-08 06:10, Vivek Per wrote:
>>
>>         Hi,
>>         I want to build vlan_1.9.bb <http://vlan_1.9.bb> <
>> http://vlan_1.9.bb> (open-embedded recipe) in my system . I downloaded
>> vlan_1.9.orig.tar.gz tarball manually (same version
>>         specified in recipe) and
>>         placed in download (DL_DIR) directory and created an empty
>> vlan_1.9.orig.tar.gz.done in download directory and try to *bitbake vlan*.
>> It is giving error while do_unpack
>>         task and
>>         vlan_1.9.orig.tar.gz.lock file is getting created in download
>> directory(DL_DIR). I can able to build other yocto recipes normally like
>> this but i am facing problem with
>>         open-embedded recipes only .I have added open-embedded path in
>> bblayers.conf file. Can any one please tell me how can i make this file get
>> included from download directory.
>>
>>
>>     What is the exact error message you are getting?
>>
>>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150908/953b5539/attachment.html>


More information about the yocto mailing list