From owner-freebsd-current Sun Sep 8 7:10:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCCF637B400 for ; Sun, 8 Sep 2002 07:10:48 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C00FC43E65 for ; Sun, 8 Sep 2002 07:10:47 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id AAA12041; Mon, 9 Sep 2002 00:10:41 +1000 Date: Mon, 9 Sep 2002 00:18:19 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Craig Rodrigues Cc: freebsd-current@FreeBSD.ORG Subject: Re: make installworld cannot find files in /usr/bin In-Reply-To: <20020907230246.A535@attbi.com> Message-ID: <20020909001128.E3205-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 7 Sep 2002, Craig Rodrigues wrote: > I did a cvsup from a few hours ago, and rebuilt the world. > make buildworld worked fine. > > make installworld failed: > ===> usr.sbin/ppp^M > install -s -o root -g network -m 4554 ppp /usr/sbin > m4 /usr/src/usr.sbin/ppp/ppp.8.m4 >ppp.8 > m4: not found > > I also had similar problems in /usr/src/share/termcap, because > the Makefile there could not find /usr/bin/cap_mkdb and > /usr/bin/ex. > > I worked around the problem by replacing references > to m4, cap_mkdb, and ex > in /usr/src/usr.sbin/ppp/Makefile and /usr/src/share/termcap/Makefile > with fully qualified path names. > > Any ideas what could cause this? Some local problem with timestamps, together with a bug in bsd.files.mk (it uses a hack to create dependencies, and this results in things being rebuilt at install time if something is out of date; building things at install times is an error and the error happens to be detected because some utilities needed for building are not in $PATH). > My environment has /usr/bin in its PATH. Also, if I manually > cd to either of those directories and do: make install, then > it finds the programs in /usr/bin with no problem. The error is not detected in this case because there are too many utilities in $PATH. Building at install time would still fail if the relevant obj directories are not writable. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message