NetBSD Problem Report #18512

Received: (qmail 8541 invoked by uid 605); 2 Oct 2002 18:37:26 -0000
Message-Id: <200210021837.g92Ib0q13500@bsd.laptop>
Date: Wed, 2 Oct 2002 11:37:00 -0700 (PDT)
From: Brian de Alwis <bsd@cs.ubc.ca>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: bsd@cs.ubc.ca
To: gnats-bugs@gnats.netbsd.org
Subject: t1lib INSTALL script wrongly sets PKG_NAME and STAGE
X-Send-Pr-Version: 3.95

>Number:         18512
>Category:       pkg
>Synopsis:       t1lib INSTALL script wrongly sets PKG_NAME and STAGE
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 02 18:38:00 +0000 2002
>Closed-Date:    Sun Oct 20 09:20:05 +0000 2002
>Last-Modified:  Sun Oct 20 09:20:05 +0000 2002
>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:
State-Changed-From-To: open->closed 
State-Changed-By: jlam 
State-Changed-When: Sun Oct 20 02:18:06 PDT 2002 
State-Changed-Why:  
The pkgsrc/fonts/t1lib/INSTALL file was removed on 2002-09-19, which 
pre-dates this PR.  Please update your pkgsrc and try again.  Thanks! 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.