[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#956551: marked as done (ibus-chewing FTCBFS: does not pass cross flags to cmake)



Your message dated Sat, 6 Sep 2025 08:33:44 +0800
with message-id <aLuBaMjxx5weL-gg@gmail.com>
and subject line Re: Fix FTCBFS
has caused the Debian Bug report #956551,
regarding ibus-chewing FTCBFS: does not pass cross flags to cmake
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
956551: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956551
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ibus-chewing
Version: 1.6.1-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

ibus-chewing fails to cross build from source, because it does not pass
cross flags to cmake. The easiest way of doing so - using
dh_auto_configure - makes the cmake invocation succeed, but the actual
build still fails with an Exec format error. Using dh_auto_configure
also makes DEB_BUILD_OPTIONS=terse work. Please consider applying the
attached patch anyway and close this bug when doing so.

Helmut
diff --minimal -Nru ibus-chewing-1.6.1/debian/changelog ibus-chewing-1.6.1/debian/changelog
--- ibus-chewing-1.6.1/debian/changelog	2019-01-05 03:35:14.000000000 +0100
+++ ibus-chewing-1.6.1/debian/changelog	2020-04-12 17:18:24.000000000 +0200
@@ -1,3 +1,11 @@
+ibus-chewing (1.6.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Improve cross compilation: Let dh_auto_configure pass cross flags to
+    cmake. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 12 Apr 2020 17:18:24 +0200
+
 ibus-chewing (1.6.1-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru ibus-chewing-1.6.1/debian/rules ibus-chewing-1.6.1/debian/rules
--- ibus-chewing-1.6.1/debian/rules	2019-01-05 02:57:36.000000000 +0100
+++ ibus-chewing-1.6.1/debian/rules	2020-04-12 17:18:23.000000000 +0200
@@ -26,8 +26,7 @@
 	cp $(CURDIR)/po/zanata.xml $(CURDIR)/debian/bak/po
 	cp $(CURDIR)/ChangeLog $(CURDIR)/debian/bak
 
-	cmake -DCMAKE_INSTALL_PREFIX="/usr" \
-		-DCMAKE_VERBOSE_MAKEFILE=ON \
+	dh_auto_configure -- \
 		-DCMAKE_SKIP_RPATH=ON \
 		-DLIBEXEC_DIR=/usr/lib/ibus \
 		-DSYSCONF_INSTALL_DIR=/usr/share \

--- End Message ---
--- Begin Message ---
On Sat, Sep 06, 2025 at 08:32:33AM +0800, ChangZhuo Chen (陳昌倬) wrote:
> Control: fixed -1 2.0.0-1



-- 
ChangZhuo Chen (陳昌倬) czchen@{czchen,debian}.org
Key fingerprint = BA04 346D C2E1 FE63 C790 8793 CC65 B0CD EC27 5D5B

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: