[DragonFlyBSD - Bug #2492] make buildworld M4_YY_OUTFILE_NAME:259: error: before 'M4_YY_LEX_DECLARATION'
Francois Tigeot via Redmine
bugtracker-admin at leaf.dragonflybsd.org
Sat Jan 19 03:04:41 PST 2013
Issue #2492 has been updated by ftigeot.
Issue confirmed on a DragonFly 3.2 system.
A buildworld of the current -master branch from 3.2 fails with the same error:
--- lex.o ---
cc -O -pipe -I. -I/usr/src/usr.bin/compile_et/../../contrib/com_err -std=gnu89 -c lex.c
M4_YY_OUTFILE_NAME:256: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'M4_YY_LEX_DECLARATION'
M4_YY_OUTFILE_NAME: In function 'yy_get_next_buffer':
M4_YY_OUTFILE_NAME:146: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:151: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:152: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
[...]
----------------------------------------
Bug #2492: make buildworld M4_YY_OUTFILE_NAME:259: error: before 'M4_YY_LEX_DECLARATION'
http://bugs.dragonflybsd.org/issues/2492
Author: davshao
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Using master through
commit 6964a669f396a0e6d3b96a8f232cbc932d0d5b00
Date: Thu Jan 17 19:01:19 2013 +0100
Revert "gcc4x: Update README to remove format.c from patched list"
and with /etc/make.conf:
CFLAGS+=-g
STRIP=
Clearing /usr/obj
# make buildworld
fails on x86_64 and i386. From x86_64 the errors are:
===> usr.bin/mklocale (bootstrap-tools)
/usr/obj/usr/src/btools_x86_64/usr/src/usr.bin/mklocale created for /usr/src/usr.bin/mklocale
yacc -d -o yacc.c /usr/src/usr.bin/mklocale/yacc.y
lex -t /usr/src/usr.bin/mklocale/lex.l > lex.c
rm -f .depend
> .depend
mkdep -f .depend -a -I. -I/usr/src/usr.bin/mklocale -I/usr/src/usr.bin/mklocale/../../lib/libc -std=gnu99 yacc.c lex.c
echo mklocale: /usr/obj/usr/src/btools_x86_64/usr/lib/libc.a >> .depend
cc -O -pipe -g -I. -I/usr/src/usr.bin/mklocale -I/usr/src/usr.bin/mklocale/../../lib/libc -std=gnu99 -Wsystem-headers -Wall -Wno-pointer-sign -Wextra -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c yacc.c
cc -O -pipe -g -I. -I/usr/src/usr.bin/mklocale -I/usr/src/usr.bin/mklocale/../../lib/libc -std=gnu99 -Wsystem-headers -Wall -Wno-pointer-sign -Wextra -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c lex.c
M4_YY_OUTFILE_NAME:259: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'M4_YY_LEX_DECLARATION'
M4_YY_OUTFILE_NAME: In function 'yy_get_next_buffer':
M4_YY_OUTFILE_NAME:146: warning: implicit declaration of function 'YY_G'
M4_YY_OUTFILE_NAME:146: warning: nested extern declaration of 'YY_G'
M4_YY_OUTFILE_NAME:146: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:151: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:152: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME:155: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:182: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:186: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:191: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:197: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:220: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME:225: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:234: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:234: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:234: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:234: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME:234: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:234: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME:237: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:251: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:259: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:262: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:262: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:263: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:264: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME:268: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:269: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:271: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME: In function 'yy_get_previous_state':
M4_YY_OUTFILE_NAME:286: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME: In function 'yyunput':
M4_YY_OUTFILE_NAME:348: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:352: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:353: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:355: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:357: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:362: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:363: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:365: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:366: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME: In function 'input':
M4_YY_OUTFILE_NAME:397: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:430: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME:449: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME: In function 'yyrestart':
M4_YY_OUTFILE_NAME:465: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME: In function 'yy_switch_to_buffer':
M4_YY_OUTFILE_NAME:493: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:494: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:497: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME: In function 'yy_load_buffer_state':
M4_YY_OUTFILE_NAME:511: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:512: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:513: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME: In function 'yy_create_buffer':
M4_YY_OUTFILE_NAME:529: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME:538: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME: In function 'yy_delete_buffer':
M4_YY_OUTFILE_NAME:558: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME: In function 'yypush_buffer_state':
M4_YY_OUTFILE_NAME:643: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:644: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME:650: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME: In function 'yypop_buffer_state':
M4_YY_OUTFILE_NAME:668: error: subscripted value is neither array nor pointer
M4_YY_OUTFILE_NAME: In function 'yyensure_buffer_stack':
M4_YY_OUTFILE_NAME:697: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME:718: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME: In function 'yy_scan_buffer':
M4_YY_OUTFILE_NAME:748: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME: In function 'yy_scan_bytes':
M4_YY_OUTFILE_NAME:803: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME:812: error: expected ')' before 'M4_YY_CALL_LAST_ARG'
M4_YY_OUTFILE_NAME: In function 'yylex_destroy':
M4_YY_OUTFILE_NAME:1015: error: subscripted value is neither array nor pointer
*** Error code 1
Stop.
make: stopped in /usr/src/usr.bin/mklocale
sh /usr/src/tools/install.sh -o root -g wheel -m 555 mklocale /usr/obj/usr/src/btools_x86_64/usr/bin
install: mklocale: No such file or directory
*** Error code 71
Stop.
make: stopped in /usr/src/usr.bin/mklocale
*** Error code 1
Stop.
make: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/src'
.MAKE='make'
MAKE_VERSION='20121010'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE='Makefile.inc1'
.TARGETS='bootstrap-tools'
.ERROR_TARGET='bstrap-usr.bin/mklocale'
.ERROR_META_FILE=''
.MAKE.LEVEL='2'
.MAKE.MODE=''
*** Error code 1
Stop.
make: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/src'
.MAKE='make'
MAKE_VERSION='20121010'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE='Makefile.inc1'
.TARGETS='buildworld'
.ERROR_TARGET='_bootstrap-tools'
.ERROR_META_FILE=''
.MAKE.LEVEL='1'
.MAKE.MODE=''
*** Error code 1
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list