From owner-svn-src-all@freebsd.org Thu Aug 13 16:22:52 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2439437DE0E; Thu, 13 Aug 2020 16:22:52 +0000 (UTC) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BSBgb6bDWz4TcW; Thu, 13 Aug 2020 16:22:51 +0000 (UTC) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 07DGMoQG043410; Thu, 13 Aug 2020 09:22:50 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 07DGMoMw043409; Thu, 13 Aug 2020 09:22:50 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <202008131622.07DGMoMw043409@gndrsh.dnsmgr.net> Subject: Re: svn commit: r364190 - head/tools/build In-Reply-To: <202008131414.07DEEkeT002797@repo.freebsd.org> To: Alex Richardson Date: Thu, 13 Aug 2020 09:22:50 -0700 (PDT) CC: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4BSBgb6bDWz4TcW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2020 16:22:52 -0000 > Author: arichardson > Date: Thu Aug 13 14:14:46 2020 > New Revision: 364190 > URL: https://svnweb.freebsd.org/changeset/base/364190 > > Log: > Add pwd to the list of tools that are linked to $WORLDTMP/legacy Since "sh" is already in this list, and our "sh" has a builtin pwd that does the correct thing with pwd -P this should not be needed. Or are we contininue to use the host "sh" for far too long? For me from ancient days of hand bootstrapping BSD sources onto another system sh(1) and make(1) are the first 2 tools to get working. > After r364166 and r364174, crunchgen needs a pwd binary in $PATH instead > of using a hardcoded absolute path. This commit is needed for > BUILD_WITH_STRICT_TMPPATH builds (currently not on by default). > > Modified: > head/tools/build/Makefile > > Modified: head/tools/build/Makefile > ============================================================================== > --- head/tools/build/Makefile Thu Aug 13 13:59:31 2020 (r364189) > +++ head/tools/build/Makefile Thu Aug 13 14:14:46 2020 (r364190) > @@ -113,8 +113,8 @@ SYSINCS+= ${SRCTOP}/sys/sys/font.h > # Linux/MacOS since we only use flags that are supported by all of them. > _host_tools_to_symlink= basename bzip2 bunzip2 chmod chown cmp comm cp date dd \ > dirname echo env false find fmt gzip gunzip head hostname id ln ls \ > - mkdir mv nice patch rm realpath sh sleep stat tee touch tr true uname \ > - uniq wc which > + mkdir mv nice patch pwd rm realpath sh sleep stat tee touch tr true \ > + uname uniq wc which > > # We also need a symlink to the absolute path to the make binary used for > # the toplevel makefile. This is not necessarily the same as `which make` > -- Rod Grimes rgrimes@freebsd.org