+ 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/heirloom-date-070715/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/heirloom-date-070715/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for heirloom-date-070715
set -e; cd /home/pbulk/build/time/heirloom-date/work/heirloom-070715;  test -f makefile.hl || mv makefile makefile.hl;  /bin/env USETOOLS=no CC=cc CFLAGS=-pipe\ -O2\ -D_GNU_SOURCE\ -D_FILE_OFFSET_BITS=64L\ -I/usr/pkg/include/heirloom CPPFLAGS=-I/usr/pkg/include/heirloom CXX=c++ CXXFLAGS=-pipe\ -O2\ -D_GNU_SOURCE\ -D_FILE_OFFSET_BITS=64L\ -I/usr/pkg/include/heirloom 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\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/time/heirloom-date/work/.cwrapper/bin:/home/pbulk/build/time/heirloom-date/work/.buildlink/bin:/home/pbulk/build/time/heirloom-date/work/.gcc/bin:/home/pbulk/build/time/heirloom-date/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/time/heirloom-date/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/time/heirloom-date/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/time/heirloom-date/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/time/heirloom-date/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/time/heirloom-date/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/time/heirloom-date/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/time/heirloom-date/work/.buildlink/lib64/pkgconfig:/home/pbulk/build/time/heirloom-date/work/.buildlink/lib/pkgconfig:/home/pbulk/build/time/heirloom-date/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/time/heirloom-date/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/time/heirloom-date/work/.cwrapper/config /usr/pkg/bin/bmake SUBDIRS="build date" UCBINST=/bin/install ROOT=/home/pbulk/build/time/heirloom-date/work/.destdir DEFBIN=/usr/pkg/heirloom/bin SV3BIN=/usr/pkg/heirloom/bin S42BIN=/usr/pkg/heirloom/bin/s42 SUSBIN=/usr/pkg/heirloom/bin/posix SU3BIN=/usr/pkg/heirloom/bin/posix2001 UCBBIN=/usr/pkg/heirloom/ucb CCSBIN=/usr/pkg/heirloom/bin/ccs DEFLIB=/usr/pkg/heirloom/lib DEFSBIN=/usr/pkg/heirloom/sbin MANDIR=/usr/pkg/heirloom/man DFLDIR=/usr/pkg/heirloom/etc/default SPELLHIST=/usr/pkg/heirloom/var/adm/spellhist SULOG=/usr/pkg/heirloom/var/log/sulog MANINST=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 LCURS= LIBZ=-lz USE_ZLIB= LIBBZ2=-lbz2 USE_BZLIB= LD=cc LDFLAGS=\ \ \ -Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib CPPFLAGS=\ \ \ -I/usr/pkg/include/heirloom CFLAGS=\ -pipe\ -O2\ -D_GNU_SOURCE\ -D_FILE_OFFSET_BITS=64L\ \ -I/usr/pkg/include/heirloom CFLAGSS=\ -pipe\ -O2\ -D_GNU_SOURCE\ -D_FILE_OFFSET_BITS=64L\ \ -I/usr/pkg/include/heirloom CFLAGS2=\ -pipe\ -O2\ -D_GNU_SOURCE\ -D_FILE_OFFSET_BITS=64L\ \ -I/usr/pkg/include/heirloom CFLAGS=\ -pipe\ -O2\ -D_GNU_SOURCE\ -D_FILE_OFFSET_BITS=64L\ \ -I/usr/pkg/include/heirloom STRIP=true LCRYPT= UCBINST=/bin/install ICOMMON= LCOMMON=\ -lheirloomcommon IUXRE= NO_INSTALL_INTRO=1 -f makefile.hl makefiles
cat build/mk.head build/mk.config Makefile.mk build/mk.tail >Makefile
cat build/mk.head build/mk.config build/Makefile.mk build/mk.tail >build/Makefile
cat build/mk.head build/mk.config date/Makefile.mk build/mk.tail >date/Makefile
--- all ---
for i in build date ; do	 (cd "$i" && /usr/pkg/bin/bmake all) || exit ;  done
--- maninst ---
--- crossln ---
--- maninst ---
<maninst.sh >maninst sed ' s,@DEFLIB@,/usr/pkg/heirloom/lib,g; s,@SPELLHIST@,/usr/pkg/heirloom/var/adm/spellhist,g; s,@MAGIC@,/usr/pkg/heirloom/lib/magic,g; s,@DFLDIR@,/usr/pkg/heirloom/etc/default,g; s,@DEFBIN@,/usr/pkg/heirloom/bin,g; s,@SV3BIN@,/usr/pkg/heirloom/bin,g; s,@S42BIN@,/usr/pkg/heirloom/bin/s42,g; s,@SUSBIN@,/usr/pkg/heirloom/bin/posix,g; s,@SU3BIN@,/usr/pkg/heirloom/bin/posix2001,g; s,@UCBBIN@,/usr/pkg/heirloom/ucb,g; s,@CCSBIN@,/usr/pkg/heirloom/bin/ccs,g'
chmod 755 maninst
--- crossln ---
<crossln.sh >crossln sed 's,@LNS@,ln -s,g'
--- genintro ---
--- crossln ---
chmod 755 crossln
--- genintro ---
cat genintro.sh >genintro
chmod 755 genintro
--- date_sus.o ---
--- date.o ---
--- date_sus.o ---
cc -pipe -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L  -I/usr/pkg/include/heirloom -I/usr/pkg/include/heirloom    -DSUS -c date.c -o date_sus.o
--- date.o ---
cc -pipe -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L  -I/usr/pkg/include/heirloom -I/usr/pkg/include/heirloom    -c date.c
date.c: In function 'settime':
date.c:166:22: warning: passing argument 1 of 'gettimeofday' from incompatible pointer type [-Wincompatible-pointer-types]
  166 |         gettimeofday(&before.ut_tv, NULL);
      |                      ^~~~~~~~~~~~~
      |                      |
      |                      struct <anonymous> *
In file included from /usr/include/utmpx.h:22,
                 from date.c:49:
/usr/include/sys/time.h:67:53: note: expected 'struct timeval * restrict' but argument is of type 'struct <anonymous> *'
   67 | extern int gettimeofday (struct timeval *__restrict __tv,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
date.c:167:13: warning: implicit declaration of function 'stime'; did you mean 'ctime'? [-Wimplicit-function-declaration]
  167 |         if (stime(&newtime) < 0) {
      |             ^~~~~
      |             ctime
date.c:171:22: warning: passing argument 1 of 'gettimeofday' from incompatible pointer type [-Wincompatible-pointer-types]
  171 |         gettimeofday(&after.ut_tv, NULL);
      |                      ^~~~~~~~~~~~
      |                      |
      |                      struct <anonymous> *
In file included from /usr/include/utmpx.h:22,
                 from date.c:49:
/usr/include/sys/time.h:67:53: note: expected 'struct timeval * restrict' but argument is of type 'struct <anonymous> *'
   67 | extern int gettimeofday (struct timeval *__restrict __tv,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
date.c:173:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  173 |         system("/sbin/hwclock -w >/dev/null 2>&1");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- date_sus.o ---
date.c: In function 'settime':
date.c:166:22: warning: passing argument 1 of 'gettimeofday' from incompatible pointer type [-Wincompatible-pointer-types]
  166 |         gettimeofday(&before.ut_tv, NULL);
      |                      ^~~~~~~~~~~~~
      |                      |
      |                      struct <anonymous> *
In file included from /usr/include/utmpx.h:22,
                 from date.c:49:
/usr/include/sys/time.h:67:53: note: expected 'struct timeval * restrict' but argument is of type 'struct <anonymous> *'
   67 | extern int gettimeofday (struct timeval *__restrict __tv,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
date.c:167:13: warning: implicit declaration of function 'stime'; did you mean 'ctime'? [-Wimplicit-function-declaration]
  167 |         if (stime(&newtime) < 0) {
      |             ^~~~~
      |             ctime
date.c:171:22: warning: passing argument 1 of 'gettimeofday' from incompatible pointer type [-Wincompatible-pointer-types]
  171 |         gettimeofday(&after.ut_tv, NULL);
      |                      ^~~~~~~~~~~~
      |                      |
      |                      struct <anonymous> *
In file included from /usr/include/utmpx.h:22,
                 from date.c:49:
/usr/include/sys/time.h:67:53: note: expected 'struct timeval * restrict' but argument is of type 'struct <anonymous> *'
   67 | extern int gettimeofday (struct timeval *__restrict __tv,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
date.c:173:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  173 |         system("/sbin/hwclock -w >/dev/null 2>&1");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- date ---
cc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib date.o -lheirloomcommon   -o date
--- date_sus ---
cc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib date_sus.o -lheirloomcommon   -o date_sus
--- date ---
/bin/ld: date.o: in function `settime':
date.c:(.text+0x55b): undefined reference to `stime'
collect2: error: ld returned 1 exit status
*** [date] Error code 1

bmake[1]: stopped making "all" in /home/pbulk/build/time/heirloom-date/work/heirloom-070715/date
--- date_sus ---
/bin/ld: date_sus.o: in function `settime':
date.c:(.text+0x54b): undefined reference to `stime'
collect2: error: ld returned 1 exit status
*** [date_sus] Error code 1

bmake[1]: stopped making "all" in /home/pbulk/build/time/heirloom-date/work/heirloom-070715/date
bmake[1]: 2 errors

bmake[1]: stopped making "all" in /home/pbulk/build/time/heirloom-date/work/heirloom-070715/date
*** [all] Error code 2

bmake: stopped making "all" in /home/pbulk/build/time/heirloom-date/work/heirloom-070715
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/time/heirloom-date/work/heirloom-070715
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/time/heirloom-date
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/time/heirloom-date