#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
--------------------------------------------------------------------------------

#1145289#10
Date:
2026-09-01 13:49:54 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gir-rust-code-generator, 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 1145289@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated gir-rust-code-generator 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, 01 Sep 2026 15:24:23 +0200
Source: gir-rust-code-generator
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 0.22.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Jeremy Bícha <jbicha@ubuntu.com>
Closes: 1145289
Changes:
 gir-rust-code-generator (0.22.3-3) unstable; urgency=medium
 .
   * Fix build (Closes: #1145289)
 .
 gir-rust-code-generator (0.22.3-1) unstable; urgency=medium
 .
   * New upstream release
   * Update doc install rules
   * Remove patch applied in new release
Checksums-Sha1:
 c5413c8e808c6e2c285b629d2508cd7c3ae5f066 2557 gir-rust-code-generator_0.22.3-3.dsc
 84c7d2d3980d12592b1413b03475d4f1d1458cf3 5928 gir-rust-code-generator_0.22.3-3.debian.tar.xz
 ff4d8f3d02f1e34ce49613fb3135478fd1ec3b15 8237 gir-rust-code-generator_0.22.3-3_source.buildinfo
Checksums-Sha256:
 20da2b5dc65f7fceff5e38fd5069e073c592d4ff0e31fc4621dad9fbd6b1644b 2557 gir-rust-code-generator_0.22.3-3.dsc
 eb164eb8b1bbc62f7536ae4a6b5a47b0ab3cb5c0c87c0addc4d2fb7ecb0b3de1 5928 gir-rust-code-generator_0.22.3-3.debian.tar.xz
 66e027dd5ec7dd5887ca37faddef07e7d2f3cf62f8ca53466b920c05f9dfdd7b 8237 gir-rust-code-generator_0.22.3-3_source.buildinfo
Files:
 df5108a249235730d882ac25310ab21f 2557 gnome optional gir-rust-code-generator_0.22.3-3.dsc
 b67a53c46b7e4a37d3f28ca02d20b56e 5928 gnome optional gir-rust-code-generator_0.22.3-3.debian.tar.xz
 504b58b94d58b389df029cbe98c87907 8237 gnome optional gir-rust-code-generator_0.22.3-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmqW0lMACgkQ5mx3Wuv+
bH0xQRAAmm0NhsHBHQoyumvLyLZGA/fAusEpyNv3jx6Jm8wX/8Bk0SxmyInCakIr
s9G9Zqg2Aoz/OdCEuRhSlqnmVHrlqt3C4z8T1moxqO5h+jXlI5xOgwy+xFI/TJLm
kvQIMUUE/Y5dSnbAQdZQhRVojWyObtOi4SMZHDOJdwXepJOXU+om/NAr9+akOqwU
5Dk3RNlc5Ljp/5ddiU+YMtGfy2mzsjSjpbrGAMjGSG7RL7caPZNzxZxP3gHGUF9Z
ilidNJQWBcQN4HEuhiMNYXpyMlEGcIfxVrSpw9K/c6VLG0f2AFx2FjMjaib4Q2b1
rZC1VwZ94sOpKMFGYAjaQsZQz2/WRgRALvnOHjx5G+qGvaUCfYUFqBKsRVPjABT8
eGHF0UDhjJZPHeWqpj4kAiGNbCYeWxkIQZAmew5pY4vLDOVNc4IsW9wyDFBfRfqs
TIffwfg/kv+qXSY36iWZFlQo+EJsS/dPCWhv7RdpOxS9ufjy6dcAALPody7nFG3A
OSQ+VaA438J5ofnvqjFQRHYPXUMpN65DW4yaF0BApkwBzBiPmIzGg6msPg0vvuU8
AmrsWb83RxqclPgEQmy3gqkbxcTsJSwvSQGm4Jvw6Fgi8Ki47hcoHqJOL7qOZhPJ
GXXUUSxt+uW6qi3AxX8NTy7MU5BxIav+nCZkwreFl9ojJV87JPs=
=tN42
-----END PGP SIGNATURE-----