Subject: pkg/33339: if can't change directory, pkgsrc should not continue
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 04/22/2006 21:40:03
>Number:         33339
>Category:       pkg
>Synopsis:       pkgsrc should not continue when directories do not exist
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 22 21:40:03 +0000 2006
>Originator:     reed@reedmedia.net
>Release:        NetBSD 2.1
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 2.1 NetBSD 2.1 (GENERIC) #0: Mon Oct 24 22:35:45 UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-1-RELEASE/i386/200510241747Z-obj/home/builds/ab/netbsd-2-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
pkgsrc has many cd to some directory and just assumes that works
and continues to next step.

This has caused my configure steps to move my pkgsrc Makefile.

This has caused my make clean-depends to end up cleaning entire pkgsrc tree.

And more.
>How-To-Repeat:
One example was on pkgsrc-users today:

cd /usr/pkgsrc/graphics/xpm
make extract
make CLEANDEPENDS=YES clean install

(Another problem there too.)

>Fix:
and others
	

>Unformatted: