+ 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/hex-a-hop-1.1.0nb7/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hex-a-hop-1.1.0nb7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for hex-a-hop-1.1.0nb7
Making all in src
/opt/pkg/bin/bmake  all-am
g++ -DHAVE_CONFIG_H -I.    -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -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 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -MT gfx.o -MD -MP -MF .deps/gfx.Tpo -c -o gfx.o gfx.cpp
mv -f .deps/gfx.Tpo .deps/gfx.Po
g++ -DHAVE_CONFIG_H -I.    -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -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 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -MT hex_puzzzle.o -MD -MP -MF .deps/hex_puzzzle.Tpo -c -o hex_puzzzle.o hex_puzzzle.cpp
In file included from hex_puzzzle.cpp:72:
packfile.h: In member function 'void PackFile1::Read(std::FILE*)':
packfile.h:121:58: warning: converting a packed 'PackFile1::Entry' pointer (alignment 1) to a 'int32_t' {aka 'int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member]
  121 |                         int32_t *data_length = (int32_t*)i;
      |                                                          ^
packfile.h:42:15: note: defined here
   42 |         class Entry {
      |               ^~~~~
hex_puzzzle.cpp: In function 'void MakeTileInfo()':
hex_puzzzle.cpp:343:37: warning: narrowing conversion of '((i % 10) * 64)' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  343 |                 SDL_Rect r = {(i%10)*GFX_SIZE, ((i/10)%7)*GFX_SIZE, GFX_SIZE, GFX_SIZE};
      |                                     ^
hex_puzzzle.cpp:343:58: warning: narrowing conversion of '(((i / 10) % 7) * 64)' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  343 |                 SDL_Rect r = {(i%10)*GFX_SIZE, ((i/10)%7)*GFX_SIZE, GFX_SIZE, GFX_SIZE};
      |                                                          ^
In file included from hex_puzzzle.cpp:360:
menus.h: In constructor 'Ending::Ending(bool)':
menus.h:865:23: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Ending::Particle'; use assignment or value-initialization instead [-Wclass-memaccess]
  865 |                 memset(p, 0, sizeof(p));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~
menus.h:764:16: note: 'struct Ending::Particle' declared here
  764 |         struct Particle{
      |                ^~~~~~~~
menus.h: In member function 'virtual bool Ending::KeyPressed(int, int)':
menus.h:915:31: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Ending::Particle'; use assignment or value-initialization instead [-Wclass-memaccess]
  915 |                         memset(p, 0, sizeof(p));
      |                         ~~~~~~^~~~~~~~~~~~~~~~~
menus.h:764:16: note: 'struct Ending::Particle' declared here
  764 |         struct Particle{
      |                ^~~~~~~~
hex_puzzzle.cpp: In function 'void RenderTile(bool, int, int, int, int)':
hex_puzzzle.cpp:687:34: warning: narrowing conversion of '((x - scrollX) - (64 / 2))' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  687 |         SDL_Rect dst = {x-scrollX-GFX_SIZE/2, y-scrollY-GFX_SIZE+TILE_H1, 0, 0};
      |                         ~~~~~~~~~^~~~~~~~~~~
hex_puzzzle.cpp:687:65: warning: narrowing conversion of '(((y - scrollY) - 64) + 18)' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  687 |         SDL_Rect dst = {x-scrollX-GFX_SIZE/2, y-scrollY-GFX_SIZE+TILE_H1, 0, 0};
      |                                                                 ^
hex_puzzzle.cpp: In function 'void RenderGirl(bool, int, int, int, int, int)':
hex_puzzzle.cpp:725:25: warning: narrowing conversion of 'sx' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  725 |         SDL_Rect src = {sx, sy, 64, 80};
      |                         ^~
hex_puzzzle.cpp:725:29: warning: narrowing conversion of 'sy' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  725 |         SDL_Rect src = {sx, sy, 64, 80};
      |                             ^~
hex_puzzzle.cpp:726:34: warning: narrowing conversion of '((x - scrollX) - 32)' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  726 |         SDL_Rect dst = {x-scrollX-32, y-scrollY-65, 0, 0};
      |                         ~~~~~~~~~^~~
hex_puzzzle.cpp:726:48: warning: narrowing conversion of '((y - scrollY) - 65)' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  726 |         SDL_Rect dst = {x-scrollX-32, y-scrollY-65, 0, 0};
      |                                       ~~~~~~~~~^~~
hex_puzzzle.cpp: At global scope:
hex_puzzzle.cpp:427:22: warning: 'virtual void RenderStage::Render(RenderObject*, double, bool)' was hidden [-Woverloaded-virtual=]
  427 |         virtual void Render(RenderObject* r, double time, bool reflect) = 0;
      |                      ^~~~~~
hex_puzzzle.cpp:1031:14: note:   by 'void LaserRender::Render(RenderObject*, double)'
 1031 |         void Render(RenderObject* /*r*/, double /*time*/)
      |              ^~~~~~
hex_puzzzle.cpp: In member function 'virtual void HexPuzzle::Render()':
hex_puzzzle.cpp:2495:54: warning: narrowing conversion of 'screen->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} is ill-formed in C++11 [-Wnarrowing]
 2495 |                         SDL_Rect src  = {0,0,screen->w,screen->h};
      |                                              ~~~~~~~~^
hex_puzzzle.cpp:2495:64: warning: narrowing conversion of 'screen->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} is ill-formed in C++11 [-Wnarrowing]
 2495 |                         SDL_Rect src  = {0,0,screen->w,screen->h};
      |                                                        ~~~~~~~~^
hex_puzzzle.cpp:2496:54: warning: narrowing conversion of 'screen->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} is ill-formed in C++11 [-Wnarrowing]
 2496 |                         SDL_Rect dst  = {0,0,screen->w,screen->h};
      |                                              ~~~~~~~~^
hex_puzzzle.cpp:2496:64: warning: narrowing conversion of 'screen->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} is ill-formed in C++11 [-Wnarrowing]
 2496 |                         SDL_Rect dst  = {0,0,screen->w,screen->h};
      |                                                        ~~~~~~~~^
hex_puzzzle.cpp:2636:49: warning: narrowing conversion of 'pad' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
 2636 |                                 SDL_Rect dst = {pad, SCREEN_H-TILE_H2-pad, 0, 0};
      |                                                 ^~~
hex_puzzzle.cpp:2636:70: warning: narrowing conversion of '((480 - (18 * 2)) - pad)' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
 2636 |                                 SDL_Rect dst = {pad, SCREEN_H-TILE_H2-pad, 0, 0};
hex_puzzzle.cpp: In member function 'void HexPuzzle::UpdateCursor(const Pos&)':
hex_puzzzle.cpp:2804:30: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
 2804 |                         char tmp[1000];
      |                              ^~~
hex_puzzzle.cpp: In member function 'bool HexPuzzle::Input(Dir)':
hex_puzzzle.cpp:3263:21: warning: variable 'playerStartPos' set but not used [-Wunused-but-set-variable]
 3263 |                 Pos playerStartPos = player;
      |                     ^~~~~~~~~~~~~~
mv -f .deps/hex_puzzzle.Tpo .deps/hex_puzzzle.Po
g++ -DHAVE_CONFIG_H -I.    -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -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 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -MT i18n.o -MD -MP -MF .deps/i18n.Tpo -c -o i18n.o i18n.cpp
mv -f .deps/i18n.Tpo .deps/i18n.Po
g++ -DHAVE_CONFIG_H -I.    -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -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 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -MT sfx.o -MD -MP -MF .deps/sfx.Tpo -c -o sfx.o sfx.cpp
mv -f .deps/sfx.Tpo .deps/sfx.Po
gcc -DHAVE_CONFIG_H -I.    -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -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 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -MT system-directory.o -MD -MP -MF .deps/system-directory.Tpo -c -o system-directory.o system-directory.c
mv -f .deps/system-directory.Tpo .deps/system-directory.Po
gcc -DHAVE_CONFIG_H -I.    -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -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 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -MT system-relative.o -MD -MP -MF .deps/system-relative.Tpo -c -o system-relative.o system-relative.c
system-relative.c: In function 'lisys_relative_exename':
system-relative.c:167:2: warning: #warning "Not supported." [-Wcpp]
  167 | #warning "Not supported."
      |  ^~~~~~~
system-relative.c: In function 'lisys_relative_exedir':
system-relative.c:196:2: warning: #warning "Not supported." [-Wcpp]
  196 | #warning "Not supported."
      |  ^~~~~~~
mv -f .deps/system-relative.Tpo .deps/system-relative.Po
g++ -DHAVE_CONFIG_H -I.    -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -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 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -MT text.o -MD -MP -MF .deps/text.Tpo -c -o text.o text.cpp
text.cpp: In function 'void TextPrintUTF8(int, int, const char*)':
text.cpp:107:25: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  107 |         SDL_Rect dst = {x, y, 1, 1};
      |                         ^
text.cpp:107:28: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  107 |         SDL_Rect dst = {x, y, 1, 1};
      |                            ^
text.cpp: In function 'void TextPrintRAW(int, int, const char*)':
text.cpp:119:25: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  119 |         SDL_Rect dst = {x, y, 1, 1};
      |                         ^
text.cpp:119:28: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} is ill-formed in C++11 [-Wnarrowing]
  119 |         SDL_Rect dst = {x, y, 1, 1};
      |                            ^
text.cpp: In function 'void ConvertToUTF8(const std::string&, char*, std::size_t)':
text.cpp:456:19: error: invalid conversion from 'char**' to 'const char**' [-fpermissive]
  456 |         iconv(cd, &in_buf, &text_length, &out_buf, &text_utf8_length);
      |                   ^~~~~~~
      |                   |
      |                   char**
In file included from /home/pbulk/build/games/hex-a-hop/work/.buildlink/include/SDL/SDL_stdinc.h:74,
                 from /home/pbulk/build/games/hex-a-hop/work/.buildlink/include/SDL/SDL_main.h:26,
                 from /home/pbulk/build/games/hex-a-hop/work/.buildlink/include/SDL/SDL.h:30,
                 from video.h:4,
                 from text.cpp:8:
/home/pbulk/build/games/hex-a-hop/work/.buildlink/include/iconv.h:82:48: note:   initializing argument 2 of 'std::size_t libiconv(libiconv_t, const char**, std::size_t*, char**, std::size_t*)'
   82 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
      |                                  ~~~~~~~~~~~~~~^~~~~
*** [text.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/games/hex-a-hop/work/hex-a-hop-1.1.0/src
1 error

bmake[2]: stopped in /home/pbulk/build/games/hex-a-hop/work/hex-a-hop-1.1.0/src
*** [all] Error code 2

bmake[1]: stopped in /home/pbulk/build/games/hex-a-hop/work/hex-a-hop-1.1.0/src
1 error

bmake[1]: stopped in /home/pbulk/build/games/hex-a-hop/work/hex-a-hop-1.1.0/src
*** [all-recursive] Error code 1

bmake: stopped in /home/pbulk/build/games/hex-a-hop/work/hex-a-hop-1.1.0
1 error

bmake: stopped in /home/pbulk/build/games/hex-a-hop/work/hex-a-hop-1.1.0
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/hex-a-hop
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/hex-a-hop