+ 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=312 WRKLOG=/tmp/bulklog/zutty-0.15/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/zutty-0.15/work.log
===> Building for zutty-0.15
cd /home/pbulk/build/x11/zutty/work/zutty-7e481c0 && /usr/bin/env CC=gcc CFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/usr/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include\ -I/opt/pkg/include/libdrm CXX=g++ CXXFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/usr/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include\ -I/opt/pkg/include/libdrm DESTDIR=/home/pbulk/build/x11/zutty/work/.destdir LINKFLAGS=\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib PATH=/home/pbulk/build/x11/zutty/work/.cwrapper/bin:/home/pbulk/build/x11/zutty/work/.buildlink/bin:/home/pbulk/build/x11/zutty/work/.gcc/bin:/home/pbulk/build/x11/zutty/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin PREFIX=/opt/pkg JOBS=4 ./waf --libdir=/opt/pkg/lib
Waf: Entering directory `/home/pbulk/build/x11/zutty/work/zutty-7e481c0/build'
[ 1/13] Compiling src/main.cc
[ 2/13] Compiling src/charvdev.cc
[ 3/13] Compiling src/frame.cc
[ 4/13] Compiling src/pty.cc
../src/pty.cc:24: error: "_POSIX_C_SOURCE" redefined [-Werror]
   24 | #define _POSIX_C_SOURCE 200809L
      | 
In file included from /usr/include/sys/int_types.h:55,
                 from /usr/include/sys/stdint.h:36,
                 from /usr/include/stdint.h:36,
                 from /opt/tools/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.3.0/include/stdint.h:9,
                 from /opt/tools/gcc13/include/c++/13.3.0/cstdint:45,
                 from ../src/base.h:14,
                 from ../src/options.h:14,
                 from ../src/log.h:14,
                 from ../src/pty.cc:21:
/usr/include/sys/feature_tests.h:342: note: this is the location of the previous definition
  342 | #define _POSIX_C_SOURCE                 200112L
      | 
cc1plus: all warnings being treated as errors

Waf: Leaving directory `/home/pbulk/build/x11/zutty/work/zutty-7e481c0/build'
Build failed
 -> task in 'zutty' failed with exit status 1 (run with -v to display more information)
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/zutty
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/zutty