+ 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/solarus-1.6.5nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/solarus-1.6.5nb3/work.log
===> Building for solarus-1.6.5nb3
[  0%] Building CXX object CMakeFiles/solarus.dir/src/audio/ItDecoder.cpp.o
[  1%] Building CXX object CMakeFiles/solarus.dir/src/audio/OggDecoder.cpp.o
[  1%] Building CXX object CMakeFiles/solarus.dir/src/audio/Sound.cpp.o
[  1%] Building CXX object CMakeFiles/solarus.dir/src/audio/Music.cpp.o
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp: In member function 'int Solarus::ItDecoder::get_tempo() const':
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:137:27: error: 'CSoundFile' does not name a type
  137 |   return reinterpret_cast<CSoundFile*>(modplug_file.get())->GetMusicTempo();
      |                           ^~~~~~~~~~
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:137:37: error: expected '>' before '*' token
  137 |   return reinterpret_cast<CSoundFile*>(modplug_file.get())->GetMusicTempo();
      |                                     ^
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:137:37: error: expected '(' before '*' token
  137 |   return reinterpret_cast<CSoundFile*>(modplug_file.get())->GetMusicTempo();
      |                                     ^
      |                                     (
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:137:38: error: expected primary-expression before '>' token
  137 |   return reinterpret_cast<CSoundFile*>(modplug_file.get())->GetMusicTempo();
      |                                      ^
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:137:59: error: invalid use of incomplete type 'struct _ModPlugFile'
  137 |   return reinterpret_cast<CSoundFile*>(modplug_file.get())->GetMusicTempo();
      |                                                           ^~
In file included from /home/pbulk/build/games/solarus/work/solarus-v1.6.5/include/solarus/audio/ItDecoder.h:24,
                 from /home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:17:
/opt/pkg/include/libmodplug/modplug.h:28:8: note: forward declaration of 'struct _ModPlugFile'
   28 | struct _ModPlugFile;
      |        ^~~~~~~~~~~~
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:137:76: error: expected ')' before ';' token
  137 |   return reinterpret_cast<CSoundFile*>(modplug_file.get())->GetMusicTempo();
      |                                                                            ^
      |                                                                            )
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp: In member function 'void Solarus::ItDecoder::set_tempo(int)':
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:146:20: error: 'CSoundFile' does not name a type
  146 |   reinterpret_cast<CSoundFile*>(modplug_file.get())->SetTempo(tempo);
      |                    ^~~~~~~~~~
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:146:30: error: expected '>' before '*' token
  146 |   reinterpret_cast<CSoundFile*>(modplug_file.get())->SetTempo(tempo);
      |                              ^
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:146:30: error: expected '(' before '*' token
  146 |   reinterpret_cast<CSoundFile*>(modplug_file.get())->SetTempo(tempo);
      |                              ^
      |                              (
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:146:31: error: expected primary-expression before '>' token
  146 |   reinterpret_cast<CSoundFile*>(modplug_file.get())->SetTempo(tempo);
      |                               ^
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:146:52: error: invalid use of incomplete type 'struct _ModPlugFile'
  146 |   reinterpret_cast<CSoundFile*>(modplug_file.get())->SetTempo(tempo);
      |                                                    ^~
/opt/pkg/include/libmodplug/modplug.h:28:8: note: forward declaration of 'struct _ModPlugFile'
   28 | struct _ModPlugFile;
      |        ^~~~~~~~~~~~
/home/pbulk/build/games/solarus/work/solarus-v1.6.5/src/audio/ItDecoder.cpp:146:69: error: expected ')' before ';' token
  146 |   reinterpret_cast<CSoundFile*>(modplug_file.get())->SetTempo(tempo);
      |                                                                     ^
      |                                                                     )
--- CMakeFiles/solarus.dir/src/audio/ItDecoder.cpp.o ---
*** [CMakeFiles/solarus.dir/src/audio/ItDecoder.cpp.o] Error code 1

bmake[2]: stopped making "CMakeFiles/solarus.dir/build" in /home/pbulk/build/games/solarus/work/solarus-v1.6.5/cmake-pkgsrc-build
bmake[2]: 1 error

bmake[2]: stopped making "CMakeFiles/solarus.dir/build" in /home/pbulk/build/games/solarus/work/solarus-v1.6.5/cmake-pkgsrc-build
--- CMakeFiles/solarus.dir/all ---
*** [CMakeFiles/solarus.dir/all] Error code 2

bmake[1]: stopped making "all" in /home/pbulk/build/games/solarus/work/solarus-v1.6.5/cmake-pkgsrc-build
bmake[1]: 1 error

bmake[1]: stopped making "all" in /home/pbulk/build/games/solarus/work/solarus-v1.6.5/cmake-pkgsrc-build
*** [all] Error code 2

bmake: stopped making "all" in /home/pbulk/build/games/solarus/work/solarus-v1.6.5/cmake-pkgsrc-build
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/games/solarus/work/solarus-v1.6.5/cmake-pkgsrc-build
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/solarus
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/solarus