+ 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/flatbuffers-1.9.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/flatbuffers-1.9.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for flatbuffers-1.9.0
[  1%] Building CXX object CMakeFiles/flatbuffers.dir/src/code_generators.cpp.o
In file included from /home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0/include/flatbuffers/flexbuffers.h:24,
                 from /home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0/include/flatbuffers/idl.h:26,
                 from /home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0/include/flatbuffers/code_generators.h:22,
                 from /home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0/src/code_generators.cpp:17:
/home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0/include/flatbuffers/util.h: In function 'int flatbuffers::FromUTF8(const char**)':
/home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0/include/flatbuffers/util.h:324:8: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
  324 |   if ((static_cast<const unsigned char>(**in) << len) & 0x80) return -1;  // Bit after leading 1's must be 0.
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
*** [CMakeFiles/flatbuffers.dir/src/code_generators.cpp.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0
1 error

bmake[2]: stopped in /home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0
*** [CMakeFiles/flatbuffers.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0
1 error

bmake[1]: stopped in /home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0
1 error

bmake: stopped in /home/pbulk/build/devel/flatbuffers/work/flatbuffers-1.9.0
*** Error code 2

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

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