Subject: pkg/33339: if can't change directory, pkgsrc should not continue
To: None <,,>
From: None <>
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
>Release:        NetBSD 2.1
System: NetBSD 2.1 NetBSD 2.1 (GENERIC) #0: Mon Oct 24 22:35:45 UTC 2005 i386
Architecture: i386
Machine: i386
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.
One example was on pkgsrc-users today:

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

(Another problem there too.)

and others