Subject: Re: pkg/33339: if can't change directory, pkgsrc should not continue
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-bugs
Date: 04/22/2006 23:35:02
The following reply was made to PR pkg/33339; it has been noted by GNATS.
From: Roland Illig <rillig@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/33339: if can't change directory, pkgsrc should not continue
Date: Sun, 23 Apr 2006 01:33:17 +0200
reed@reedmedia.net wrote:
> 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
It's quite simple. Run "pkglint -Wnone,extra /usr/pkgsrc/mk/bsd.pkg.mk"
and fix all warnings that say "A semicolon should only be used to
separate commands after switching to "set -e" mode." After that is done,
things will be much better.
Roland