Skip to content
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

CI: add Ubuntu 24.04 #72

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open

CI: add Ubuntu 24.04 #72

wants to merge 1 commit into from

Conversation

sgallagher
Copy link
Owner

  • Add build-essential dep for Ubuntu CI

@sgallagher sgallagher self-assigned this Dec 11, 2024
@sgallagher
Copy link
Owner Author

sgallagher commented Dec 11, 2024

@martinpitt This is failing to build the Debian package in CI for Ubuntu 24.04 and I can't figure out why. It works fine when I run the steps manually in an ubuntu:24.04 Podman container. Could you help?

@@ -9,6 +9,7 @@ Build-Depends: debhelper-compat (= 12),
libssl-dev,
libtalloc-dev,
pkgconf,
build-essential,
Copy link
Contributor

Choose a reason for hiding this comment

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

Please don't do that. build-essential is implicitly present in all official Debian build environments, it shouldn't go into debian/control. You also don't have anything in your ci.yml workflow which would actually look at the declared build-deps here. Instead, add build-essential to the sudo apt install list in the workflow.

@martinpitt
Copy link
Contributor

I.e. notice how the install step does not actually install build-essential.

* Add build-essential dep for Ubuntu CI

Signed-off-by: Stephen Gallagher <[email protected]>
@martinpitt
Copy link
Contributor

@sgallagher nice!

The get_current_version source build failure is almost surely something else?

@sgallagher
Copy link
Owner Author

Yeah, I need to look into that next, I suppose. I haven't updated my Packit config for this project in years, so I'm not surprised something might have broken...

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