-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman and buildah downloaded from "xUbuntu_18.04" are not compatible with Ubuntu 18.04 due to GLIBC 2.28 #8943
Comments
@lsm5 PTAL |
The build log looks reasonable:
Something must have gone wrong in the packaging... Does the regular .deb work, maybe only the .tar.gz is broken ?
|
Well, it took a little time for me to get the .deb files from build.opensuse.org that forced me to create an account there (download.opensuse.org provides only .tar.gz and .dsc ones). 63325656 Dec 9 17:50 ~/jenkins/tools/org.jenkinsci.plugins.docker.commons.tools.DockerTool/Podman/BUILD/bin/podman 36139344 Dec 7 21:39 ~/jenkins/tools/org.jenkinsci.plugins.docker.commons.tools.DockerTool/Buildah/BUILD/bin/buildah So it looks as a build issue. The .tar.gz should provide the same binaries on my opinion. |
@AlexanderSamoilov : I don't think that .tar.gz is meant for public consumption, it has a .git directory and what not. So just some internal piece of the build machinery, which is also why it requires login I suppose. Most people would just follow https://podman.io/getting-started/installation#ubuntu . /etc/os-release
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" \
| sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key \
| sudo apt-key add -
sudo apt-get update
sudo apt-get -y install podman
Otherwise it can be a bit hard to navigate the OBS site... build.opensuse.orgThe download button is hidden on the far right, of the landing page: software.opensuse.orgThen you get to the friendly page, which will lead you to the apt config or directly to the deb file: download.opensuse.orgAnd if you do that setup, then you will finally find the download location (for each architecture). # apt-cache madison podman
podman | 2.2.1~4 | https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04 Packages Handling all the dependencies manually, is somewhat painful. |
Dear @afbjorklund, Thanks for your answer! You mixed it up it little bit saying that tar.gz requires login. I needed to be logged in to get the .deb file. So I can use now the .deb files in automated mode, without being logged in and this fits my expectation. |
Actually it is up to the project. I do believe that there are some static binaries available - but those tarballs are not it. |
Please see first the original issue openSUSE/open-build-service#10610 that was closed as unrelevant with a suggestion to open an issue on Podman.
PROBLEM:
I've tried running podman and buildah from Kubic project from https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/ on Ubuntu 18.04.
I downloaded them from https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/buildah_1.18.0~3.tar.gz and https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/podman_2.2.1~4.tar.gz respectively.
Both fail on Ubuntu 18.04 with the error message "/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found", because Ubuntu/xUbuntu 18.04 have just GLIBC 2.27 and no GLIBC 2.28.
So it was either wrongly built and the build should be fixed to be indeed compatible with Ubuntu 18.04, or the subfolder name "xUbuntu_18.04" should be corrected/removed, because it confuses the user who wants to install these products for Ubuntu/xUbuntu 18.04.
If these binaries were built for some non-standard configuration (that is Ubuntu 18.04 + GLIBC 2.28) then please mention it on the download page and explain where can one get this "special" Ubuntu.
--
Best Regards,
Alexander
The text was updated successfully, but these errors were encountered: