Mathieu Malaterre
2013-Dec-02 17:05 UTC
[Pkg-xen-devel] Bug#731166: Error: Syntax error: 'end' expected
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
Mike McClurg
2013-Dec-03 16:58 UTC
[Pkg-xen-devel] Bug#731166: Bug#731166: Error: Syntax error: 'end' expected
What OCaml compiler version is in oldstable? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20131203/5120a26a/attachment.html>
Ian Campbell
2013-Dec-03 19:30 UTC
[Pkg-xen-devel] Bug#731166: Bug#731166: Bug#731166: Error: Syntax error: 'end' expected
On Tue, 2013-12-03 at 08:58 -0800, Mike McClurg wrote:> What OCaml compiler version is in oldstable?http://packages.qa.debian.org/ocaml => 3.11.2 HTH Ian. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20131203/dfe94d83/attachment.sig>
Stéphane Glondu
2013-Dec-05 09:36 UTC
[Pkg-xen-devel] Bug#731166: Error: Syntax error: 'end' expected
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 2Said 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. Cheers, -- St?phane
Mathieu Malaterre
2013-Dec-05 10:26 UTC
[Pkg-xen-devel] Bug#731166: Error: Syntax error: 'end' expected
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,
Debian Bug Tracking System
2013-Dec-05 10:30 UTC
[Pkg-xen-devel] Processed: Re: Bug#731166: Error: Syntax error: 'end' expected
Processing control commands:> tags -1 confirmedBug #731166 [xen-api-libs] Error: Syntax error: 'end' expected Added tag(s) confirmed. -- 731166: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731166 Debian Bug Tracking System Contact owner at bugs.debian.org with problems
Debian Bug Tracking System
2014-Mar-02 18:46 UTC
[Pkg-xen-devel] Bug#731166: marked as done (Error: Syntax error: 'end' expected)
Your message dated Sun, 02 Mar 2014 18:42:38 +0000 with message-id <E1WKBLS-0004Su-BB at franck.debian.org> and subject line Bug#740518: Removed package(s) from unstable has caused the Debian Bug report #731166, regarding Error: Syntax error: 'end' expected to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 731166: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731166 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Mathieu Malaterre <malat at debian.org> Subject: Error: Syntax error: 'end' expected Date: Mon, 2 Dec 2013 18:05:40 +0100 Size: 8154 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140302/e725f199/attachment.mht> -------------- next part -------------- An embedded message was scrubbed... From: Debian FTP Masters <ftpmaster at ftp-master.debian.org> Subject: Bug#740518: Removed package(s) from unstable Date: Sun, 02 Mar 2014 18:42:38 +0000 Size: 2484 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140302/e725f199/attachment-0001.mht>
Maybe Matching Threads
- Bug#731166: Error: Syntax error: 'end' expected
- Bug#713349: xen-api-libs: FTBFS: ocamlfind: Package `type-conv' not found
- Bug#731529: xen-api-libs: FTBFS with ocaml 4.01.0
- [PATCH] Fix building on architectures where ocamlopt is not available
- Re: enable build for ocaml bytecode