+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/podman-5.0.3nb4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/podman-5.0.3nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for podman-5.0.3nb4
fatal: not a git repository (or any of the parent directories): .git
mkdir -p bin
Podman is being compiled without the systemd build tag. 	Install libsystemd on Ubuntu or systemd-devel on rpm based 	distro for journald support.
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build \
	 \
	-ldflags ' -X github.com/containers/podman/v5/libpod/define.buildInfo=1734825549 -X github.com/containers/podman/v5/libpod/config._installPrefix=/usr/pkg -X github.com/containers/podman/v5/libpod/config._etcDir=/etc -X github.com/containers/podman/v5/pkg/systemd/quadlet._binDir=/usr/pkg/bin -X github.com/containers/common/pkg/config.additionalHelperBinariesDir= ' \
	-tags " exclude_graphdriver_btrfs btrfs_noversion   exclude_graphdriver_devicemapper seccomp" \
	-o bin/podman ./cmd/podman
CGO_ENABLED=1 \
	go build \
	 \
	-o bin/rootlessport ./cmd/rootlessport
fatal: not a git repository (or any of the parent directories): .git
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build \
	 \
	-ldflags ' -X github.com/containers/podman/v5/libpod/define.buildInfo=1734825549 -X github.com/containers/podman/v5/libpod/config._installPrefix=/usr/pkg -X github.com/containers/podman/v5/libpod/config._etcDir=/etc -X github.com/containers/podman/v5/pkg/systemd/quadlet._binDir=/usr/pkg/bin -X github.com/containers/common/pkg/config.additionalHelperBinariesDir= ' \
	-tags " exclude_graphdriver_btrfs btrfs_noversion   exclude_graphdriver_devicemapper seccomp" \
	-o bin/quadlet ./cmd/quadlet
hack/markdown-preprocess
if [ ! -x "./test/tools/build/go-md2man" ]; then \
	/usr/pkg/bin/gmake -C test/tools build/go-md2man GOOS=linux GOARCH=amd64; \
fi
gmake[1]: Entering directory '/home/pbulk/build/sysutils/podman/work/podman-5.0.3/test/tools'
go build -o build/go-md2man ./vendor/github.com/cpuguy83/go-md2man/v2
gmake[1]: Leaving directory '/home/pbulk/build/sysutils/podman/work/podman-5.0.3/test/tools'
mkdir -p docs/build/man
fatal: not a git repository (or any of the parent directories): .git
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build \
	 \
	-ldflags ' -X github.com/containers/podman/v5/libpod/define.buildInfo=1734825581 -X github.com/containers/podman/v5/libpod/config._installPrefix=/usr/pkg -X github.com/containers/podman/v5/libpod/config._etcDir=/etc -X github.com/containers/podman/v5/pkg/systemd/quadlet._binDir=/usr/pkg/bin -X github.com/containers/common/pkg/config.additionalHelperBinariesDir= ' \
	-tags "remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp" \
	-o bin/podman-remote ./cmd/podman
# github.com/containers/podman/v5/pkg/rootless
pkg/rootless/rootless_linux.go:156:15: could not determine kind of name for C.CString
pkg/rootless/rootless_linux.go:157:8: could not determine kind of name for C.free
pkg/rootless/rootless_linux.go:159:31: could not determine kind of name for C.int
pkg/rootless/rootless_linux.go:603:13: could not determine kind of name for C.is_fd_inherited
pkg/rootless/rootless_linux.go:291:10: could not determine kind of name for C.reexec_in_user_namespace
pkg/rootless/rootless_linux.go:287:4: could not determine kind of name for C.reexec_in_user_namespace_wait
pkg/rootless/rootless_linux.go:159:10: could not determine kind of name for C.reexec_userns_join
pkg/rootless/rootless_linux.go:49:25: could not determine kind of name for C.rootless_gid
pkg/rootless/rootless_linux.go:48:25: could not determine kind of name for C.rootless_uid
cgo: 
cc errors for preamble:
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from pkg/rootless/rootless_linux.go:32:
/usr/include/features.h:381:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc1: all warnings being treated as errors

github.com/proglottis/gpgme: /home/pbulk/build/sysutils/podman/work/.tools/bin/pkg-config: exit status 1
github.com/seccomp/libseccomp-golang: /home/pbulk/build/sysutils/podman/work/.tools/bin/pkg-config: exit status 1
# github.com/containers/podman/v5/libpod/lock/shm
libpod/lock/shm/shm_lock.go:51:11: could not determine kind of name for C.CString
libpod/lock/shm/shm_lock.go:162:13: could not determine kind of name for C.allocate_given_semaphore
libpod/lock/shm/shm_lock.go:135:13: could not determine kind of name for C.allocate_semaphore
libpod/lock/shm/shm_lock.go:273:13: could not determine kind of name for C.available_locks
libpod/lock/shm/shm_lock.go:29:22: could not determine kind of name for C.bitmap_size_c
libpod/lock/shm/shm_lock.go:114:13: could not determine kind of name for C.close_lock_shm
libpod/lock/shm/shm_lock.go:198:13: could not determine kind of name for C.deallocate_all_semaphores
libpod/lock/shm/shm_lock.go:182:13: could not determine kind of name for C.deallocate_semaphore
libpod/lock/shm/shm_lock.go:52:8: could not determine kind of name for C.free
libpod/lock/shm/shm_lock.go:54:14: could not determine kind of name for C.int
libpod/lock/shm/shm_lock.go:227:13: could not determine kind of name for C.lock_semaphore
libpod/lock/shm/shm_lock.go:84:16: could not determine kind of name for C.open_lock_shm
libpod/lock/shm/shm_lock.go:55:16: could not determine kind of name for C.setup_lock_shm
libpod/lock/shm/shm_lock.go:35:14: could not determine kind of name for C.shm_struct_t
libpod/lock/shm/shm_lock.go:311:15: could not determine kind of name for C.shm_unlink
libpod/lock/shm/shm_lock.go:295:14: could not determine kind of name for C.try_lock
libpod/lock/shm/shm_lock.go:55:40: could not determine kind of name for C.uint32_t
libpod/lock/shm/shm_lock.go:251:13: could not determine kind of name for C.unlock_semaphore
cgo: 
cc errors for preamble:
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from libpod/lock/shm/shm_lock.go:7:
/usr/include/features.h:381:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc1: all warnings being treated as errors

# github.com/containers/podman/v5/pkg/machine/env
pkg/machine/env/dir_linux.go:8:6: getRuntimeDir redeclared in this block
	pkg/machine/env/dir_bsd.go:5:6: other declaration of getRuntimeDir
gmake: *** [Makefile:350: bin/podman] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:366: bin/podman-remote] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/podman
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/podman