#1114105 forgejo-cli: FTBFS: error: failed to select a version for the requirement `comrak = "^0.29"`

#1114105#5
Date:
2025-09-05 18:17:02 UTC
From:
To:
Dear maintainer:

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

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

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

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 could not 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:forgejo-cli, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem cargo
   dh_auto_clean -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True}
     Removed 0 files
   dh_autoreconf_clean -O--buildsystem=cargo
   dh_clean -XCargo.toml.orig -O--buildsystem=cargo
 debian/rules binary
dh binary --buildsystem cargo
   dh_update_autotools_config -O--buildsystem=cargo
   dh_autoreconf -O--buildsystem=cargo
   dh_auto_configure -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
   dh_auto_build -O--buildsystem=cargo
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- test --all
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j2', '--target', 'x86_64-unknown-linux-gnu', '--all'],) {}
error: failed to select a version for the requirement `comrak = "^0.29"`
candidate versions found which didn't match: 0.41.0
location searched: directory source `/<<PKGBUILDDIR>>/debian/cargo_registry` (which is replacing registry `crates-io`)
required by package `forgejo-cli v0.3.0 (/<<PKGBUILDDIR>>)`
perhaps a crate was updated and forgotten to be re-vendored?
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:7: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

#1114105#10
Date:
2025-09-18 15:18:44 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
forgejo-cli, 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 1114105@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@debian.org> (supplier of updated forgejo-cli 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: Thu, 18 Sep 2025 17:02:14 +0200
Source: forgejo-cli
Architecture: source
Version: 0.3.0-6
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <daniel@debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Closes: 1114105
Changes:
 forgejo-cli (0.3.0-6) sid; urgency=medium
 .
   * Updating cargo.patch for comrack 0.41 (Closes: #1114105).
   * Adding explicit build-depends which where formerly inherited.
Checksums-Sha1:
 87f0c42a580ee9efe9beaba5612b046b21aa5380 1999 forgejo-cli_0.3.0-6.dsc
 c8b3486957847dfe87d1cc65ca36464be59d74a0 4000 forgejo-cli_0.3.0-6.debian.tar.xz
 e2f1e9e7eb6ba111668b26c3c360a0a1cd52d1bd 24894 forgejo-cli_0.3.0-6_amd64.buildinfo
Checksums-Sha256:
 2eae059ad88658320f1bc46489bdd60066c1320d6f821cebca2c40ecf8ae7dc7 1999 forgejo-cli_0.3.0-6.dsc
 490b077c304d2fea9b9696cc4e494b8f25a5fd3b3c87e641f2fcd58dc97f2cb3 4000 forgejo-cli_0.3.0-6.debian.tar.xz
 2d5e8ae004dfa06c1963122f1b6fa715368df961973f5446b3acdce227b28798 24894 forgejo-cli_0.3.0-6_amd64.buildinfo
Files:
 bea3b88a719f3aa06f072f4e1d23b64a 1999 utils optional forgejo-cli_0.3.0-6.dsc
 77d4c3f1de5e5fa34e80482b23caeaf7 4000 utils optional forgejo-cli_0.3.0-6.debian.tar.xz
 03eb1af300c18475b1f0655ac00e69c4 24894 utils optional forgejo-cli_0.3.0-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCaMwfewAKCRD7tPDoCoAi
LwNCAQDdNUoe2GWotOLvZ8LK0WrTYMPrr5li6WcmT7kmmPvASwEAlkZExcRhgOM5
LRGtpKoS9waBlpE8rdsWmwvUhAlX7Qg=
=RFWE
-----END PGP SIGNATURE-----