Bug 7645 - tar command does not work ("tar: no gzip/bzip2/xz magic")
Summary: tar command does not work ("tar: no gzip/bzip2/xz magic")
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.7.2
Assignee: Saul Wold
QA Contact: Cristina Agurida
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-04-22 14:10 UTC by Cristina Agurida
Modified: 2015-05-05 15:00 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
the tar file I used (2.00 KB, application/x-tar)
2015-04-28 14:46 UTC, Cristina Agurida
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cristina Agurida 2015-04-22 14:10:20 UTC
Commit: 192a9e1031763943719b603acc52967525f67ebe
Version: 1.7.2 rc2
Image: - genericx86
       - genericx86-64
Hardware: Atom PC (Lenovo S10-3) and Sugarbay laptop (Dell inspiron 5520)

When trying to unpack a .tar file it outputs the following error "tar: no gzip/bzip2/xz magic". This file used to be unpacked successfully in earlier builds and also works well on Ubuntu.

BR,
Cristina
Comment 1 Richard Purdie 2015-04-28 14:21:39 UTC
Can you provide more information please, such as what kind of file tar file was being decompressed (.tar or .tar.gz or some other compression) and whether any of the compression programs needed were installed? The exact commandline used and also the types of images tested would also be useful (core-image-sato?).
Comment 2 Cristina Agurida 2015-04-28 14:45:09 UTC
I usually get a script file which I need for a test and decompress it on the board. It worked perfectly until now, but now it seems that the tar command had some issues. The tar command is " tar xvf continue.tar " and the image type is core-image-sato-sdk which I downloaded from http://autobuilder.yoctoproject.org/pub/releases/yocto-1.7.2.rc2/machines/ 
I will attach the tar file here.
Comment 3 Cristina Agurida 2015-04-28 14:46:35 UTC
Created attachment 2486 [details]
the tar file I used
Comment 4 Saul Wold 2015-04-28 20:48:05 UTC
This is not generic to x86, it fails for all arch, it appears an earlier patch to busybox has caused this problem, I am continuing to look at this as it is a backport, I am concerned there is another part of the patch missing
Comment 6 Cristina Agurida 2015-05-05 15:00:41 UTC
Verified on commit: 29812e61736a95f1de64b3e9ebbb9c646ebd28dd (1.7.2 rc3)