#1143352 ocaml-crunch: FTBFS: dh_auto_test: error: dune runtest -j 2 -p crunch returned exit code 1

#1143352#5
Date:
2026-08-01 22:37:07 UTC
From:
To:
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:ocaml-crunch, 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 crunch
   dh_auto_test -O--buildsystem=ocaml_dune
	dune runtest -j 2 -p crunch
(cd _build/default/test && ../src/main.exe --mode=lwt -o t1.ml t1)
Generating t1.ml
Generating t1.mli
(cd _build/default/test && ../src/main.exe --mode=plain -o t1_plain.ml t1)
Generating t1_plain.ml
Skipping generation of .mli
(cd _build/default/test && ../src/main.exe --mode=plain -e ext -o t1_plain_ext.ml t1)
Generating t1_plain_ext.ml
Skipping generation of .mli
File "test/t1.expected.ml", line 1, characters 0-0:
(cd _build/default && /usr/bin/diff -u --label test/t1.expected.ml --label test/t1.ml test/t1.expected.ml test/t1.ml)
--- test/t1.expected.ml
+++ test/t1.ml
@@ -1,4 +1,4 @@
-(* Generated by: ocaml-crunch
+(* Generated by: main
    Creation date: Thu, 1 Jan 1970 00:00:00 GMT *)

 module Internal = struct
File "test/t1.expected.mli", line 1, characters 0-0:
(cd _build/default && /usr/bin/diff -u --label test/t1.expected.mli --label test/t1.mli test/t1.expected.mli test/t1.mli)
--- test/t1.expected.mli
+++ test/t1.mli
@@ -1,4 +1,4 @@
-(* Generated by: ocaml-crunch
+(* Generated by: main
    Creation date: Thu, 1 Jan 1970 00:00:00 GMT *)

 include Mirage_kv.RO
File "test/t1_plain.expected.ml", line 1, characters 0-0:
(cd _build/default && /usr/bin/diff -u --label test/t1_plain.expected.ml --label test/t1_plain.ml test/t1_plain.expected.ml test/t1_plain.ml)
--- test/t1_plain.expected.ml
+++ test/t1_plain.ml
@@ -1,4 +1,4 @@
-(* Generated by: ocaml-crunch
+(* Generated by: main
    Creation date: Thu, 1 Jan 1970 00:00:00 GMT *)

 module Internal = struct
File "test/t1_plain_ext.expected.ml", line 1, characters 0-0:
(cd _build/default && /usr/bin/diff -u --label test/t1_plain_ext.expected.ml --label test/t1_plain_ext.ml test/t1_plain_ext.expected.ml test/t1_plain_ext.ml)
--- test/t1_plain_ext.expected.ml
+++ test/t1_plain_ext.ml
@@ -1,4 +1,4 @@
-(* Generated by: ocaml-crunch
+(* Generated by: main
    Creation date: Thu, 1 Jan 1970 00:00:00 GMT *)

 module Internal = struct
(cd _build/default/test && ./consumer.exe)
read a.ext successfully
read 'c' successfully
read 'd' successfully
read e/f successfully
dh_auto_test: error: dune runtest -j 2 -p crunch returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143352#10
Date:
2026-08-02 04:34:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ocaml-crunch, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143352@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stéphane Glondu <glondu@debian.org> (supplier of updated ocaml-crunch package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 02 Aug 2026 06:17:55 +0200
Source: ocaml-crunch
Architecture: source
Version: 4.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Stéphane Glondu <glondu@debian.org>
Closes: 1143352
Changes:
 ocaml-crunch (4.1.0-2) unstable; urgency=medium
 .
   * New upstream release (Closes: #1143352)
   * Switch debian/watch to version 5
   * Bump debhelper compat level to 14
   * Bump Standards-Version to 4.7.4
   * Remove Priority and Rules-Requires-Root from debian/control
   * Use dh_ocamllibinstall and set dune_layout_version to 1
Checksums-Sha1:
 67d0f2fafd392e6d34dec20a89be0e0ad6b1cff5 2109 ocaml-crunch_4.1.0-2.dsc
 d08588c28c1ef9c3805499a9a874c51829b467e6 45330 ocaml-crunch_4.1.0.orig.tar.bz2
 8f603eba288cf0201a750fc1fa3a29f6a8f940ed 2180 ocaml-crunch_4.1.0-2.debian.tar.xz
Checksums-Sha256:
 2c1bbe9b42b6918ee2dc225876c6b61c7f375e7bff4354a812c0de1d164f4217 2109 ocaml-crunch_4.1.0-2.dsc
 b7775d6fb6e6094a8c31fdbf2127501d99ed8ceeac40271055dd52c79a3e17e7 45330 ocaml-crunch_4.1.0.orig.tar.bz2
 56927787b1531935ace6c79ab40891ba142a4e574ee65b06502994c29a4a891b 2180 ocaml-crunch_4.1.0-2.debian.tar.xz
Files:
 fa7e68cbb326bffc4b971328720123ff 2109 ocaml optional ocaml-crunch_4.1.0-2.dsc
 c286d511fd3dae76fccdb31da8980035 45330 ocaml optional ocaml-crunch_4.1.0.orig.tar.bz2
 fd98b7bdeafeaf76122e269cc6d43928 2180 ocaml optional ocaml-crunch_4.1.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQFGBAEBCgAwFiEEbeJOl+yohsxW5iUOIbju8bGJMIEFAmpuxZkSHGdsb25kdUBk
ZWJpYW4ub3JnAAoJECG47vGxiTCB7HgH/RYYpE2eU2ZxCj+bc3fYw8RAxGgQzT0d
b9EIBN6UuNgyIHOZS8eYPV7skU+2gSPkKmTQ2TsDBKbcNFDM9v+lg6nUTxvpjwW/
CbW2ixs7FLCqTMQUPTh0dfa8avmMp/wm3Zy4sQcjByaurh6xE7ANksjFdCNE0t15
QBNzFLLWji77/Y1rICihVDURafekoMGzoVG4dJA1XxCeN4rH5+HLM63nJbwFkVOi
KdTQum5oDWVswA6FYrgupGUlXl0O6/kYnHusSGO6dBsQdbaEAU0K2+D6xpimFeqc
62S06pWRBdhDTZJzKA8cu0/LLp7owUqpf0N9DBDPsWQqlEE6K9yse2M=
=qz35
-----END PGP SIGNATURE-----