Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 1999 11:58:59 +0100
From:      Marcel Moolenaar <marcel@scc.nl>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Bruce Evans <bde@zeta.org.au>, "Andrey A. Chernov" <ache@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src Makefile.inc1
Message-ID:  <38620073.A3E7E4D1@scc.nl>
References:  <Pine.BSF.4.10.9912231612390.21945-100000@alphplex.bde.org> <199912230549.VAA16362@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon wrote:

> :Using absolute paths to utilities in makeworld is always wrong.
> :
> :The problem may to be with /sbin not in the initial $PATH.
> :
> :Bruce
> 
>    I disagree - there are too many path locations floating around during
>    a buildworld which might contain 'sysctl'.  Absolute paths should be
>    used across the board to be absolutely sure that the *correct* program
>    is being run.  Otherwise the confusion will only multiply.

No. By depending on the path, we can override using installed versions
by building new versions in WORLDTMP. Absolute paths break this and can
eventually break a buildworld.

The problem Andrey had can only explained by a faulty path, because his
trigger case (make update) doesn't even use any of the WORLDTMP,
STRICTTMPPATH and TMPPATH settings; they are basicly set for nothing
(which indicates that the current Makefile layout is suboptimal (or
broken if you like :-))

Even if it did, nowhere in the makefiles is STRICTTMPPATH used other
than appending it with PATH...

-- 
Marcel Moolenaar                        mailto:marcel@scc.nl
SCC Internetworking & Databases           http://www.scc.nl/
The FreeBSD project                mailto:marcel@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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