Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2006 01:07:44 +0200
From:      Mischa Peters <freebsd@high5.nu>
To:        freebsd-questions@freebsd.org
Subject:   buildworld screws awk
Message-ID:  <98FFF701-EBB9-4966-B0D1-7F9C04ABF1B7@high5.nu>

next in thread | raw e-mail | index | archive | help
Hi All,

Trying to do a source upgrade from FreeBSD 6.1 to 6.1-STABLE.
And it seems that during the build process awk gets changed.

I needed to copy a working awk from a different machine.

root@bc:/usr/src # ls -alF /usr/bin/awk
-r-xr-xr-x  2 root  wheel  119164 Aug 19 01:03 /usr/bin/awk*
root@bc:/usr/src # md5 /usr/bin/awk
MD5 (/usr/bin/awk) = e589c3cadd8e16fc6d824ebc4685d305
root@bc:/usr/src # make buildworld
[snip build process]
===> lib/libncurses (obj,build-tools)
sh /usr/src/lib/libncurses/../../contrib/ncurses/include/ 
MKhashsize.sh /usr/src/lib/libncurses/../../contrib/ncurses/include/ 
Caps > hashsize.h
AWK=awk sh /usr/src/lib/libncurses/../../contrib/ncurses/include/ 
MKncurses_def.sh  /usr/src/lib/libncurses/../../contrib/ncurses/ 
include/ncurses_defs > ncurses_def.h
awk: syntax error at source line 3
context is
                 if ( NF >>>  == <<<
awk: illegal statement at source line 3
*** Error code 139

Stop in /usr/src/lib/libncurses.
*** Error code 1
root@bc:/usr/src # ls -alF /usr/bin/awk
-r-xr-xr-x  2 root  wheel  119164 Aug 19 01:03 /usr/bin/awk*
root@bc:/usr/src # md5 /usr/bin/awk
MD5 (/usr/bin/awk) = b91651fcb21b3345c31f76ab3a7f98e1

As you can see the md5 for awk is now different... ?!

What is going on?

Mischa




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98FFF701-EBB9-4966-B0D1-7F9C04ABF1B7>