+ 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/imv-4.4.0nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/imv-4.4.0nb6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for imv-4.4.0nb6
ninja: Entering directory `output'
[1/44] Compiling C object imv-msg.p/src_binds.c.o
[2/44] Compiling C object imv-msg.p/src_bitmap.c.o
[3/44] Compiling C object imv-msg.p/src_canvas.c.o
[4/44] Compiling C object imv-msg.p/src_commands.c.o
[5/44] Compiling C object imv-msg.p/src_console.c.o
[6/44] Compiling C object imv-msg.p/src_image.c.o
[7/44] Compiling C object imv-msg.p/src_imv.c.o
../src/imv.c: In function 'read_from_stdin':
../src/imv.c:2037:5: warning: pointer 'p' may be used after 'realloc' [-Wuse-after-free]
 2037 |     free(p);
      |     ^~~~~~~
../src/imv.c:2024:35: note: call to 'realloc' here
 2024 |   for (*buffer = NULL; (*buffer = realloc((p = *buffer), len + step));
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8/44] Compiling C object imv-msg.p/src_ipc.c.o
[9/44] Compiling C object imv-msg.p/src_ipc_common.c.o
[10/44] Compiling C object imv-msg.p/src_keyboard.c.o
[11/44] Compiling C object imv-msg.p/src_list.c.o
[12/44] Compiling C object imv-msg.p/src_log.c.o
[13/44] Compiling C object imv-msg.p/src_navigator.c.o
FAILED: imv-msg.p/src_navigator.c.o 
gcc -Iimv-msg.p -I. -I.. -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/cairo -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/fribidi -I/opt/pkg/include/libdrm -I/opt/pkg/include/librsvg-2.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 '-DIMV_VERSION="4.4.0"' -D_XOPEN_SOURCE=700 -DRSVG_DISABLE_DEPRECATION_WARNINGS -DIMV_USE_ICU -DIMV_BACKEND_FREEIMAGE -DIMV_BACKEND_LIBTIFF -DIMV_BACKEND_LIBPNG -DIMV_BACKEND_LIBRSVG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -MD -MQ imv-msg.p/src_navigator.c.o -MF imv-msg.p/src_navigator.c.o.d -o imv-msg.p/src_navigator.c.o -c ../src/navigator.c
../src/navigator.c: In function 'imv_navigator_add':
../src/navigator.c:81:22: warning: implicit declaration of function 'scandir' [-Wimplicit-function-declaration]
   81 |     int total_dirs = scandir(path, &dir_list, 0, alphasort);
      |                      ^~~~~~~
../src/navigator.c:81:50: error: 'alphasort' undeclared (first use in this function)
   81 |     int total_dirs = scandir(path, &dir_list, 0, alphasort);
      |                                                  ^~~~~~~~~
../src/navigator.c:81:50: note: each undeclared identifier is reported only once for each function it appears in
../src/navigator.c: In function 'imv_navigator_poll_changed':
../src/navigator.c:313:45: error: '_timestruc_t' {aka 'struct _timespec'} has no member named 'tv_sec'; did you mean '__tv_sec'?
  313 |     time_t file_changed = file_info.st_mtim.tv_sec;
      |                                             ^~~~~~
      |                                             __tv_sec
ninja: build stopped: subcommand failed.
*** Error code 1

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

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