[Bug 10696] New: tar fails to extract some archives

bugzilla at busybox.net bugzilla at busybox.net
Sat Jan 27 13:54:10 UTC 2018


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

            Bug ID: 10696
           Summary: tar fails to extract some archives
           Product: Busybox
           Version: 1.27.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: jp.deplaix at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Using BusyBox v1.27.2 on Alpine Linux, the following error appears with busybox
tar but not with GNU tar:

$ wget
https://github.com/janestreet/jbuilder/releases/download/1.0+beta16/jbuilder-1.0.beta16.tbz
$ tar xvf jbuilder-1.0.beta16.tbz
tar: invalid tar header checksum

Extracting it by hand using bunzip2 doesn't help. The problem seems to be at
tar level.

This can be reproduced with the following Dockerfile:

FROM alpine
RUN wget
https://github.com/janestreet/jbuilder/releases/download/1.0+beta16/jbuilder-1.0.beta16.tbz
RUN tar xvf jbuilder-1.0.beta16.tbz

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


More information about the busybox-cvs mailing list