Subject: pkg/33963: gzip build/dependancy problem
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <srcshelton@gmail.com>
List: pkgsrc-bugs
Date: 07/10/2006 13:25:01
>Number:         33963
>Category:       pkg
>Synopsis:       gzip build/dependancy problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 10 13:25:00 +0000 2006
>Originator:     Stuart Shelton
>Release:        pkgsrc/irix
>Organization:
>Environment:
IRIX64 octane 6.5 01090133 IP30 mips
>Description:

There seems to be a problem with the gzip* packages... trying to install or upgrade gzip results in:

/usr/bsd/src/archivers/gzip $ bmake install
===> check-vulnerable [gzip-1.2.4bnb1] ===> Checking for vulnerabilities in gzip-1.2.4bnb1
work -> /usr/bsd/var/tmp/archivers/gzip/work
===> depends-message [gzip-1.2.4bnb1] ===> Installing dependencies for gzip-1.2.4bnb1
=> Required installed package gzip-base-1.2.4b: NOT found
=> Verifying reinstall for ../../archivers/gzip-base
===> check-vulnerable [gzip-base-1.2.4bnb1, gzip-1.2.4bnb1] ===> Checking for vulnerabilities in gzip-base-1.2.4bnb1
=> Checksum SHA1 OK for gzip-1.2.4a.shar.
=> Checksum RMD160 OK for gzip-1.2.4a.shar.
work -> /usr/bsd/var/tmp/archivers/gzip-base/work
===> depends-message [gzip-base-1.2.4bnb1, gzip-1.2.4bnb1] ===> Installing dependencies for gzip-base-1.2.4bnb1
=> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> tools-message [gzip-base-1.2.4bnb1, gzip-1.2.4bnb1] ===> Overriding tools for gzip-base-1.2.4bnb1
===> extract-message [gzip-base-1.2.4bnb1, gzip-1.2.4bnb1] ===> Extracting for gzip-base-1.2.4bnb1
<...>
===> patch-message [gzip-base-1.2.4bnb1, gzip-1.2.4bnb1] ===> Patching for gzip-base-1.2.4bnb1
=> Applying pkgsrc patches for gzip-base-1.2.4bnb1
===> wrapper-message [gzip-base-1.2.4bnb1, gzip-1.2.4bnb1] ===> Creating toolchain wrappers for gzip-base-1.2.4bnb1
===> configure-message [gzip-base-1.2.4bnb1, gzip-1.2.4bnb1] ===> Configuring for gzip-base-1.2.4bnb1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
<...>
===> build-message [gzip-base-1.2.4bnb1, gzip-1.2.4bnb1] ===> Building for gzip-base-1.2.4bnb1
<...>
=> Unwrapping files-to-be-installed.
===> install-message [gzip-base-1.2.4bnb1, gzip-1.2.4bnb1] ===> Installing for gzip-base-1.2.4bnb1
<...>
=> Automatic manual page handling
pkg_create: can't stat `/usr/bsd/bin/zcat'
pkg_create: can't stat `/usr/bsd/man/man1/zcat.1'
=> Registering installation for gzip-base-1.2.4bnb1
pkg_admin: gzip-base-1.2.4bnb1: File `/usr/bsd/bin/zcat' is in +CONTENTS but not on filesystem!
pkg_admin: gzip-base-1.2.4bnb1: File `/usr/bsd/man/man1/zcat.1' is in +CONTENTS but not on filesystem!
ERROR: [depends.mk] A package matching ``gzip-base-1.2.4b'' should
ERROR:     be installed, but one cannot be found.  Perhaps there is a
ERROR:     stale work directory for ../../archivers/gzip-base?
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/archivers/gzip
>How-To-Repeat:

This happens whether gzip-base and gzip-info are already installed or not (the above output is from when neither was installed), and happens when trying to "install" or "update" gzip.  Any further installation attempts result in:

===> check-vulnerable [gzip-1.2.4bnb1] ===> Checking for vulnerabilities in gzip-1.2.4bnb1
===> depends-message [gzip-1.2.4bnb1] ===> Installing dependencies for gzip-1.2.4bnb1
=> Required installed package gzip-base-1.2.4b: NOT found
=> Verifying reinstall for ../../archivers/gzip-base
ERROR: [depends.mk] A package matching ``gzip-base-1.2.4b'' should
ERROR:     be installed, but one cannot be found.  Perhaps there is a
ERROR:     stale work directory for ../../archivers/gzip-base?
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/archivers/gzip

I've deleted archivers/*gzip* and updated from CVS, but still no joy.
>Fix:

gzip seems to depend on "gzip-base-1.2.4b{,nb[0-9]*}", whilst gzip-base is from a source package "gzip-1.2.4a", but with package name changed to end with "b"... I guess the problem is related to this?