+ 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-3.4.4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/podman-3.4.4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for podman-3.4.4
mkdir -p "/home/pbulk/build/sysutils/podman/work/.home/go/src/github.com/containers"
ln -sfn "/home/pbulk/build/sysutils/podman/work/podman-3.4.4" "/home/pbulk/build/sysutils/podman/work/.home/go/src/github.com/containers/podman"
mkdir -p bin
touch .gopathok
mkdir -p docs/build/man
fatal: Not a git repository (or any of the parent directories): .git
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 \
	go build \
	-mod=vendor  \
	-ldflags '-X github.com/containers/podman/v3/libpod/define.gitCommit= -X github.com/containers/podman/v3/libpod/define.buildInfo=1656071287 -X github.com/containers/podman/v3/libpod/config._installPrefix=/usr/pkg -X github.com/containers/podman/v3/libpod/config._etcDir=/usr/pkg/etc ' \
	-tags " exclude_graphdriver_btrfs btrfs_noversion    exclude_graphdriver_devicemapper seccomp" \
	-o bin/podman ./cmd/podman
fatal: Not a git repository (or any of the parent directories): .git
CGO_ENABLED=1 \
	GOOS=linux \
	go build \
	-mod=vendor  \
	-ldflags '-X github.com/containers/podman/v3/libpod/define.gitCommit= -X github.com/containers/podman/v3/libpod/define.buildInfo=1656071287 -X github.com/containers/podman/v3/libpod/config._installPrefix=/usr/pkg -X github.com/containers/podman/v3/libpod/config._etcDir=/usr/pkg/etc ' \
	-tags "remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp" \
	-o bin/podman-remote ./cmd/podman
# github.com/mtrmac/gpgme
vendor/github.com/mtrmac/gpgme/data.go:4:20: fatal error: gpgme.h: No such file or directory
 // #include <gpgme.h>
                    ^
compilation terminated.
# pkg-config --cflags  -- libseccomp libseccomp
Package libseccomp was not found in the pkg-config search path.
Perhaps you should add the directory containing `libseccomp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libseccomp' found
Package libseccomp was not found in the pkg-config search path.
Perhaps you should add the directory containing `libseccomp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libseccomp' found
pkg-config: exit status 1
# github.com/containers/podman/v3/libpod/lock/shm
libpod/lock/shm/shm_lock.go:47:11: could not determine kind of name for C.CString
libpod/lock/shm/shm_lock.go:158:13: could not determine kind of name for C.allocate_given_semaphore
libpod/lock/shm/shm_lock.go:131:13: could not determine kind of name for C.allocate_semaphore
libpod/lock/shm/shm_lock.go:25:22: could not determine kind of name for C.bitmap_size_c
libpod/lock/shm/shm_lock.go:110:13: could not determine kind of name for C.close_lock_shm
libpod/lock/shm/shm_lock.go:194:13: could not determine kind of name for C.deallocate_all_semaphores
libpod/lock/shm/shm_lock.go:178:13: could not determine kind of name for C.deallocate_semaphore
libpod/lock/shm/shm_lock.go:48:8: could not determine kind of name for C.free
libpod/lock/shm/shm_lock.go:50:14: could not determine kind of name for C.int
libpod/lock/shm/shm_lock.go:223:13: could not determine kind of name for C.lock_semaphore
libpod/lock/shm/shm_lock.go:80:16: could not determine kind of name for C.open_lock_shm
libpod/lock/shm/shm_lock.go:51:16: could not determine kind of name for C.setup_lock_shm
libpod/lock/shm/shm_lock.go:31:14: could not determine kind of name for C.shm_struct_t
libpod/lock/shm/shm_lock.go:51:40: could not determine kind of name for C.uint32_t
libpod/lock/shm/shm_lock.go:247:13: could not determine kind of name for C.unlock_semaphore
cgo: 
cc errors for preamble:
In file included from /usr/include/stdlib.h:24:0,
                 from libpod/lock/shm/shm_lock.go:7:
/usr/include/features.h:330: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

if [ ! -x "/home/pbulk/build/sysutils/podman/work/.home/go/bin/go-md2man" ]; then \
		env GO111MODULE=off go get -u github.com/cpuguy83/go-md2man; \
fi
make: *** [bin/podman] Error 2
make: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/podman
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/podman