Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Conversation

@mfonville
Copy link
Contributor

Ubuntu 16.04 is not supported anymore.

Ubuntu 18.04 is necessary to resolve #22076 because we require a more up-to-date rpmbuild

Copy link
Contributor

@sadick254 sadick254 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@DeeDeeG
Copy link
Contributor

DeeDeeG commented May 13, 2021

It would be good to check whether other distros have the same or newer glibc as Bionic. I suspect Debian 9 has older glibc.

Older glibc is forward-compatible with newer, but the reverse isn't true -- Programs compiled with newer glibc won't run on older glibc.

I'll try to check the versions on the different distros some time today. Should work from just booting up a couple of LiveCD images in VirtualBox and running ldd --version on each of them...

@mfonville
Copy link
Contributor Author

We can also just check the Debian repositories: https://tracker.debian.org/pkg/glibc
Their old-stable (indeed Debian 9, Stretch) is on glibc 2.24

Ubuntu Bionic has glibc 2.27
so you are right about this possible implication. But also to think about: if targeting Debian as supported platform, and you want backwards-compatibility for their older stable releases, then building on Ubuntu might not be the best platform, because it reaches End-of-Life earlier than its Debian counterparts.

@mfonville mfonville mentioned this pull request May 13, 2021
@mfonville
Copy link
Contributor Author

mfonville commented May 15, 2021

There is this PPA with many backports, including RPM, for Xenial: https://launchpad.net/~savoury1/+archive/ubuntu/backports

Maybe we could use that PPA, or make our own (to be more safe)

it is a bit problematic that official Xenial support is now dropped, so there are no more official Xenial repositories hosted by Ubuntu/Canonical themselves.

We could also use the Xenial image, and then just add the bionic repository in the script, and just install rpm from the official bionic repo.

@mfonville mfonville mentioned this pull request May 15, 2021
@mfonville
Copy link
Contributor Author

I will close this PR in favor of #22433 because of the glibc complications mentioned by @DeeDeeG

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants