Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2004 21:49:34 +0200
From:      Roman Neuhauser <neuhauser@chello.cz>
To:        Ruslan Ermilov <ru@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: 5.3-BETA7 make release "env: not found" errors
Message-ID:  <20041018194934.GC4968@isis.wad.cz>
In-Reply-To: <20041018192405.GB4968@isis.wad.cz>
References:  <20041018161249.GA2126@isis.wad.cz> <20041018174945.GC89681@ip.net.ua> <20041018191124.GA4968@isis.wad.cz> <20041018192405.GB4968@isis.wad.cz>

next in thread | previous in thread | raw e-mail | index | archive | help

--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

# neuhauser@chello.cz / 2004-10-18 21:24:05 +0200:
> # neuhauser@chello.cz / 2004-10-18 21:11:24 +0200:
> > # ru@freebsd.org / 2004-10-18 20:49:45 +0300:
> > > On Mon, Oct 18, 2004 at 06:12:49PM +0200, Roman Neuhauser wrote:
> > > > cd /usr/src; make -f Makefile.inc1 distribute
> > > > env: not found
> > > 
> > > I was responsible for and aware of these warnings,
> > > but have been ignoring them until now.  Thanks for
> > > reminding!  They were mostly harmless, but anyway,
> > > a fix is now committed as src/Makefile,v 1.309.
> > 
> >     can I proceed with the built release, or should I copy the env
> >     binary to one of the directories listed in $PATH before running
> >     make rerelease? AFAICS, the at least five targets haven't been
> >     built. will I bee missing any files?
> 
>     I'm rebuilding the release target with src/Makefile:1.309 instead.

    there's another in src/Makefile.inc1. see the attached file.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html

--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename="src::Makefile.inc._MAKEOBJDIRPREFIX-env.patch"

--- Makefile.inc1.old	Mon Oct 18 19:31:28 2004
+++ Makefile.inc1	Mon Oct 18 19:31:34 2004
@@ -90,7 +90,7 @@
 .endif
 
 MAKEOBJDIRPREFIX?=	/usr/obj
-_MAKEOBJDIRPREFIX!= env -i PATH=${PATH} MAKEFLAGS="${.MAKEFLAGS}" ${MAKE} \
+_MAKEOBJDIRPREFIX!= /usr/bin/env -i PATH=${PATH} MAKEFLAGS="${.MAKEFLAGS}" ${MAKE} \
 		-f /dev/null -V MAKEOBJDIRPREFIX dummy
 .if !empty(_MAKEOBJDIRPREFIX)
 .error MAKEOBJDIRPREFIX can only be set in environment, not as a global\

--/04w6evG8XlLl3ft--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041018194934.GC4968>