Subject: bin/25310: tar can't unpack MS-DOS gzip files correctly
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <juan@xtraeme.unixbsd.org>
List: netbsd-bugs
Date: 04/25/2004 14:33:50
>Number: 25310
>Category: bin
>Synopsis: tar can't unpack MS-DOS gzip files correctly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 25 12:34:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Juan RP
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD Mandylion 2.0_BETA NetBSD 2.0_BETA (Mandylion) #8: Tue Apr 20 20:57:35 CEST 2004 juan@Mandylion:/home/juan/httpd/nbsd/obj/sys/arch/i386/compile/Mandylion i386
NetBSD Nocturno 2.0E NetBSD 2.0E (Nocturno) #106: Sat Apr 24 16:47:54 CEST 2004 juan@Nocturno:/home/juan/build/obj/sys/arch/i386/compile/Nocturno i386
>Description:
NetBSD -current is not able to decompress some .tar.gz files,
as for example unpacking pkgsrc/textproc/crimson's distfile.
Same tarball was unpacked succesfully in 2.0_BETA without any
problem.
>How-To-Repeat:
Install NetBSD -current (2.0E) and try to install pkgsrc/textproc/crimson:
$ cd pkgsrc/textproc/crimson && make
===> Checking for vulnerabilities in crimson-1.1.3
=> Checksum OK for crimson-1.1.3-bin.tar.gz.
===> Extracting for crimson-1.1.3
===> Required installed package kaffe>=1.1.4: kaffe-1.1.4 found
==========================================================================
The following variables will affect the build process of this package,
crimson-1.1.3. Their current value is shown below:
* PKG_JAVA_HOME = /usr/pkg/java/kaffe
* PKG_JVM = kaffe
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
tar: Invalid header, starting valid header search.
tar: End of archive volume 1 reached
tar: Unexpected EOF on archive file
*** Error code 1
$
file(1) reports this file as:
crimson-1.1.3-bin.tar.gz: gzip compressed data, from MS-DOS
/bin/tar:
$NetBSD: crt0.c,v 1.13 2003/07/26 19:24:27 salo Exp $
$NetBSD: ar_io.c,v 1.39 2003/10/27 00:12:41 lukem Exp $
$NetBSD: ar_subs.c,v 1.30 2004/04/16 22:46:28 christos Exp $
$NetBSD: buf_subs.c,v 1.23 2003/10/27 00:12:41 lukem Exp $
$NetBSD: cpio.c,v 1.17 2003/10/27 00:12:41 lukem Exp $
$NetBSD: file_subs.c,v 1.42 2004/04/20 20:00:37 christos Exp $
$NetBSD: ftree.c,v 1.29 2003/10/27 00:12:41 lukem Exp $
$NetBSD: gen_subs.c,v 1.32 2003/10/27 00:12:41 lukem Exp $
$NetBSD: getoldopt.c,v 1.19 2003/10/27 00:12:41 lukem Exp $
$NetBSD: options.c,v 1.73 2004/02/20 05:16:54 uebayasi Exp $
$NetBSD: pat_rep.c,v 1.21 2003/10/27 00:12:41 lukem Exp $
$NetBSD: pax.c,v 1.33 2004/02/13 23:10:14 matt Exp $
$NetBSD: sel_subs.c,v 1.19 2003/10/27 00:12:41 lukem Exp $
$NetBSD: tables.c,v 1.23 2003/10/27 00:12:41 lukem Exp $
$NetBSD: tar.c,v 1.51 2004/04/20 19:59:54 christos Exp $
$NetBSD: tty_subs.c,v 1.16 2003/10/27 00:12:41 lukem Exp $
$NetBSD: spec.c,v 1.54 2004/01/30 19:09:03 ross Exp $
$NetBSD: misc.c,v 1.24 2003/08/07 11:25:35 agc Exp $
$NetBSD: stat_flags.c,v 1.18 2003/10/27 00:12:41 lukem Exp $
$NetBSD: pack_dev.c,v 1.7 2004/01/30 19:06:55 ross Exp $
$NetBSD: rmtlib.c,v 1.19 2003/03/08 07:47:49 lukem Exp $
/usr/bin/gunzip:
$NetBSD: crt0.c,v 1.13 2003/07/26 19:24:27 salo Exp $
$NetBSD: gzip.c,v 1.36 2004/04/12 14:42:14 mrg Exp $
>Fix:
No idea, sorry.
>Release-Note:
>Audit-Trail:
>Unformatted: