+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cxref-1.6d/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cxref-1.6d/work.log ===> Building for cxref-1.6d cd cpp && /opt/pkg/bin/gmake programs gmake[1]: Entering directory '/home/pbulk/build/devel/cxref/work/cxref-1.6d/cpp' gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include cccp.c -o cccp.o -I. -I. -DIN_GCC \ '-DCXREF_CPP_DEFINES="/opt/pkg/share/cxref/cxref-cpp.defines"' gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include cexp.c -o cexp.o -I. -I. -DIN_GCC gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include prefix.c -o prefix.o -I. -I. -DIN_GCC -DPREFIX=\"/\" gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include version.c -o version.o -I. -I. -DIN_GCC ./cxref-cpp-configure gcc -o cxref-cpp.defines cccp.c: In function 'main': cccp.c:1319:3: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 1319 | bzero ((char *) pend_files, argc * sizeof (char *)); | ^~~~~ cccp.c:1319:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] cccp.c:1959:7: error: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 1959 | bcopy ((char *) include_defaults_array, | ^~~~~ cccp.c:1959:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] cccp.c:2082:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 2082 | bcopy (spec, output_file, s - spec); | ^~~~~ cccp.c:2114:20: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 2114 | p = (char *) alloca (strlen(q) + 8); | ^~~~~~ cccp.c:2114:20: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] cccp.c:2122:14: error: implicit declaration of function 'index' [-Wimplicit-function-declaration] 2122 | && index("cCsSm", p[len - 1])) | ^~~~~ cccp.c:2122:14: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] cccp.c: In function 'index0': cccp.c:2356:15: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 2356 | char *q = index (p, c); | ^~~~~ cccp.c: In function 'trigraph_pcp': cccp.c:2430:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 2430 | bcopy ((char *) fptr, (char *) bptr, len); | ^~~~~ prefix.c: In function 'save_string': prefix.c:187:3: error: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 187 | bcopy (s, result, len); | ^~~~~ prefix.c:187:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] prefix.c: In function 'translate_name': prefix.c:261:18: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 261 | key = (char *) alloca (keylen + 1); | ^~~~~~ prefix.c:261:18: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] cccp.c:2438:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 2438 | bcopy ((char *) fptr, (char *) bptr, len); | ^~~~~ cccp.c: In function 'get_lintcmd': cccp.c:2545:27: error: implicit declaration of function 'bcmp' [-Wimplicit-function-declaration] 2545 | if ((linsize >= 10) && !bcmp (ibp, "NOTREACHED", 10)) { | ^~~~ cccp.c:2545:52: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2545 | if ((linsize >= 10) && !bcmp (ibp, "NOTREACHED", 10)) { | ^~ : note: built-in 'bcmp' declared here cccp.c:2549:49: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2549 | if ((linsize >= 8) && !bcmp (ibp, "ARGSUSED", 8)) { | ^ : note: built-in 'bcmp' declared here cccp.c:2553:53: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2553 | if ((linsize >= 11) && !bcmp (ibp, "LINTLIBRARY", 11)) { | ^~ : note: built-in 'bcmp' declared here cccp.c:2557:48: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2557 | if ((linsize >= 7) && !bcmp (ibp, "VARARGS", 7)) { | ^ : note: built-in 'bcmp' declared here cccp.c: In function 'rescan': cccp.c:2736:11: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 2736 | bcopy ((char *) ibp, (char *) obp, ip->bufp - ibp); | ^~~~~ cccp.c:3009:19: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 3009 | bcopy ((char *) before_bp, (char *) obp, ibp - before_bp); | ^~~~~ cccp.c:3062:11: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 3062 | bcopy ("#pragma lint ", (char *) obp, 13); | ^~~~~ cccp.c:3143:11: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 3143 | bcopy ((char *) before_bp, (char *) obp, ibp - before_bp); | ^~~~~ cccp.c: In function 'expand_to_temp_buffer': cccp.c:3697:21: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 3697 | buf1 = (U_CHAR *) alloca (length + 1); | ^~~~~~ cccp.c: In function 'handle_directive': cccp.c:3877:63: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 3877 | if (kt->length == ident_length && !bcmp (kt->name, ident, ident_length)) { | ^~~~~~~~~~~~ : note: built-in 'bcmp' declared here cccp.c:4031:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 4031 | bcopy (kt->name, op->bufp, kt->length); | ^~~~~ cccp.c:4051:25: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 4051 | cp = (U_CHAR *) alloca (bp - buf + 5); /* room for directive plus | ^~~~~~ cccp.c:4171:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 4171 | bcopy (kt->name, (char *) op->bufp, kt->length); | ^~~~~ cccp.c: In function 'special_symbol': cccp.c:4269:26: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 4269 | buf = (char *) alloca (3 + 4 * string_len); | ^~~~~~ cccp.c:4284:20: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 4284 | buf = (char *) alloca (8); /* Eight bytes ought to be more than enough */ | ^~~~~~ cccp.c:4403:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 4403 | bcopy (buf, (char *) op->bufp, len); | ^~~~~ cccp.c: In function 'do_include': cccp.c:4482:26: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 4482 | fbeg = fend = (char *) alloca (limit - fin); | ^~~~~~ cccp.c: In function 'base_name': cccp.c:4897:12: error: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 4897 | if ((p = rindex (s, '/'))) s = p + 1; | ^~~~~~ cccp.c:4897:12: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] cccp.c:4899:12: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] 4899 | if ((p = rindex (s, DIR_SEPARATOR))) s = p + 1; | ^~~~~~ cccp.c: In function 'read_name_map': cccp.c:5098:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 5098 | name = (char *) alloca (dirlen + strlen (FILE_NAME_MAP_FILE) + 1); | ^~~~~~ cccp.c: In function 'remap_include_file': cccp.c:5277:28: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 5277 | char *dir = (char *) alloca (from - filename + 1); | ^~~~~~ cccp.c:5278:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 5278 | bcopy (filename, dir, from - filename); | ^~~~~ cccp.c: In function 'finclude': gmake[1]: *** [Makefile:106: prefix.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... cccp.c:5337:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 5337 | bzero ((char *) fp, sizeof (FILE_BUF)); | ^~~~~ cccp.c: In function 'check_preconditions': cccp.c:5519:15: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 5519 | lineend = index (prec, '\n'); | ^~~~~ cccp.c: In function 'pass_thru_directive': cccp.c:5764:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 5764 | bcopy (keyword->name, (char *) op->bufp, keyword_length); | ^~~~~ cccp.c: In function 'create_definition': cccp.c:5842:33: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 5842 | temp = (struct arglist *) alloca (sizeof (struct arglist)); | ^~~~~~ cccp.c:5916:53: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 5916 | && bcmp (temp->name, otemp->name, temp->length) == 0) | ~~~~^~~~~~~~ : note: built-in 'bcmp' declared here cccp.c:5946:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 5946 | bcopy (temp->name, &defn->args.argnames[i], temp->length); | ^~~~~ cccp.c: In function 'check_macro_name': cccp.c:6094:63: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6094 | || (sym_length == 7 && ! bcmp (symname, "defined", 7))) | ^ : note: built-in 'bcmp' declared here cccp.c: In function 'compare_defs': cccp.c:6120:58: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6120 | if (!((a1->nchars == a2->nchars && ! bcmp (p1, p2, a1->nchars)) | ~~^~~~~~~~ : note: built-in 'bcmp' declared here cccp.c: In function 'collect_expansion': cccp.c:6413:43: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6413 | && bcmp (arg->name, id_beg, id_len) == 0) { | ^~~~~~ : note: built-in 'bcmp' declared here cccp.c: In function 'do_assert': cccp.c:6567:58: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6567 | if (sym_length == 7 && ! bcmp (symname, "defined", 7)) | ^ : note: built-in 'bcmp' declared here cccp.c: In function 'compare_token_lists': cccp.c:6731:37: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6731 | if (bcmp (l1->name, l2->name, l1->length)) | ~~^~~~~~~~ : note: built-in 'bcmp' declared here cccp.c: In function 'read_token_list': cccp.c:6783:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 6783 | bcopy ((char *) beg, (char *) temp->name, bp - beg); | ^~~~~ cccp.c: In function 'assertion_lookup': cccp.c:6881:60: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6881 | if (bucket->length == len && bcmp (bucket->name, name, len) == 0) | ^~~ : note: built-in 'bcmp' declared here cccp.c: In function 'do_line': cccp.c:7033:41: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 7033 | bcmp (hp->value.cpval, fname, fname_length) == 0) { | ^~~~~~~~~~~~ : note: built-in 'bcmp' declared here cccp.c:7046:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7046 | bcopy (fname, hp->value.cpval, fname_length + 1); | ^~~~~ cccp.c: In function 'do_error': cccp.c:7110:29: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 7110 | U_CHAR *copy = (U_CHAR *) alloca (length + 1); | ^~~~~~ cccp.c:7111:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7111 | bcopy ((char *) buf, (char *) copy, length); | ^~~~~ cccp.c: In function 'do_warning': cccp.c:7129:29: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 7129 | U_CHAR *copy = (U_CHAR *) alloca (length + 1); | ^~~~~~ cccp.c:7130:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7130 | bcopy ((char *) buf, (char *) copy, length); | ^~~~~ cccp.c: In function 'do_ident': cccp.c:7179:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7179 | bcopy ("#ident ", (char *) op->bufp, 7); | ^~~~~ cccp.c: In function 'do_pragma': cccp.c:7217:25: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 7217 | if ((p = (U_CHAR *) index ((char *) fname, '\"'))) | ^~~~~ cccp.c: In function 'do_xifdef': cccp.c:7458:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7458 | bcopy ((char *) buf, (char *) control_macro, end - buf); | ^~~~~ cccp.c: In function 'skip_if_group': cccp.c:7533:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7533 | bcopy (ptr, (char *) op->bufp, len); | ^~~~~ cccp.c:7783:38: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 7783 | && bcmp (cp, kt->name, kt->length) == 0) { | ~~^~~~~~~~ : note: built-in 'bcmp' declared here cccp.c:7858:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7858 | bcopy ((char *) beg_of_group, (char *) op->bufp, | ^~~~~ cccp.c: In function 'output_line_directive': cccp.c:8387:33: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 8387 | line_directive_buf = (char *) alloca (4 * ip->nominal_fname_len + 100); | ^~~~~~ cccp.c:8412:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 8412 | bcopy ((char *) line_directive_buf, (char *) op->bufp, len); | ^~~~~ cccp.c: In function 'macroexpand': cccp.c:8478:31: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 8478 | args = (struct argdata *) alloca ((nargs + 1) * sizeof (struct argdata)); | ^~~~~~ cccp.c:8755:11: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 8755 | bcopy ((char *) p1, (char *) (xbuf + totlen), l1 - p1); | ^~~~~ cccp.c:8770:11: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 8770 | bcopy ((char *) arg->expanded, (char *) (xbuf + totlen), | ^~~~~ cccp.c: In function 'macarg': cccp.c:8892:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 8892 | bcopy ((char *) ip->bufp, (char *) buffer, bufsize); | ^~~~~ cccp.c: In function 'lookup': cccp.c:9938:60: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 9938 | if (bucket->length == len && bcmp (bucket->name, name, len) == 0) | ^~~ : note: built-in 'bcmp' declared here cccp.c: In function 'dump_arg_n': cccp.c:10159:20: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 10159 | p = (U_CHAR *) index ((char *) p, ' ') + 1; | ^~~~~ cccp.c: In function 'make_definition': cccp.c:10348:22: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 10348 | buf = (U_CHAR *) alloca (p - buf + 4); | ^~~~~~ cccp.c:10357:22: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 10357 | buf = (U_CHAR *) alloca (2 * strlen (str) + 1); | ^~~~~~ cccp.c: In function 'make_assertion': cccp.c:10450:20: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 10450 | buf = (U_CHAR *) alloca (strlen (str) + 2); /* Change to handle gcc 3.x "-Afoo=bar" - AMB */ | ^~~~~~ cccp.c: In function 'deps_output': cccp.c:10717:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 10717 | bcopy (" \\\n ", &deps_buffer[deps_size], 4); | ^~~~~ cccp.c: In function 'xcalloc': cccp.c:10840:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 10840 | bzero (ptr, total); | ^~~~~ gmake[1]: *** [Makefile:97: cccp.o] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/devel/cxref/work/cxref-1.6d/cpp' gmake: *** [Makefile:23: programs] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/cxref *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/cxref