Closed maysunfaisal closed 4 years ago
@lsm5 any thoughts? I don't have a CentOS vm readily available.
@maysunfaisal try the centos SIG build instead. https://cbs.centos.org/koji/buildinfo?buildID=26863
@lsm5 downloaded the rpm from the link and it still gives me the same error:
[root@d46f29d39466 /]# buildah version
buildah: symbol lookup error: buildah: undefined symbol: seccomp_api_set
[root@d46f29d39466 /]# rpm -q buildah
buildah-1.11.3-2.el7.x86_64
Do we need a new version of libseccomp?
@maysunfaisal hmm, can you try installing libseccomp rpm from https://cbs.centos.org/koji/buildinfo?buildID=26448 and retry this? If it works, I'll update the minimum seccomp dependency in the rpm
@lsm5 yes, that seemed to work
[root@d46f29d39466 bin]# buildah version
Version: 1.11.3
Go Version: go1.10.2
Image Spec: 1.0.1-dev
Runtime Spec: 1.0.1-dev
CNI Spec: 0.4.0
libcni Version:
Git Commit:
Built: Thu Jan 1 00:00:00 1970
OS/Arch: linux/amd64
updated dependency in buildah spec file. Closing...
New build happening at https://cbs.centos.org/koji/taskinfo?taskID=995101 which should take care of the dependency issue.
@lsm5 looks like the build has failed :(
There appears to be a regression in the spec file and this issue has crept back into the 1.12 RPM. Looking at the spec, the libseccomp Requires
implemented for CentOS fix is no longer there:
# buildah version
buildah: symbol lookup error: buildah: undefined symbol: seccomp_api_set
# rpm -q --requires buildah
container-selinux
containers-common
libassuan.so.0()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libdevmapper.so.1.02()(64bit)
libdevmapper.so.1.02(Base)(64bit)
libdevmapper.so.1.02(DM_1_02_97)(64bit)
libgpg-error.so.0()(64bit)
libgpgme.so.11()(64bit)
libgpgme.so.11(GPGME_1.0)(64bit)
libgpgme.so.11(GPGME_1.1)(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libpthread.so.0(GLIBC_2.3.2)(64bit)
libseccomp.so.2()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
runc >= 1.0.0-17
slirp4netns >= 0.3-0
rpmlib(PayloadIsXz) <= 5.2-1
Version 1.11.3 spec file:
Name: %{repo}
Version: 1.11.3
...
%else
#### DO NOT REMOVE - NEEDED FOR CENTOS
Requires: libseccomp >= 2.4.1-0
Requires: container-selinux
Requires: slirp4netns >= 0.3-0
%endif
Version 1.12.0 spec file:
Name: %{repo}
Version: 1.12.0
...
%else
Requires: container-selinux
Requires: slirp4netns >= 0.3-0
%endif
Is there a source for this spec file that's publicly available?
Installing libseccomp = 2.4.1-0.el7
resolves the issue.
@TomSweeneyRedHat you OK to re-use this issue or would you like me to create a new one?
@pixdrift this is fine here.
@lsm5 any update?
@pixdrift have you tried the latest packages from OBS? See: https://github.com/containers/buildah/blob/master/install.md
Latest packages should be available.
Description
Steps to reproduce the issue:
https://download-ib01.fedoraproject.org/pub/fedora/linux/updates/30/Everything/x86_64/Packages/b/buildah-1.11.3-2.fc30.x86_64.rpm
Dependencies Resolved
============================================================================================================================================================================================================================================== Package Arch Version Repository Size
Updating: buildah x86_64 1.11.3-2.fc30 /buildah 36 M
Transaction Summary
Upgrade 1 Package
Total size: 36 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : buildah-1.11.3-2.fc30.x86_64 1/2 Cleanup : buildah-1.11.2-2.git0bafbfe.fc30.x86_64 2/2 Verifying : buildah-1.11.3-2.fc30.x86_64 1/2 Verifying : buildah-1.11.2-2.git0bafbfe.fc30.x86_64 2/2
Updated: buildah.x86_64 0:1.11.3-2.fc30
Complete!
[root@93fe8a5692a4 bin]# pwd /usr/bin [root@93fe8a5692a4 bin]# ls -la buildah -rwxr-xr-x 1 root root 37519624 Oct 4 18:20 buildah [root@93fe8a5692a4 bin]# buildah version buildah: symbol lookup error: buildah: undefined symbol: seccomp_api_set
buildah version Version: 1.11.2 Go Version: go1.12.9 Image Spec: 1.0.1 Runtime Spec: 1.0.1-dev CNI Spec: 0.4.0 libcni Version:
Git Commit:
Built: Thu Jan 1 00:00:00 1970 OS/Arch: linux/amd64
rpm -q buildah buildah-1.11.3-2.fc30.x86_64
(paste your output here)
[root@codewind-workspaceemry865xg0d6rhrp-66cff68799-5c5zq bin]# cat /etc/*release CentOS Linux release 7.6.1810 (Core) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.6.1810 (Core) CentOS Linux release 7.6.1810 (Core)
uname -a Linux codewind-workspaceemry865xg0d6rhrp-66cff68799-5c5zq 3.10.0-957.12.1.el7.x86_64 #1 SMP Wed Mar 20 11:34:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
(paste your output here)