buildworld screws awk
Mischa Peters
freebsd at high5.nu
Fri Aug 18 23:07:48 UTC 2006
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 at bc:/usr/src # ls -alF /usr/bin/awk
-r-xr-xr-x 2 root wheel 119164 Aug 19 01:03 /usr/bin/awk*
root at bc:/usr/src # md5 /usr/bin/awk
MD5 (/usr/bin/awk) = e589c3cadd8e16fc6d824ebc4685d305
root at 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 at bc:/usr/src # ls -alF /usr/bin/awk
-r-xr-xr-x 2 root wheel 119164 Aug 19 01:03 /usr/bin/awk*
root at 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
More information about the freebsd-questions
mailing list