+ 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/caprice32-4.6.0nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/caprice32-4.6.0nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for caprice32-4.6.0nb2
makefile:75: Notice: APP_PATH not specified.  Will look for cap32.cfg debug-style.  See `README.md` for details. 
Computing dependencies for src/video.cpp
Computing dependencies for src/cartridge.cpp
Computing dependencies for src/stringutils.cpp
Computing dependencies for src/keyboard.cpp
Computing dependencies for src/fdc.cpp
Computing dependencies for src/tape.cpp
Computing dependencies for src/z80.cpp
Computing dependencies for src/configuration.cpp
Computing dependencies for src/gui/src/wg_button.cpp
Computing dependencies for src/gui/src/wg_progress.cpp
Computing dependencies for src/gui/src/wg_groupbox.cpp
Computing dependencies for src/gui/src/wg_scrollbar.cpp
Computing dependencies for src/gui/src/CapriceMenu.cpp
Computing dependencies for src/gui/src/CapriceOptions.cpp
Computing dependencies for src/gui/src/wg_picture.cpp
Computing dependencies for src/gui/src/wg_renderedstring.cpp
Computing dependencies for src/gui/src/wg_frame.cpp
Computing dependencies for src/gui/src/std_ex.cpp
Computing dependencies for src/gui/src/CapriceLoadSave.cpp
Computing dependencies for src/gui/src/wg_application.cpp
Computing dependencies for src/gui/src/CapriceVKeyboardView.cpp
Computing dependencies for src/gui/src/wg_resource_handle.cpp
Computing dependencies for src/gui/src/wg_message_server.cpp
Computing dependencies for src/gui/src/wg_fontengine.cpp
Computing dependencies for src/gui/src/CapriceGui.cpp
Computing dependencies for src/gui/src/wg_navigationbar.cpp
Computing dependencies for src/gui/src/wg_tab.cpp
Computing dependencies for src/gui/src/wutil_log.cpp
Computing dependencies for src/gui/src/wg_menu.cpp
Computing dependencies for src/gui/src/wg_textbox.cpp
Computing dependencies for src/gui/src/wg_toolbar.cpp
Computing dependencies for src/gui/src/CapriceGuiView.cpp
Computing dependencies for src/gui/src/wg_resources.cpp
Computing dependencies for src/gui/src/wg_point.cpp
Computing dependencies for src/gui/src/CapriceAbout.cpp
Computing dependencies for src/gui/src/wg_view.cpp
Computing dependencies for src/gui/src/wg_message_client.cpp
Computing dependencies for src/gui/src/wg_dropdown.cpp
Computing dependencies for src/gui/src/wg_message.cpp
Computing dependencies for src/gui/src/wg_tooltip.cpp
Computing dependencies for src/gui/src/wg_painter.cpp
Computing dependencies for src/gui/src/wg_timer.cpp
Computing dependencies for src/gui/src/wg_color.cpp
Computing dependencies for src/gui/src/CapriceRomSlots.cpp
Computing dependencies for src/gui/src/CapriceMemoryTool.cpp
Computing dependencies for src/gui/src/wg_editbox.cpp
Computing dependencies for src/gui/src/CapriceVKeyboard.cpp
Computing dependencies for src/gui/src/wg_rect.cpp
Computing dependencies for src/gui/src/wg_label.cpp
Computing dependencies for src/gui/src/wg_listbox.cpp
Computing dependencies for src/gui/src/wg_messagebox.cpp
Computing dependencies for src/gui/src/wg_radiobutton.cpp
Computing dependencies for src/gui/src/wg_window.cpp
Computing dependencies for src/gui/src/wg_checkbox.cpp
Computing dependencies for src/psg.cpp
Computing dependencies for src/fileutils.cpp
Computing dependencies for src/log.cpp
Computing dependencies for src/argparse.cpp
Computing dependencies for src/slotshandler.cpp
Computing dependencies for src/savepng.cpp
Computing dependencies for src/zip.cpp
Computing dependencies for src/ipf.cpp
Computing dependencies for src/disk.cpp
Computing dependencies for src/asic.cpp
Computing dependencies for src/glfuncs.cpp
Computing dependencies for src/crtc.cpp
Computing dependencies for src/cap32.cpp
Computing dependencies for test/asic.cpp
Computing dependencies for test/zip.cpp
Computing dependencies for test/crtc.cpp
Computing dependencies for test/argparse.cpp
Computing dependencies for test/disk.cpp
Computing dependencies for test/configuration.cpp
Computing dependencies for test/InputMapper.cpp
Computing dependencies for test/slothandler.cpp
Computing dependencies for test/fileutils.cpp
Computing dependencies for test/CapriceLoadSave.cpp
Computing dependencies for test/psg.cpp
Computing dependencies for test/wg_application.cpp
Computing dependencies for test/stringutils.cpp
Computing dependencies for test/main.cpp
Computing dependencies for test/z80.cpp
Computing dependencies for test/cartridge.cpp
makefile:75: Notice: APP_PATH not specified.  Will look for cap32.cfg debug-style.  See `README.md` for details. 
g++ -c -ffast-math -fno-strength-reduce -finline-functions -fPIC -DHASH=\"pkgsrc\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -std=c++11 -Isrc/ -Isrc/gui/includes `pkg-config --cflags freetype2` `sdl-config --cflags` `pkg-config --cflags libpng` -DHAVE_GL -Wall -Wextra -Wzero-as-null-pointer-constant -Wformat=2 -Wold-style-cast -Wmissing-include-dirs -Wlogical-op -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -o obj/linux/src/video.o src/video.cpp
In file included from src/video.cpp:36:
/home/pbulk/build/emulators/caprice32/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined
  116 | #define GL_GLEXT_VERSION 29
      | 
In file included from /home/pbulk/build/emulators/caprice32/work/.buildlink/include/GL/gl.h:2048,
                 from /home/pbulk/build/emulators/caprice32/work/.buildlink/include/SDL/SDL_opengl.h:46:
/home/pbulk/build/emulators/caprice32/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition
   54 | #define GL_GLEXT_VERSION 20190911
      | 
g++ -c -ffast-math -fno-strength-reduce -finline-functions -fPIC -DHASH=\"pkgsrc\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -std=c++11 -Isrc/ -Isrc/gui/includes `pkg-config --cflags freetype2` `sdl-config --cflags` `pkg-config --cflags libpng` -DHAVE_GL -Wall -Wextra -Wzero-as-null-pointer-constant -Wformat=2 -Wold-style-cast -Wmissing-include-dirs -Wlogical-op -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -o obj/linux/src/cartridge.o src/cartridge.cpp
g++ -c -ffast-math -fno-strength-reduce -finline-functions -fPIC -DHASH=\"pkgsrc\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -std=c++11 -Isrc/ -Isrc/gui/includes `pkg-config --cflags freetype2` `sdl-config --cflags` `pkg-config --cflags libpng` -DHAVE_GL -Wall -Wextra -Wzero-as-null-pointer-constant -Wformat=2 -Wold-style-cast -Wmissing-include-dirs -Wlogical-op -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -o obj/linux/src/stringutils.o src/stringutils.cpp
g++ -c -ffast-math -fno-strength-reduce -finline-functions -fPIC -DHASH=\"pkgsrc\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -std=c++11 -Isrc/ -Isrc/gui/includes `pkg-config --cflags freetype2` `sdl-config --cflags` `pkg-config --cflags libpng` -DHAVE_GL -Wall -Wextra -Wzero-as-null-pointer-constant -Wformat=2 -Wold-style-cast -Wmissing-include-dirs -Wlogical-op -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -o obj/linux/src/keyboard.o src/keyboard.cpp
g++ -c -ffast-math -fno-strength-reduce -finline-functions -fPIC -DHASH=\"pkgsrc\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -std=c++11 -Isrc/ -Isrc/gui/includes `pkg-config --cflags freetype2` `sdl-config --cflags` `pkg-config --cflags libpng` -DHAVE_GL -Wall -Wextra -Wzero-as-null-pointer-constant -Wformat=2 -Wold-style-cast -Wmissing-include-dirs -Wlogical-op -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -o obj/linux/src/fdc.o src/fdc.cpp
In file included from src/fdc.cpp:25:
src/z80.h:56: warning: "_B" redefined
   56 | #define _B        z80.BC.b.h
      | 
In file included from /usr/include/ctype.h:36,
                 from /usr/include/iso/wchar_iso.h:58,
                 from /usr/include/wchar.h:31,
                 from /opt/tools/gcc13/include/c++/13.3.0/cwchar:44,
                 from /opt/tools/gcc13/include/c++/13.3.0/bits/postypes.h:40,
                 from /opt/tools/gcc13/include/c++/13.3.0/bits/char_traits.h:42,
                 from /opt/tools/gcc13/include/c++/13.3.0/string:42,
                 from src/cap32.h:29,
                 from src/fdc.cpp:23:
/usr/include/iso/ctype_iso.h:59: note: this is the location of the previous definition
   59 | #define _B      0x00000040      /* Blank */
      | 
src/z80.h:57: warning: "_C" redefined
   57 | #define _C        z80.BC.b.l
      | 
/usr/include/iso/ctype_iso.h:58: note: this is the location of the previous definition
   58 | #define _C      0x00000020      /* Control character */
      | 
src/z80.h:65: warning: "_L" redefined
   65 | #define _L        z80.HL.b.l
      | 
/usr/include/iso/ctype_iso.h:54: note: this is the location of the previous definition
   54 | #define _L      0x00000002      /* Lower case */
      | 
g++ -c -ffast-math -fno-strength-reduce -finline-functions -fPIC -DHASH=\"pkgsrc\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -std=c++11 -Isrc/ -Isrc/gui/includes `pkg-config --cflags freetype2` `sdl-config --cflags` `pkg-config --cflags libpng` -DHAVE_GL -Wall -Wextra -Wzero-as-null-pointer-constant -Wformat=2 -Wold-style-cast -Wmissing-include-dirs -Wlogical-op -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -o obj/linux/src/tape.o src/tape.cpp
In file included from src/tape.cpp:25:
src/z80.h:56: warning: "_B" redefined
   56 | #define _B        z80.BC.b.h
      | 
In file included from /usr/include/ctype.h:36,
                 from /usr/include/iso/wchar_iso.h:58,
                 from /usr/include/wchar.h:31,
                 from /opt/tools/gcc13/include/c++/13.3.0/cwchar:44,
                 from /opt/tools/gcc13/include/c++/13.3.0/bits/postypes.h:40,
                 from /opt/tools/gcc13/include/c++/13.3.0/bits/char_traits.h:42,
                 from /opt/tools/gcc13/include/c++/13.3.0/string:42,
                 from src/cap32.h:29,
                 from src/tape.cpp:23:
/usr/include/iso/ctype_iso.h:59: note: this is the location of the previous definition
   59 | #define _B      0x00000040      /* Blank */
      | 
src/z80.h:57: warning: "_C" redefined
   57 | #define _C        z80.BC.b.l
      | 
/usr/include/iso/ctype_iso.h:58: note: this is the location of the previous definition
   58 | #define _C      0x00000020      /* Control character */
      | 
src/z80.h:65: warning: "_L" redefined
   65 | #define _L        z80.HL.b.l
      | 
/usr/include/iso/ctype_iso.h:54: note: this is the location of the previous definition
   54 | #define _L      0x00000002      /* Lower case */
      | 
g++ -c -ffast-math -fno-strength-reduce -finline-functions -fPIC -DHASH=\"pkgsrc\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -std=c++11 -Isrc/ -Isrc/gui/includes `pkg-config --cflags freetype2` `sdl-config --cflags` `pkg-config --cflags libpng` -DHAVE_GL -Wall -Wextra -Wzero-as-null-pointer-constant -Wformat=2 -Wold-style-cast -Wmissing-include-dirs -Wlogical-op -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -o obj/linux/src/z80.o src/z80.cpp
In file included from src/z80.cpp:31:
src/z80.h:56: warning: "_B" redefined
   56 | #define _B        z80.BC.b.h
      | 
In file included from /usr/include/ctype.h:36,
                 from /usr/include/iso/wchar_iso.h:58,
                 from /usr/include/wchar.h:31,
                 from /opt/tools/gcc13/include/c++/13.3.0/cwchar:44,
                 from /opt/tools/gcc13/include/c++/13.3.0/bits/postypes.h:40,
                 from /opt/tools/gcc13/include/c++/13.3.0/bits/char_traits.h:42,
                 from /opt/tools/gcc13/include/c++/13.3.0/string:42,
                 from src/cap32.h:29,
                 from src/z80.cpp:28:
/usr/include/iso/ctype_iso.h:59: note: this is the location of the previous definition
   59 | #define _B      0x00000040      /* Blank */
      | 
src/z80.h:57: warning: "_C" redefined
   57 | #define _C        z80.BC.b.l
      | 
/usr/include/iso/ctype_iso.h:58: note: this is the location of the previous definition
   58 | #define _C      0x00000020      /* Control character */
      | 
src/z80.h:65: warning: "_L" redefined
   65 | #define _L        z80.HL.b.l
      | 
/usr/include/iso/ctype_iso.h:54: note: this is the location of the previous definition
   54 | #define _L      0x00000002      /* Lower case */
      | 
src/z80.h:65:19: error: 'z80' was not declared in this scope
   65 | #define _L        z80.HL.b.l
      |                   ^~~
src/z80.h:57:19: error: 'z80' was not declared in this scope
   57 | #define _C        z80.BC.b.l
      |                   ^~~
src/z80.h:56:19: error: 'z80' was not declared in this scope
   56 | #define _B        z80.BC.b.h
      |                   ^~~
gmake: *** [makefile:143: obj/linux/src/z80.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/caprice32
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/caprice32