Subject: pkg/18512: t1lib INSTALL script wrongly sets PKG_NAME and STAGE
To: None <gnats-bugs@gnats.netbsd.org>
From: Brian de Alwis <bsd@cs.ubc.ca>
List: netbsd-bugs
Date: 10/02/2002 11:37:00
>Number: 18512
>Category: pkg
>Synopsis: t1lib INSTALL script wrongly sets PKG_NAME and STAGE
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 02 11:38:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Brian de Alwis
>Release: NetBSD 1.6
>Organization:
>Environment:
System: NetBSD slab 1.6 NetBSD 1.6 (GENERIC_LAPTOP) #0: Sun Sep 8 19:55:58 UTC 2002 autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
Architecture: i386
Machine: i386
pkgsrc updated yesterday afternoon (2002/10/01)
>Description:
t1lib's fonts/t1lib/INSTALL script is wrongly explicitly
setting PKGNAME and STAGE, which is already set through the
.../mk/install/header script; this header script also trashes
the command-line args. This means the INSTALL script sets
STAGE to an empty string, and then promptly barfs.
>How-To-Repeat:
$ cd .../pkgsrc/fonts/t1lib
$ make install
[...]
Installing configuration files for t1lib-1.3.1:
/usr/pkg/share/t1lib/t1lib.config already exists, example file is
/usr/pkg/share/examples/t1lib/t1lib.config.sample
/usr/pkg/share/t1lib/FontDataBase already exists, example file is
/usr/pkg/share/examples/t1lib/FontDataBase
===========================================================================
You may wish to customize the following files for t1lib-1.3.1:
/usr/pkg/share/t1lib/t1lib.config
/usr/pkg/share/t1lib/FontDataBase
===========================================================================
Unexpected argument:
*** Error code 1
Stop.
[...]
>Fix:
Remove the lines setting PKGNAME and STAGE from .../fonts/t1lib/INSTALL.
>Release-Note:
>Audit-Trail:
>Unformatted: