+ 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.6nb9/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rawtherapee-5.6nb9/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Building for rawtherapee-5.6nb9
[  0%] Creating AboutThisBuild.txt and other version-dependent files
[  0%] Built target UpdateInfo
[  1%] Building CXX object rtexif/CMakeFiles/rtexif.dir/rtexif.cc.o
[  1%] Building CXX object rtexif/CMakeFiles/rtexif.dir/stdattribs.cc.o
[  1%] Building CXX object rtexif/CMakeFiles/rtexif.dir/nikonattribs.cc.o
[  2%] Building CXX object rtexif/CMakeFiles/rtexif.dir/canonattribs.cc.o
[  2%] Building CXX object rtexif/CMakeFiles/rtexif.dir/pentaxattribs.cc.o
[  3%] Building CXX object rtexif/CMakeFiles/rtexif.dir/fujiattribs.cc.o
[  3%] Building CXX object rtexif/CMakeFiles/rtexif.dir/sonyminoltaattribs.cc.o
[  3%] Building CXX object rtexif/CMakeFiles/rtexif.dir/olympusattribs.cc.o
[  4%] Building CXX object rtexif/CMakeFiles/rtexif.dir/kodakattribs.cc.o
[  4%] Building CXX object rtexif/CMakeFiles/rtexif.dir/panasonicattribs.cc.o
[  4%] Linking CXX static library librtexif.a
[  4%] Built target rtexif
[  4%] Building CXX object rtengine/CMakeFiles/rtengine.dir/CA_correct_RT.cc.o
[  5%] Building CXX object rtengine/CMakeFiles/rtengine.dir/EdgePreservingDecomposition.cc.o
[  5%] Building CXX object rtengine/CMakeFiles/rtengine.dir/FTblockDN.cc.o
[  5%] Building CXX object rtengine/CMakeFiles/rtengine.dir/PF_correct_RT.cc.o
[  6%] Building CXX object rtengine/CMakeFiles/rtengine.dir/ahd_demosaic_RT.cc.o
[  6%] Building CXX object rtengine/CMakeFiles/rtengine.dir/amaze_demosaic_RT.cc.o
[  6%] Building C object rtengine/CMakeFiles/rtengine.dir/cJSON.c.o
[  7%] Building CXX object rtengine/CMakeFiles/rtengine.dir/calc_distort.cc.o
/home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.6/rtengine/calc_distort.cc: In function 'int calcDistortion(unsigned char*, unsigned char*, int, int, int, double&)':
/home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.6/rtengine/calc_distort.cc:58:48: 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/gcc10/include/c++/10.4.0/cmath:45,
                 from /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.6/rtengine/calc_distort.cc:10:
/usr/include/iso/math_iso.h:232:21: 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:15: 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] Error code 1

bmake[2]: stopped in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.6
1 error

bmake[2]: stopped in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.6
*** [rtengine/CMakeFiles/rtengine.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.6
1 error

bmake[1]: stopped in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.6
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.6
1 error

bmake: stopped in /home/pbulk/build/graphics/rawtherapee/work/rawtherapee-5.6
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/graphics/rawtherapee
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/graphics/rawtherapee