Attempting to build the latest version of Podman on a Rocky 8.5 machine. After cloning the repo and running make BUILDTAGS="", the following occurs:
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 \
-mod=vendor \
-ldflags '-X github.com/containers/podman/v4/libpod/define.gitCommit=f4d6e8777213880204ccbce92201c47c74b33036 -X github.com/containers/podman/v4/libpod/define.buildInfo=1646518079 -X github.com/containers/podman/v4/libpod/config._installPrefix=/usr/local -X github.com/containers/podman/v4/libpod/config._etcDir=/usr/local/etc -X github.com/containers/common/pkg/config.additionalHelperBinariesDir= ' \
-tags "" \
-o bin/podman ./cmd/podman
github.com/proglottis/gpgme
vendor/github.com/proglottis/gpgme/data.go:4:11: fatal error: gpgme.h: No such file or directory
// #include
^~~~~
compilation terminated.
github.com/containers/storage/drivers/btrfs
vendor/github.com/containers/storage/drivers/btrfs/btrfs.go:8:10: fatal error: btrfs/ioctl.h: No such file or directory
Finally, running sudo dnf install btrfs-progs-devel, the following error occurs:
No match for argument: btrfs-progs-devel
Error: Unable to find a match: btrfs-progs-devel
I enabled powertools in hopes that the btrfs install would work, but I've been unsuccessful installing btrfs-progs-devel, from what I can tell it seems that btrfs is no longer supported on CentOS and Rhel (and by extension, Rocky). What can I do to build podman?
Attempting to build the latest version of Podman on a Rocky 8.5 machine. After cloning the repo and running make BUILDTAGS="", the following occurs:
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 \ -mod=vendor \ -ldflags '-X github.com/containers/podman/v4/libpod/define.gitCommit=f4d6e8777213880204ccbce92201c47c74b33036 -X github.com/containers/podman/v4/libpod/define.buildInfo=1646518079 -X github.com/containers/podman/v4/libpod/config._installPrefix=/usr/local -X github.com/containers/podman/v4/libpod/config._etcDir=/usr/local/etc -X github.com/containers/common/pkg/config.additionalHelperBinariesDir= ' \ -tags "" \ -o bin/podman ./cmd/podman
github.com/proglottis/gpgme
vendor/github.com/proglottis/gpgme/data.go:4:11: fatal error: gpgme.h: No such file or directory // #include
^
~~~~ compilation terminated.github.com/containers/storage/drivers/btrfs
vendor/github.com/containers/storage/drivers/btrfs/btrfs.go:8:10: fatal error: btrfs/ioctl.h: No such file or directory
include <btrfs/ioctl.h>
compilation terminated. make: *** [Makefile:318: bin/podman] Error 2
Running dnf list gpgme, I can see that gpgme.x86_64 is already installed on the system.
Installed Packages gpgme.x86_64 1.13.1-9.el8 @anaconda
Finally, running sudo dnf install btrfs-progs-devel, the following error occurs:
No match for argument: btrfs-progs-devel Error: Unable to find a match: btrfs-progs-devel
I enabled powertools in hopes that the btrfs install would work, but I've been unsuccessful installing btrfs-progs-devel, from what I can tell it seems that btrfs is no longer supported on CentOS and Rhel (and by extension, Rocky). What can I do to build podman?