Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465706 - app-emulation/lxc-0.9.0 bump request
Summary: app-emulation/lxc-0.9.0 bump request
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-12 16:59 UTC by Francesco Riosa
Modified: 2014-02-19 18:11 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lxc-0.9.0.ebuild (lxc-0.9.0.ebuild,4.91 KB, text/plain)
2013-05-24 07:32 UTC, LABBE Corentin
Details
Updated backport patch (0001-build-use-libtool-for-linking-the-library-and-link-l.patch,2.97 KB, patch)
2013-05-24 07:33 UTC, LABBE Corentin
Details | Diff
0001-build-use-libtool-for-linking-the-library-and-link-l.patch (0001-build-use-libtool-for-linking-the-library-and-link-l.patch,2.99 KB, patch)
2013-06-08 21:00 UTC, Guillaume ZITTA
Details | Diff
lxc-0.9.0.ebuild with python support (lxc-0.9.0.ebuild,5.62 KB, text/plain)
2013-06-08 21:03 UTC, Guillaume ZITTA
Details
lxc-GIT-0001-build-use-libtool-for-linking-the-library-and-link-l.patch (lxc-0.9-0001-build-use-libtool-for-linking-the-library-and-link-l.patch,3.07 KB, patch)
2013-09-05 10:05 UTC, Francesco Riosa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2013-04-12 16:59:27 UTC
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/*
Comment 1 Francesco Riosa 2013-04-12 18:03:01 UTC
app-text/docbook2X is the right tool but it install /usr/bin/docbook2man.pl and lxc get confused by the suffix ".pl"
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2013-04-15 21:58:17 UTC
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.
Comment 3 Sebastian L. 2013-05-13 09:33:49 UTC
Is this progressing?
Is there anything one could help with?
Comment 4 LABBE Corentin 2013-05-24 07:32:45 UTC
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.
Comment 5 LABBE Corentin 2013-05-24 07:33:19 UTC
Created attachment 349046 [details, diff]
Updated backport patch
Comment 6 Guillaume ZITTA 2013-06-08 21:00:11 UTC
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
Comment 7 Guillaume ZITTA 2013-06-08 21:03:00 UTC
Created attachment 350444 [details]
lxc-0.9.0.ebuild with python support

fixed python support.
Not tested : multiple python versions
Comment 8 Guillaume ZITTA 2013-06-08 21:17:28 UTC
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 ?
Comment 9 John M. Drescher 2013-06-09 13:37:41 UTC
Can you post 0003-lxc-include-sched.h-to-have-a-declaration-of-clone.patch? Or is that one of the other patches?
Comment 10 Guillaume ZITTA 2013-06-09 20:46:32 UTC
(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
Comment 11 John M. Drescher 2013-06-10 23:57:51 UTC
Thanks for the help.. With that patch lxc-0.9.0 successfully compiled.
Comment 12 Mark (voidzero) 2013-07-10 22:35:02 UTC
Any update please? Can this be integrated?
Comment 13 Mark (voidzero) 2013-08-12 23:29:49 UTC
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.
Comment 14 Francesco Riosa 2013-09-05 10:05:44 UTC
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
Comment 15 Johan Bergström 2013-09-12 04:29:38 UTC
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.
Comment 16 Guillaume ZITTA 2013-09-13 06:36:20 UTC
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 ?)
Comment 17 Mark (voidzero) 2013-09-13 11:29:34 UTC
Maybe this bug can be given back to bug wranglers because Diego keeps ignoring it.
Comment 18 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-09-13 11:50:33 UTC
(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.
Comment 19 Diego Elio Pettenò (RETIRED) gentoo-dev 2013-09-13 12:07:08 UTC
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.
Comment 20 Mark (voidzero) 2013-09-13 12:20:48 UTC
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.
Comment 21 Guillaume ZITTA 2013-09-13 12:40:54 UTC
(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..
Comment 22 Mark (voidzero) 2013-09-13 12:56:10 UTC
I support this comment wholeheartedly. Well said.
Comment 23 Guillaume ZITTA 2014-01-12 07:24:40 UTC
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