buildah: Buildah RPM spec missing Requires for ostree
The buildah RPM spec used to build RPM in CentOS extras is missing the Requires
for the ostree package which provides libostree-1.so.1.
Description
After installing buildah RPM for CentOS extras buildah fails to run, producing the following error:
buildah: error while loading shared libraries: libostree-1.so.1: cannot open shared object file: No such file or directory
Steps to reproduce the issue:
- Add required repos to yum configuration
yum install buildah
- execute
buildah
Describe the results you received:
buildah: error while loading shared libraries: libostree-1.so.1: cannot open shared object file: No such file or directory
Describe the results you expected: All libraries required for buildah to be defined in RPM and installed in yum install step.
Output of rpm -q buildah
or apt list buildah
:
buildah-0.9-1.git04ea079.el7.x86_64
Output of buildah -v
:
buildah version 0.9 (image-spec 1.0.0, runtime-spec 1.0.0)
Workaround: Manually install ostree package to resolve missing library/dependency issue
yum install ostree
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 25 (11 by maintainers)
https://github.com/projectatomic/buildah/pull/551 should fix this.