Subject: Re: ${ENV} vs. ${SETENV}
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/19/2005 09:01:21
On Sat, 16 Apr 2005, Jeremy C. Reed wrote:
> I started testing it yesterday on a couple different platforms. And I'll
> keep on testing ...
Not working for me.
I have (for my mk/platform/NetBSD.mk):
-SETENV?= /usr/bin/env
+SETENV?= /usr/bin/env -i
When running "make" in editors/conglomerate, it gets down to:
===> Checking for vulnerabilities in libbonobo-2.8.1
Variable PATH is recursive.
And sometimes it has same error "Variable PATH is recursive." in lang/gcc:
work.rainier -> /usr/pkg/tmp/pkgsrc/devel/libbonobo/work.rainier
===> Extracting for libbonobo-2.8.1
===> Required installed package ORBit2>=2.12.0: ORBit2-2.12.0nb1 found
...
===> Required package gcc>=2.8.0: NOT found
===> Verifying reinstall for ../../lang/gcc
===> Checking for vulnerabilities in gcc-2.95.3nb5
===> Overriding tools for gcc-2.95.3nb5
Variable PATH is recursive.
make: stopped in /usr/local/pkgsrc/lang/gcc
*** Error code 2
I have gcc:
rainier:/usr/pkgsrc/editors/conglomerate$ gcc --version
2.95.3
rainier:/usr/pkgsrc/editors/conglomerate$ type gcc
gcc is hashed (/usr/bin/gcc)
rainier:/usr/pkgsrc/editors/conglomerate$ uname -r
1.6.2_STABLE
But when I run "make SETENV=env" it all appears to work.
make SETENV=env
I haven't noticed problem (with "SETENV=env -i") under Linux .... yet.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/