Subject: pkg/24377: PKG_DEBUG_LEVEL>=1 and make clean-depends broken.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <juan@xtraeme.unixbsd.org>
List: netbsd-bugs
Date: 02/10/2004 04:44:49
>Number: 24377
>Category: pkg
>Synopsis: PKG_DEBUG_LEVEL>=1 and make clean-depends broken.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 10 03:44:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Juan RP
>Release: NetBSD 1.6ZI
>Organization:
>Environment:
Architecture: i386
Machine: i386
>Description:
Trying to find a problem with pkgsrc, I've found that `clean-depends'
target doesn't work properly when PKG_DEBUG_LEVEL>=1 is set.
That's the output:
pkg_comp:default.conf# make PKG_DEBUG_LEVEL=1 clean-depends
for i in `/usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=1.6ZJ LOWER_OPSYS=netbsd DIGEST=/usr/pkg/bin/digest DIGEST_VERSION=20021220 PKGTOOLS_VERSION=20040115 OBJMACHINE=yes _NEED_NEWER_GCC="NO" _PERL5_PREFIX=/usr/pkg _PERL5_SITEPREFIX=/usr/pkg PERL5_SUB_INSTALLSITEBIN=bin PERL5_SUB_INSTALLSITELIB=lib/perl5/site_perl/5.8.2 PERL5_SUB_INSTALLSITEARCH=lib/perl5/site_perl/5.8.2/i386-netbsd PERL5_SUB_INSTALLSITEMAN1DIR=man/man1 PERL5_SUB_INSTALLSITEMAN3DIR=lib/perl5/site_perl/man/man3 PERL5_SUB_SITELIBEXP=lib/perl5/site_perl/5.8.2 PERL5_SUB_SITEARCHEXP=lib/perl5/site_perl/5.8.2/i386-netbsd PERL5_SUB_INSTALLARCHLIB=lib/perl5/5.8.2/i386-netbsd PERL5_SUB_INSTALLSCRIPT=bin PERL5_SITELIB=/usr/pkg/lib/perl5/site_perl/5.8.2 PERL5_SITEARCH=/usr/pkg/lib/perl5/site_perl/5.8.2/i386-netbsd PERL5_ARCHLIB=/usr/pkg/lib/perl5/5.8.2/i386-netbsd BUILDLINK_PREFIX.perl=/usr/pkg show-all-depends-dirs-excl` ; do cd /usr/pkgsrc/wm/pekwm/../../$i &&
/usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=1.6ZJ LOWER_OPSYS=netbsd DIGEST=/usr/pkg/bin/digest DIGEST_VERSION=20021220 PKGTOOLS_VERSION=20040115 OBJMACHINE=yes _NEED_NEWER_GCC="NO" _PERL5_PREFIX=/usr/pkg _PERL5_SITEPREFIX=/usr/pkg PERL5_SUB_INSTALLSITEBIN=bin PERL5_SUB_INSTALLSITELIB=lib/perl5/site_perl/5.8.2 PERL5_SUB_INSTALLSITEARCH=lib/perl5/site_perl/5.8.2/i386-netbsd PERL5_SUB_INSTALLSITEMAN1DIR=man/man1 PERL5_SUB_INSTALLSITEMAN3DIR=lib/perl5/site_perl/man/man3 PERL5_SUB_SITELIBEXP=lib/perl5/site_perl/5.8.2 PERL5_SUB_SITEARCHEXP=lib/perl5/site_perl/5.8.2/i386-netbsd PERL5_SUB_INSTALLARCHLIB=lib/perl5/5.8.2/i386-netbsd PERL5_SUB_INSTALLSCRIPT=bin PERL5_SITELIB=/usr/pkg/lib/perl5/site_perl/5.8.2 PERL5_SITEARCH=/usr/pkg/lib/perl5/site_perl/5.8.2/i386-netbsd PERL5_ARCHLIB=/usr/pkg/lib/perl5/5.8.2/i386-netbsd BUILDLINK_PREFIX.perl=/usr/pkg CLEANDEPENDS=NO clean; done
cd: can't cd to ../../dlist=
cd: can't cd to ../../thisdir=/usr/pkgsrc/wm/pekwm
cd: can't cd to ../../for
cd: can't cd to ../../reldir
cd: can't cd to ../../in
make: don't know how to make show-depends-dirs. Stop
cd: can't cd to ../../../../lang/perl5
cd: can't cd to ../../../../pkgtools/x11-links
cd: can't cd to ../../../../devel/gmake
make: don't know how to make show-depends-dirs. Stop
cd: can't cd to ../../do
cd: can't cd to ../../if
cd: can't cd to ../../[
cd: can't cd to ../../X
cd: can't cd to ../../=
cd: can't cd to ../../X
cd: can't cd to ../../]
cd: can't cd to ../../then
cd: can't cd to ../../continue
cd: can't cd to ../../fi
cd: can't cd to ../../cd
make: don't know how to make show-depends-dirs. Stop
cd: can't cd to ../../WD=/usr/pkgsrc/wm/pekwm
cSyntax error: EOF in backquote substitution
Syntax error: EOF in backquote substitution
Syntax error: EOF in backquote substitution
/: permission denied
cd: can't cd to ../../basename
Syntax error: Unterminated quoted string
Syntax error: Unterminated quoted string
cd: can't cd to ../../done
make: don't know how to make show-depends-dirs. Stop
cd: can't cd to ../../echo
make: don't know how to make show-depends-dirs. Stop
cd: can't cd to /usr/pkgsrc/wm/pekwm/../..//usr/bin/awk
cd: can't cd to /usr/pkgsrc/wm/pekwm/../../-v
cd: can't cd to /usr/pkgsrc/wm/pekwm/../../NonSelf=1
cd: can't cd to /usr/pkgsrc/wm/pekwm/../../'function
cd: can't cd to /usr/pkgsrc/wm/pekwm/../../append_dirs(dir)
cd: can't cd to /usr/pkgsrc/wm/pekwm/../../{
cd: can't cd to /usr/pkgsrc/wm/pekwm/../../command
cd: can't cd to /usr/pkgsrc/wm/pekwm/../../=
cd: can't cd to /usr/pkgsrc/wm/pekwm/../../"cd
cd: can't cd to /usr/pkgsrc/wm/pekwm/../../../../"
...
>How-To-Repeat:
cd pkgsrc/wm/pekwm && make PKG_DEBUG_LEVEL=1 clean-depends
>Fix:
Sorry, dunno.
>Release-Note:
>Audit-Trail:
>Unformatted: