buildworld -DNOCLEAN problem with gperf/getopt.h
Ruslan Ermilov
ru at FreeBSD.org
Sun Mar 14 14:13:51 PST 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040315/959a5746/attachment.bin
More information about the freebsd-current
mailing list