Re: buildworld -DNOCLEAN problem with gperf/getopt.h

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Mon, 15 Mar 2004 00:13:47 +0200
On Sun, Mar 14, 2004 at 01:57:45PM -0800, Doug Barton wrote:
> If I build with a populated obj directory, created after cleaning out
> /usr/obj/ completely and then building on 7 March, I get this:
> 
> --------------------------------------------------------------
> >>> stage 1.2: bootstrap tools
> --------------------------------------------------------------
> cd /usr/local/src; MAKEOBJDIRPREFIX=/usr/obj/usr/local/src/i386
> DESTDIR=  INSTALL="sh /usr/local/src/tools/install.sh"
> PATH=/usr/obj/usr/local/src/i386/legacy/usr/sbin:/usr/obj/usr/local/src/i386/legacy/usr/bin:/usr/obj/usr/local/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
>  WORLDTMP=/usr/obj/usr/local/src/i386  MAKEFLAGS="-m
> /usr/local/src/tools/build/mk  -D NOCLEAN -m /usr/local/src/share/mk"
> make -f Makefile.inc1  BOOTSTRAPPING=502105  -DNOHTML -DNOINFO -DNOLINT
> -DNOMAN -DNOPIC -DNOPROFILE  -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS
> bootstrap-tools
> ===> games/fortune/strfile
> sh /usr/local/src/tools/install.sh -s -o root -g wheel -m 555   strfile
> /usr/obj/usr/local/src/i386/legacy/usr/games
> ===> gnu/usr.bin/gperf
> ===> gnu/usr.bin/gperf/doc
> ===> gnu/usr.bin/gperf/doc
> make: don't know how to make
> /usr/obj/usr/local/src/i386/legacy/usr/include/getopt.h. Stop
> *** Error code 2
> 
> If I cd into gnu/usr.bin/gperf/doc I can run `make cleandir && make obj
> && make depend && make all` with no problems, so I'm confused as to
> what's wrong here.
> 
-DNOCLEAN is _not_ guaranteed to work at all if sources are updated.
Don't do that, or don't complain.  ;)


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru_at_FreeBSD.org

Received on Sun Mar 14 2004 - 13:13:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC