NetBSD Problem Report #14807

Received: (qmail 29505 invoked from network); 2 Dec 2001 09:05:14 -0000
Message-Id: <200112020905.fB295HT10662@dragon.daikokuya.demon.co.uk>
Date: Sun, 2 Dec 2001 09:05:18 GMT
From: neil@daikokuya.demon.co.uk
Reply-To: neil@daikokuya.demon.co.uk
To: gnats-bugs@gnats.netbsd.org
Subject: make install of tcsh breaks
X-Send-Pr-Version: 3.95

>Number:         14807
>Category:       pkg
>Synopsis:       make install of tcsh breaks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 02 09:06:01 +0000 2001
>Closed-Date:    Sun Dec 02 09:38:03 +0000 2001
>Last-Modified:  Sun Dec 02 09:38:03 +0000 2001
>Originator:     
>Release:        NetBSD 1.5Y
>Organization:

>Environment:
System: NetBSD dragon 1.5Y NetBSD 1.5Y (MYKERNEL) #1: Tue Nov 27 07:48:02 GMT 2001 neil@dragon:/usr/src/sys/arch/i386/compile/MYKERNEL i386
Architecture: i386
Machine: i386
>Description:
	PLIST has moved up a directory, but the post-install part of the
	Makefile was not updated with it.
>How-To-Repeat:
	Try to build and install tcsh or one of its variants.
>Fix:

>Release-Note:
>Audit-Trail:

From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
To: neil@daikokuya.demon.co.uk
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/14807: make install of tcsh breaks
Date: Sun, 2 Dec 2001 10:12:45 +0100

 On Sun, Dec 02, 2001 at 09:05:18AM +0000, neil@daikokuya.demon.co.uk wrote:
 > >Description:
 > 	PLIST has moved up a directory, but the post-install part of the
 > 	Makefile was not updated with it.

 This looks like you still have your pkg/ directory lying around, and
 have a non-current version of bsd.pkg.mk.

 The tcsh-Makefile contains the line:
     @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
 which for me currently expands to (make -n post-install):
       /bin/cp /usr/pkgsrc/shells/tcsh/PLIST /usr/pkgsrc/shells/tcsh/work.i386/PLIST-src

 bsd.pkg.mk (v1.872) currently defines in line 52:
 	   PKGDIR?=                ${.CURDIR}
 Previous versions had some fallback code which made the setting of
 PKGDIR dependent on the existence of the pkg/ subdir.

 Please update your pkgsrc and try again.

 Bye,
  Thomas

 -- 
 Thomas Klausner - wiz@danbala.tuwien.ac.at
 Language is not neutral. It is not merely a vehicle which carries ideas. It
 is itself a shaper of ideas. -- Dale Spender

From: Neil Booth <neil@daikokuya.demon.co.uk>
To: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/14807: make install of tcsh breaks
Date: Sun, 2 Dec 2001 09:31:41 +0000

 Thomas Klausner wrote:-

 > This looks like you still have your pkg/ directory lying around, and
 > have a non-current version of bsd.pkg.mk.
 > 
 > The tcsh-Makefile contains the line:
 >     @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
 > which for me currently expands to (make -n post-install):
 >       /bin/cp /usr/pkgsrc/shells/tcsh/PLIST /usr/pkgsrc/shells/tcsh/work.i386/PLIST-src
 > 
 > bsd.pkg.mk (v1.872) currently defines in line 52:
 > 	   PKGDIR?=                ${.CURDIR}
 > Previous versions had some fallback code which made the setting of
 > PKGDIR dependent on the existence of the pkg/ subdir.
 > 
 > Please update your pkgsrc and try again.

 Hi Thomas,

 Thanks for your reply.  Investigating further, it appears that the
 problem still exists in shells/static-tcsh/Makefile:

 PKGDIR=                 ${.CURDIR}/../../shells/tcsh/pkg
 						     ^^^
 Neil.
State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Sun Dec 2 01:37:34 PST 2001 
State-Changed-Why:  
Fixed the line in static-tcsh -- thanks for the PR! 
>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.