+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/gemrb-0.9.0nb7/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/gemrb-0.9.0nb7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for gemrb-0.9.0nb7
[  0%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ActorMgr.cpp.o
[  0%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Ambient.cpp.o
[  1%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/AmbientMgr.cpp.o
In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/VFS.h:33,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Interface.h:46,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/AmbientMgr.cpp:24:
/home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Predicates.h:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]
   36 | struct Predicate : std::unary_function<PT, bool> {
      |                         ^~~~~~~~~~~~~~
In file included from /opt/local/gcc12/include/c++/12.2.0/string:48,
                 from /opt/local/gcc12/include/c++/12.2.0/stdexcept:39,
                 from /opt/local/gcc12/include/c++/12.2.0/system_error:41,
                 from /opt/local/gcc12/include/c++/12.2.0/mutex:41,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/AmbientMgr.h:27,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/AmbientMgr.cpp:21:
/opt/local/gcc12/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
[  1%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Animation.cpp.o
In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/VFS.h:33,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Interface.h:46,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Animation.cpp:24:
/home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Predicates.h:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]
   36 | struct Predicate : std::unary_function<PT, bool> {
      |                         ^~~~~~~~~~~~~~
In file included from /opt/local/gcc12/include/c++/12.2.0/string:48,
                 from /opt/local/gcc12/include/c++/12.2.0/stdexcept:39,
                 from /opt/local/gcc12/include/c++/12.2.0/system_error:41,
                 from /opt/local/gcc12/include/c++/12.2.0/bits/std_mutex.h:39,
                 from /opt/local/gcc12/include/c++/12.2.0/condition_variable:39,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/Logger.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/Logging.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Platform.h:56,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/ie_types.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/globals.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Animation.h:26,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Animation.cpp:21:
/opt/local/gcc12/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
[  2%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/AnimationFactory.cpp.o
In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/VFS.h:33,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Interface.h:46,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/AnimationFactory.cpp:23:
/home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Predicates.h:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]
   36 | struct Predicate : std::unary_function<PT, bool> {
      |                         ^~~~~~~~~~~~~~
In file included from /opt/local/gcc12/include/c++/12.2.0/string:48,
                 from /opt/local/gcc12/include/c++/12.2.0/stdexcept:39,
                 from /opt/local/gcc12/include/c++/12.2.0/system_error:41,
                 from /opt/local/gcc12/include/c++/12.2.0/bits/std_mutex.h:39,
                 from /opt/local/gcc12/include/c++/12.2.0/condition_variable:39,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/Logger.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/Logging.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Platform.h:56,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/ie_types.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/globals.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/AnimationFactory.h:25,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/AnimationFactory.cpp:21:
/opt/local/gcc12/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
[  2%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/AnimationMgr.cpp.o
[  2%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ArchiveImporter.cpp.o
[  3%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Audio.cpp.o
[  3%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Bitmap.cpp.o
[  4%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Cache.cpp.o
[  4%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Calendar.cpp.o
In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/VFS.h:33,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Interface.h:46,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Calendar.cpp:23:
/home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Predicates.h:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]
   36 | struct Predicate : std::unary_function<PT, bool> {
      |                         ^~~~~~~~~~~~~~
In file included from /opt/local/gcc12/include/c++/12.2.0/bits/refwrap.h:39,
                 from /opt/local/gcc12/include/c++/12.2.0/vector:66,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Audio.h:24,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Interface.h:32:
/opt/local/gcc12/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
[  4%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/CharAnimations.cpp.o
In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/VFS.h:33,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Interface.h:46,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/CharAnimations.cpp:28:
/home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Predicates.h:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]
   36 | struct Predicate : std::unary_function<PT, bool> {
      |                         ^~~~~~~~~~~~~~
In file included from /opt/local/gcc12/include/c++/12.2.0/string:48,
                 from /opt/local/gcc12/include/c++/12.2.0/stdexcept:39,
                 from /opt/local/gcc12/include/c++/12.2.0/system_error:41,
                 from /opt/local/gcc12/include/c++/12.2.0/bits/std_mutex.h:39,
                 from /opt/local/gcc12/include/c++/12.2.0/condition_variable:39,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/Logger.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/Logging.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Platform.h:56,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/ie_types.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/globals.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Animation.h:26,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/CharAnimations.h:27,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/CharAnimations.cpp:21:
/opt/local/gcc12/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
[  5%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Compressor.cpp.o
[  5%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ControlAnimation.cpp.o
In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/VFS.h:33,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Interface.h:46,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/ControlAnimation.cpp:26:
/home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Predicates.h:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]
   36 | struct Predicate : std::unary_function<PT, bool> {
      |                         ^~~~~~~~~~~~~~
In file included from /opt/local/gcc12/include/c++/12.2.0/string:48,
                 from /opt/local/gcc12/include/c++/12.2.0/stdexcept:39,
                 from /opt/local/gcc12/include/c++/12.2.0/system_error:41,
                 from /opt/local/gcc12/include/c++/12.2.0/bits/std_mutex.h:39,
                 from /opt/local/gcc12/include/c++/12.2.0/condition_variable:39,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/Logger.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/Logging.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Platform.h:56,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/ie_types.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/globals.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/ControlAnimation.h:26,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/ControlAnimation.cpp:21:
/opt/local/gcc12/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
[  5%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Core.cpp.o
In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/VFS.h:33,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Interface.h:46,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Core.cpp:30:
/home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Predicates.h:36:25: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]
   36 | struct Predicate : std::unary_function<PT, bool> {
      |                         ^~~~~~~~~~~~~~
In file included from /opt/local/gcc12/include/c++/12.2.0/string:48,
                 from /opt/local/gcc12/include/c++/12.2.0/stdexcept:39,
                 from /opt/local/gcc12/include/c++/12.2.0/system_error:41,
                 from /opt/local/gcc12/include/c++/12.2.0/bits/std_mutex.h:39,
                 from /opt/local/gcc12/include/c++/12.2.0/condition_variable:39,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/Logger.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/System/Logging.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Platform.h:56,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/ie_types.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/globals.h:31,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Core.cpp:27:
/opt/local/gcc12/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here
  117 |     struct unary_function
      |            ^~~~~~~~~~~~~~
/home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Core.cpp: In function 'bool GemRB::WithinRange(const Actor*, const Point&, int)':
/home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Core.cpp:282:29: error: call of overloaded 'atan2(int, int)' is ambiguous
  282 |         double angle = atan2(actor->Pos.y - dest.y, actor->Pos.x - dest.x);
      |                        ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/math.h:35,
                 from /opt/local/gcc12/include/c++/12.2.0/bits/std_abs.h:40,
                 from /opt/local/gcc12/include/c++/12.2.0/cstdlib:77,
                 from /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/includes/Platform.h:54:
/usr/include/iso/math_iso.h:192:28: note: candidate: 'long double std::atan2(long double, long double)'
  192 |         inline long double atan2(long double __X, long double __Y) {
      |                            ^~~~~
/usr/include/iso/math_iso.h:162:22: note: candidate: 'float std::atan2(float, float)'
  162 |         inline float atan2(float __X, float __Y) { return __atan2f(__X, __Y); }
      |                      ^~~~~
/usr/include/iso/math_iso.h:60:15: note: candidate: 'double std::atan2(double, double)'
   60 | extern double atan2(double, double);
      |               ^~~~~
/home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Core.cpp: In function 'bool GemRB::WithinPersonalRange(const Scriptable*, const Scriptable*, int)':
/home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/core/Core.cpp:288:29: error: call of overloaded 'atan2(int, int)' is ambiguous
  288 |         double angle = atan2(actor->Pos.y - dest->Pos.y, actor->Pos.x - dest->Pos.x);
      |                        ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/iso/math_iso.h:192:28: note: candidate: 'long double std::atan2(long double, long double)'
  192 |         inline long double atan2(long double __X, long double __Y) {
      |                            ^~~~~
/usr/include/iso/math_iso.h:162:22: note: candidate: 'float std::atan2(float, float)'
  162 |         inline float atan2(float __X, float __Y) { return __atan2f(__X, __Y); }
      |                      ^~~~~
/usr/include/iso/math_iso.h:60:15: note: candidate: 'double std::atan2(double, double)'
   60 | extern double atan2(double, double);
      |               ^~~~~
*** [gemrb/core/CMakeFiles/gemrb_core.dir/Core.cpp.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/build
1 error

bmake[2]: stopped in /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/build
*** [gemrb/core/CMakeFiles/gemrb_core.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/build
1 error

bmake[1]: stopped in /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/build
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/build
1 error

bmake: stopped in /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/build
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/gemrb
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/gemrb