#1142897 js-of-ocaml: FTBFS: Failed to resolve reference unresolvedroot(Lwt) Couldn't find "Lwt"

#1142897#5
Date:
2026-07-27 18:04:43 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/202607/

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:js-of-ocaml, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
File "compiler/lib/code.mli", line 268, characters 4-18:
Warning: Failed to resolve reference unresolvedroot(Stdlib).Some Couldn't find "Some"
File "compiler/lib/build_path_prefix_map.mli", line 19, characters 2-33:
Warning: Failed to resolve reference unresolvedroot(Compiler_libs) Couldn't find "Compiler_libs"
File "compiler/lib/base64.mli", line 67, characters 4-71:
Warning: Failed to resolve reference unresolvedroot(Stdlib).Invalid_argument Couldn't find "Invalid_argument"
(cd _build/default/_doc/_odocls/js_of_ocaml-lwt && /usr/bin/odoc link -I ../../_odoc/pkg/js_of_ocaml-lwt -I ../../../lib/js_of_ocaml/.js_of_ocaml.objs/byte -I ../../../lib/lwt/.js_of_ocaml_lwt.objs/byte -I ../../../lib/lwt/graphics/.graphics_js.objs/byte -I ../../../lib/runtime/.jsoo_runtime.objs/byte -o js_of_ocaml_lwt.odocl ../../../lib/lwt/.js_of_ocaml_lwt.objs/byte/js_of_ocaml_lwt.odoc)
File "lib/lwt/lwt_promise.mli", line 19, characters 51-57:
Warning: While resolving the expansion of include at File "lib/lwt/js_of_ocaml_lwt.ml", line 36, character 2
Failed to resolve reference unresolvedroot(Lwt) Couldn't find "Lwt"
File "examples/boulderdash/dune", line 2, characters 8-19:
2 |  (names boulderdash)
            ^^^^^^^^^^^
(cd _build/default/examples/boulderdash && ../../compiler/bin-js_of_ocaml/js_of_ocaml.exe build-runtime --source-map-inline --Werror --file ./maps.txt --file maps --apply-build-config effects=disabled -o .boulderdash.eobjs/jsoo/runtime.bc.runtime.js)
../../compiler/bin-js_of_ocaml/js_of_ocaml.exe: Error: file 'maps' not found
dh_auto_build: error: dune build -j 2 -p js_of_ocaml-compiler,js_of_ocaml,js_of_ocaml-ppx,js_of_ocaml-ppx_deriving_json,js_of_ocaml-lwt,js_of_ocaml-toplevel,js_of_ocaml-tyxml,wasm_of_ocaml-compiler \@install \@doc \@doc-manual returned exit code 1
make[1]: *** [debian/rules:25: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1142897#8
Date:
2026-07-28 07:05:21 UTC
From:
To:
Hello,

Bug #1142897 in js-of-ocaml reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/ocaml-team/js-of-ocaml/-/commit/b2f8f6a4c90eaa52220fdb560f41011494d99fdc

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1142897

#1142897#15
Date:
2026-07-28 07:37:53 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
js-of-ocaml, 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 1142897@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 js-of-ocaml 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: Tue, 28 Jul 2026 09:02:47 +0200
Source: js-of-ocaml
Architecture: source
Version: 6.4.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Stéphane Glondu <glondu@debian.org>
Closes: 1142897
Changes:
 js-of-ocaml (6.4.1-2) unstable; urgency=medium
 .
   * Fix FTBFS with dune 3.24.1 (Closes: #1142897)
Checksums-Sha1:
 e94552e3670bde55f2c68687d7b0ea617e055a76 2837 js-of-ocaml_6.4.1-2.dsc
 bbb6d23a4502f3d9d48efd0e6d9dc2836d285900 6796 js-of-ocaml_6.4.1-2.debian.tar.xz
 9daec4c17861a02d18c8b2be61c8fe4ddd388c04 5668776 js-of-ocaml_6.4.1-2.git.tar.xz
 cfcfb263e80ad0feb6e0d346562486b5e745d32e 17562 js-of-ocaml_6.4.1-2_source.buildinfo
Checksums-Sha256:
 99e000444f874121b561e81103b30ada676d753133060aff87caf3f7d9248510 2837 js-of-ocaml_6.4.1-2.dsc
 864ea8219ac99c77e3cc1add2368b553f4e0fe60f82dd1cd5bf56d9e2ee8fb36 6796 js-of-ocaml_6.4.1-2.debian.tar.xz
 d4f6af752f23ea69ac6660fcbb302a89e64163c4bd4b59cc2be9591113eaefbb 5668776 js-of-ocaml_6.4.1-2.git.tar.xz
 375fba614c7a3210c070468823a33cc86b5f053c1722106eb900cdfc41845f89 17562 js-of-ocaml_6.4.1-2_source.buildinfo
Files:
 8c72a2695edde12e928e21ae3728a60e 2837 ocaml optional js-of-ocaml_6.4.1-2.dsc
 8170a17ce113f23a2069223c8fcd1668 6796 ocaml optional js-of-ocaml_6.4.1-2.debian.tar.xz
 b9df0f2afac4e6428333dc5904ae05f1 5668776 ocaml None js-of-ocaml_6.4.1-2.git.tar.xz
 9dc20e6db7c145387fd5ecc859ba6dd5 17562 ocaml optional js-of-ocaml_6.4.1-2_source.buildinfo
Git-Tag-Info: tag=f940e994d1cfc0891ae0cf28683e83d047012607 fp=6de24e97eca886cc56e6250e21b8eef1b1893081
Git-Tag-Tagger: Stéphane Glondu <glondu@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpoVPoACgkQYG0ITkaD
wHkPkg//UOfeaHduDOJaQ3Kn//sDdcLpstjbyD8VjF0ZEm8AwJ1Mngtu8C3nWgRn
0OiTlmz7sjQk90PTiI2rNLj7CdFbKawHW3vyz1PC/HTtuUJUYjwOIE1qY1HM/Ukb
G050wwSleO4dQoU6vOFbAF5gbmmgZ1WPi8puO1O2TekhykKEfrNn//phiJnfLWln
CtQDkNbrpq6gwXJP0KuCsV50WmLbRke53OBclR7/AkKAt3rkuXo0y8qwi/5x592m
kYhAycc2yhFCllnx8ioO84G53pweOri1kojqP01gIJ39j3/Dkke+MMtHRk9PL++7
u3Hogx3GM7zzOT6R57TNuTTn5kBbO89aR9usuO5R3/2TOvYY1wSH1AgJW9z8Tdyy
FPHwmsJeSjuNembsP8OXkoQL5sa/Ib3GUXmxFVdrR/zMAJOhDXuyfRlOoART3cTg
20rr9KCD/heeJ+vBloYXrtJujROIdFDcf3AOTK6Ws4tBXcbuUXJlZWLIFkKkc4fQ
9yU1QUs3NbFTY6EXmYro8rHhE944IuPRtSBmF9n4LNRAXH+ixdZhntMzkU0H3C7f
hFB184gOkMdLQ0mxM4L39/ZNArjA5bIzqyV3dd6oIOwPcPKmOTqop5TedqCei3H+
O4t+PrFb+7Iob+j8rLfPW5SAQTom2F1v6EL5ReOgmn7FlXkn/3s=
=Sa0p
-----END PGP SIGNATURE-----