+ 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/sais-1.6.3nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sais-1.6.3nb3/work.log
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
===> Building for sais-1.6.3nb3
[  3%] Building CXX object CMakeFiles/strange.dir/src/combat.cpp.o
[  6%] Building Retail Data File
[ 10%] Building CXX object CMakeFiles/strange.dir/src/cards.cpp.o
[ 13%] Building CXX object CMakeFiles/strange.dir/src/combat_display.cpp.o
gamedata/cards.ini
gamedata/fleets.ini
gamedata/hulls.ini
gamedata/items.ini
gamedata/jobs.ini
gamedata/names.ini
gamedata/planets.ini
gamedata/races.ini
gamedata/ships.ini
gamedata/strings.ini
gamedata/systems.ini
gamedata/weapons.ini
graphics/backgrnd.pcx
graphics/cheapass.pcx
graphics/colormap.dat
graphics/combtbg1.pcx
graphics/combtbg2.pcx
graphics/credits1.pcx
graphics/credits2.pcx
graphics/credits3.pcx
graphics/digieel.pcx
graphics/fnt2.pcx
graphics/fnt3.pcx
graphics/help.pcx
graphics/helpc.pcx
graphics/palette.dat
graphics/starback.pcx
graphics/titback.pcx
graphics/title.pcx
graphics/explode1.spr
graphics/ifarrows.spr
graphics/ifborder.spr
graphics/ifbutton.spr
graphics/ifdifneb.spr
graphics/ifdifnmy.spr
graphics/ifslider.spr
graphics/ifsystem.spr
graphics/iftarget.spr
graphics/shield.spr
graphics/ships.spr
graphics/shipsilu.spr
graphics/shockwav.spr
graphics/smnebula.spr
graphics/smplanet.spr
graphics/smplnet2.spr
graphics/smraces.spr
graphics/smstars.spr
graphics/smstars2.spr
graphics/titles.spr
graphics/weapons.spr
sounds/alien1.wav
sounds/alien2.wav
sounds/alien3.wav
sounds/arrive02.wav
sounds/beep_accept.wav
sounds/beep_decline.wav
sounds/beep_deselect.wav
sounds/beep_dot.wav
sounds/beep_dot2.wav
sounds/beep_info.wav
sounds/beep_no.wav
sounds/beep_select.wav
sounds/beep_selectstar.wav
sounds/beep_selship.wav
sounds/beep_wait.wav
sounds/beep_yes.wav
sounds/blakhol2.wav
sounds/blakhole.wav
sounds/bridge_loop.wav
sounds/cards/ally.wav
sounds/cards/bauble.wav
sounds/cards/brass.wav
sounds/cards/cenotaph.wav
sounds/cards/codex.wav
sounds/cards/conograph_loop.wav
sounds/cards/conograph_use.wav
sounds/cards/cube_loop.wav
sounds/cards/device.wav
sounds/cards/drive_loop.wav
sounds/cards/flare_loop.wav
sounds/cards/gas_loop.wav
sounds/cards/gong.wav
sounds/cards/horloge_loop.wav
sounds/cards/hulk_loop.wav
sounds/cards/intruder_loop.wav
sounds/cards/lifeform.wav
sounds/cards/mantle.wav
sounds/cards/mirror.wav
sounds/cards/mirror_use.wav
sounds/cards/monocle.wav
sounds/cards/monolith.wav
sounds/cards/mummy.wav
sounds/cards/no_planet.wav
sounds/cards/nova_loop.wav
sounds/cards/plastic.wav
sounds/cards/platinum.wav
sounds/cards/sculpture.wav
sounds/cards/system_loop.wav
sounds/cards/titanium.wav
sounds/cards/torc.wav
sounds/cards/toy.wav
sounds/cards/weapon.wav
sounds/cards/whales.wav
sounds/cards/whistle.wav
sounds/cash02.wav
sounds/collapse.wav
sounds/combat/beam1.wav
sounds/combat/beam2.wav
sounds/combat/beam3.wav
sounds/combat/beam4.wav
sounds/combat/beam5.wav
sounds/combat/beam6.wav
sounds/combat/beam7.wav
sounds/combat/boardship.wav
sounds/combat/bulhit02.wav
sounds/combat/cloak_in.wav
sounds/combat/cloak_out.wav
sounds/combat/explo01.wav
sounds/combat/explo02.wav
sounds/combat/fieryfury.wav
sounds/combat/fighter.wav
sounds/combat/lowboom.wav
sounds/combat/misl1.wav
sounds/combat/misl3.wav
sounds/combat/pgun1.wav
sounds/combat/pgun2.wav
sounds/combat/pgun3.wav
sounds/combat/pgun4.wav
sounds/combat/pgun5.wav
sounds/combat/pgun6.wav
sounds/combat/plashit01.wav
sounds/combat/shield02.wav
sounds/combat/sim_end.wav
sounds/combat/sys_dmg.wav
sounds/combat/sys_fixed.wav
sounds/combat/sys_hit.wav
sounds/combat/sys_hit_2.wav
sounds/combat/teleport.wav
sounds/depart02.wav
sounds/foldmove.wav
sounds/fomax_bye.wav
sounds/fomax_hi.wav
sounds/fomax_wish.wav
sounds/hyperdrv.wav
sounds/install.wav
sounds/install2.wav
sounds/lock.wav
sounds/logo.wav
sounds/message.wav
sounds/message2.wav
sounds/music/combat.wav
sounds/music/death.wav
sounds/music/hiscore.wav
sounds/music/nebula.wav
sounds/music/rock.wav
sounds/music/simulator.wav
sounds/music/splash.wav
sounds/music/start.wav
sounds/music/theme.wav
sounds/music/title.wav
sounds/music/victory.wav
sounds/opticals.wav
sounds/pay_loop.wav
sounds/probe_d.wav
sounds/probe_l.wav
sounds/races/garthan.wav
sounds/races/kawangi.wav
sounds/races/klakar.wav
sounds/races/muktian.wav
sounds/races/tanru.wav
sounds/races/urluquai.wav
sounds/races/zorg.wav
sounds/radar1.wav
sounds/scan_loop.wav
sounds/swut.wav
sounds/timer.wav
sounds/titzap01.wav
sounds/titzap02.wav
sounds/trade01.wav
sounds/warning.wav
[ 16%] Building CXX object CMakeFiles/strange.dir/src/combat_init.cpp.o
[ 16%] Built target retail_data
[ 20%] Building CXX object CMakeFiles/strange.dir/src/combat_sim.cpp.o
[ 23%] Building CXX object CMakeFiles/strange.dir/src/combat_weapons.cpp.o
[ 26%] Building CXX object CMakeFiles/strange.dir/src/endgame.cpp.o
[ 30%] Building CXX object CMakeFiles/strange.dir/src/font.cpp.o
[ 33%] Building CXX object CMakeFiles/strange.dir/src/gfx.cpp.o
[ 36%] Building CXX object CMakeFiles/strange.dir/src/interface.cpp.o
[ 40%] Building CXX object CMakeFiles/strange.dir/src/is_fileio.cpp.o
[ 43%] Building CXX object CMakeFiles/strange.dir/src/main.cpp.o
[ 46%] Building CXX object CMakeFiles/strange.dir/src/modconfig.cpp.o
/home/pbulk/build/games/sais/work/sais-1.6.3/src/is_fileio.cpp: In function 'void IS_Close(IS_FileHdl)':
/home/pbulk/build/games/sais/work/sais-1.6.3/src/is_fileio.cpp:47:70: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations]
   47 |         SDL_Log("Error trying to close file: %s", PHYSFS_getLastError());
      |                                                   ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pbulk/build/games/sais/work/sais-1.6.3/src/is_fileio.cpp:27:
/home/pbulk/build/games/sais/work/.buildlink/include/physfs.h:654:25: note: declared here
  654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
      |                         ^~~~~~~~~~~~~~~~~~~
[ 50%] Building C object CMakeFiles/strange.dir/src/physfsrwops.c.o
[ 53%] Building CXX object CMakeFiles/strange.dir/src/sdl_iface.cpp.o
[ 56%] Building CXX object CMakeFiles/strange.dir/src/sdl_main.cpp.o
/home/pbulk/build/games/sais/work/sais-1.6.3/src/modconfig.cpp: In member function 'void modDirectory::mapInPHYSFS()':
/home/pbulk/build/games/sais/work/sais-1.6.3/src/modconfig.cpp:70:71: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations]
   70 |                 SDL_Log("Failed to mount mod: %s", PHYSFS_getLastError());
      |                                                    ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pbulk/build/games/sais/work/sais-1.6.3/src/modconfig.cpp:27:
/home/pbulk/build/games/sais/work/.buildlink/include/physfs.h:654:25: note: declared here
  654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
      |                         ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/games/sais/work/sais-1.6.3/src/modconfig.cpp: In function 'PHYSFS_EnumerateCallbackResult modconfig_enumerate_cb(void*, const char*, const char*)':
/home/pbulk/build/games/sais/work/sais-1.6.3/src/modconfig.cpp:93:27: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated [-Wdeprecated-declarations]
   93 |     if (PHYSFS_isDirectory(fullFilename.c_str())) {
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/games/sais/work/.buildlink/include/physfs.h:1159:17: note: declared here
 1159 | PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED;
      |                 ^~~~~~~~~~~~~~~~~~
[ 60%] Building CXX object CMakeFiles/strange.dir/src/sound.cpp.o
[ 63%] Building CXX object CMakeFiles/strange.dir/src/sprites.cpp.o
/home/pbulk/build/games/sais/work/sais-1.6.3/src/sdl_main.cpp: In function 'void save_globalsettings()':
/home/pbulk/build/games/sais/work/sais-1.6.3/src/sdl_main.cpp:105:41: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations]
  105 |                      PHYSFS_getLastError());
      |                      ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pbulk/build/games/sais/work/sais-1.6.3/src/sdl_main.cpp:19:
/home/pbulk/build/games/sais/work/.buildlink/include/physfs.h:654:25: note: declared here
  654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
      |                         ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/games/sais/work/sais-1.6.3/src/sdl_main.cpp: In function 'int main(int, char**)':
/home/pbulk/build/games/sais/work/sais-1.6.3/src/sdl_main.cpp:124:73: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations]
  124 |         SYS_abort("PhysFS failed to initialise: %s", PHYSFS_getLastError());
      |                                                      ~~~~~~~~~~~~~~~~~~~^~
/home/pbulk/build/games/sais/work/.buildlink/include/physfs.h:654:25: note: declared here
  654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
      |                         ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/games/sais/work/sais-1.6.3/src/sdl_main.cpp:152:78: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations]
  152 |         SYS_abort("PhysFS failed to set default env: %s", PHYSFS_getLastError());
      |                                                           ~~~~~~~~~~~~~~~~~~~^~
/home/pbulk/build/games/sais/work/.buildlink/include/physfs.h:654:25: note: declared here
  654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
      |                         ^~~~~~~~~~~~~~~~~~~
[ 66%] Building CXX object CMakeFiles/strange.dir/src/starmap.cpp.o
/home/pbulk/build/games/sais/work/sais-1.6.3/src/starmap.cpp: In function 'void starmap()':
/home/pbulk/build/games/sais/work/sais-1.6.3/src/starmap.cpp:375:91: error: call of overloaded 'sqrt(int32&)' is ambiguous
  375 |                                                                         sp1 = (int32)(sqrt(itemtypes[shipsystems[shiptypes[player.ships[player.sel_ship]].system[(my-168)>>3]].item].cost)*.75);
      |                                                                                       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/math.h:35,
                 from /opt/tools/gcc13/include/c++/13.3.0/bits/std_abs.h:40,
                 from /opt/tools/gcc13/include/c++/13.3.0/cstdlib:81,
                 from /home/pbulk/build/games/sais/work/sais-1.6.3/src/starmap.cpp:21:
/usr/include/iso/math_iso.h:232:28: note: candidate: 'long double std::sqrt(long double)'
  232 |         inline long double sqrt(long double __X) { return __sqrtl(__X); }
      |                            ^~~~
/usr/include/iso/math_iso.h:183:22: note: candidate: 'float std::sqrt(float)'
  183 |         inline float sqrt(float __X) { return __sqrtf(__X); }
      |                      ^~~~
/usr/include/iso/math_iso.h:77:15: note: candidate: 'double std::sqrt(double)'
   77 | extern double sqrt(double);
      |               ^~~~
/home/pbulk/build/games/sais/work/sais-1.6.3/src/starmap.cpp: In function 'int starmap_stardist(int32, int32)':
/home/pbulk/build/games/sais/work/sais-1.6.3/src/starmap.cpp:1943:25: error: call of overloaded 'sqrt(int32)' is ambiguous
 1943 |         r = (int32)(sqrt((sm_stars[s2].x-sm_stars[s1].x) * (sm_stars[s2].x-sm_stars[s1].x) +
      |                     ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1944 |                                                                         (sm_stars[s2].y-sm_stars[s1].y) * (sm_stars[s2].y-sm_stars[s1].y)) *
      |                                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/iso/math_iso.h:232:28: note: candidate: 'long double std::sqrt(long double)'
  232 |         inline long double sqrt(long double __X) { return __sqrtl(__X); }
      |                            ^~~~
/usr/include/iso/math_iso.h:183:22: note: candidate: 'float std::sqrt(float)'
  183 |         inline float sqrt(float __X) { return __sqrtf(__X); }
      |                      ^~~~
/usr/include/iso/math_iso.h:77:15: note: candidate: 'double std::sqrt(double)'
   77 | extern double sqrt(double);
      |               ^~~~
--- CMakeFiles/strange.dir/src/starmap.cpp.o ---
*** [CMakeFiles/strange.dir/src/starmap.cpp.o] Error code 1

bmake[2]: stopped making "CMakeFiles/strange.dir/build" in /home/pbulk/build/games/sais/work/sais-1.6.3
[ 70%] Building CXX object CMakeFiles/strange.dir/src/starmap_encounters.cpp.o
bmake[2]: 1 error

bmake[2]: stopped making "CMakeFiles/strange.dir/build" in /home/pbulk/build/games/sais/work/sais-1.6.3
--- CMakeFiles/strange.dir/all ---
*** [CMakeFiles/strange.dir/all] Error code 2

bmake[1]: stopped making "all" in /home/pbulk/build/games/sais/work/sais-1.6.3
bmake[1]: 1 error

bmake[1]: stopped making "all" in /home/pbulk/build/games/sais/work/sais-1.6.3
*** [all] Error code 2

bmake: stopped making "all" in /home/pbulk/build/games/sais/work/sais-1.6.3
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/games/sais/work/sais-1.6.3
*** Error code 2

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

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