+ 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/hercules-3.13nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hercules-3.13nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for hercules-3.13nb3 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' Making all in decNumber gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/decNumber' CC decContext.lo CC decimal128.lo CC decimal32.lo CC decimal64.lo CC decNumber.lo CC decPacked.lo CCLD libdecNumber.la gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/decNumber' Making all in softfloat gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/softfloat' CC softfloat.lo CCLD libsoftfloat.la gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/softfloat' Making all in m4 gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/m4' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/m4' Making all in util gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/util' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/util' Making all in html gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/html' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/html' Making all in man gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/man' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/man' Making all in . gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' CC hsys.lo CCLD libhercs.la CC version.lo CC hscutl.lo In function 'get_symbol_token', inlined from 'set_symbol' at hscutl.c:337:9: hscutl.c:327:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 327 | strncpy(tok->var,sym,MIN(MAX_SYMBOL_SIZE+1,strlen(sym)+1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hercules.h:88, from hscutl.c:19: hscutl.c: In function 'set_symbol': hscutl.c:327:48: note: length computed here 327 | strncpy(tok->var,sym,MIN(MAX_SYMBOL_SIZE+1,strlen(sym)+1)); | ^~~~~~~~~~~ hmacros.h:735:35: note: in definition of macro 'MIN' 735 | #define MIN(_x,_y) ( ( ( _x ) < ( _y ) ) ? ( _x ) : ( _y ) ) | ^~ CC hscutl2.lo CC codepage.lo codepage.c: In function 'set_iconv_cp': codepage.c:1011:28: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1011 | if(iconv(codepage_g2h, (char**)&ibytes, &nibytes, &obytes, &nobytes) == (size_t)(-1) ) | ^~~~~~~~~~~~~~~ | | | char ** In file included from hstdinc.h:171, from codepage.c:4: /home/pbulk/build/emulators/hercules/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ codepage.c:1022:28: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1022 | if(iconv(codepage_h2g, (char**)&ibytes, &nibytes, &obytes, &nobytes) == (size_t)(-1) ) | ^~~~~~~~~~~~~~~ | | | char ** In file included from hstdinc.h:171, from codepage.c:4: /home/pbulk/build/emulators/hercules/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ codepage.c: In function 'host_to_guest': codepage.c:1081:29: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1081 | iconv(codepage_h2g, (char**)&hbyte, &inbytes, &gbyte, &outbytes); | ^~~~~~~~~~~~~~ | | | char ** In file included from hstdinc.h:171, from codepage.c:4: /home/pbulk/build/emulators/hercules/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ codepage.c: In function 'guest_to_host': codepage.c:1100:29: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1100 | iconv(codepage_g2h, (char**)&gbyte, &inbytes, &hbyte, &outbytes); | ^~~~~~~~~~~~~~ | | | char ** In file included from hstdinc.h:171, from codepage.c:4: /home/pbulk/build/emulators/hercules/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ CC logger.lo In file included from hercules.h:87, from logger.c:19: logger.c: In function 'logger_init': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)(void *)' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ logger.c:524:9: note: in expansion of macro 'create_thread' 524 | if (create_thread (&logger_tid, JOINABLE, | ^~~~~~~~~~~~~ CC logmsg.lo CC hdl.lo CC hostinfo.lo hostinfo.c: In function 'display_hostinfo': hostinfo.c:103:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 103 | if (!f) f = stdout; if (f != stdout) | ^~ hostinfo.c:103:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 103 | if (!f) f = stdout; if (f != stdout) | ^~ CC hsocket.lo CC memrchr.lo CC parser.lo CC pttrace.lo In file included from hthreads.h:118, from hercules.h:87, from pttrace.c:13: pttrace.c: In function 'ptt_pthread_create': pttrace.c:401:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 401 | PTTRACE ("create", (void *)*tid, NULL, loc, result); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ pttrace.c: In function 'ptt_pthread_join': pttrace.c:409:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 409 | PTTRACE ("join before", (void *)tid, value ? *value : NULL, loc, PTT_MAGIC); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ pttrace.c:411:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 411 | PTTRACE ("join after", (void *)tid, value ? *value : NULL, loc, result); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ pttrace.c: In function 'ptt_pthread_detach': pttrace.c:419:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 419 | PTTRACE ("dtch before", (void *)tid, NULL, loc, PTT_MAGIC); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ pttrace.c:421:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 421 | PTTRACE ("dtch after", (void *)tid, NULL, loc, result); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ pttrace.c: In function 'ptt_pthread_kill': pttrace.c:427:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 427 | PTTRACE ("kill", (void *)tid, (void *)(long)sig, loc, PTT_MAGIC); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ CCLD libhercu.la CC sllib.lo CC hetlib.lo CCLD libherct.la ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercs.so: linked to ./.libs/libhercs.so: attempted multiple inclusion of file CC ckddasd.lo ckddasd.c: In function 'ckddasd_execute_ccw': ckddasd.c:3787:67: warning: '?:' using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] 3785 | if (!(((dev->ckdloper & CKDOPER_CODE) == CKDOPER_WRITE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3786 | && dev->ckdlcount == | ~~~~~~~~~~~~~~~~~~~~ 3787 | (dev->ckdlaux & CKDLAUX_RDCNTSUF) ? 2 : 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ckddasd.c:3999:67: warning: '?:' using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] 3997 | if (!(((dev->ckdloper & CKDOPER_CODE) == CKDOPER_WRITE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3998 | && dev->ckdlcount == | ~~~~~~~~~~~~~~~~~~~~ 3999 | (dev->ckdlaux & CKDLAUX_RDCNTSUF) ? 2 : 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ckddasd.c: In function 'ckd_build_sense': ckddasd.c:1463:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 1463 | if (dev->devid[6] == 0x01) | ^ ckddasd.c:1467:9: note: here 1467 | case 0x3340: case 0x3350: shift = 5; | ^~~~ ckddasd.c:1467:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 1467 | case 0x3340: case 0x3350: shift = 5; | ~~~~~~^~~ ckddasd.c:1468:9: note: here 1468 | case 0x3375: shift = 6; | ^~~~ ckddasd.c:1468:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 1468 | case 0x3375: shift = 6; | ~~~~~~^~~ ckddasd.c:1469:9: note: here 1469 | default: shift = 4; | ^~~~~~~ CC fbadasd.lo CC cckddasd.lo In file included from hercules.h:87, from cckddasd.c:13: cckddasd.c: In function 'cckd_readahead': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)()' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:1454:13: note: in expansion of macro 'create_thread' 1454 | create_thread (&tid, JOINABLE, cckd_ra, NULL, "cckd_ra"); | ^~~~~~~~~~~~~ cckddasd.c: In function 'cckd_ra': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)()' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:1542:17: note: in expansion of macro 'create_thread' 1542 | create_thread (&tid, JOINABLE, cckd_ra, dev, "cckd_ra"); | ^~~~~~~~~~~~~ cckddasd.c: In function 'cckd_flush_cache': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)(void *)' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:1590:13: note: in expansion of macro 'create_thread' 1590 | create_thread (&tid, JOINABLE, cckd_writer, NULL, "cckd_writer"); | ^~~~~~~~~~~~~ cckddasd.c: In function 'cckd_writer': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)(void *)' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:1744:17: note: in expansion of macro 'create_thread' 1744 | create_thread (&tid, JOINABLE, cckd_writer, NULL, "cckd_writer"); | ^~~~~~~~~~~~~ hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)()' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:1809:13: note: in expansion of macro 'create_thread' 1809 | create_thread (&tid, JOINABLE, cckd_gcol, NULL, "cckd_gcol"); | ^~~~~~~~~~~~~ cckddasd.c: In function 'cckd_command': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)()' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:5617:17: note: in expansion of macro 'create_thread' 5617 | create_thread (&tid, JOINABLE, cckd_gcol, NULL, "cckd_gcol"); | ^~~~~~~~~~~~~ cckddasd.c: In function 'cckd_print_itrace': cckddasd.c:5648:18: warning: comparison between pointer and zero character constant [-Wpointer-compare] 5648 | if (p[0] != '\0') | ^~ cckddasd.c:5648:13: note: did you mean to dereference the pointer? 5648 | if (p[0] != '\0') | ^ CC cckdutil.lo CC dasdtab.lo CC cache.lo CC dasdutil.lo CC shared.lo shared.c: In function 'shared_cmd': shared.c:2963:22: warning: comparison between pointer and zero character constant [-Wpointer-compare] 2963 | if (i[0] != '\0') logmsg ("%s",(char *)i); | ^~ shared.c:2963:17: note: did you mean to dereference the pointer? 2963 | if (i[0] != '\0') logmsg ("%s",(char *)i); | ^ CCLD libhercd.la ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercs.so: linked to ./.libs/libhercs.so: attempted multiple inclusion of file CC hconsole.lo CC w32util.lo CC strsignal.lo CC impl.lo In file included from hercules.h:87, from impl.c:17: impl.c: In function 'impl': hthreads.h:157:37: warning: cast between incompatible function types from 'int (*)(DEVBLK *, int, char **)' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ impl.c:605:22: note: in expansion of macro 'create_thread' 605 | if ( create_thread (&tid, DETACHED, | ^~~~~~~~~~~~~ CC config.lo CC bldcfg.lo bldcfg.c: In function 'parse_args': bldcfg.c:127:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 127 | while (*p && isspace(*p)) p++; if (!*p) break; // find start of arg | ^~~~~ bldcfg.c:127:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 127 | while (*p && isspace(*p)) p++; if (!*p) break; // find start of arg | ^~ bldcfg.c:133:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while (*p && !isspace(*p) && *p != '\"' && *p != '\'') p++; if (!*p) break; // find end of arg | ^~~~~ bldcfg.c:133:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 133 | while (*p && !isspace(*p) && *p != '\"' && *p != '\'') p++; if (!*p) break; // find end of arg | ^~ CC panel.lo CC history.lo CC fillfnam.lo fillfnam.c: In function 'tab_pressed': fillfnam.c:108:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 108 | strncpy(path, part2, strlen(part2)-strlen(filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillfnam.c:108:26: note: length computed here 108 | strncpy(path, part2, strlen(part2)-strlen(filename)); | ^~~~~~~~~~~~~ CC ipl.lo CC assist.lo In file included from inline.h:734, from assist.c:29, from assist.c:623: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC dat.lo CC stack.lo In file included from inline.h:734, from stack.c:42, from stack.c:1432: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC cpu.lo In file included from cpu.c:1880: cpu.c: In function 'z900_run_cpu': cpu.c:1643:21: warning: cast between incompatible function types from 'U64 (*)(int, U64, REGS *)' {aka 'long unsigned int (*)(int, long unsigned int, REGS *)'} to 'int (*)()' [-Wcast-function-type] 1643 | regs.trace_br = (func)&ARCH_DEP(trace_br); | ^ In file included from inline.h:734, from cpu.c:42, from cpu.c:1880: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ mv: cannot rename .deps/cpu.Tpo to .deps/cpu.Plo: Disc quota exceeded gmake[2]: *** [Makefile:1755: cpu.lo] Error 2 gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' gmake[1]: *** [Makefile:1776: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' gmake: *** [Makefile:1309: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/hercules *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/hercules