Subject: Re: -current build.sh ... tools failure
To: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
From: James Chacon <jmc@NetBSD.org>
List: current-users
Date: 12/15/2004 09:33:13
On Wed, Dec 15, 2004 at 04:18:56PM +0100, Markus W Kilbinger wrote:
> With -current some minutes ago:

Is this from a completely clean object dir?

Also, make sure dist/file/config.h.in is a clean copy of the file. The
parse error at "<<' below suggests you have a botched copy.

James

> 
> dependall ===> file
> checking for a BSD-compatible install... /usr/toolchain-i386/bin/nbinstall -c  -r
> checking whether build environment is sane... yes
> [...]config.status: creating config.h
> config.status: executing depfiles commands
> /usr/toolchain-i386/bin/nbmake  -f /usr/src/tools/file/../Makefile.gnuwrap  all-recursive
> Making all in src
> if /bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I/usr/src/tools/file/../../dist/file/src -I..  -DMAGIC='"/usr/toolchain-i386/share/file/magic"'    -O -MT magic.lo -MD -MP -MF ".deps/magic.Tpo" -c -o magic.lo /usr/src/tools/file/../../dist/file/src/magic.c;  then mv -f ".deps/magic.Tpo" ".deps/magic.Plo"; else rm -f ".deps/magic.Tpo"; exit 1; fi
> mkdir .libs
>  cc -DHAVE_CONFIG_H -I. -I/usr/src/tools/file/../../dist/file/src -I.. -DMAGIC=\"/usr/toolchain-i386/share/file/magic\" -O -MT magic.lo -MD -MP -MF .deps/magic.Tpo -c /usr/src/tools/file/../../dist/file/src/magic.c  -fPIC -DPIC -o .libs/magic.o
> In file included from /usr/src/dist/file/src/file.h:43,
>                  from /usr/src/dist/file/src/magic.c:30:
> ../config.h:3: error: parse error before '<<' token
> In file included from /usr/src/dist/file/src/file.h:49,
>                  from /usr/src/dist/file/src/magic.c:30:
> /usr/include/stdint.h:45: error: parse error before "int8_t"
> In file included from /usr/src/dist/file/src/magic.c:63:
> /usr/include/netinet/in.h:229: error: parse error before "__int8_t"
> /usr/include/netinet/in.h:246: error: parse error before "__int8_t"
> 
> *** Failed target:  magic.lo
> *** Failed command: if /bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/src/tools/file/../../dist/file/src -I.. -DMAGIC='"/usr/toolchain-i386/share/file/magic"' -O -MT magic.lo -MD -MP -MF ".deps/magic.Tpo" -c -o magic.lo /usr/src/tools/file/../../dist/file/src/magic.c; then mv -f ".deps/magic.Tpo" ".deps/magic.Plo"; else rm -f ".deps/magic.Tpo"; exit 1; fi
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/src/tools/file/obj.i386/build/src
> 
>