+ 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/mac-3.99u4b5s7/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mac-3.99u4b5s7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mac-3.99u4b5s7
Making all in src
Making all in Shared
/opt/pkg/bin/bmake  all-am
/usr/bin/bash ../../libtool --tag=CXX    --mode=compile g++ -DHAVE_CONFIG_H -I.      -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -Wall -pedantic -Wno-long-long -MT GlobalFunctions.lo -MD -MP -MF .deps/GlobalFunctions.Tpo -c -o GlobalFunctions.lo GlobalFunctions.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -Wall -pedantic -Wno-long-long -MT GlobalFunctions.lo -MD -MP -MF .deps/GlobalFunctions.Tpo -c GlobalFunctions.cpp  -fPIC -DPIC -o .libs/GlobalFunctions.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -Wall -pedantic -Wno-long-long -MT GlobalFunctions.lo -MD -MP -MF .deps/GlobalFunctions.Tpo -c GlobalFunctions.cpp -o GlobalFunctions.o >/dev/null 2>&1
mv -f .deps/GlobalFunctions.Tpo .deps/GlobalFunctions.Plo
/usr/bin/bash ../../libtool --tag=CXX    --mode=compile g++ -DHAVE_CONFIG_H -I.      -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -Wall -pedantic -Wno-long-long -MT StdLibFileIO.lo -MD -MP -MF .deps/StdLibFileIO.Tpo -c -o StdLibFileIO.lo StdLibFileIO.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -Wall -pedantic -Wno-long-long -MT StdLibFileIO.lo -MD -MP -MF .deps/StdLibFileIO.Tpo -c StdLibFileIO.cpp  -fPIC -DPIC -o .libs/StdLibFileIO.o
StdLibFileIO.cpp: In constructor 'CStdLibFileIO::CStdLibFileIO()':
StdLibFileIO.cpp:106:11: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
  106 |     memset(m_cFileName, 0, MAX_PATH);
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -Wall -pedantic -Wno-long-long -MT StdLibFileIO.lo -MD -MP -MF .deps/StdLibFileIO.Tpo -c StdLibFileIO.cpp -o StdLibFileIO.o >/dev/null 2>&1
mv -f .deps/StdLibFileIO.Tpo .deps/StdLibFileIO.Plo
/usr/bin/bash ../../libtool --tag=CXX    --mode=compile g++ -DHAVE_CONFIG_H -I.      -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -Wall -pedantic -Wno-long-long -MT CharacterHelper.lo -MD -MP -MF .deps/CharacterHelper.Tpo -c -o CharacterHelper.lo CharacterHelper.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -Wall -pedantic -Wno-long-long -MT CharacterHelper.lo -MD -MP -MF .deps/CharacterHelper.Tpo -c CharacterHelper.cpp  -fPIC -DPIC -o .libs/CharacterHelper.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -Wall -pedantic -Wno-long-long -MT CharacterHelper.lo -MD -MP -MF .deps/CharacterHelper.Tpo -c CharacterHelper.cpp -o CharacterHelper.o >/dev/null 2>&1
mv -f .deps/CharacterHelper.Tpo .deps/CharacterHelper.Plo
/usr/bin/bash ../../libtool --tag=CXX    --mode=compile g++ -DHAVE_CONFIG_H -I.      -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -Wall -pedantic -Wno-long-long -MT CircleBuffer.lo -MD -MP -MF .deps/CircleBuffer.Tpo -c -o CircleBuffer.lo CircleBuffer.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O3 -Wall -pedantic -Wno-long-long -MT CircleBuffer.lo -MD -MP -MF .deps/CircleBuffer.Tpo -c CircleBuffer.cpp  -fPIC -DPIC -o .libs/CircleBuffer.o
CircleBuffer.cpp: In member function 'int CCircleBuffer::Get(unsigned char*, int)':
CircleBuffer.cpp:48:26: error: 'min' was not declared in this scope; did you mean 'std::min'?
   48 |         int nHeadBytes = min(m_nEndCap - m_nHead, nBytes);
      |                          ^~~
      |                          std::min
In file included from /opt/tools/gcc13/include/c++/13.2.0/bits/specfun.h:43,
                 from /opt/tools/gcc13/include/c++/13.2.0/cmath:3699,
                 from /opt/tools/gcc13/include/c++/13.2.0/math.h:36,
                 from All.h:40,
                 from CircleBuffer.cpp:1:
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:281:5: note: 'std::min' declared here
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
CircleBuffer.cpp: In member function 'int CCircleBuffer::RemoveHead(int)':
CircleBuffer.cpp:75:14: error: 'min' was not declared in this scope; did you mean 'std::min'?
   75 |     nBytes = min(MaxGet(), nBytes);
      |              ^~~
      |              std::min
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:281:5: note: 'std::min' declared here
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
CircleBuffer.cpp: In member function 'int CCircleBuffer::RemoveTail(int)':
CircleBuffer.cpp:84:14: error: 'min' was not declared in this scope; did you mean 'std::min'?
   84 |     nBytes = min(MaxGet(), nBytes);
      |              ^~~
      |              std::min
/opt/tools/gcc13/include/c++/13.2.0/bits/stl_algobase.h:281:5: note: 'std::min' declared here
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
*** [CircleBuffer.lo] Error code 1

bmake[3]: stopped in /home/pbulk/build/audio/mac/work/mac-3.99-u4-b5-s7/src/Shared
1 error

bmake[3]: stopped in /home/pbulk/build/audio/mac/work/mac-3.99-u4-b5-s7/src/Shared
*** [all] Error code 2

bmake[2]: stopped in /home/pbulk/build/audio/mac/work/mac-3.99-u4-b5-s7/src/Shared
1 error

bmake[2]: stopped in /home/pbulk/build/audio/mac/work/mac-3.99-u4-b5-s7/src/Shared
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/audio/mac/work/mac-3.99-u4-b5-s7/src
1 error

bmake[1]: stopped in /home/pbulk/build/audio/mac/work/mac-3.99-u4-b5-s7/src
*** [all-recursive] Error code 1

bmake: stopped in /home/pbulk/build/audio/mac/work/mac-3.99-u4-b5-s7
1 error

bmake: stopped in /home/pbulk/build/audio/mac/work/mac-3.99-u4-b5-s7
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/audio/mac
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/audio/mac