+ 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/feh-3.8/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/feh-3.8/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for feh-3.8
gmake[1]: Entering directory '/home/pbulk/build/graphics/feh/work/feh-3.8/src'
sed 's/^\(.*\)$/"\1\\n"/' < help.raw > help.inc
gcc -DHAVE_STRING_H=1 -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -Wextra -pedantic -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DHAVE_LIBCURL -DHAVE_MKSTEMPS -DHAVE_LIBXINERAMA -DPREFIX=\"/opt/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"3.8\" -Wall -Wextra -pedantic -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DHAVE_LIBCURL -DHAVE_MKSTEMPS -DHAVE_LIBXINERAMA -DPREFIX=\"/opt/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"3.8\" -MM events.c feh_png.c filelist.c getopt.c getopt1.c gib_hash.c gib_imlib.c gib_list.c gib_style.c imlib.c index.c keyevents.c list.c main.c md5.c menu.c multiwindow.c options.c signals.c slideshow.c thumbnail.c timers.c utils.c wallpaper.c winwidget.c strverscmp.c > deps.mk
gcc -DHAVE_STRING_H=1 -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -Wextra -pedantic -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DHAVE_LIBCURL -DHAVE_MKSTEMPS -DHAVE_LIBXINERAMA -DPREFIX=\"/opt/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"3.8\" -Wall -Wextra -pedantic -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DHAVE_LIBCURL -DHAVE_MKSTEMPS -DHAVE_LIBXINERAMA -DPREFIX=\"/opt/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"3.8\" -I/opt/pkg/include -I/opt/pkg/include/freetype2  -c -o events.o events.c
gcc -DHAVE_STRING_H=1 -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -Wextra -pedantic -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DHAVE_LIBCURL -DHAVE_MKSTEMPS -DHAVE_LIBXINERAMA -DPREFIX=\"/opt/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"3.8\" -Wall -Wextra -pedantic -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DHAVE_LIBCURL -DHAVE_MKSTEMPS -DHAVE_LIBXINERAMA -DPREFIX=\"/opt/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"3.8\" -I/opt/pkg/include -I/opt/pkg/include/freetype2  -c -o feh_png.o feh_png.c
gcc -DHAVE_STRING_H=1 -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -Wall -Wextra -pedantic -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DHAVE_LIBCURL -DHAVE_MKSTEMPS -DHAVE_LIBXINERAMA -DPREFIX=\"/opt/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"3.8\" -Wall -Wextra -pedantic -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DHAVE_LIBCURL -DHAVE_MKSTEMPS -DHAVE_LIBXINERAMA -DPREFIX=\"/opt/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"3.8\" -I/opt/pkg/include -I/opt/pkg/include/freetype2  -c -o filelist.o filelist.c
filelist.c: In function 'add_file_to_filelist_recursively':
filelist.c:254:7: warning: implicit declaration of function 'scandir' [-Wimplicit-function-declaration]
  254 |   n = scandir(path, &de, file_selector_all, alphasort);
      |       ^~~~~~~
filelist.c:254:45: error: 'alphasort' undeclared (first use in this function)
  254 |   n = scandir(path, &de, file_selector_all, alphasort);
      |                                             ^~~~~~~~~
filelist.c:254:45: note: each undeclared identifier is reported only once for each function it appears in
gmake[1]: *** [<builtin>: filelist.o] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/graphics/feh/work/feh-3.8/src'
gmake: *** [Makefile:6: build-src] Error 2
*** Error code 2

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

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