+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hercules-3.13nb3/work.log + su pbulk -c '"$@"' make /usr/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 /bin/make all-recursive make[1]: Entering directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13' Making all in decNumber make[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 make[2]: Leaving directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/decNumber' Making all in softfloat make[2]: Entering directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/softfloat' CC softfloat.lo CCLD libsoftfloat.la make[2]: Leaving directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/softfloat' Making all in m4 make[2]: Entering directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/m4' Making all in util make[2]: Entering directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/util' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/util' Making all in html make[2]: Entering directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/html' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/html' Making all in man make[2]: Entering directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/man' Making all in . make[2]: Entering directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13' CC hsys.lo CC version.lo CC hscutl.lo CC hscutl2.lo CC codepage.lo CC logger.lo In file included from hercules.h:88:0, from logger.c:19: logger.c: In function 'logger_thread': hmacros.h:670:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.suid,sysblk.suid,sysblk.ruid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_ROOT' #define SETMODE(_func) _SETMODE_ ## _func ^ logger.c:229:5: note: in expansion of macro 'SETMODE' SETMODE(ROOT); ^ hmacros.h:675:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.ruid,sysblk.ruid,sysblk.suid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_USER' #define SETMODE(_func) _SETMODE_ ## _func ^ logger.c:235:5: note: in expansion of macro 'SETMODE' SETMODE(USER); ^ logger.c: In function 'logger_term': hmacros.h:38:38: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define write_pipe(f,b,n) write(f,b,n) ^ logger.c:176:9: note: in expansion of macro 'write_pipe' write_pipe( logger_syslogfd[LOG_WRITE], term_msg, term_msg_len ); ^ CC logmsg.lo CC hdl.lo In file included from hercules.h:88:0, from logmsg.c:9: logmsg.c: In function 'log_write': hmacros.h:38:38: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define write_pipe(f,b,n) write(f,b,n) ^ logmsg.c:255:9: note: in expansion of macro 'write_pipe' write_pipe( logger_syslogfd[LOG_WRITE], msg, strlen(msg) ); ^ hmacros.h:38:38: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define write_pipe(f,b,n) write(f,b,n) ^ logmsg.c:263:9: note: in expansion of macro 'write_pipe' write_pipe( logger_syslogfd[LOG_WRITE], msg, strlen(msg) ); ^ CC hostinfo.lo CC hsocket.lo CC memrchr.lo CC parser.lo CC pttrace.lo CC sllib.lo CC hetlib.lo CC ckddasd.lo CC fbadasd.lo CC cckddasd.lo CC cckdutil.lo cckdutil.c: In function 'cckd_comp': cckdutil.c:769:19: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd, off); ^ cckdutil.c: In function 'cckd_chkdsk': cckdutil.c:2466:19: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, &cdevhdr, CCKD_DEVHDR_SIZE); ^ CC dasdtab.lo CC cache.lo CC dasdutil.lo CC shared.lo CC hconsole.lo CC w32util.lo CC strsignal.lo CC impl.lo CC config.lo CC bldcfg.lo In file included from hercules.h:88:0, from bldcfg.c:41: bldcfg.c: In function 'build_config': hmacros.h:664:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.ruid,sysblk.ruid,sysblk.euid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_INIT' #define SETMODE(_func) _SETMODE_ ## _func ^ bldcfg.c:741:5: note: in expansion of macro 'SETMODE' SETMODE(INIT); ^ hmacros.h:665:14: warning: ignoring return value of 'setresgid', declared with attribute warn_unused_result [-Wunused-result] setresgid(sysblk.rgid,sysblk.rgid,sysblk.egid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_INIT' #define SETMODE(_func) _SETMODE_ ## _func ^ bldcfg.c:741:5: note: in expansion of macro 'SETMODE' SETMODE(INIT); ^ hmacros.h:670:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.suid,sysblk.suid,sysblk.ruid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_ROOT' #define SETMODE(_func) _SETMODE_ ## _func ^ bldcfg.c:1596:5: note: in expansion of macro 'SETMODE' SETMODE(ROOT); ^ hmacros.h:675:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.ruid,sysblk.ruid,sysblk.suid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_USER' #define SETMODE(_func) _SETMODE_ ## _func ^ bldcfg.c:1604:5: note: in expansion of macro 'SETMODE' SETMODE(USER); ^ CC panel.lo CC history.lo CC fillfnam.lo CC ipl.lo CC assist.lo CC dat.lo CC stack.lo CC cpu.lo CC vstore.lo In file included from hercules.h:88:0, from cpu.c:40: cpu.c: In function 'cpu_thread': hmacros.h:670:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.suid,sysblk.suid,sysblk.ruid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_ROOT' #define SETMODE(_func) _SETMODE_ ## _func ^ cpu.c:1220:5: note: in expansion of macro 'SETMODE' SETMODE(ROOT); ^ hmacros.h:675:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.ruid,sysblk.ruid,sysblk.suid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_USER' #define SETMODE(_func) _SETMODE_ ## _func ^ cpu.c:1228:5: note: in expansion of macro 'SETMODE' SETMODE(USER); ^ CC general1.lo CC general2.lo CC general3.lo CC pfpo.lo CC plo.lo CC control.lo CC crypto.lo CC io.lo CC decimal.lo CC service.lo CC scedasd.lo CC losc.lo CC chsc.lo CC opcode.lo CC diagnose.lo CC diagmssf.lo CC vm.lo CC vmd250.lo CC channel.lo In file included from hercules.h:88:0, from channel.c:25: channel.c: In function 'adjust_thread_priority': hmacros.h:670:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.suid,sysblk.suid,sysblk.ruid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_ROOT' #define SETMODE(_func) _SETMODE_ ## _func ^ channel.c:1303:5: note: in expansion of macro 'SETMODE' SETMODE(ROOT); ^ hmacros.h:675:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.ruid,sysblk.ruid,sysblk.suid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_USER' #define SETMODE(_func) _SETMODE_ ## _func ^ channel.c:1309:5: note: in expansion of macro 'SETMODE' SETMODE(USER); ^ CC external.lo CC float.lo CC trace.lo CC machchk.lo CC vector.lo CC xstore.lo CC cmpsc.lo CC sie.lo CC qdio.lo CC clock.lo CC timer.lo In file included from hercules.h:88:0, from timer.c:8: timer.c: In function 'timer_update_thread': hmacros.h:670:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.suid,sysblk.suid,sysblk.ruid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_ROOT' #define SETMODE(_func) _SETMODE_ ## _func ^ timer.c:174:5: note: in expansion of macro 'SETMODE' SETMODE(ROOT); ^ hmacros.h:675:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.ruid,sysblk.ruid,sysblk.suid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_USER' #define SETMODE(_func) _SETMODE_ ## _func ^ timer.c:182:5: note: in expansion of macro 'SETMODE' SETMODE(USER); ^ CC esame.lo CC ieee.lo CC dfp.lo CC httpserv.lo CC cgibin.lo CC loadparm.lo CC hsccmd.lo CC cmdtab.lo hsccmd.c: In function 'cd_cmd': hsccmd.c:2594:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(path); ^ hsccmd.c:2595:11: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd( cwd, sizeof(cwd) ); ^ hsccmd.c: In function 'pwd_cmd': hsccmd.c:2620:11: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd( cwd, sizeof(cwd) ); ^ CC hao.lo CC hscmisc.lo In file included from hercules.h:88:0, from hscmisc.c:15: hscmisc.c: In function 'herc_system': hmacros.h:680:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.ruid,sysblk.ruid,sysblk.ruid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_TERM' #define SETMODE(_func) _SETMODE_ ## _func ^ hscmisc.c:1468:9: note: in expansion of macro 'SETMODE' SETMODE(TERM); ^ hmacros.h:681:14: warning: ignoring return value of 'setresgid', declared with attribute warn_unused_result [-Wunused-result] setresgid(sysblk.rgid,sysblk.rgid,sysblk.rgid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_TERM' #define SETMODE(_func) _SETMODE_ ## _func ^ hscmisc.c:1468:9: note: in expansion of macro 'SETMODE' SETMODE(TERM); ^ CC sr.lo CC ecpsvm.lo CC dyngui.lo CC dyninst.lo CC hdteq.lo CC printer.lo In file included from hercules.h:88:0, from printer.c:11: printer.c: In function 'open_printer': hmacros.h:680:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.ruid,sysblk.ruid,sysblk.ruid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_TERM' #define SETMODE(_func) _SETMODE_ ## _func ^ printer.c:786:9: note: in expansion of macro 'SETMODE' SETMODE(TERM); ^ hmacros.h:681:14: warning: ignoring return value of 'setresgid', declared with attribute warn_unused_result [-Wunused-result] setresgid(sysblk.rgid,sysblk.rgid,sysblk.rgid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_TERM' #define SETMODE(_func) _SETMODE_ ## _func ^ printer.c:786:9: note: in expansion of macro 'SETMODE' SETMODE(TERM); ^ CC sockdev.lo CC commadpt.lo CC comm3705.lo In file included from hercules.h:88:0, from commadpt.c:126: commadpt.c: In function 'commadpt_wakeup': hmacros.h:38:38: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define write_pipe(f,b,n) write(f,b,n) ^ commadpt.c:1862:5: note: in expansion of macro 'write_pipe' write_pipe(ca->pipe[1],&code,1); ^ commadpt.c: In function 'commadpt_init_handler': hmacros.h:36:37: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] #define create_pipe(f) pipe(f) ^ commadpt.c:2434:9: note: in expansion of macro 'create_pipe' create_pipe(dev->commadpt->pipe); ^ commadpt.c: In function 'commadpt_thread': hmacros.h:37:37: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define read_pipe(f,b,n) read(f,b,n) ^ commadpt.c:1265:25: note: in expansion of macro 'read_pipe' read_pipe(ca->pipe[1],&b,1); ^ commadpt.c: In function 'commadpt_connout': commadpt.c:708:23: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] strerror_r(HSO_errno,wbfr,256); ^ commadpt.c: In function 'connect_message': commadpt.c:851:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sfd, msgtext, strlen(msgtext)); ^ commadpt.c:852:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sfd, "\r\n", 2); ^ commadpt.c:854:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sfd, telnet_binary, sizeof(telnet_binary)); ^ comm3705.c: In function 'connect_message': comm3705.c:1092:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sfd, msgtext, strlen(msgtext)); ^ comm3705.c:1093:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sfd, "\r\n", 2); ^ In file included from hercules.h:88:0, from comm3705.c:48: comm3705.c: In function 'commadpt_init_handler': hmacros.h:36:37: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] #define create_pipe(f) pipe(f) ^ comm3705.c:1528:9: note: in expansion of macro 'create_pipe' create_pipe(dev->commadpt->pipe); ^ CC ctc_lcs.lo CC ctc_ctci.lo CC ctcadpt.lo CC w32ctca.lo ctcadpt.c: In function 'start_vmnet': ctcadpt.c:1534:13: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup (sockfd[1]); ^ ctcadpt.c:1535:13: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup (sockfd[1]); ^ ctcadpt.c:1555:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(dev->fd, ipaddress, strlen(ipaddress)); ^ ctcadpt.c:1556:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(dev->fd, "\n", 1); ^ ctcadpt.c: In function 'VMNET_Write': ctcadpt.c:1661:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(dev->fd, buffer, len); /* should check error conditions? */ ^ CC tuntap.lo tuntap.c: In function 'TUNTAP_SetMode': tuntap.c:107:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (ifd[1], &ctlreq, CTLREQ_SIZE); ^ tuntap.c: In function 'IFC_IOCtl': tuntap.c:886:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( ifc_fd[0], &ctlreq, CTLREQ_SIZE ); ^ CC console.lo CC tapedev.lo CC tapeccws.lo CC awstape.lo CC faketape.lo CC hettape.lo CC omatape.lo hettape.c: In function 'write_het': hettape.c:255:26: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate( fileno(dev->hetb->fd),cursize); ^ CC scsitape.lo CC w32stape.lo In file included from hercules.h:88:0, from scsitape.c:19: scsitape.c: In function 'get_stape_status_thread': hmacros.h:670:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.suid,sysblk.suid,sysblk.ruid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_ROOT' #define SETMODE(_func) _SETMODE_ ## _func ^ scsitape.c:1639:5: note: in expansion of macro 'SETMODE' SETMODE( ROOT ); ^ hmacros.h:675:14: warning: ignoring return value of 'setresuid', declared with attribute warn_unused_result [-Wunused-result] setresuid(sysblk.ruid,sysblk.ruid,sysblk.suid); \ ^ hmacros.h:720:24: note: in expansion of macro '_SETMODE_USER' #define SETMODE(_func) _SETMODE_ ## _func ^ scsitape.c:1643:5: note: in expansion of macro 'SETMODE' SETMODE( USER ); ^ CC cardrdr.lo CC hchan.lo CC cardpch.lo CC qeth.lo CC con1052c.lo CC bootstrap.o CC hdlmain.o CC dasdinit.o CC dasdisup.o CC dasdload.o CC dasdconv.o CC dasdls.o CC dasdcat.o CC dasdpdsu.o CC dasdseq.o CC tapecopy.o tapecopy.c: In function 'read_scsi_tape': tapecopy.c:272:26: warning: 'gstat' may be used uninitialized in this function [-Wmaybe-uninitialized] if (GMT_EOD( gstat ) || ^ tapecopy.c:248:6: note: 'gstat' was declared here long gstat; ^ CC tapemap.o CC tapesplt.o CC cckdcdsk.o CC cckdcomp.o CC cckddiag.o CC cckdswap.o CC dasdcopy.o CC hetget.o CC hetinit.o CC hetmap.o CC hetupd.o CC dmap2hrc.o CC hercifc.o CC herclin.o hercifc.c: In function 'main': hercifc.c:199:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( STDERR_FILENO, szMsgBuffer, strlen( szMsgBuffer ) ); ^ hercifc.c:233:22: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( STDERR_FILENO, szMsgBuffer, strlen( szMsgBuffer ) ); ^ hercifc.c:238:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( STDOUT_FILENO, &ctlreq, CTLREQ_SIZE ); ^ CCLD libhercs.la CCLD libhercu.la CCLD libherct.la CCLD libhercd.la CCLD libherc.la CCLD dyngui.la CCLD dyninst.la CCLD hdteq.la CCLD hdt1403.la CCLD hdt2703.la CCLD hdt3705.la CCLD hdt3088.la CCLD hdt3270.la CCLD hdt3420.la CCLD hdt3505.la CCLD hdt2880.la CCLD hdt3525.la CCLD hdtqeth.la CCLD hdt1052c.la CCLD hercules CCLD dasdinit CCLD dasdisup CCLD dasdload CCLD dasdconv CCLD dasdls CCLD dasdcat CCLD dasdpdsu CCLD dasdseq CCLD tapecopy CCLD tapemap CCLD tapesplt CCLD cckdcdsk CCLD cckdcomp CCLD cckddiag CCLD cckdswap CCLD dasdcopy CCLD hetget CCLD hetinit CCLD hetmap CCLD hetupd CCLD dmap2hrc CCLD hercifc CCLD herclin make[2]: Leaving directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13' Making all in crypto make[2]: Entering directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/crypto' CC dyncrypt.lo CC sha1.lo CC sha256.lo CC des.lo CC aes.lo CCLD dyncrypt.la make[2]: Leaving directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13/crypto' make[1]: Leaving directory `/home/pbulk/build/emulators/hercules/work/hercules-3.13'