[Pkg-rust-maintainers] Bug#1146901: rust-wezterm-bidi FTCBFS: dwz failure due to installing build arch objects

Helmut Grohne helmut at subdivi.de
Sat Sep 5 00:04:58 BST 2026


Source: rust-wezterm-bidi
Version: 0.2.3-2
Tags: patch
User: debian-cross at lists.debian.org
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
-------------- next part --------------
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 <helmut at subdivi.de>  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


More information about the Pkg-rust-maintainers mailing list