From owner-freebsd-stable Sun Jul 13 04:42:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA15384 for stable-outgoing; Sun, 13 Jul 1997 04:42:04 -0700 (PDT) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [194.151.74.97]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA15379 for ; Sun, 13 Jul 1997 04:42:01 -0700 (PDT) Received: (from guido@localhost) by gvr.win.tue.nl (8.8.6/8.8.2) id NAA02226; Sun, 13 Jul 1997 13:41:42 +0200 (MET DST) From: Guido van Rooij Message-Id: <199707131141.NAA02226@gvr.win.tue.nl> Subject: Re: old "make reinstall" bug In-Reply-To: <199707131115.VAA22753@godzilla.zeta.org.au> from Bruce Evans at "Jul 13, 97 09:15:28 pm" To: bde@zeta.org.au (Bruce Evans) Date: Sun, 13 Jul 1997 13:41:42 +0200 (MET DST) Cc: tom@sdf.com, freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > >There are more bugs. Building of xinstall during the bootstrap fase in a > >make world breaks on pre 2.2.2 systems. The fix is to have a -I../../sys > >in the makefile. Also netstat and others are broken because they use -I/sys. > >I will fix this soon. > > The correct fix for the others is to remove -I/sys (so that everything > is consistently broken if /usr/include/sys is not installed :-). > xinstall and other bootstrap targets require something more, probably > src-tree relative -I's in /usr/src/Makefile instead of ${DESTDIR}-relative > -I's in /usr/src/Makefile. But it isn't installed when make bootstrap is ran. And since xinstall uses stuff from ls and ls is depending on sys/stat.h and there wasn't a NOUNLINK flag in previous versions of FreeBSD, the bootstrap is broken. I think xinstall should only depend on the tree it is built in... I do agree on the fix for netstat...(and iostat and pciconf and pstat) -Guido