-
Notifications
You must be signed in to change notification settings - Fork 34
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
Feat: build on Ubuntu 24.04 #632
Comments
rchincha
added a commit
to rchincha/stacker
that referenced
this issue
Aug 14, 2024
Fixes issue project-stacker#632 Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
I have a fix for the missing liblxc.a file: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/2080069 I'll see if I can upload a src package to the puzzlefs PPA shortly |
raharper
added a commit
to raharper/stacker
that referenced
this issue
Sep 11, 2024
Fix build on Ubuntu 24.04 - install libsystem-dev for static libsystemd library - Use ppa:puzzleos/dev to pull in patched lxc 5.0.3 which includes liblxc.a in the lxc-dev package - Handle modifying kernel tunables for user-namespace and apparmor restrictions - Adjust Makefile to add -lsystemd to the libs when making stacker-dynamic, but omit the library when stacker-static is building built - Add default container policy to rfs if not already present Fixes: project-stacker#632 Signed-off-by: Ryan Harper <rharper@woxford.com>
raharper
added a commit
to raharper/stacker
that referenced
this issue
Sep 11, 2024
Fix build on Ubuntu 24.04 - install libsystem-dev for static libsystemd library - Use ppa:puzzleos/dev to pull in patched lxc 5.0.3 which includes liblxc.a in the lxc-dev package - Handle modifying kernel tunables for user-namespace and apparmor restrictions - Adjust Makefile to add -lsystemd to the libs when making stacker-dynamic, but omit the library when stacker-static is building built - Add default container policy to rfs if not already present - Fix whiteouts.bats test, don't quote the bsdtar | grep or we get command not found. Fixes: project-stacker#632 Signed-off-by: Ryan Harper <rharper@woxford.com>
raharper
added a commit
to raharper/stacker
that referenced
this issue
Sep 11, 2024
Fix build on Ubuntu 24.04 - install libsystem-dev for static libsystemd library - Use ppa:puzzleos/dev to pull in patched lxc 5.0.3 which includes liblxc.a in the lxc-dev package - Handle modifying kernel tunables for user-namespace and apparmor restrictions - Adjust Makefile to add -lsystemd to the libs when making stacker-dynamic, but omit the library when stacker-static is building built - Add default container policy to rfs if not already present - Fix whiteouts.bats test, don't quote the bsdtar | grep or we get command not found, further, check the grep return code, if it's 0, then we found the whiteout file in the tar and the test should fail. Fixes: project-stacker#632 Signed-off-by: Ryan Harper <rharper@woxford.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
Let's get a fix in for Noble's lxc packaging so we can compile and build stacker on Ubuntu Noble
Describe alternatives you've considered
We could look at using this
golang-gopkg-lxc-go-lxc.v2-dev
packageAdditional context
Spent some time trying to update the github build workflow for Noble (Ubuntu 24.04)
There's some Ubuntu Noble changes around lxc, lxc-dev, liblxc, etc which make building stacker fail due to the lxc-wrapper not compiling.
None of the lxc library/dev packages provide a liblxc.a for static linking
Further, even the lxc-git-master ppa fails on noble, in that scenario, it seems to be the same trouble with getting a libsystemd.a
https://launchpadlibrarian.net/742837071/buildlog_ubuntu-noble-amd64.lxc_1%3A6.0.0+main~20240808-0805-0ubuntu1~noble_BUILDING.txt.gz
The text was updated successfully, but these errors were encountered: