Subject: Bug#642835: sexplib310: FTBFS: E: Command /usr/bin/ocamlbuild terminated with error code 10

From: Mònica Ramírez Arceda <[email-masked]>
Date: Sun, 25 Sep 2011 13:11:37 +0200

Source: sexplib310
Version: 5.2.1-1
Severity: serious
Tags: wheezy sid
User: [email-masked]
Usertags: qa-ftbfs-20110923 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory `/build/sexplib310-thKNHg/sexplib310-5.2.1'
> ocaml setup.ml -build
> I: Running command '/usr/bin/ocamlbuild lib/sexplib.cma lib/sexplib.cmxa lib/sexplib.a syntax/pa_sexp_conv.cma lib_test/conv_test.byte -tag debug'
> /usr/bin/ocamlopt -I /usr/lib/ocaml/ocamlbuild unix.cmxa /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
> ocamlfind ocamldep -package unix -package num -package bigarray -modules lib/type.ml > lib/type.ml.depends
> /usr/bin/ocamlyacc lib/parser.mly
> ocamlfind ocamldep -package unix -package num -package bigarray -modules lib/parser.mli > lib/parser.mli.depends
> ocamlfind ocamlc -c -g -package unix -package num -package bigarray -I lib -I syntax -o lib/type.cmo lib/type.ml
> ocamlfind ocamlc -c -g -package unix -package num -package bigarray -I lib -I syntax -o lib/parser.cmi lib/parser.mli
> ocamlfind ocamldep -package unix -package num -package bigarray -modules lib/parser.ml > lib/parser.ml.depends
> /usr/bin/ocamllex -q lib/lexer.mll
> ocamlfind ocamldep -package unix -package num -package bigarray -modules lib/lexer.ml > lib/lexer.ml.depends
> ocamlfind ocamldep -package unix -package num -package bigarray -pp cpp -modules lib/pre_sexp.ml > lib/pre_sexp.ml.depends
> + ocamlfind ocamldep -package unix -package num -package bigarray -pp cpp -modules lib/pre_sexp.ml > lib/pre_sexp.ml.depends
> Command exited with code 2.
> E: Command '/usr/bin/ocamlbuild lib/sexplib.cma lib/sexplib.cmxa lib/sexplib.a syntax/pa_sexp_conv.cma lib_test/conv_test.byte -tag debug' terminated with error code 10
> make[1]: *** [override_dh_auto_build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/09/23/sexplib310_5.2.1-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.