Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This does not look like a tar archive #61

Closed
wangnuannuan opened this issue Apr 10, 2019 · 3 comments · Fixed by #67
Closed

This does not look like a tar archive #61

wangnuannuan opened this issue Apr 10, 2019 · 3 comments · Fixed by #67

Comments

@wangnuannuan
Copy link

On centos , it can't uncompress SDK

 [|] Installing x86 tools...tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
�����������������������������[/] Installing x86 tools...����������������������������� [-] Installing x86 tools...����������������������������� [\] Installing x86 tools...tar: Error exit delayed from previous errors
�����������������������������[*] Installing x86 tools... ����
[|] Installing arm tools...tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
���������������������������[-] Installing arm tools...����������������������������� [\] Installing arm tools...����������������������������� [|] Installing arm tools...����������������������������� [/] Installing arm tools...����������������������������� [-] Installing arm tools...����������������������������� [\] Installing arm tools...����������������������������� [|] Installing arm tools...����������������������������� [/] Installing arm tools...����������������������������� [-] Installing arm tools...����������������������������� [\] Installing arm tools...����������������������������� [|] Installing arm tools...tar: Error exit delayed from previous errors
�����������������������������[*] Installing arm tools... ����
[|] Installing arc tools...tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers

I modify the command parameter -xf to -jxvf in setup.sh

@galak
Copy link
Contributor

galak commented Apr 12, 2019

What version of tar do you have on centos?

@wangnuannuan
Copy link
Author

~ $ lsb_release -a
LSB Version:    :base-4.0-amd64:base-4.0-ia32:base-4.0-noarch:core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 6.6 (Final)
Release:        6.6
Codename:       Final

@wangnuannuan
Copy link
Author

 tar --version
tar (GNU tar) 1.13.25
Copyright © 2001 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.

galak added a commit to galak/sdk-ng that referenced this issue May 1, 2019
Need to explicit pass flags to tar as older versions don't auto handle
the compression.

Fixes: zephyrproject-rtos#61

Signed-off-by: Kumar Gala <[email protected]>
@galak galak closed this as completed in #67 May 1, 2019
galak added a commit that referenced this issue May 1, 2019
Need to explicit pass flags to tar as older versions don't auto handle
the compression.

Fixes: #61

Signed-off-by: Kumar Gala <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants