#1145289 gir-rust-code-generator: FTBFS: dh_installdocs: error: Cannot find (any matches for) "book/html" (tried in ., debian/tmp)

#1145289#5
Date:
2026-08-23 19:57:57 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:gir-rust-code-generator, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
debian cargo wrapper: running subprocess (['rm', '-f', 'debian/gir-rust-code-generator/usr/.crates.toml'],) {}
debian cargo wrapper: running subprocess (['rm', '-f', 'debian/gir-rust-code-generator/usr/.crates2.json'],) {}
debian cargo wrapper: running subprocess ('ls -td "target/x86_64-unknown-linux-gnu/release/build/gir-rust-code-generator"-*/out 2>/dev/null | head -n1',) {'shell': True, 'stdout': -1}
   debian/rules execute_after_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/share/cargo/bin/dh-cargo-built-using gir
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules execute_before_dh_installdocs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mdbook build book --dest-dir html
 INFO Book building has started
 INFO Running the html backend
 INFO HTML book written to `/<<PKGBUILDDIR>>/html`
rm -rf book/html/FontAwesome
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -O--buildsystem=cargo
dh_installdocs: error: Cannot find (any matches for) "book/html" (tried in ., debian/tmp)

make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------