+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gmic-2.9.0nb15/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gmic-2.9.0nb15/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for gmic-2.9.0nb15
/opt/local/bin/gmake "CFLAGS+=-Dgmic_build -Dcimg_date=\\\"\\\" -Dcimg_time=\\\"\\\" -Dcimg_use_zlib -I/opt/local/include    -std=c++11 -pedantic -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Dcimg_use_abort -Dgmic_is_parallel  -Dcimg_use_fftw3 -I/opt/local/include  -Dcimg_use_curl -I/opt/local/include  -Dcimg_use_png -I/opt/local/include/libpng16 -I/opt/local/include  -Dcimg_use_jpeg -Dcimg_use_tiff -I/opt/local/include  -fopenmp -Dcimg_use_openmp -Dcimg_display=2 -Dcimg_use_opencv -I/opt/local/include/opencv -I/opt/local/include  -I/usr/include/opencv -Ofast -mtune=generic -flto" "LIBS+=-L/opt/local/lib -Wl,-R/opt/local/lib -lz   -L/opt/local/lib -lm -lpthread  -Wl,-R/opt/local/lib -L/opt/local/lib -lfftw3  -lfftw3_threads -Wl,-R/opt/local/lib -L/opt/local/lib -lcurl  -Wl,-R/opt/local/lib -L/opt/local/lib -lpng16  -ljpeg -Wl,-R/opt/local/lib -L/opt/local/lib -ltiff  -fopenmp -lgdi32 -L/opt/local/lib -lopencv_dnn -lopencv_highgui -lopencv_ml -lopencv_objdetect -lopencv_shape -lopencv_stitching -lopencv_superres -lopencv_videostab -lopencv_calib3d -lopencv_videoio -lopencv_imgcodecs -lopencv_features2d -lopencv_video -lopencv_photo -lopencv_imgproc -lopencv_flann -lopencv_core  " _cli
gmake[1]: Entering directory '/home/pbulk/build/graphics/gmic/work/gmic-2.9.0/src'
g++ -o gmic_cli.o -c gmic.cpp -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -DLDAP_DEPRECATED -I/opt/local/qt5/include -I/opt/local/include/libdrm -Dgmic_build -Dcimg_date=\"\" -Dcimg_time=\"\" -Dcimg_use_zlib -I/opt/local/include    -std=c++11 -pedantic -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Dcimg_use_abort -Dgmic_is_parallel  -Dcimg_use_fftw3 -I/opt/local/include  -Dcimg_use_curl -I/opt/local/include  -Dcimg_use_png -I/opt/local/include/libpng16 -I/opt/local/include  -Dcimg_use_jpeg -Dcimg_use_tiff -I/opt/local/include  -fopenmp -Dcimg_use_openmp -Dcimg_display=2 -Dcimg_use_opencv -I/opt/local/include/opencv -I/opt/local/include  -I/usr/include/opencv -Ofast -mtune=generic -flto
In file included from gmic.h:222,
                 from gmic.cpp:1994:
./CImg.h:3154:7: error: 'HANDLE' does not name a type
 3154 |       HANDLE wait_event;
      |       ^~~~~~
compilation terminated due to -Wfatal-errors.
gmake[1]: *** [Makefile:372: gmic_cli.o] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/graphics/gmic/work/gmic-2.9.0/src'
gmake: *** [Makefile:362: cli] Error 2
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/graphics/gmic