+ 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/charls-2.3.4/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/charls-2.3.4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for charls-2.3.4
[  4%] Building CXX object CMakeFiles/charls.dir/src/charls_jpegls_decoder.cpp.o
[  9%] Building CXX object CMakeFiles/charls.dir/src/charls_jpegls_encoder.cpp.o
[ 13%] Building CXX object CMakeFiles/charls.dir/src/jpegls_error.cpp.o
[ 18%] Building CXX object CMakeFiles/charls.dir/src/jpegls.cpp.o
[ 22%] Building CXX object CMakeFiles/charls.dir/src/jpeg_stream_reader.cpp.o
[ 27%] Building CXX object CMakeFiles/charls.dir/src/jpeg_stream_writer.cpp.o
[ 31%] Building CXX object CMakeFiles/charls.dir/src/version.cpp.o
[ 36%] Linking CXX shared library libcharls.so
ld: fatal: unrecognized option '--version-script=/home/pbulk/build/graphics/charls/work/charls-2.3.4/src/charls.version'
ld: fatal: use the -z help option for usage information
collect2: error: ld returned 1 exit status
*** [libcharls.so.2.3.4] Error code 1

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

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

bmake[1]: stopped in /home/pbulk/build/graphics/charls/work/charls-2.3.4
1 error

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

bmake: stopped in /home/pbulk/build/graphics/charls/work/charls-2.3.4
1 error

bmake: stopped in /home/pbulk/build/graphics/charls/work/charls-2.3.4
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/graphics/charls