+ 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/fastd-22/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fastd-22/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for fastd-22
cd /home/pbulk/build/net/fastd/work/fastd-22 && cd . && /usr/bin/env USETOOLS=no CMAKE=false CC=gcc CFLAGS=-pipe\ -fno-aggressive-loop-optimizations\ -pipe\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/opt/pkg/include/sodium CPPFLAGS=-I/opt/pkg/include\ -I/opt/pkg/include/sodium CXX=g++ CXXFLAGS=-pipe\ -fno-aggressive-loop-optimizations\ -pipe\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/opt/pkg/include/sodium 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/pkg/lib\ -Wl,-R/opt/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/net/fastd/work/.cwrapper/bin:/home/pbulk/build/net/fastd/work/.buildlink/bin:/home/pbulk/build/net/fastd/work/.gcc/bin:/home/pbulk/build/net/fastd/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg/fastd CXXCPP=cpp HOME=/home/pbulk/build/net/fastd/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/net/fastd/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/net/fastd/work/.tools/bin/makeinfo FLEX= BISON=/home/pbulk/build/net/fastd/work/.tools/bin/bison ITSTOOL=/home/pbulk/build/net/fastd/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/net/fastd/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/net/fastd/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/net/fastd/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/net/fastd/work/.buildlink/lib/pkgconfig:/home/pbulk/build/net/fastd/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/net/fastd/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/net/fastd/work/.cwrapper/config ninja -j 1 -C output
ninja: Entering directory `output'
[1/61] Generating src/config.yy.[ch] with a custom command
[2/61] Generating src/version.h with a custom command
[3/61] Compiling C object src/liblibfastd.a.p/meson-generated_.._config.yy.c.o
FAILED: src/liblibfastd.a.p/meson-generated_.._config.yy.c.o 
gcc -Isrc/liblibfastd.a.p -Isrc -I../src -I/opt/pkg/include/libuecc-7 -I/opt/pkg/include -I/opt/pkg/include/json-c -I/opt/pkg/include/sodium -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O0 -D_GNU_SOURCE -Wno-format-truncation -Wno-stringop-truncation -pipe -fno-aggressive-loop-optimizations -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/liblibfastd.a.p/meson-generated_.._config.yy.c.o -MF src/liblibfastd.a.p/meson-generated_.._config.yy.c.o.d -o src/liblibfastd.a.p/meson-generated_.._config.yy.c.o -c src/config.yy.c
In file included from ../src/types.h:16,
                 from ../src/log.h:16,
                 from ../src/buffer.h:16,
                 from ../src/fastd.h:20,
                 from ../src/config.y:15,
                 from src/config.yy.c:102:
../src/compat.h: In function 'get_current_dir_name':
../src/compat.h:64:2: error: #error unknown system, get_current_dir_name() not implemented
   64 | #error unknown system, get_current_dir_name() not implemented
      |  ^~~~~
../src/compat.h:67:1: warning: no return statement in function returning non-void [-Wreturn-type]
   67 | }
      | ^
In file included from ../src/shell.h:16,
                 from ../src/fastd.h:24,
                 from ../src/config.y:15,
                 from src/config.yy.c:102:
../src/alloc.h: In function 'fastd_alloc_aligned':
../src/alloc.h:61:12: warning: implicit declaration of function 'posix_memalign' [-Wimplicit-function-declaration]
   61 |  int err = posix_memalign(&ret, align, size);
      |            ^~~~~~~~~~~~~~
../src/alloc.h: In function 'fastd_strdup':
../src/alloc.h:134:14: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
  134 |  char *ret = strdup(s);
      |              ^~~~~~
      |              strcmp
../src/alloc.h:134:14: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
../src/alloc.h: In function 'fastd_strndup':
../src/alloc.h:146:14: warning: implicit declaration of function 'strndup'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
  146 |  char *ret = strndup(s, n);
      |              ^~~~~~~
      |              strncmp
../src/alloc.h:146:14: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
In file included from ../src/config.y:15,
                 from src/config.yy.c:102:
../src/fastd.h: In function 'fastd_rand':
../src/fastd.h:462:33: warning: implicit declaration of function 'random'; did you mean 'rand_r'? [-Wimplicit-function-declaration]
  462 |  unsigned int r = (unsigned int)random();
      |                                 ^~~~~~
      |                                 rand_r
../src/fastd.h: In function 'fastd_string_stack_dupn':
../src/fastd.h:525:19: warning: implicit declaration of function 'strnlen'; did you mean 'strlen'? [-Wimplicit-function-declaration]
  525 |  size_t str_len = strnlen(str, len);
      |                   ^~~~~~~
      |                   strlen
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/fastd
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/fastd