[Pkg-xen-devel] [patch] Packages ocaml libraries

Ian Campbell ijc at hellion.org.uk
Mon Oct 3 10:13:19 UTC 2011


On Sun, 2011-10-02 at 14:49 +0800, Thomas Goirand wrote:
> On 09/09/2011 12:13 PM, Thomas Goirand wrote:
> > Mike, Jonathan, can we have your useful comment on this? Namely:
> > - Is your uuidm a fork of libuuidm-ocaml-dev? Can you make it so we use
> > that one instead of what's in Xen 4.1.1?
> > - Can we use @OCamlStdlibDir@/xen/libname for all the files that aren't
> > .so? Will it be an issue later?
> > 
> > We really need your feedback here. Also, I tried once more to build
> > xen-api-libs in SID, and it failed to build, even with the
> > xen-api-libs-debian patches from Jonathan. Can you look into that so we
> > can move forward with this packaging as well?
> > 
> > Thomas
> 
> Hi,
> 
> I had a reply from Jon about 10 days ago, where he tells he is ok with
> using a "xen" folder for the ocaml libs, but had no time to rewrite the
> patch corresponding to it. Here it is, attached to this message, moving
> all non-.so files into @OCamlStdlibDir@/xen/${folder}.

Jon recently (the end of last week) posted a patch series to xen-devel
to implement the renaming he mentions below ("xc->xenctrl, xs->xenstore,
xb->xenbus, xl->xenlight"). Since this is likely to be the change we
make upstream we may as well make the packaging conform to that scheme
now too. I think the xen prefix is as good as using the xen subfolder.

He also posted a patch to remove the uuid and log libraries so we may as
well not package those (presumably he has a patch to make xapi not
require them).

That just leaves the mmap library. It's unclear what it's future is but
I suppose we may as well package it as xenmmap for consistency with the
others?

Ian.

>  The reply of
> Jonathan is below. Please accept this patch into Xen: it has been a
> painful and long enough process already, and it's time to move forward.
> 
> Cheers,
> 
> Thomas Goirand
> 
> Here's Jon's reply:
> 
> On 09/19/2011 05:22 AM, Jonathan Ludlam wrote:
> > Apologies, I've been a little busy with XCP 1.1 stuff and a
> > new release of XenServer.
> >
> > The uuid library is a home-grown thing, not a fork of uuidm.
> >
> > In the longer term, I think we should:
> > 1. rename the packages xc->xenctrl, xs->xenstore, xb->xenbus,
> > xl->xenlight, etc.
> > 2. Remove the uuid library. Patches have already been sent to
> > xen-devel to do this
> >
> > In the short term, I'm quite happy with packaging things under the
> > 'xen' dir - I've not done this with ocamlfind before, but I'm sure we
> > can come up with some appropriate patches.
> >
> > I'm surprised you can't get xen-api-libs to build - it's working fine
> > for me. I've got an up-to-date debian packaging folder on
> > github.com/jonludlam/xen-api-libs-debian.git
> >
> > Jon
> _______________________________________________
> Pkg-xen-devel mailing list
> Pkg-xen-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xen-devel

-- 
Ian Campbell

"sic transit discus mundi"
(From the System Administrator's Guide, by Lars Wirzenius)




More information about the Pkg-xen-devel mailing list