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

LXC 4.0.12 build broken with glibc 2.36 #4183

Closed
maravtdm opened this issue Aug 14, 2022 · 2 comments
Closed

LXC 4.0.12 build broken with glibc 2.36 #4183

maravtdm opened this issue Aug 14, 2022 · 2 comments

Comments

@maravtdm
Copy link

Hi
lxc 4.0.12 doesn't compile anymore on Slackware current with glibc 2.36

Required information

  • Distribution: Slackware
  • Distribution version: current
  • Glibc : 2.36
  • Kernel : 5.19.1

Steps to reproduce

  1. tar xvf lxc-4.0.12.tar.gz
  2. cd lxc-4.0.12
  3. ./configure --prefix=/usr
  4. make

e.g.

mount_utils.c: In function 'create_detached_idmapped_mount':
mount_utils.c:297:29: error: passing argument 4 of 'mount_setattr' from incompatible pointer type [-Werror=incompatible-pointer-types]

Information to attach

full make output attached
make.stdout.txt

@stgraber stgraber closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2022
@stgraber
Copy link
Member

The 4.0 branch is only updated for security issues. We already have merged fixes for the new glibc in the 5.0 branch though it looks like more will be coming soon to handle some more issues caused by the new C library.

@maravtdm
Copy link
Author

Indeed, that's what I had seen
Thanks for the reply

arnout pushed a commit to buildroot/buildroot that referenced this issue Nov 5, 2022
LXC 5.0 will be supported until June 2027 and our current LTS release,
LXC 4.0 will now switch to a slower maintenance pace, only getting
critical bugfixes and security updates.

We strongly recommend all LXC users to plan an upgrade to the 5.0
branch.

- Switch to meson-package
- Add an upstream patch to fix the following build failure with glibc
  2.36 (unfortunately upstream doesn't plan to fix this for 4.x:
  lxc/lxc#4183 and patch is only working with
  meson, not autotools)

https://discuss.linuxcontainers.org/t/lxc-5-0-lts-has-been-released
https://discuss.linuxcontainers.org/t/lxc-5-0-1-has-been-released

Fixes:
 - http://autobuild.buildroot.org/results/f77e2dc44c9a224f280e08089a890e85c302274f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants