+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/mold-1.3.0nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/mold-1.3.0nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mold-1.3.0nb1
mkdir -p out/elf
touch out/elf/.keep
mkdir -p out/macho
touch out/macho/.keep
g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party/xxhash -DMOLD_VERSION=\"1.3.0\" -DLIBDIR="\"/opt/pkg/lib\"" -DUSE_SYSTEM_MIMALLOC -MT out/compress.o -MMD -MP -MF out/compress.d -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.9 -c -o out/compress.o compress.cc
g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party/xxhash -DMOLD_VERSION=\"1.3.0\" -DLIBDIR="\"/opt/pkg/lib\"" -DUSE_SYSTEM_MIMALLOC -MT out/demangle.o -MMD -MP -MF out/demangle.d -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.9 -c -o out/demangle.o demangle.cc
g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party/xxhash -DMOLD_VERSION=\"1.3.0\" -DLIBDIR="\"/opt/pkg/lib\"" -DUSE_SYSTEM_MIMALLOC -MT out/filepath.o -MMD -MP -MF out/filepath.d -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.9 -c -o out/filepath.o filepath.cc
g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party/xxhash -DMOLD_VERSION=\"1.3.0\" -DLIBDIR="\"/opt/pkg/lib\"" -DUSE_SYSTEM_MIMALLOC -MT out/glob.o -MMD -MP -MF out/glob.d -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.9 -c -o out/glob.o glob.cc
g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party/xxhash -DMOLD_VERSION=\"1.3.0\" -DLIBDIR="\"/opt/pkg/lib\"" -DUSE_SYSTEM_MIMALLOC -MT out/hyperloglog.o -MMD -MP -MF out/hyperloglog.d -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.9 -c -o out/hyperloglog.o hyperloglog.cc
hyperloglog.cc: In member function 'mold::i64 mold::HyperLogLog::get_cardinality() const':
hyperloglog.cc:16:21: error: call of overloaded 'pow(int, mold::i64)' is ambiguous
   16 |     z += pow(2, -val);
      |                     ^
In file included from /usr/include/math.h:35,
                 from /opt/tools/gcc10/include/c++/10.3.0/bits/std_abs.h:40,
                 from /opt/tools/gcc10/include/c++/10.3.0/cstdlib:77,
                 from /opt/tools/gcc10/include/c++/10.3.0/bits/stl_algo.h:59,
                 from /opt/tools/gcc10/include/c++/10.3.0/string:52,
                 from /opt/tools/gcc10/include/c++/10.3.0/bitset:47,
                 from mold.h:8,
                 from hyperloglog.cc:7:
/usr/include/iso/math_iso.h:226:21: note: candidate: 'long double std::pow(long double, int)'
  226 |  inline long double pow(long double __X, int __Y) {
      |                     ^~~
/usr/include/iso/math_iso.h:222:21: note: candidate: 'long double std::pow(long double, long double)'
  222 |  inline long double pow(long double __X, long double __Y) {
      |                     ^~~
/usr/include/iso/math_iso.h:177:15: note: candidate: 'float std::pow(float, int)'
  177 |  inline float pow(float __X, int __Y) {
      |               ^~~
/usr/include/iso/math_iso.h:175:15: note: candidate: 'float std::pow(float, float)'
  175 |  inline float pow(float __X, float __Y) { return __powf(__X, __Y); }
      |               ^~~
/usr/include/iso/math_iso.h:154:16: note: candidate: 'double std::pow(double, int)'
  154 |  inline double pow(double __X, int __Y) {
      |                ^~~
/usr/include/iso/math_iso.h:76:15: note: candidate: 'double std::pow(double, double)'
   76 | extern double pow(double, double);
      |               ^~~
gmake: *** [Makefile:136: out/hyperloglog.o] Error 1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mold