[Pkg-xen-devel] Bug#731166: Error: Syntax error: 'end' expected

Mathieu Malaterre malat at debian.org
Thu Dec 5 10:26:40 UTC 2013


Control: tags -1 confirmed

On Thu, Dec 5, 2013 at 10:36 AM, Stéphane Glondu <glondu at debian.org> wrote:
> Le 02/12/2013 18:05, Mathieu Malaterre a écrit :
>> I cannot backport xen-api-libs to an oldstable system. It fails with:
>> [...]
>> ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -thread -c
>> -o threadext.cmi threadext.mli
>> File "threadext.mli", line 63, characters 9-15:
>> Error: Syntax error: 'end' expected
>> File "threadext.mli", line 32, characters 0-3:
>> Error: This 'sig' might be unmatched
>> make[2]: *** [threadext.cmi] Error 2
>> make[2]: Leaving directory `/tmp/xen-api-libs-0.5.2/stdext'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/tmp/xen-api-libs-0.5.2'
>> dh_auto_build: make -j1 returned exit code 2
>> make: *** [build] Error 2
>> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>
> Said line is:
>
>   include module type of Thread with type t := t
>
> which is a feature introduced in OCaml 3.12.0. oldstable has 3.11.2.
>

Great ! In that case could you please update the Build-Depends line.

Build-Depends: debhelper (>= 8), libxen-ocaml-dev, libxen-ocaml,
ocaml-nox, camlp4, camlp4-extra, ocaml-findlib, autotools-dev,
dh-autoreconf, libtype-conv-camlp4-dev, libxmlm-ocaml-dev, uuid-dev,
libdevmapper-dev, libxen-dev, blktap-dev, dh-ocaml, libounit-ocaml-dev

Thanks,



More information about the Pkg-xen-devel mailing list