Skip to content

Fix compatibility with Ubuntu 22.04 - #574

Open
lowjoel wants to merge 1 commit into
latchset:masterfrom
lowjoel:ubuntu-22.04-compat
Open

lowjoel wants to merge 1 commit into
latchset:masterfrom
lowjoel:ubuntu-22.04-compat

Conversation

@lowjoel

@lowjoel lowjoel commented Sep 16, 2026 •

Copy link
Copy Markdown

Ubuntu 22.04 ships with an older meson version which does not recognise that dl is provided by libc; this breaks the build.

On newer Ubuntu versions, meson recognises that glibc has bundled them together since 2.34. Ubuntu 22.04 has a monolithic glibc but meson does not recognise that. This appears to be the fix for compatibility.

Before: https://launchpadlibrarian.net/876439251/buildlog_ubuntu-jammy-amd64.clevis_23-1~202609100318~ubuntu22.04.1_BUILDING.txt.gz
After: https://launchpad.net/~lowjoel/+archive/ubuntu/clevis/+build/33587722/+files/buildlog_ubuntu-jammy-amd64.clevis_23-1~202609110200~ubuntu22.04.1_BUILDING.txt.gz

Ubuntu 22.04 ships with an older `meson` version which does not recognise
that dl is provided by libc; this breaks the build.

On newer Ubuntu versions, meson recognises that glibc has bundled them
together since 2.34. Ubuntu 22.04 has a monolithic glibc but `meson`
does not recognise that. This appears to be the fix for compatibility.
@sarroutbi

Copy link
Copy Markdown
Collaborator

/packit test

@sarroutbi

Copy link
Copy Markdown
Collaborator

/packit retest-failed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants