Subject: pkg/25141: IRIX 6.5.20 /usr/bsd/zcat forces compress (.Z)
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 04/11/2004 15:32:36
>Number:         25141
>Category:       pkg
>Synopsis:       IRIX 6.5.20 /usr/bsd/zcat forces compress (.Z)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 11 15:33:00 UTC 2004
>Originator:     Bas van Oostveen
>Release:        pkgsrc for irix
IRIX washu 6.5 04091958 IP32
(irix 6.5.20m)
On a fresh install of Irix 6.5.20 and pkgsrc
when bootstrapping is successfully completed

The tool for extracting .tar.gz packages is:            /usr/bsd/zcat

Recalling from 6.5.19 this worked, but in the
fresh 6.5.20 install /usr/bsd/zcat forces the
suffix .Z:
+ export extract_file
+ cd /usr/tmp/pkgsrc/devel/patch/work
+ /usr/bsd/zcat /usr/pkgsrc/distfiles//patch-2.5.4.tar.gz
+ /usr/pkg/bin/tar -xf -
/usr/pkgsrc/distfiles//patch-2.5.4.tar.gz.Z: No such file or directory

The manpage of zcat speaks briefly about gzip
files but fails to recognize them.

for 6.5.20 systems there is a gzcat like many other os's


fixes the problem.
i cannot check existance for pre 6.5.20 versions of gzcat
but for 6.5.20 the correct GZCAT should be /usr/sbin/gzcat
or a gzip decompressor from pkgsrc.