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

Jon Ludlam jjl25 at cam.ac.uk
Sun Oct 23 09:27:06 UTC 2011


Hi Thomas,

I don't see why the patches shouldn't be back ported - I believe we're the only user of the ocaml bindings, so nobody else should be affected - certainly nobody on the list commented to that effect when I submitted the patches. However, it *is* a breaking change, so there may be some principles that back porting would violate; we'd have to confirm it with the xen maintainers.

However, having thought about the layout of the existing debian xen packages, I think that there will be a requirement that the ocaml libraries live under /usr/lib/xen-4.1/lib/ocaml (I think Bastian hinted at this back in July but I didn't spot the implication).

This causes a little hassle with the packaging, particularly because of the way that the bytecode ocaml libraries work, but I'm working on a patch to fix it. In a worse-case scenario, we could package up the native libraries only.

Jon

On 23 Oct 2011, at 06:14, Thomas Goirand wrote:

> On 10/22/2011 08:07 PM, Ian Campbell wrote:
>> Log and uuid are gone upstream and no longer (or never were?) required
>> for xapi. I think you should omit them from the packaging.
>> 
>> mmap and eventchn are now called xenmmap and xenevtchn respectively.
>> 
>> I think the transition to the new names involved more than just
>> installing them in a different location though. I'm not sure of the
>> details but I think there was an actual ocamlish changes. Hopefully Jon
>> can fill in the blanks -- he recently also started a thread (on
>> pkg-xen-devel) to see if that change can just be added to the package.
>> 
>> Ian.
> 
> Thanks for the list pointer, I found the patches thread. I'm registered
> to the xen-devel list, but I don't read it often, because it's too much
> about Xen internal code (which is quite complex and which I don't need
> to know about: I don't plan on contributing to the code itself), and
> there's too much traffic. So pointers to the list are really appreciated.
> 
> After reading the patches sent to the list, indeed, there's lots of
> changes in the ocaml itself. Is the plan to have it in a Xen 4.1.3?
> 
> Thomas




More information about the Pkg-xen-devel mailing list