[lxc-devel] Gentoo-ebuild for LXC 3.0.0 (was: Gentoo-ebuild for LXC 3.0.0 ./. Python/LUA-bindings

Christian Brauner christian.brauner at getenv.org
Fri Apr 6 09:08:30 UTC 2018


On Fri, Apr 06, 2018 at 06:50:07AM +0000, Jäkel, Guido wrote:
> Dear Christian,
> 
> thank you for your hint, but this is LXD. I'm talking about plain LXC itself ...

Wait, I'm confused now. What exactly are you trying to build from where?

Christian

> 
> 
> A) To my reading (and knowledge) the current lxd ebuild uses  
> 
> 	EGO_PN_PARENT="github.com/lxc"
> 	EGO_PN="${EGO_PN_PARENT}/lxd"
> 	ARCHIVE_URI="https://${EGO_PN}/archive/${P}.tar.gz -> ${P}.tar.gz"
> 
> which resolves to
> 	
> 	https://github.com/lxc/lxd/archive/lxd-3.0.0.tar.gz
> 
> This should be the official location, right?
> 
> 
> But it seems that there's unfortunately some voodoo needed for Go to use *exactly* the same libs and versions as "Upstream / Canonnical" for local compiling.
> 
> 
> 
> B) It depends on the LXC build, if USE-Flag 'daemon' is enabled. Without this, LXD is installed without LXC (and probably might be used as a farm controller? I don't use LXD yet ...)
> 
> 	RDEPEND="
> 		daemon? (
> 		[...]
> 			>=app-emulation/lxc-2.0.7[seccomp]
> 		[...]
> 		)
> 	"
> 
> It don't use a Python binding itself.
> 
> 
> 
> Greetings
> 
> Guido
> 
>  
> >-----Original Message-----
> >From: lxc-devel [mailto:lxc-devel-bounces at lists.linuxcontainers.org] On Behalf Of Christian Brauner
> >Sent: Thursday, April 05, 2018 4:10 PM
> >To: LXC development mailing-list <lxc-devel at lists.linuxcontainers.org>
> >Subject: Re: [lxc-devel] Gentoo-ebuild for LXC 3.0.0 ./. Python/LUA-bindings
> >
> >On Thu, Apr 05, 2018 at 10:26:39AM +0000, Jäkel, Guido wrote:
> >> Hi all,
> >>
> >> did somebody already start to set up the Gentoo ebuild  app-emulation/lxc-3.0.0 ? I start with this and run into problems with
> >the bindings: I wonder about how to deal with the split into separate packages.
> >
> >No idea, Gentoo has an ebuild in their tree
> >https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/lxd/lxd-3.0.0.ebuild
> >
> >I asked them to switch to our official tarballs and stop their own
> >vendoring scheme but it seems they haven't done so (yet). You can
> >request them to do this again. That should help improve things.
> >
> >Christian
> >_______________________________________________
> >lxc-devel mailing list
> >lxc-devel at lists.linuxcontainers.org
> >http://lists.linuxcontainers.org/listinfo/lxc-devel
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list