+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/daemontools-0.76nb5/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/daemontools-0.76nb5/work.log
===> Building for daemontools-0.76nb5
cd /home/pbulk/build/sysutils/daemontools/work/admin/daemontools-0.76 && /usr/bin/env PKGSRC_SHELL=/usr/bin/bash USETOOLS=no CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/local/include\ -I/usr/include CPPFLAGS=-I/opt/local/include\ -I/usr/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/local/include\ -I/usr/include 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=-L/opt/local/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -Wl,-R/opt/local/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/sysutils/daemontools/work/.cwrapper/bin:/home/pbulk/build/sysutils/daemontools/work/.buildlink/bin:/home/pbulk/build/sysutils/daemontools/work/.gcc/bin:/home/pbulk/build/sysutils/daemontools/work/.tools/bin:/opt/local/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/local/bin:/opt/local/bin PREFIX=/opt/local 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=/opt/local/etc CXXCPP=cpp HOME=/home/pbulk/build/sysutils/daemontools/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/daemontools/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/local X11BASE=/opt/local PKGMANDIR=man PKGINFODIR=info PKGGNUDIR= MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/local/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/sysutils/daemontools/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/sysutils/daemontools/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/sysutils/daemontools/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/sysutils/daemontools/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/sysutils/daemontools/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/sysutils/daemontools/work/.buildlink/lib/pkgconfig:/home/pbulk/build/sysutils/daemontools/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/sysutils/daemontools/work/.pkg-config.log PKG_CONFIG_PATH= DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/daemontools/work/.cwrapper/config package/compile 
Linking ./src/* into ./compile...
Compiling everything in ./compile...
sh find-systype.sh > systype
rm -f compile
sh print-cc.sh > compile
chmod 555 compile
./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
rm -f makelib
sh print-ar.sh > makelib
chmod 555 makelib
./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
rm -f choose
cat warn-auto.sh choose.sh  | sed s}HOME}"`head -1 home`"}g  > choose
chmod 555 choose
./choose c trydrent direntry.h1 direntry.h2 > direntry.h
./compile envdir.c
rm -f load
sh print-ld.sh > load
chmod 555 load
./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
./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h
./compile fifo.c
./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h
./compile lock_ex.c
./compile lock_exnb.c
./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
./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]
   10 |   if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
      |                   ^
      |                   |
      |                   short int *
In file included from chkshsgr.c:3:
/usr/include/unistd.h:339:27: note: expected 'gid_t *' {aka 'unsigned int *'} but argument is of type 'short int *'
  339 | extern int getgroups(int, gid_t *);
      |                           ^~~~~~~
chkshsgr.c:10:44: warning: passing argument 2 of 'setgroups' from incompatible pointer type [-Wincompatible-pointer-types]
   10 |   if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
      |                                            ^
      |                                            |
      |                                            short int *
/usr/include/unistd.h:501:27: note: expected 'const gid_t *' {aka 'const unsigned int *'} but argument is of type 'short int *'
  501 | extern int setgroups(int, const gid_t *);
      |                           ^~~~~~~~~~~~~
./load chkshsgr
./chkshsgr || ( cat warn-shsgr; exit 1 )
./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h
./compile prot.c
./compile readclose.c
./compile seek_set.c
./compile sgetopt.c
./compile sig.c
./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h
./compile sig_block.c
./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h
./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
./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h
./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
./load envdir unix.a byte.a
./compile envuidgid.c
./load envuidgid unix.a byte.a
./compile fghack.c
./load fghack unix.a byte.a
./compile match.c
./compile matchtest.c
./load matchtest match.o unix.a byte.a
./choose clr trypoll iopause.h1 iopause.h2 > iopause.h
./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h
./compile deepsleep.c
./compile multilog.c
multilog.c: In function 'startprocessor':
multilog.c:200:20: warning: passing argument 2 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types]
  200 |   execve("/bin/sh",args,environ);
      |                    ^~~~
      |                    |
      |                    const char **
In file included from multilog.c:1:
/usr/include/unistd.h:285:33: note: expected 'char * const*' but argument is of type 'const char **'
  285 | extern int execve(const char *, char *const *, char *const *);
      |                                 ^~~~~~~~~~~~~
./choose c trysysel select.h1 select.h2 > select.h
./compile iopause.c
./compile tai_now.c
./compile tai_pack.c
./compile tai_sub.c
./compile tai_unpack.c
./compile taia_add.c
./compile taia_approx.c
./compile taia_frac.c
./compile taia_less.c
./compile taia_now.c
./compile taia_pack.c
./compile taia_sub.c
./compile taia_uint.c
./makelib time.a iopause.o tai_now.o tai_pack.o tai_sub.o  tai_unpack.o taia_add.o taia_approx.o taia_frac.o taia_less.o  taia_now.o taia_pack.o taia_sub.o taia_uint.o
./compile timestamp.c
./load multilog deepsleep.o timestamp.o match.o time.a unix.a byte.a
Undefined			first referenced
 symbol  			    in file
sigsetmask                          unix.a(sig_block.o)
sigblock                            unix.a(sig_block.o)
ld: fatal: symbol referencing errors. No output written to multilog
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
make: stopped making "default" in /home/pbulk/build/sysutils/daemontools/work/admin/daemontools-0.76/compile
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/daemontools
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/daemontools