Bug#1143284: bin-prot: FTBFS: dh_auto_test: error: dune runtest -j 2 -p bin_prot returned exit code 1

Santiago Vila <[email protected]> Sat, 01 Aug 2026 22:34:50 +0000
Newsgroups gmane.linux.debian.devel.ocaml
Message-ID <E1wqII6-00DZDv-1T__18241.2183655956$1785623887$gmane$org@paradis.debian.org>
Package: src:bin-prot
Version: 1:0.17.0-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:bin-prot, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with ocaml --buildsystem ocaml_dune
   dh_auto_clean -O--buildsystem=ocaml_dune
	dune clean
   dh_autoreconf_clean -O--buildsystem=ocaml_dune
   dh_ocamlclean -O--buildsystem=ocaml_dune
   dh_clean -O--buildsystem=ocaml_dune
 debian/rules binary
dh binary --with ocaml --buildsystem ocaml_dune
   dh_update_autotools_config -O--buildsystem=ocaml_dune
   dh_autoreconf -O--buildsystem=ocaml_dune
   dh_ocamlinit -O--buildsystem=ocaml_dune
   dh_auto_configure -O--buildsystem=ocaml_dune
   dh_auto_build -O--buildsystem=ocaml_dune
	dune build -j 2 -p bin_prot
(cd _build/default/xen && /usr/bin/bash -e -u -o pipefail -c '././cflags.sh > ./cflags.sexp')
Package mirage-xen was not found in the pkg-config search path.
Perhaps you should add the directory containing `mirage-xen.pc'
to the PKG_CONFIG_PATH environment variable
Package 'mirage-xen' not found
   dh_auto_test -O--buildsystem=ocaml_dune
	dune runtest -j 2 -p bin_prot
File "test/dune", lines 7-13, characters 0-472:
 7 | (rule
 8 |  (alias runtest)
 9 |  (deps blob_stability_tests.ml integers_repr_tests_32bit.ml
10 |    integers_repr_tests_64bit.ml integers_repr_tests_js.ml)
11 |  (action
12 |   (bash
13 |     "diff <(echo '869e6b3143f14201f406eac9c05c4cdb  blob_stability_tests.ml'\necho '714ea0b2dcb175b3f87a9aff0890c091  integers_repr_tests_32bit.ml'\necho '2db396dfced6ae8d095f308acb4c80eb  integers_repr_tests_64bit.ml'\necho 'f54ad24b4e4e601d16bef7d8c79358d8  integers_repr_tests_js.ml'\n  ) <(md5sum %{deps})")))
(cd _build/default/test && /usr/bin/bash -e -u -o pipefail -c 'diff <(echo '\''869e6b3143f14201f406eac9c05c4cdb  blob_stability_tests.ml'\''
echo '\''714ea0b2dcb175b3f87a9aff0890c091  integers_repr_tests_32bit.ml'\''
echo '\''2db396dfced6ae8d095f308acb4c80eb  integers_repr_tests_64bit.ml'\''
echo '\''f54ad24b4e4e601d16bef7d8c79358d8  integers_repr_tests_js.ml'\''
  ) <(md5sum ./blob_stability_tests.ml ./integers_repr_tests_32bit.ml ./integers_repr_tests_64bit.ml ./integers_repr_tests_js.ml)')
1,4c1,4
< 869e6b3143f14201f406eac9c05c4cdb  blob_stability_tests.ml
< 714ea0b2dcb175b3f87a9aff0890c091  integers_repr_tests_32bit.ml
< 2db396dfced6ae8d095f308acb4c80eb  integers_repr_tests_64bit.ml
< f54ad24b4e4e601d16bef7d8c79358d8  integers_repr_tests_js.ml
---
> 869e6b3143f14201f406eac9c05c4cdb  ./blob_stability_tests.ml
> 714ea0b2dcb175b3f87a9aff0890c091  ./integers_repr_tests_32bit.ml
> 2db396dfced6ae8d095f308acb4c80eb  ./integers_repr_tests_64bit.ml
> f54ad24b4e4e601d16bef7d8c79358d8  ./integers_repr_tests_js.ml
dh_auto_test: error: dune runtest -j 2 -p bin_prot returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------