Subject: pkg/15562: something in pkgsrc started depending upon $PKGSRCDIR
To: None <gnats-bugs@gnats.netbsd.org>
From: None <eric@cirr.com>
List: netbsd-bugs
Date: 02/09/2002 22:52:36
>Number: 15562
>Category: pkg
>Synopsis: Something in pkgsrc started depending on $PKGSRCDIR
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 09 20:55:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Eric Schnoebelen
>Release: pkgsrc 2002-02-09
>Organization:
Central Iowa (Model) Railroad, Plano, TX US
>Environment:
System: NetBSD cite 1.5Y NetBSD 1.5Y (OMNIBOOK_7100) #0: Mon Dec 24 01:08:31 CST 2001 eric@boomer:/home/boomer/eric/work/NetBSD/src/sys/arch/i386/compile/OMNIBOOK_7100 i386
>Description:
After updating the pkgsrc this afternoon, I went to update
suse_base on this system. After successfully removing the
installed version, I received an error from mkdir claiming it
couldn't create `/distfiles' (as well it couldn't, as I wasn't
running as root.)
Setting PKGSRCDIR to the top of my pkgsrc tree (which is in my
home directory, not /usr/pkgsrc) allowed the makefiles to find
$PKGSRCDIR/distfiles, and for all to once again work.
In times previous, distfiles was always found (I assume) by
looking at ../../distfiles. The position independence of pkgsrc
is one of the things I greatly like about it. Just
extract/update, cd to the appropriate package, and make.
>How-To-Repeat:
cd $HOME; tar xf pkgsrc.tgz; cd emulators/suse_base; make update
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: