+ 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=310 WRKLOG=/tmp/bulklog/bup-0.32nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/bup-0.32nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for bup-0.32nb5
Makefile:33: warning: undefined variable 'PYINCLUDE'
fatal: not a git repository (or any parent up to mount point /home/pbulk)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Warning: pandoc not found; skipping manpage generation
Makefile:106: warning: undefined variable 'DESTDIR'
Makefile:107: warning: undefined variable 'DESTDIR'
Makefile:108: warning: undefined variable 'DESTDIR'
Makefile:109: warning: undefined variable 'DESTDIR'
cd lib/bup && /home/pbulk/build/sysutils/bup/work/bup-0.32/config/bin/python csetup.py build "-D_FILE_OFFSET_BITS=64  -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10" "-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lintl -liconv -lreadline"
/home/pbulk/build/sysutils/bup/work/bup-0.32/lib/bup/csetup.py:5: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.core import setup, Extension
running build
running build_ext
building '_helpers' extension
creating build
creating build/temp.solaris-2.11-i86pc.64bit-3.10
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGSRC_OPSYS_VERSION=051100 -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/db4 -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10 -fPIC -I/opt/pkg/include/python3.10 -c _helpers.c -o build/temp.solaris-2.11-i86pc.64bit-3.10/_helpers.o -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/python3.10
_helpers.c:151:17: error: static declaration of 'htonll' follows non-static declaration
  151 | static uint64_t htonll(uint64_t value)
      |                 ^~~~~~
In file included from /usr/include/netinet/in.h:73,
                 from /usr/include/sys/socket.h:67,
                 from /usr/include/arpa/inet.h:43,
                 from _helpers.c:10:
/usr/include/sys/byteorder.h:96:18: note: previous declaration of 'htonll' with type 'uint64_t(uint64_t)' {aka 'long unsigned int(long unsigned int)'}
   96 | extern  uint64_t htonll(uint64_t);
      |                  ^~~~~~
error: command '/home/pbulk/build/sysutils/bup/work/.cwrapper/bin/gcc' failed with exit code 1
gmake: *** [Makefile:153: lib/bup/_helpers.so] Error 1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/bup