Source: rust-wezterm-bidi
Version: 0.2.3-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

rust-wezterm-bidi fails to cross build from source. It fails running dwz
as it tries to process a build architecture executable. That executable
happens to be the code generator that should quite probably not have
ended up in the binary package in the first place. The generated code
needs to be included, but not its generator. After removing it from the
package, it cross builds successfully.

Helmut
diff -Nru rust-wezterm-bidi-0.2.3/debian/changelog 
rust-wezterm-bidi-0.2.3/debian/changelog
--- rust-wezterm-bidi-0.2.3/debian/changelog    2024-12-31 13:26:29.000000000 
+0100
+++ rust-wezterm-bidi-0.2.3/debian/changelog    2026-09-04 23:47:44.000000000 
+0200
@@ -1,3 +1,10 @@
+rust-wezterm-bidi (0.2.3-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Don't install the code generator. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 04 Sep 2026 23:47:44 +0200
+
 rust-wezterm-bidi (0.2.3-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru rust-wezterm-bidi-0.2.3/debian/rules 
rust-wezterm-bidi-0.2.3/debian/rules
--- rust-wezterm-bidi-0.2.3/debian/rules        2024-12-31 13:26:29.000000000 
+0100
+++ rust-wezterm-bidi-0.2.3/debian/rules        2026-09-04 23:47:44.000000000 
+0200
@@ -7,6 +7,7 @@
        ln -s /usr/share/unicode/BidiBrackets.txt 
${CURDIR}/data/BidiBrackets.txt
        cp -r ${CURDIR}/debian/missing-sources/generate ${CURDIR}
        cd generate && cargo run && cd -
+       rm -rf generate
 
 execute_after_dh_auto_build:
-       rm -rf ${CURDIR}/data ${CURDIR}/generate
+       rm -rf ${CURDIR}/data

Reply via email to