+ 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/dosbox-x-0.84.3nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dosbox-x-0.84.3nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for dosbox-x-0.84.3nb5
/opt/pkg/bin/bmake  all-recursive
Making all in src
Making all in cpu
Making all in core_full
Making all in core_normal
depbase=`echo callback.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; g++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../../src -Wno-int-to-void-pointer-cast   -Wno-address-of-packed-member   -Wno-format-zero-length   -Wno-missing-field-initializers   -Wno-strict-aliasing   -Wno-implicit-fallthrough   -Wno-deprecated-declarations   -Wconversion-null   -Wsign-promo   -Wlogical-op   -pedantic   -Wunused   -Wextra   -Wall  -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/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/opt/pkg/include/ncurses -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/opt/pkg/include/SDL2 -D_REENTRANT -I/home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3 -I/home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3/vs/sdlnet/linux-host/include -I/home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3/vs/sdlnet/linux-host/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/opt/pkg/include/slirp -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4  -pipe -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/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/opt/pkg/include/ncurses -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -std=gnu++14  -O2 -msse  -Wall   -Wextra   -Wunused   -pedantic   -Wlogical-op   -Wsign-promo   -Wconversion-null   -Wno-deprecated-declarations   -Wno-implicit-fallthrough   -Wno-strict-aliasing   -Wno-missing-field-initializers   -Wno-format-zero-length   -Wno-address-of-packed-member   -Wno-int-to-void-pointer-cast  -I/home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3 -I/home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3/vs/sdlnet/linux-host/include -I/home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3/vs/sdlnet/linux-host/include/SDL -MT callback.o -MD -MP -MF $depbase.Tpo -c -o callback.o callback.cpp && mv -f $depbase.Tpo $depbase.Po
In file included from ../../include/callback.h:23,
                 from callback.cpp:22:
../../include/mem.h: In function 'uint16_t host_readw(ConstHostPt)':
../../include/mem.h:123:12: error: 'le16toh' was not declared in this scope
  123 |     return le16toh((*(const uint16_t *)off)); // BSD endian.h
      |            ^~~~~~~
../../include/mem.h: In function 'uint32_t host_readd(ConstHostPt)':
../../include/mem.h:126:12: error: 'le32toh' was not declared in this scope
  126 |     return le32toh((*(const uint32_t *)off)); // BSD endian.h
      |            ^~~~~~~
../../include/mem.h: In function 'uint64_t host_readq(ConstHostPt)':
../../include/mem.h:129:12: error: 'le64toh' was not declared in this scope
  129 |     return le64toh((*(const uint64_t *)off)); // BSD endian.h
      |            ^~~~~~~
../../include/mem.h: In function 'void host_writew(HostPt, uint16_t)':
../../include/mem.h:133:26: error: 'htole16' was not declared in this scope
  133 |     *(uint16_t *)(off) = htole16(val);
      |                          ^~~~~~~
../../include/mem.h: In function 'void host_writed(HostPt, uint32_t)':
../../include/mem.h:136:26: error: 'htole32' was not declared in this scope
  136 |     *(uint32_t *)(off) = htole32(val);
      |                          ^~~~~~~
../../include/mem.h: In function 'void host_writeq(HostPt, uint64_t)':
../../include/mem.h:139:26: error: 'htole64' was not declared in this scope
  139 |     *(uint64_t *)(off) = htole64(val);
      |                          ^~~~~~~
*** [callback.o] Error code 1

bmake[4]: stopped in /home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3/src/cpu
1 error

bmake[4]: stopped in /home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3/src/cpu
*** [all-recursive] Error code 1

bmake[3]: stopped in /home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3/src/cpu
1 error

bmake[3]: stopped in /home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3/src/cpu
*** [all-recursive] Error code 1

bmake[2]: stopped in /home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3/src
1 error

bmake[2]: stopped in /home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3/src
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3
1 error

bmake[1]: stopped in /home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3
1 error

bmake: stopped in /home/pbulk/build/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.3
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/dosbox-x