Skip site navigation (1)Skip section navigation (2)
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=3D/usr/obj/usr/src/tmp  INSTALL=3D"sh  =

> /usr/src/tools/install.sh"   =

> PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legac=
y/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/us=
r/bin   =

> WORLDTMP=3D/usr/obj/usr/src/tmp  MAKEFLAGS=3D"-m /usr/src/tools/build/=
mk  -j  =

> 3 -m /usr/src/share/mk" /usr/obj/usr/src/make.i386/make -f  =

> Makefile.inc1  DESTDIR=3D  BOOTSTRAPPING=3D  -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 fro=
m  =

/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 versio=
n.

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>