+ 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/endless-sky-0.9.14nb10/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/endless-sky-0.9.14nb10/work.log
===> Building for endless-sky-0.9.14nb10
--- FrameTimer.o ---
--- Panel.o ---
--- Person.o ---
--- Weapon.o ---
--- FrameTimer.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c FrameTimer.cpp
--- Panel.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Panel.cpp
--- Person.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Person.cpp
--- Weapon.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Weapon.cpp
--- MenuPanel.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c MenuPanel.cpp
--- OutfitInfoDisplay.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c OutfitInfoDisplay.cpp
--- RingShader.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c RingShader.cpp
--- CollisionSet.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c CollisionSet.cpp
--- DataNode.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c DataNode.cpp
--- main.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c main.cpp
--- Interface.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Interface.cpp
--- HailPanel.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c HailPanel.cpp
--- ItemInfoDisplay.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c ItemInfoDisplay.cpp
--- GameWindow.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c GameWindow.cpp
--- Armament.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Armament.cpp
--- Planet.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Planet.cpp
--- Visual.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Visual.cpp
--- Date.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Date.cpp
--- Conversation.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Conversation.cpp
--- Dialog.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Dialog.cpp
--- StartConditions.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c StartConditions.cpp
--- PointerShader.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c PointerShader.cpp
--- MainPanel.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c MainPanel.cpp
--- StartConditionsPanel.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c StartConditionsPanel.cpp
--- text/Utf8.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c text/Utf8.cpp
--- text/Format.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c text/Format.cpp
--- text/Table.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c text/Table.cpp
--- text/FontSet.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c text/FontSet.cpp
--- text/DisplayText.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c text/DisplayText.cpp
--- text/Font.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c text/Font.cpp
--- text/WrappedText.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c text/WrappedText.cpp
--- Politics.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Politics.cpp
--- Body.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Body.cpp
--- PreferencesPanel.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c PreferencesPanel.cpp
--- MissionPanel.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c MissionPanel.cpp
--- Random.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Random.cpp
--- Mortgage.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Mortgage.cpp
--- Rectangle.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c Rectangle.cpp
--- SpaceportPanel.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c SpaceportPanel.cpp
--- MapPanel.o ---
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -O3 -Isource -DBINDIR=\"/opt/pkg/bin\"  -pthread  -c MapPanel.cpp
--- SpaceportPanel.o ---
In file included from SpaceportPanel.cpp:20:
News.h:38:77: error: 'int64_t' is not a member of 'std'; did you mean 'int64_t'?
   38 |         bool Matches(const Planet *planet, const std::map<std::string, std::int64_t> &conditions) const;
      |                                                                             ^~~~~~~
In file included from /usr/include/sys/types.h:55,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:46,
                 from /opt/tools/gcc13/include/c++/13.3.0/cstdlib:79,
                 from /opt/tools/gcc13/include/c++/13.3.0/ext/string_conversions.h:43,
                 from /opt/tools/gcc13/include/c++/13.3.0/bits/basic_string.h:4109,
                 from /opt/tools/gcc13/include/c++/13.3.0/string:54,
                 from Panel.h:20,
                 from SpaceportPanel.h:16,
                 from SpaceportPanel.cpp:13:
/usr/include/sys/int_types.h:79:33: note: 'int64_t' declared here
   79 | typedef long                    int64_t;
      |                                 ^~~~~~~
News.h:38:77: error: 'int64_t' is not a member of 'std'; did you mean 'int64_t'?
   38 |         bool Matches(const Planet *planet, const std::map<std::string, std::int64_t> &conditions) const;
      |                                                                             ^~~~~~~
/usr/include/sys/int_types.h:79:33: note: 'int64_t' declared here
   79 | typedef long                    int64_t;
      |                                 ^~~~~~~
News.h:38:84: error: template argument 2 is invalid
   38 |         bool Matches(const Planet *planet, const std::map<std::string, std::int64_t> &conditions) const;
      |                                                                                    ^
News.h:38:84: error: template argument 4 is invalid
SpaceportPanel.cpp: In member function 'const News* SpaceportPanel::PickNews() const':
SpaceportPanel.cpp:117:70: error: cannot convert 'const std::map<std::__cxx11::basic_string<char>, long int>' to 'const int&'
  117 |                 if(!it.second.IsEmpty() && it.second.Matches(planet, conditions))
      |                                                                      ^~~~~~~~~~
      |                                                                      |
      |                                                                      const std::map<std::__cxx11::basic_string<char>, long int>
News.h:38:87: note:   initializing argument 2 of 'bool News::Matches(const Planet*, const int&) const'
   38 |         bool Matches(const Planet *planet, const std::map<std::string, std::int64_t> &conditions) const;
      |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
*** [SpaceportPanel.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/games/endless-sky/work/endless-sky-0.9.14/source
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/games/endless-sky/work/endless-sky-0.9.14/source
*** Error code 2

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

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