Hi, recently lxc-0.9.0 come out, I've tryed to compile it without the backports and it kinda work. had to configure --disable-doc because it's looking for docbook2x-man and app-text/docbook2X is not enough. lxc-setcap seem not to be provided anymore. diff /g/portage/app-emulation/lxc/lxc-0.8.0-r1.ebuild lxc-0.9.0.ebuild 9c9 < BACKPORTS=1 --- > BACKPORTS= 32a33 > app-text/docbook2X 102c103 < --enable-doc \ --- > --disable-doc \ 109,111d109 < < rm -r "${D}"/usr/sbin/lxc-setcap \ < || die "unable to remove lxc-setcap" diff qlist from lxc-0.8.0-r1 and lxc-0.9.0 2a3 > /etc/lxc/default.conf 12a14,15 > /usr/include/lxc/lxccontainer.h > /usr/include/lxc/lxclock.h 17a21 > /usr/include/lxc/version.h 20,21c24,26 < /usr/lib64/liblxc-0.8.0.a < /usr/lib64/liblxc-0.8.0.so --- > /usr/lib64/liblxc.so > /usr/lib64/liblxc.so.0 > /usr/lib64/liblxc.so.0.9.0 41d45 < /usr/sbin/lxc-setuid /usr/share/doc/* notably added /usr/share/lxc/hooks/ and /usr/share/lxc/lxc.functions obviously missing /usr/share/man/*
app-text/docbook2X is the right tool but it install /usr/bin/docbook2man.pl and lxc get confused by the suffix ".pl"
Gha! Can you please use `diff -u` next time? I want to get the backports working before committing this to the tree, so this will happen during the weekend. You know why.
Is this progressing? Is there anything one could help with?
Created attachment 349044 [details] lxc-0.9.0.ebuild This is a proposal of lxc-0.9.0.ebuild. I have added several use flag: - lua for compiling lxc's lua binding - python for compiling lxc's python binding (WARNING compilation failure for now, I do not have found a good solution for now) - seccomp because configure use available libseccomp by default and we must provide a way of disabling it and tracking dependency - doc for the optionnal building of doc If you do not want to add to the tree a non working use flag, you could just drop the python use flag and all works.
Created attachment 349046 [details, diff] Updated backport patch
Created attachment 350442 [details, diff] 0001-build-use-libtool-for-linking-the-library-and-link-l.patch lxc commands and templates need "/usr/share/lxc/lxc.functions" and its installation is disabled by the previous patch
Created attachment 350444 [details] lxc-0.9.0.ebuild with python support fixed python support. Not tested : multiple python versions
btw, I use a 3.9.2-hardened kernel with CONFIG_NETPRIO_CGROUP and it seems to work. Is the warning message about NETPRIO_CGROUP and kernels > 3.3 still needed ?
Can you post 0003-lxc-include-sched.h-to-have-a-declaration-of-clone.patch? Or is that one of the other patches?
(In reply to John M. Drescher from comment #9) > Can you post 0003-lxc-include-sched.h-to-have-a-declaration-of-clone.patch? > Or is that one of the other patches? The patch can be found in http://dev.gentoo.org/~flameeyes/lxc/lxc-0.8.0-backports-1.tar.xz original version of ebuild download it at fetch time
Thanks for the help.. With that patch lxc-0.9.0 successfully compiled.
Any update please? Can this be integrated?
It's been a month, so here's me asking for an update again. Sorry to nag but I'd like to see this make its way into portage.
Created attachment 357902 [details, diff] lxc-GIT-0001-build-use-libtool-for-linking-the-library-and-link-l.patch for git I've used this patch, it require sys-libs/libseccomp +static-libs
Is this patch series in an overlay somewhere? Been a while and thought a more widespread testing would perhaps make it more suitable for merge.
I did this overlay: https://github.com/gza/gentoo-lxc-overlay but : - last contribution from Francesco is not in (feel free to propose an ebuild). - lua use flag will fail (anyone knows how to fix it ?)
Maybe this bug can be given back to bug wranglers because Diego keeps ignoring it.
(In reply to Marckus J. from comment #17) > Maybe this bug can be given back to bug wranglers because Diego keeps > ignoring it. This bug is assigned / cc'ed to the maintainers of this package. Not only isn't bug wranglers job to fix issues with particular packages as Diego isn't the sole maintainer of this package. Also, the fact Diego or one of the other maintainers hasn't commented here recently, doesn't mean that they're "ignoring" this bug.
I'm not going to spend my time on this until upstream gains a clue because the last time lxc 0.9 had quite a few regressions and I've been waiting for 0.9.1. Since now people have started wasting my time by email, this goes WONTFIX until somebody gets upstream to gain a clue.
I'm sorry, but this could all have been much more clear if you would spend a few minutes describing the issues that are preventing an upgrade. If you are annoyed that easily maybe it would help to talk more, not less.
(In reply to Diego Elio Pettenò from comment #19) > I'm not going to spend my time on this until upstream gains a clue because > the last time lxc 0.9 had quite a few regressions and I've been waiting for > 0.9.1. > > Since now people have started wasting my time by email, this goes WONTFIX > until somebody gets upstream to gain a clue. You don't have time to spend? I feel like we wasted our by making this contribution. I think you should respect the fact we spend hours to provise these patches: except lua useflag, it works. This is not the quality you except, fine, we use gentoo not Redhat (we want last versions, not from years ago)! gentoo has a place for quite new/experimental/unstable : push it masked. BTW, I use it every days, and I didn't see regressions you're talking about, it quite usable. 0.9.1 won't be (AFAIK), and 1.0 will not be here until mounths. So please, let people unmask and use it, what's the problem ? Sorry to seem angry, but understand what in going on here : - We made it work (minus lua) - We use it - We don't have any news from maintainers for 4 months although one of them is one of the most active blogger about LXC. - You come, close it WONTFIX and put our work to the trash I think this is not how you could motive your community... regards..
I support this comment wholeheartedly. Well said.
Hi, there where a previous try to bump for lxc-0.9.0: https://bugs.gentoo.org/show_bug.cgi?id=465706 Anyway, lxc-1.0.0rc1 is comming in few days (weeks for final) and started writing an ebuild (lxc-9999) for it. My ebuild is a mix of better (I think) parts of many ebuilds out there. If some are interested in testing, we could have a nice ebuild for 1.0 :) https://github.com/gza/gentoo-lxc-overlay