+ 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/sane-airscan-0.99.21nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sane-airscan-0.99.21nb6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for sane-airscan-0.99.21nb6
cd /home/pbulk/build/graphics/sane-airscan/work/sane-airscan-0.99.21 && cd . && /usr/bin/env CMAKE=false USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr 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/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/usr/include CPPFLAGS=-I/opt/pkg/include\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/usr/include 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/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/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/pkg/lib\ -Wl,-R/opt/pkg/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64 LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/graphics/sane-airscan/work/.cwrapper/bin:/home/pbulk/build/graphics/sane-airscan/work/.buildlink/bin:/home/pbulk/build/graphics/sane-airscan/work/.gcc/bin:/home/pbulk/build/graphics/sane-airscan/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 HOME=/home/pbulk/build/graphics/sane-airscan/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/graphics/sane-airscan/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/graphics/sane-airscan/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/graphics/sane-airscan/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/graphics/sane-airscan/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/graphics/sane-airscan/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/graphics/sane-airscan/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/graphics/sane-airscan/work/.buildlink/lib/pkgconfig:/home/pbulk/build/graphics/sane-airscan/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/graphics/sane-airscan/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/graphics/sane-airscan/work/.cwrapper/config ninja -j 1 -C output
ninja: Entering directory `output'
[1/71] Compiling C object libsane-airscan.so.1.p/airscan-array.c.o
[2/71] Compiling C object libsane-airscan.so.1.p/airscan-bmp.c.o
../airscan-bmp.c: In function 'image_decoder_bmp_begin':
../airscan-bmp.c:85:26: warning: implicit declaration of function 'le16toh' [-Wimplicit-function-declaration]
   85 |     file_header.bfType = le16toh(file_header.bfType);
      |                          ^~~~~~~
../airscan-bmp.c:86:26: warning: implicit declaration of function 'le32toh' [-Wimplicit-function-declaration]
   86 |     file_header.bfSize = le32toh(file_header.bfSize);
      |                          ^~~~~~~
[3/71] Compiling C object libsane-airscan.so.1.p/airscan-conf.c.o
[4/71] Compiling C object libsane-airscan.so.1.p/airscan-devcaps.c.o
[5/71] Compiling C object libsane-airscan.so.1.p/airscan-device.c.o
../airscan-device.c: In function 'device_scanner_capabilities_callback':
../airscan-device.c:650:41: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  650 |                 char     *new_uri_str = alloca(l + 1);
      |                                         ^~~~~~
../airscan-device.c:650:41: warning: incompatible implicit declaration of built-in function 'alloca'
[6/71] Compiling C object libsane-airscan.so.1.p/airscan-devid.c.o
[7/71] Compiling C object libsane-airscan.so.1.p/airscan-devops.c.o
[8/71] Compiling C object libsane-airscan.so.1.p/airscan-eloop.c.o
[9/71] Compiling C object libsane-airscan.so.1.p/airscan-escl.c.o
[10/71] Compiling C object libsane-airscan.so.1.p/airscan-filter.c.o
[11/71] Compiling C object libsane-airscan.so.1.p/airscan-http.c.o
../airscan-http.c: In function 'http_uri_field_replace_len':
../airscan-http.c:221:21: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  221 |     char     *buf = alloca(strlen(uri->str) + len + 4);
      |                     ^~~~~~
../airscan-http.c:221:21: warning: incompatible implicit declaration of built-in function 'alloca'
../airscan-http.c: In function 'http_uri_parse_check_host':
../airscan-http.c:360:12: warning: incompatible implicit declaration of built-in function 'alloca'
  360 |     host = alloca(field.len + 1);
      |            ^~~~~~
../airscan-http.c: In function 'http_uri_parse':
../airscan-http.c:407:13: warning: incompatible implicit declaration of built-in function 'alloca'
  407 |         s = alloca(prefix_len + strlen(str) + 1);
      |             ^~~~~~
../airscan-http.c: In function 'http_uri_parse_addr':
../airscan-http.c:495:16: warning: incompatible implicit declaration of built-in function 'alloca'
  495 |         host = alloca(field.len + 1);
      |                ^~~~~~
../airscan-http.c:503:16: warning: incompatible implicit declaration of built-in function 'alloca'
  503 |         port = alloca(field.len + 1);
      |                ^~~~~~
../airscan-http.c: In function 'http_uri_new_relative':
../airscan-http.c:759:27: warning: incompatible implicit declaration of built-in function 'alloca'
  759 |     char           *buf = alloca(strlen(base->str) + strlen(path) + 1);
      |                           ^~~~~~
../airscan-http.c: In function 'http_uri_fix_ipv6_zone':
../airscan-http.c:954:12: warning: incompatible implicit declaration of built-in function 'alloca'
  954 |     host = alloca(field.len + 64);
      |            ^~~~~~
../airscan-http.c: In function 'http_uri_strip_zone_suffux':
../airscan-http.c:992:12: warning: incompatible implicit declaration of built-in function 'alloca'
  992 |     host = alloca(len + 1);
      |            ^~~~~~
../airscan-http.c: In function 'http_uri_fix_end_slash':
../airscan-http.c:1007:23: warning: incompatible implicit declaration of built-in function 'alloca'
 1007 |         char *path2 = alloca(len + 2);
      |                       ^~~~~~
../airscan-http.c: In function 'http_multipart_parse':
../airscan-http.c:1598:13: warning: incompatible implicit declaration of built-in function 'alloca'
 1598 |         s = alloca(boundary_len + 1);
      |             ^~~~~~
../airscan-http.c: In function 'http_query_set_host':
../airscan-http.c:2139:11: warning: incompatible implicit declaration of built-in function 'alloca'
 2139 |     buf = alloca(len + 1);
      |           ^~~~~~
../airscan-http.c: In function 'http_query_redirect':
../airscan-http.c:2372:29: warning: incompatible implicit declaration of built-in function 'alloca'
 2372 |         char *old_uri_str = alloca(strlen(uri->str) + 1);
      |                             ^~~~~~
../airscan-http.c: In function 'http_query_start_processing':
../airscan-http.c:2848:12: warning: incompatible implicit declaration of built-in function 'alloca'
 2848 |     host = alloca(field.len + 1);
      |            ^~~~~~
[12/71] Compiling C object libsane-airscan.so.1.p/airscan-id.c.o
[13/71] Compiling C object libsane-airscan.so.1.p/airscan-inifile.c.o
[14/71] Compiling C object libsane-airscan.so.1.p/airscan-init.c.o
[15/71] Compiling C object libsane-airscan.so.1.p/airscan-ip.c.o
../airscan-ip.c: In function 'ip_addrset_friendly_str':
../airscan-ip.c:348:22: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  348 |     ip_addr *addrs = alloca(sizeof(ip_addr) * len);
      |                      ^~~~~~
../airscan-ip.c:348:22: warning: incompatible implicit declaration of built-in function 'alloca'
[16/71] Compiling C object libsane-airscan.so.1.p/airscan-jpeg.c.o
[17/71] Compiling C object libsane-airscan.so.1.p/airscan-log.c.o
[18/71] Compiling C object libsane-airscan.so.1.p/airscan-math.c.o
[19/71] Compiling C object libsane-airscan.so.1.p/airscan-mdns.c.o
[20/71] Compiling C object libsane-airscan.so.1.p/airscan-memstr.c.o
[21/71] Compiling C object libsane-airscan.so.1.p/airscan-netif.c.o
../airscan-netif.c:426:1: warning: 'netif_refresh_ifaddrs' defined but not used [-Wunused-function]
  426 | netif_refresh_ifaddrs (void)
      | ^~~~~~~~~~~~~~~~~~~~~
[22/71] Compiling C object libsane-airscan.so.1.p/airscan-os.c.o
FAILED: libsane-airscan.so.1.p/airscan-os.c.o 
gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/libxml2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -pipe -fno-aggressive-loop-optimizations -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-os.c.o -MF libsane-airscan.so.1.p/airscan-os.c.o.d -o libsane-airscan.so.1.p/airscan-os.c.o -c ../airscan-os.c
../airscan-os.c: In function 'os_homedir_init':
../airscan-os.c:48:5: error: too many arguments to function 'getpwuid_r'
   48 |     getpwuid_r(getuid(), &pwd, buf, sizeof(buf), &result);
      |     ^~~~~~~~~~
In file included from ../airscan-os.c:14:
/usr/include/pwd.h:166:23: note: declared here
  166 | extern struct passwd *getpwuid_r(uid_t, struct passwd *, char *, int);
      |                       ^~~~~~~~~~
../airscan-os.c: In function 'os_progname_init':
../airscan-os.c:107:5: error: #error FIX ME
  107 | #   error FIX ME
      |     ^~~~~
../airscan-os.c: In function 'os_mkdir':
../airscan-os.c:129:17: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  129 |     char   *p = alloca(len + 1), *s;
      |                 ^~~~~~
../airscan-os.c:129:17: warning: incompatible implicit declaration of built-in function 'alloca'
ninja: build stopped: subcommand failed.
*** Error code 1

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/sane-airscan