Date: Wed, 31 May 2017 09:25:06 +0200 From: Johan Hendriks <joh.hendriks@gmail.com> To: freebsd-stable <freebsd-stable@freebsd.org> Subject: 11.1-prerelease buildworld fails at libpcap Message-ID: <24bcdfa1-e17b-8863-dea0-704a86bb70ee@gmail.com>
next in thread | raw e-mail | index | archive | help
I am on the following revision. root@desk:/usr/src # uname -a FreeBSD desk.server.mylab.nl 11.1-PRERELEASE FreeBSD 11.1-PRERELEASE #89 r319098: Mon May 29 10:55:56 CEST 2017 root@desk.server.mylab.nl:/usr/obj/usr/src/sys/KRNL amd64 I have updated to the following revision At revision 319292. When doing the buildworld it errors out with the following. ===> lib/libpcap (all) Building /usr/obj/usr/src/lib/libpcap/grammar.o /usr/src/contrib/libpcap/grammar.y:348:15: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? finish_parse(cstate, yystack.l_mark[0].blk.b); ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:365:28: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? { yyval.blk.b = gen_ncode(cstate, NULL, (bpf_u_int32)yystack.l_mark[0].i, ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:369:28: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? { yyval.blk.b = gen_scode(cstate, yystack.l_mark[0].s, yyval.blk.q = yystack.l_mark[-1].blk.q); } ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:370:28: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? { yyval.blk.b = gen_mcode(cstate, yystack.l_mark[-2].s, NULL, yystack.l_mark[0].i, ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:372:28: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? { yyval.blk.b = gen_mcode(cstate, yystack.l_mark[-2].s, yystack.l_mark[0].s, 0, ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:378:18: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? bpf_error(cstate, "'port' modifier applied to ip host"); ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:380:18: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? bpf_error(cstate, "'portrange' modifier applied to ip host"); ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:382:18: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? bpf_error(cstate, "'proto' modifier applied to ip host"); ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:384:18: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? bpf_error(cstate, "'protochain' modifier applied to ip host"); ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:385:31: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? yyval.blk.b = gen_ncode(cstate, yystack.l_mark[0].s, 0, yyval.blk.q); ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:389:32: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? yyval.blk.b = gen_mcode6(cstate, yystack.l_mark[-2].s, NULL, yystack.l_mark[0].i, ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:398:32: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? yyval.blk.b = gen_mcode6(cstate, yystack.l_mark[0].s, 0, 128, ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:406:31: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? yyval.blk.b = gen_ecode(cstate, yystack.l_mark[0].e, yyval.blk.q = yystack.l_mark[-1].blk.q); ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:415:31: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? yyval.blk.b = gen_acode(cstate, yystack.l_mark[0].e, yyval.blk.q = yystack.l_mark[-1].blk.q); ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:433:28: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? { yyval.blk.b = gen_ncode(cstate, NULL, (bpf_u_int32)yystack.l_mark[0].i, ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:449:35: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? { yyval.blk.b = gen_proto_abbrev(cstate, yystack.l_mark[0].i); yyval.blk.q = qerr; } ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:450:31: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? { yyval.blk.b = gen_relation(cstate, yystack.l_mark[-1].i, yystack.l_mark[-2].a, yystack.l_mark[0].a, 0); ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:452:31: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? { yyval.blk.b = gen_relation(cstate, yystack.l_mark[-1].i, yystack.l_mark[-2].a, yystack.l_mark[0].a, 1); ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ /usr/src/contrib/libpcap/grammar.y:455:37: error: use of undeclared identifier 'cstate'; did you mean 'cstat'? { yyval.blk.b = gen_atmtype_abbrev(cstate, yystack.l_mark[0].i); yyval.blk.q = qerr; } ^~~~~~ cstat grammar.c:1291:1: note: 'cstat' declared here YYPARSE_DECL() ^ grammar.c:378:67: note: expanded from macro 'YYPARSE_DECL' # define YYPARSE_DECL() yyparse(void *yyscanne, compiler_state_t *cstat) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** Error code 1 Stop. make[5]: stopped in /usr/src/lib/libpcap .ERROR_TARGET='grammar.o' .ERROR_META_FILE='/usr/obj/usr/src/lib/libpcap/grammar.o.meta' .MAKE.LEVEL='5' MAKEFILE='' .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' .CURDIR='/usr/src/lib/libpcap' .MAKE='make' .OBJDIR='/usr/obj/usr/src/lib/libpcap' .TARGETS='all' DESTDIR='/usr/obj/usr/src/tmp' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='/usr/obj' MAKESYSPATH='/usr/src/share/mk' MAKE_VERSION='20160606' PATH='/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP='/usr/src' OBJTOP='/usr/obj/usr/src' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/lib/libpcap/Makefile /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.lib.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk /usr/src/lib/libpcap/../Makefile.inc /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk' .PATH='. /usr/src/lib/libpcap /usr/src/contrib/libpcap /usr/src/contrib/libpcap/bpf/net' *** Error code 1 Stop. make[4]: stopped in /usr/src/lib .ERROR_TARGET='all_subdir_lib/libpcap' .ERROR_META_FILE='' .MAKE.LEVEL='4' MAKEFILE='' .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' .CURDIR='/usr/src/lib' .MAKE='make' .OBJDIR='/usr/obj/usr/src/lib' .TARGETS='all' DESTDIR='/usr/obj/usr/src/tmp' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='/usr/obj' MAKESYSPATH='/usr/src/share/mk' MAKE_VERSION='20160606' PATH='/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP='/usr/src' OBJTOP='/usr/obj/usr/src' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/lib/Makefile /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk' .PATH='. /usr/src/lib' *** Error code 1 Stop. make[3]: stopped in /usr/src .ERROR_TARGET='lib__L' .ERROR_META_FILE='' .MAKE.LEVEL='3' MAKEFILE='' .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' .CURDIR='/usr/src' .MAKE='make' .OBJDIR='/usr/obj/usr/src' .TARGETS='_generic_libs' DESTDIR='/usr/obj/usr/src/tmp' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='/usr/obj' MAKESYSPATH='/usr/src/share/mk' MAKE_VERSION='20160606' PATH='/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP='/usr/src' OBJTOP='/usr/obj/usr/src' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/Makefile.inc1 /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk' .PATH='. /usr/src' *** Error code 1 Stop. make[2]: stopped in /usr/src .ERROR_TARGET='libraries' .ERROR_META_FILE='' .MAKE.LEVEL='2' MAKEFILE='' .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' .CURDIR='/usr/src' .MAKE='make' .OBJDIR='/usr/obj/usr/src' .TARGETS='libraries' DESTDIR='/usr/obj/usr/src/tmp' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='/usr/obj' MAKESYSPATH='/usr/src/share/mk' MAKE_VERSION='20160606' PATH='/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP='/usr/src' OBJTOP='/usr/obj/usr/src' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/Makefile.inc1 /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk' .PATH='. /usr/src' *** Error code 1 Stop. make[1]: stopped in /usr/src .ERROR_TARGET='_libraries' .ERROR_META_FILE='' .MAKE.LEVEL='1' MAKEFILE='' .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' .CURDIR='/usr/src' .MAKE='make' .OBJDIR='/usr/obj/usr/src' .TARGETS='buildworld' DESTDIR='' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='/usr/obj' MAKESYSPATH='/usr/src/share/mk' MAKE_VERSION='20160606' PATH='/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP='/usr/src' OBJTOP='/usr/obj/usr/src' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/Makefile.inc1 /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk' .PATH='. /usr/src' *** Error code 1 Stop. make: stopped in /usr/src .ERROR_TARGET='buildworld' .ERROR_META_FILE='' .MAKE.LEVEL='0' MAKEFILE='' .MAKE.MODE='normal' .CURDIR='/usr/src' .MAKE='make' .OBJDIR='/usr/obj/usr/src' .TARGETS='buildworld' DESTDIR='' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='/usr/obj' MAKESYSPATH='/usr/src/share/mk' MAKE_VERSION='20160606' PATH='/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP='/usr/src' OBJTOP='/usr/obj/usr/src' regards Johan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24bcdfa1-e17b-8863-dea0-704a86bb70ee>