+ 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/runit-2.1.2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/runit-2.1.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for runit-2.1.2 cd /home/pbulk/build/sysutils/runit/work/admin/runit-2.1.2 && /bin/env USETOOLS=no CC=cc CFLAGS=-pipe\ -O2 CPPFLAGS= CXX=c++ CXXFLAGS=-pipe\ -O2 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/sysutils/runit/work/.cwrapper/bin:/home/pbulk/build/sysutils/runit/work/.buildlink/bin:/home/pbulk/build/sysutils/runit/work/.gcc/bin:/home/pbulk/build/sysutils/runit/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/home/pbulk/build/sysutils/runit/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/runit/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/bin/install BSD_INSTALL_PROGRAM_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/sysutils/runit/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/sysutils/runit/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/sysutils/runit/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/sysutils/runit/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/sysutils/runit/work/.buildlink/lib64/pkgconfig:/home/pbulk/build/sysutils/runit/work/.buildlink/lib/pkgconfig:/home/pbulk/build/sysutils/runit/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/sysutils/runit/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/runit/work/.cwrapper/config package/compile Linking ./src/* into ./compile... Compiling everything in ./compile... + cd compile + exec make sh find-systype.sh > systype rm -f compile sh print-cc.sh > compile chmod 555 compile rm -f choose cat warn-auto.sh choose.sh > choose chmod 555 choose ./choose c trydrent direntry.h1 direntry.h2 > direntry.h rm -f load sh print-ld.sh > load chmod 555 load ./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h ./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h ./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h ./compile chkshsgr.c chkshsgr.c: In function 'main': chkshsgr.c:10:19: warning: passing argument 2 of 'getgroups' from incompatible pointer type [-Wincompatible-pointer-types] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^ In file included from /usr/include/features.h:438, from /usr/include/unistd.h:25, from chkshsgr.c:3: /usr/include/bits/unistd.h:211:1: note: expected '__gid_t *' {aka 'unsigned int *'} but argument is of type 'short int *' __NTH (getgroups (int __size, __gid_t __list[])) ^~~~~ chkshsgr.c:10:32: warning: implicit declaration of function 'setgroups'; did you mean 'getgroups'? [-Wimplicit-function-declaration] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^~~~~~~~~ getgroups ./load chkshsgr ./chkshsgr || ( cat warn-shsgr; exit 1 ) ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h ./choose c trysysel select.h1 select.h2 > select.h ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h ./choose c tryreboot reboot_system.h1 reboot_system.h2 > reboot_system.h ( ./compile tryuwtmpx.c 2>/dev/null && cat uw_tmp.h2 >uw_tmp.h ) || ( ./compile tryuwtmp.c 2>/dev/null && cat uw_tmp.h1 >uw_tmp.h ) rm -f tryuwtmp.o tryuwtmpx.o ./compile trysocketlib.c ( ./load trysocketlib >/dev/null 2>&1 || ( ./load trysocketlib -lxnet >/dev/null 2>&1 && echo '-lxnet' ) || ( ./load trysocketlib -lsocket -lnsl >/dev/null 2>&1 && echo '-lsocket -lnsl' ) ) >socket.lib rm -f trysocketlib.o trysocketlib rm -f sysdeps cat systype compile load socket.lib >>sysdeps grep sysdep direntry.h >>sysdeps grep sysdep haswaitp.h >>sysdeps grep sysdep hassgact.h >>sysdeps grep sysdep hassgprm.h >>sysdeps grep sysdep select.h >>sysdeps grep sysdep uint64.h >>sysdeps grep sysdep iopause.h >>sysdeps grep sysdep hasmkffo.h >>sysdeps grep sysdep hasflock.h >>sysdeps grep sysdep hasshsgr.h >>sysdeps grep sysdep reboot_system.h >>sysdeps grep sysdep uw_tmp.h >>sysdeps cat sysdeps linux-4.18.0-553.8.1.el8_10.x86_64-:-:-:genuineintel-000406f1-9f8bfbff-:- #!/bin/sh # WARNING: This file was auto-generated. Do not edit! exec cc -pipe -O2 -c ${1+"$@"} #!/bin/sh # WARNING: This file was auto-generated. Do not edit! main="$1"; shift exec cc -s -Wl,-zrelro -Wl,-R/usr/pkg/lib -o "$main" "$main".o ${1+"$@"} /* sysdep: +dirent */ /* sysdep: +waitpid */ /* sysdep: +sigaction */ /* sysdep: +sigprocmask */ /* sysdep: +sysselect */ /* sysdep: +ulong64 */ /* sysdep: +poll */ /* sysdep: +mkfifo */ /* sysdep: +flock */ /* sysdep: -shortsetgroups */ /* sysdep: +std reboot */ /* sysdep: -utmpx */ ./compile chpst.c chpst.c: In function 'suidgid': chpst.c:80:7: warning: implicit declaration of function 'setgroups'; did you mean 'getgroups'? [-Wimplicit-function-declaration] if (setgroups(ugid.gids, ugid.gid) == -1) fatal("unable to setgroups"); ^~~~~~~~~ getgroups ./compile uidgid.c ./compile alloc.c ./compile alloc_re.c ./compile buffer.c ./compile buffer_0.c ./compile buffer_1.c ./compile buffer_2.c ./compile buffer_get.c ./compile buffer_put.c ./compile buffer_read.c ./compile buffer_write.c ./compile coe.c ./compile env.c ./compile error.c ./compile error_str.c ./compile fd_copy.c ./compile fd_move.c ./compile fifo.c ./compile lock_ex.c ./compile lock_exnb.c rm -f makelib sh print-ar.sh > makelib chmod 555 makelib ./compile ndelay_off.c ./compile ndelay_on.c ./compile open_append.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./compile openreadclose.c ./compile pathexec_env.c ./compile pathexec_run.c pathexec_run.c: In function 'pathexec_run': pathexec_run.c:18:5: warning: implicit declaration of function 'execve' [-Wimplicit-function-declaration] execve(file,argv,envp); ^~~~~~ ./compile prot.c prot.c: In function 'prot_gid': prot.c:13:7: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] if (setgroups(1,&gid) == -1) return -1; ^~~~~~~~~ prot.c:15:10: warning: implicit declaration of function 'setgid'; did you mean 'prot_gid'? [-Wimplicit-function-declaration] return setgid(gid); /* _should_ be redundant, but on some systems it isn't */ ^~~~~~ prot_gid prot.c: In function 'prot_uid': prot.c:20:10: warning: implicit declaration of function 'setuid'; did you mean 'prot_uid'? [-Wimplicit-function-declaration] return setuid(uid); ^~~~~~ prot_uid ./compile readclose.c ./compile seek_set.c seek_set.c: In function 'seek_set': seek_set.c:9:7: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } ^~~~~ ./compile sgetopt.c ./compile sig.c ./compile sig_block.c ./compile sig_catch.c ./compile sig_pause.c ./compile stralloc_cat.c ./compile stralloc_catb.c ./compile stralloc_cats.c ./compile stralloc_eady.c ./compile stralloc_opyb.c ./compile stralloc_opys.c ./compile stralloc_pend.c ./compile strerr_die.c ./compile strerr_sys.c ./compile subgetopt.c ./compile wait_nohang.c ./compile wait_pid.c ./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o coe.o env.o error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o lock_exnb.o ndelay_off.o ndelay_on.o open_append.o open_read.o open_trunc.o open_write.o openreadclose.o pathexec_env.o pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o wait_pid.o ./compile byte_chr.c ./compile byte_copy.c ./compile byte_cr.c ./compile byte_diff.c ./compile byte_rchr.c ./compile fmt_uint.c ./compile fmt_uint0.c ./compile fmt_ulong.c ./compile scan_ulong.c ./compile str_chr.c ./compile str_diff.c ./compile str_len.c ./compile str_start.c ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o str_diff.o str_len.o str_start.o ./load chpst uidgid.o unix.a byte.a ./compile runit.c runit.c: In function 'sig_cont_handler': runit.c:36:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(selfpipe[1], "", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~ runit.c: In function 'sig_int_handler': runit.c:40:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(selfpipe[1], "", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~ runit.c: In function 'sig_child_handler': runit.c:42:33: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] void sig_child_handler (void) { write(selfpipe[1], "", 1); } ^~~~~~~~~~~~~~~~~~~~~~~~~ runit.c: In function 'main': runit.c:204:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(selfpipe[1], "", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./load runit unix.a byte.a -static /bin/ld: cannot find -lc collect2: error: ld returned 1 exit status *** Error code 1 Stop. make: stopped making "default" in /home/pbulk/build/sysutils/runit/work/admin/runit-2.1.2/compile *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/runit *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/runit