Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12536] New: Linux-Headers extracting failure
@ 2020-02-04  3:51 bugzilla at busybox.net
  2020-02-04  7:01 ` [Buildroot] [Bug 12536] " bugzilla at busybox.net
  2020-02-04  9:14 ` bugzilla at busybox.net
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2020-02-04  3:51 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12536

            Bug ID: 12536
           Summary: Linux-Headers extracting failure
           Product: buildroot
           Version: 2019.11.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: melanie at trash-mail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Buildroot fails with the following error message:

>>> linux-headers custom Extracting
/home/user/pi/my/dl/linux/tarball | tar --strip-components=1 -C
/home/user/pi/my/output/build/linux-headers-custom   -xf -
/bin/sh: /home/user/pi/my/dl/linux/tarball: Permission denied
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make[1]: *** [package/pkg-generic.mk:172:
/home/user/pi/my/output/build/linux-headers-custom/.stamp_extracted] Error 2
make: *** [Makefile:84: _all] Error 2



The failure is caused by this command-line:

/home/user/pi/my/dl/linux/tarball | tar --strip-components=1 -C
/home/user/pi/my/output/build/linux-headers-custom   -xf -



To fix this issue, the following command works for me:

tar --strip-components=1 -C /home/user/pi/my/output/build/linux-headers-custom 
 -xf /home/user/pi/my/dl/linux/tarball

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 12536] Linux-Headers extracting failure
  2020-02-04  3:51 [Buildroot] [Bug 12536] New: Linux-Headers extracting failure bugzilla at busybox.net
@ 2020-02-04  7:01 ` bugzilla at busybox.net
  2020-02-04  9:14 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2020-02-04  7:01 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12536

--- Comment #1 from Peter Seiderer <ps.report@gmx.net> ---
The extract command for e.g. RaspberryPi looks like the following:

gzip -d -c
<custom_path>/dl/linux/linux-64d0a9870ac14d5eb5253f67d984ae348eec1393.tar.gz |
<custom_path>/host/bin/tar --strip-components=1 -C
<custom_path>/build/linux-headers-custom   -xf -

Maybe try to re-name your tarball a little bit more meaningful.e.g.

/home/user/pi/my/dl/linux/tarball.tar

or (after compression)

/home/user/pi/my/dl/linux/tarball.tar.gz

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 12536] Linux-Headers extracting failure
  2020-02-04  3:51 [Buildroot] [Bug 12536] New: Linux-Headers extracting failure bugzilla at busybox.net
  2020-02-04  7:01 ` [Buildroot] [Bug 12536] " bugzilla at busybox.net
@ 2020-02-04  9:14 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2020-02-04  9:14 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12536

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
We use the tarball filename extension to decide how to uncompress it, so if it
doesn't have any extension, we don't know what to do with it.

As Peter explained, it should have a .tar, .tar.gz, .tar.xz, tar.bz2, etc.
extension depending on the compression scheme being used.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-04  9:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-04  3:51 [Buildroot] [Bug 12536] New: Linux-Headers extracting failure bugzilla at busybox.net
2020-02-04  7:01 ` [Buildroot] [Bug 12536] " bugzilla at busybox.net
2020-02-04  9:14 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox