[Pkg-rust-maintainers] Bug#1134316: rust-finl-unicode: FTBFS: Reversed (or previously applied) patch detected! Assume -R? [n]
Santiago Vila
sanvila at debian.org
Sat Apr 18 18:32:47 BST 2026
Package: src:rust-finl-unicode
Version: 1.2.0-2
Severity: serious
Tags: ftbfs forky sid
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/202604/
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:rust-finl-unicode, 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
debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f /<<PKGBUILDDIR>>/src/categories.rs
# these pregenerated files are regenerated during the build time
rm -f /<<PKGBUILDDIR>>/src/data/characters.rs /<<PKGBUILDDIR>>/src/data/grapheme_test.rs /<<PKGBUILDDIR>>/src/data/grapheme_property.rs
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
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/
debian/rules execute_before_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# see debcargo.toml for the categories.rs as missing-source reasoning
cp /<<PKGBUILDDIR>>/debian/missing-sources/categories.rs /<<PKGBUILDDIR>>/src/
cp -r /<<PKGBUILDDIR>>/debian/missing-sources/generate-sources /<<PKGBUILDDIR>>/generate-sources
mkdir -p /<<PKGBUILDDIR>>/generate-sources/target/tmp/data/15.0.0
ln -s /usr/share/unicode/UnicodeData.txt /usr/share/unicode/auxiliary/GraphemeBreakTest.txt \
/usr/share/unicode/auxiliary/GraphemeBreakProperty.txt /usr/share/unicode/emoji/emoji-data.txt /<<PKGBUILDDIR>>/generate-sources/target/tmp/data/15.0.0
cd /<<PKGBUILDDIR>>/generate-sources && cargo run && cd -
Locking 3 packages to latest compatible versions
Compiling anyhow v1.0.102
Compiling either v1.15.0
Compiling itertools v0.14.0
Compiling generate-sources v1.0.2 (/<<PKGBUILDDIR>>/generate-sources)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.10s
Running `target/debug/generate-sources`
Generating category data...
Generating grapheme tests...
Generating grapheme break data...
/<<PKGBUILDDIR>>
patch /<<PKGBUILDDIR>>/src/data/grapheme_test.rs -i /<<PKGBUILDDIR>>/debian/patches/drop-incompatible-tests.patch
patching file /<<PKGBUILDDIR>>/src/data/grapheme_test.rs
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file /<<PKGBUILDDIR>>/src/data/grapheme_test.rs.rej
make[1]: *** [debian/rules:22: execute_before_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-rust-maintainers
mailing list