DragonFly bugs List (threaded) for 2009-03
DragonFly BSD
DragonFly bugs List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

The problem with gzip(1)


From: Hasso Tepper <hasso@xxxxxxxxx>
Date: Tue, 3 Mar 2009 19:41:29 +0200

Our gzip(1) has a trouble unpacking lokigames/idsoftware etc archives (a 
shell script and tar.gz in one file) making these packages fail in 
pkgsrc. The main trouble is that it's not gzip(1) itself and probably not 
libz either that causes the problem, but something else. I have exactly 
the same problem with GNU gzip from pkgsrc in DragonFly, but GNU gzip 
works just fine with these archives on every other platform I have access 
to. Our tar doesn't have problem either with these files (not using gzip, 
but libz directly).

Finding out what exactly causes it is beyond my skills at the moment ...

The testcase:

$ fetch \
ftp://ftp.estpak.ee/pub/FreeBSD/ports/distfiles/linuxq3apoint-1.32b.x86.run
$ sed '1,265d' linuxq3apoint-1.32b.x86.run | gzip -cd > /dev/null
gzip: input not gziped (MAGIC0)
$
$ sed '1,265d' linuxq3apoint-1.32b.x86.run | /usr/pkg/bin/gzip -cd \ 
> /dev/null
gzip: stdin: unexpected end of file
$
$ sed '1,265d' linuxq3apoint-1.32b.x86.run | /usr/bin/bsdtar zxfO - \ 
> /dev/null
$


-- 
Hasso Tepper



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]