Date: Tue, 23 Oct 2007 22:53:28 +0200 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: awk gives trouble (solved) Message-ID: <op.t0n4bedg8527sy@guido.klop.ws> In-Reply-To: <op.t0ndolr08527sy@guido.klop.ws> References: <op.t0ndolr08527sy@guido.klop.ws>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Oct 2007 13:18:11 +0200, Ronald Klop
<ronald-freebsd8@klop.yi.org> wrote:
> Hello,
>
> Running make for makeworld or in ports gives problems since my upgrade
> yesterday.
> Running 6.2-STABLE of yesterday on i386.
>
> --------------------------------------------------------------
>>>> stage 1.1: legacy release compatibility shims
> --------------------------------------------------------------
> cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh
> /usr/src/tools/install.sh"
> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS="-m /usr/src/tools/build/mk -j
> 3 -m /usr/src/share/mk" /usr/obj/usr/src/make.i386/make -f
> Makefile.inc1 DESTDIR= BOOTSTRAPPING= -DNO_HTML -DNO_INFO -DNO_LINT
> -DNO_MAN -DNO_NLS -DNO_PIC -DNO_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS
> -DNO_WARNS legacy
> awk: illegal statement
> input record number 1, file /usr/include/osreldate.h
> source line number 1
> "Makefile.inc1", line 101: warning: "awk
> '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
> /usr/include/osreldate.h" returned non-zero status
>
> Any thoughts how I can solve this?
>
> Ronald.
>
I think I solved it myself. Cvsup didn't remove the old *.diff files from
/usr/src/usr.bin/awk, so the build was producing a very corrupt file.
Removing the awk source and re-cvsup-ing gave me a better working version.
Ronald.
--
Ronald Klop
Amsterdam, The Netherlands
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.t0n4bedg8527sy>
