From owner-freebsd-current@FreeBSD.ORG Tue Feb 15 21:10:29 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 9E5C8106566B; Tue, 15 Feb 2011 21:10:29 +0000 (UTC) Date: Tue, 15 Feb 2011 21:10:29 +0000 From: Alexander Best To: freebsd-current@freebsd.org Message-ID: <20110215211029.GA74471@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: $PATH and buildworld not getting along X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2011 21:10:29 -0000 hi there, i've run into an issue where $PATH doesn't get discarded during buildworld. is this behavior to be expected? to reproduce do: 1) be sure /usr/local/bin comes *before* /usr/bin in your $PATH 2) ln -s /bin/cat /usr/local/bin/cc (some sh script would be better) 3) cd /usr/src ; make SRCCONF=/dev/null __MAKE_CONF=/dev/null buildworld 4) see how buildworld fails, because cat(1) gets invoked instead of cc(1). ... buildkernel on the other hand seems to be immune to such an issue. cheers. alex -- a13x