With a up-to-date netbsd-8 source tree, I'm getting the following error
while running 'build.sh tools'

dependall-awk ===> .
dependall ===> awk
#   compile  awk/run.lo
cc -O -D__EXTENSIONS__ -I/build/netbsd-8/tools/x86_64/amd64/include/compat 
-I/build/netbsd-8/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 
-D_FILE_OFFSET_BITS=64 
-I/build/netbsd-8/src/tools/awk/../../external/historical/nawk/bin/../dist -I. 
-c -o run.lo.o -Wno-format-nonliteral   
/build/netbsd-8/src/tools/awk/../../external/historical/nawk/bin/../dist/run.c
/build/netbsd-8/src/tools/awk/../../external/historical/nawk/bin/../dist/run.c: 
In function 'closeall':
/build/netbsd-8/src/tools/awk/../../external/historical/nawk/bin/../dist/run.c:1873:12:
 error: void value not ignored as it ought to be
     stat = fpurge(files[i].fp) == EOF;
            ^
*** [run.lo] Error code 1
nbmake[3]: stopped in /build/netbsd-8/src/tools/awk


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+

Reply via email to