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

Mathieu Malaterre malat at debian.org
Mon Dec 2 17:05:40 UTC 2013


Package: xen-api-libs

I cannot backport xen-api-libs to an oldstable system. It fails with:

$ dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: source package xen-api-libs
dpkg-buildpackage: source version 0.5.2-3.1
dpkg-buildpackage: source changed by Stéphane Glondu <glondu at debian.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build xen-api-libs-0.5.2
 fakeroot debian/rules clean
dh clean --with autoreconf,ocaml
   dh_testdir
   dh_auto_clean
   dh_autoreconf_clean
   "dh_ocamlinit -d"
   dh_clean
 dpkg-source -b xen-api-libs-0.5.2
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building xen-api-libs using existing
./xen-api-libs_0.5.2.orig.tar.gz
dpkg-source: info: building xen-api-libs in xen-api-libs_0.5.2-3.1.debian.tar.gz
dpkg-source: info: building xen-api-libs in xen-api-libs_0.5.2-3.1.dsc
 debian/rules build
dh build --with autoreconf,ocaml
   dh_testdir
   dh_autoreconf
   dh_ocamlinit
   dh_auto_configure
configure: WARNING: unrecognized options: --disable-maintainer-mode,
--disable-dependency-tracking
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking xen/xen.h usability... yes
checking xen/xen.h presence... yes
checking for xen/xen.h... yes
checking libdevmapper.h usability... yes
checking libdevmapper.h presence... yes
checking for libdevmapper.h... yes
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking whether XS_RESTRICT is declared... yes
checking for realpath... yes
checking for ocamlc... ocamlc
OCaml version is 3.11.2
OCaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocamldep... ocamldep
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamlbuild... ocamlbuild
checking for ocamlfind... ocamlfind
checking for OCaml findlib package xmlm... found
checking for OCaml findlib package type_conv... not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.mk
config.status: creating include/config.h
configure: WARNING: unrecognized options: --disable-maintainer-mode,
--disable-dependency-tracking
   dh_auto_build
make[1]: rpm: Command not found
make[1]: Entering directory `/tmp/xen-api-libs-0.5.2'
make[1]: rpm: Command not found
make[1]: rpm: Command not found
make[1]: rpm: Command not found
make -C uuid
make[2]: Entering directory `/tmp/xen-api-libs-0.5.2/uuid'
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o
uuid.cmi uuid.mli
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o uuid.cmo uuid.ml
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -a -o
uuid.cma uuid.cmo
ocamlfind ocamlopt -I ../xml-light2 -I ../stdext -I ../uuid -g -dtypes
-c -o uuid.cmx uuid.ml
ocamlfind ocamlopt -I ../xml-light2 -I ../stdext -I ../uuid -g -dtypes
-a -o uuid.cmxa uuid.cmx
make[2]: Leaving directory `/tmp/xen-api-libs-0.5.2/uuid'
make -C stdext
make[2]: Entering directory `/tmp/xen-api-libs-0.5.2/stdext'
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o
monad.cmi monad.mli
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o fun.cmi fun.mli
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o opt.cmi opt.mli
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o
listext.cmi listext.mli
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -I
../uuid -o filenameext.cmi filenameext.mli
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o
stringext.cmi stringext.mli
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o
arrayext.cmi arrayext.mli
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o
hashtblext.cmi hashtblext.mli
ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o
pervasiveext.cmi pervasiveext.mli
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



More information about the Pkg-xen-devel mailing list