Apparent build race(s), r315238 -> r315298

From: David Wolfskill <david_at_catwhisker.org>
Date: Wed, 15 Mar 2017 10:04:46 -0700
Both the biuld machine ("freebeast") and my laptop encountered errors
during the "make -jN buildworld" -- each completed on restart, and the
(initially-detected) errors were different:

Build machine:
...
===> usr.bin/mkimg/tests (all)
--- all_subdir_gnu ---
Building /common/S4/obj/usr/src/gnu/usr.bin/gdb/gdbtui/gdbtui
--- all_subdir_cddl ---
--- all_subdir_cddl/usr.bin ---
--- all_subdir_cddl/usr.bin/zinject ---
===> cddl/usr.bin/zinject (all)
--- all_subdir_gnu ---
--- gdbtui ---
cc: error: no such file or directory: '/usr/obj/usr/src/gnu/usr.bin/binutils/libbfd/libbfd.a'
*** [gdbtui] Error code 1

bmake[6]: stopped in /usr/src/gnu/usr.bin/gdb/gdbtui
.ERROR_TARGET='gdbtui'
.ERROR_META_FILE='/common/S4/obj/usr/src/gnu/usr.bin/gdb/gdbtui/gdbtui.meta'
.MAKE.LEVEL='6'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
.CURDIR='/usr/src/gnu/usr.bin/gdb/gdbtui'
.MAKE='/usr/obj/usr/src/make.amd64/bmake'
.OBJDIR='/usr/obj/usr/src/gnu/usr.bin/gdb/gdbtui'
.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='20160604'
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 /usr/src/share/mk/bsd.suffixes.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/gnu/usr.bin/gdb/gdbtui/Makefile /usr/src/share/mk/bsd.prog.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk /usr/src/gnu/usr.bin/gdb/gdbtui/../Makefile.inc /usr/src/gnu/usr.bin/gdb/arch/amd64/Makefile /usr/src/gnu/usr.bin/gdb/gdbtui/../../Makefile.inc /usr/src/gnu/usr.bin/gdb/gdbtui/../../../Makefile.inc /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.man.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/gnu/usr.bin/gdb/gdbtui /usr/src/contrib/gdb/gdb /usr/src/contrib/gdb/gdb/cli /usr/src/contrib/gdb/gdb/mi /usr/src/contrib/gdb/gdb/signals /usr/src/contrib/gdb/gdb/tui /usr/src/gnu/usr.bin/gdb/arch/amd64'
1 error

bmake[6]: stopped in /usr/src/gnu/usr.bin/gdb/gdbtui
.ERROR_TARGET='gdbtui'
....


Laptop:
...
===> usr.bin/mkcsmapper_static (obj,build-tools)
--- build-tools_share/syscons/scrnmaps ---
--- obj ---
...
--- obj_crunchdir_rcp ---
--- obj_crunchdir_sync ---
--- obj ---
--- obj_crunchdir_csh ---
--- obj_crunchdir_badsect ---
--- build-tools_usr.bin/mkcsmapper_static ---
--- lex.o ---
/usr/src/usr.bin/mkcsmapper/lex.l:56:25: error: use of undeclared identifier 'R_LN'
{ linenumber++; return (R_LN); }
                        ^
/usr/src/usr.bin/mkcsmapper/lex.l:70:3: error: use of undeclared identifier 'yylval'
                yylval.i_value = strtoul(yytext, NULL, 0);
                ^
/usr/src/usr.bin/mkcsmapper/lex.l:71:11: error: use of undeclared identifier 'L_IMM'
                return (L_IMM);
                        ^
/usr/src/usr.bin/mkcsmapper/lex.l:74:11: error: use of undeclared identifier 'R_TYPE'
{ return (R_TYPE); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:75:11: error: use of undeclared identifier 'R_NAME'
{ return (R_NAME); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:76:11: error: use of undeclared identifier 'R_SRC_ZONE'
{ return (R_SRC_ZONE); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:77:11: error: use of undeclared identifier 'R_DST_INVALID'
{ return (R_DST_INVALID); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:78:11: error: use of undeclared identifier 'R_DST_ILSEQ'
{ return (R_DST_ILSEQ); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:79:11: error: use of undeclared identifier 'R_DST_UNIT_BITS'
{ return (R_DST_UNIT_BITS); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:80:11: error: use of undeclared identifier 'R_BEGIN_MAP'
{ return (R_BEGIN_MAP); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:81:11: error: use of undeclared identifier 'R_END_MAP'
{ return (R_END_MAP); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:82:11: error: use of undeclared identifier 'R_INVALID'
{ return (R_INVALID); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:83:11: error: use of undeclared identifier 'R_ILSEQ'
{ return (R_ILSEQ); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:84:11: error: use of undeclared identifier 'R_OOB_MODE'
{ return (R_OOB_MODE); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:85:11: error: use of undeclared identifier 'R_ROWCOL'
{ return (R_ROWCOL); }
          ^
/usr/src/usr.bin/mkcsmapper/lex.l:91:3: error: use of undeclared identifier 'yylval'
                yylval.s_value = malloc(len - 1);
                ^
/usr/src/usr.bin/mkcsmapper/lex.l:92:11: error: use of undeclared identifier 'yylval'
                strlcpy(yylval.s_value, yytext + 1, len - 1);
                        ^
/usr/src/usr.bin/mkcsmapper/lex.l:93:11: error: use of undeclared identifier 'L_STRING'
                return (L_STRING);
                        ^
/usr/src/usr.bin/mkcsmapper/lex.l:96:3: error: use of undeclared identifier 'yylval'
                yylval.s_value = strdup(yytext);
                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Building /common/S4/obj/usr/src/usr.bin/mkcsmapper_static/yacc.o
--- build-tools_rescue/rescue ---
...
--- build-tools_usr.bin/mkcsmapper_static ---
*** [lex.o] Error code 1

bmake[3]: stopped in /usr/src/usr.bin/mkcsmapper_static
.ERROR_TARGET='lex.o'
.ERROR_META_FILE='/common/S4/obj/usr/src/usr.bin/mkcsmapper_static/lex.o.meta'
.MAKE.LEVEL='3'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
.CURDIR='/usr/src/usr.bin/mkcsmapper_static'
.MAKE='/usr/obj/usr/src/make.amd64/bmake'
.OBJDIR='/usr/obj/usr/src/usr.bin/mkcsmapper_static'
.TARGETS='build-tools'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20160604'
PATH='/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/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 /usr/src/share/mk/bsd.suffixes.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/usr.bin/mkcsmapper_static/Makefile /usr/src/usr.bin/mkcsmapper/Makefile.inc /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/tools/build/mk/bsd.prog.mk /usr/src/share/mk/bsd.prog.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk /usr/src/usr.bin/mkcsmapper_static/../Makefile.inc /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.man.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 /usr/src/tools/build/mk/Makefile.boot'
.PATH='. /usr/src/usr.bin/mkcsmapper_static /usr/src/lib/libc/iconv /usr/src/usr.bin/mkcsmapper'
--- build-tools_rescue/rescue ---
--- obj_crunchdir_badsect ---
cd /usr/src/rescue/rescue/../../sbin/badsect &&  MK_AUTO_OBJ=no MK_TESTS=no  UPDATE_DEPENDFILE=no  _RECURSING_CRUNCH=1 MAKEOBJDIRPREFIX=/usr/obj/usr/src/rescue/rescue /usr/obj/usr/src/make.amd64/bmake  DIRPRFX=rescue/rescue/badsect/ -DRESCUE CRUNCH_CFLAGS=-DRESCUE MK_AUTO_OBJ=no obj
--- obj_crunchdir_test ---
....


I have placed suitably-named copies of the typescripts (as well as
compressed copies of same) up at
<http://www.catwhisker.org/~david/FreeBSD/head/build_race_r315298/>.

Additional information about the machines and environments (including,
e.g., verbose dmesg.boot) is available at
<http://www.catwhisker.org/~david/FreeBSD/history/>.

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Claims that lack evidence are not a basis for rational decision-making.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Wed Mar 15 2017 - 16:04:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC