Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: current-amd64 build breakage with flex in m4



On Tue, 27 Oct 2009, Christos Zoulas wrote:

On Oct 27,  9:28am, htodd%twofifty.com@localhost (Hisashi T Fujinaka) wrote:
-- Subject: Re: current-amd64 build breakage with flex in m4

| > --- dependall-m4 ---
| > #       lex  m4/tokenizer.c
| > /usr/src/obj.amd64/tooldir.NetBSD-5.99.21-amd64/bin/nblex    -otokenizer.c
| > /usr/src/tools/m4/../../usr.bin/m4/tokenizer.l
| > /usr/src/tools/m4/../../usr.bin/m4/tokenizer.l:46: bad start condition list
| > /usr/src/tools/m4/../../usr.bin/m4/tokenizer.l:63: fatal parse error
| > /* Begin user sect3 */
| > *** [tokenizer.c] Error code 1
| > 1 error
| > nbmake: stopped in /usr/src/tools/m4
| > *** [dependall-m4] Error code 2
|
| So I deleted my tooldir, and started a ./build.sh obj tools and got:
| #      yacc  m4/parser.c
| /usr/src/obj.amd64/tooldir.NetBSD-5.99.21-amd64/bin/nbyacc     -d -o parser.c 
/usr/src/tools/m4/../../usr.bin/m4/parser.y
| sh: /usr/src/obj.amd64/tooldir.NetBSD-5.99.21-amd64/bin/nbyacc: not found
|
| *** Failed target:  parser.c
| *** Failed command: 
/usr/src/obj.amd64/tooldir.NetBSD-5.99.21-amd64/bin/nbyacc -d -o parser.c 
/usr/src/tools/m4/../../usr.bin/m4/parser.y
| *** Error code 127
|
| Stop.
| nbmake: stopped in /usr/src/tools/m4
|
| *** Failed target:  dependall-m4
| *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/usr/src/tools" ;; *) this="${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" 
&& /usr/src/obj.amd64/tooldir.NetBSD-5.99.21-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget m4 dependall
| *** Error code 1
|

I think I fixed it.

Next error:

#   compile  config/scan.lo
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj.amd64 
-I/usr/src/tools/compat/obj.amd64/include  -I/usr/src/tools/config/../compat 
-DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64  
-I/usr/src/tools/config/../../usr.bin/config -I. -I/usr/src/usr.bin/cksum -c -o 
scan.lo.o    scan.c
scan.c:1088:25: error: macro "yywrap" passed 1 arguments, but takes just 0
*** Error code 1

Stop.
make: stopped in /usr/src/tools/config
Exit 1



--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte


Home | Main Index | Thread Index | Old Index