+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rawtherapee-5.11/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rawtherapee-5.11/work.log
===> Building for rawtherapee-5.11
[  0%] Creating AboutThisBuild.txt and other version-dependent files
[  0%] Built target UpdateInfo
[  1%] Building CXX object rtengine/CMakeFiles/rtengine.dir/ahd_demosaic_RT.cc.o
[  1%] Building CXX object rtengine/CMakeFiles/rtengine.dir/alpha.cc.o
[  1%] Building CXX object rtengine/CMakeFiles/rtengine.dir/amaze_demosaic_RT.cc.o
[  1%] Building CXX object rtengine/CMakeFiles/rtengine.dir/badpixels.cc.o
[  2%] Building CXX object rtengine/CMakeFiles/rtengine.dir/bayer_bilinear_demosaic.cc.o
[  2%] Building CXX object rtengine/CMakeFiles/rtengine.dir/boxblur.cc.o
[  2%] Building CXX object rtengine/CMakeFiles/rtengine.dir/canon_cr3_decoder.cc.o
[  3%] Building CXX object rtengine/CMakeFiles/rtengine.dir/CA_correct_RT.cc.o
[  3%] Building CXX object rtengine/CMakeFiles/rtengine.dir/calc_distort.cc.o
/home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/calc_distort.cc: In function 'int calcDistortion(unsigned char*, unsigned char*, int, int, int, double&)':
/home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/calc_distort.cc:58:18: error: call of overloaded 'sqrt(int)' is ambiguous
   58 |     radius = sqrt(ncols * ncols + nrows * nrows) / 2.0;
      |              ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/math.h:35,
                 from /opt/local/gcc13/include/c++/13.3.0/cmath:47,
                 from /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.11/rtengine/calc_distort.cc:10:
/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);
      |               ^~~~
--- rtengine/CMakeFiles/rtengine.dir/calc_distort.cc.o ---
*** [rtengine/CMakeFiles/rtengine.dir/calc_distort.cc.o] Error code 1

bmake[2]: stopped making "rtengine/CMakeFiles/rtengine.dir/build" in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build
bmake[2]: 1 error

bmake[2]: stopped making "rtengine/CMakeFiles/rtengine.dir/build" in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build
--- rtengine/CMakeFiles/rtengine.dir/all ---
*** [rtengine/CMakeFiles/rtengine.dir/all] Error code 2

bmake[1]: stopped making "all" in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build
bmake[1]: 1 error

bmake[1]: stopped making "all" in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build
*** [all] Error code 2

bmake: stopped making "all" in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.11/cmake-pkgsrc-build
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/graphics/rawtherapee
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/graphics/rawtherapee