+ 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/nlohmann-json-3.11.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nlohmann-json-3.11.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for nlohmann-json-3.11.2
[  1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o
In file included from /home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2/tests/thirdparty/doctest/doctest_compatibility.h:6,
                 from /home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2/tests/src/unit.cpp:10:
/home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2/tests/thirdparty/doctest/doctest.h: In member function 'virtual void doctest::{anonymous}::ConsoleReporter::test_run_end(const doctest::TestRunStats&)':
/home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2/tests/thirdparty/doctest/doctest.h:5806:48: error: call of overloaded 'log10(unsigned int)' is ambiguous
 5806 |             auto totwidth = int(std::ceil(log10((std::max(p.numTestCasesPassingFilters, static_cast<unsigned>(p.numAsserts))) + 1)));
      |                                           ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/math.h:35,
                 from /opt/tools/gcc12/include/c++/12.2.0/cmath:45,
                 from /home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2/tests/thirdparty/doctest/doctest.h:2806:
/usr/include/iso/math_iso.h:216:28: note: candidate: 'long double std::log10(long double)'
  216 |         inline long double log10(long double __X) { return __log10l(__X); }
      |                            ^~~~~
/usr/include/iso/math_iso.h:173:22: note: candidate: 'float std::log10(float)'
  173 |         inline float log10(float __X) { return __log10f(__X); }
      |                      ^~~~~
/usr/include/iso/math_iso.h:73:15: note: candidate: 'double std::log10(double)'
   73 | extern double log10(double);
      |               ^~~~~
/home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2/tests/thirdparty/doctest/doctest.h:5807:49: error: call of overloaded 'log10(unsigned int)' is ambiguous
 5807 |             auto passwidth = int(std::ceil(log10((std::max(p.numTestCasesPassingFilters - p.numTestCasesFailed, static_cast<unsigned>(p.numAsserts - p.numAssertsFailed))) + 1)));
      |                                            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/iso/math_iso.h:216:28: note: candidate: 'long double std::log10(long double)'
  216 |         inline long double log10(long double __X) { return __log10l(__X); }
      |                            ^~~~~
/usr/include/iso/math_iso.h:173:22: note: candidate: 'float std::log10(float)'
  173 |         inline float log10(float __X) { return __log10f(__X); }
      |                      ^~~~~
/usr/include/iso/math_iso.h:73:15: note: candidate: 'double std::log10(double)'
   73 | extern double log10(double);
      |               ^~~~~
/home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2/tests/thirdparty/doctest/doctest.h:5808:49: error: call of overloaded 'log10(unsigned int)' is ambiguous
 5808 |             auto failwidth = int(std::ceil(log10((std::max(p.numTestCasesFailed, static_cast<unsigned>(p.numAssertsFailed))) + 1)));
      |                                            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/iso/math_iso.h:216:28: note: candidate: 'long double std::log10(long double)'
  216 |         inline long double log10(long double __X) { return __log10l(__X); }
      |                            ^~~~~
/usr/include/iso/math_iso.h:173:22: note: candidate: 'float std::log10(float)'
  173 |         inline float log10(float __X) { return __log10f(__X); }
      |                      ^~~~~
/usr/include/iso/math_iso.h:73:15: note: candidate: 'double std::log10(double)'
   73 | extern double log10(double);
      |               ^~~~~
*** [tests/CMakeFiles/test_main.dir/src/unit.cpp.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2
1 error

bmake[2]: stopped in /home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2
*** [tests/CMakeFiles/test_main.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2
1 error

bmake[1]: stopped in /home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2
1 error

bmake: stopped in /home/pbulk/build/textproc/nlohmann-json/work/json-3.11.2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/nlohmann-json
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/nlohmann-json