Your message dated Sun, 08 Oct 2023 23:19:47 +0000
with message-id <[email protected]>
and subject line Bug#970048: fixed in binfmtc 0.17-2.3
has caused the Debian Bug report #970048,
regarding binfmtc FTCBFS: builds for the build architecture
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 [email protected]
immediately.)


-- 
970048: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970048
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: binfmtc
Version: 0.17-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

binfmtc fails to cross build from source, because it configures for the
build architecture. The easiest way of passing the relevant --host flag
is using dh_auto_configure. Even then, the build fails during
installation as the packaging passes -s to install and it uses the build
architecture strip by default. Beyond breaking cross compilation, this
also breaks generation of -dbgsym packages. dh_strip already takes care
of stripping and handling DEB_BUILD_OPTIONS=nostrip. Simply skipping it
at the installation phase is the way to go. Please consider applying the
attached patch to fix all mentioned issues.

Helmut
diff -u binfmtc-0.17/debian/changelog binfmtc-0.17/debian/changelog
--- binfmtc-0.17/debian/changelog
+++ binfmtc-0.17/debian/changelog
@@ -1,3 +1,12 @@
+binfmtc (0.17-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_configure pass --host to ./configure.
+    + Defer stripping to dh_strip.
+
+ -- Helmut Grohne <[email protected]>  Thu, 10 Sep 2020 22:24:22 +0200
+
 binfmtc (0.17-2) unstable; urgency=medium
 
   * Update debheper compat level 9, and check with debdiff.
diff -u binfmtc-0.17/debian/rules binfmtc-0.17/debian/rules
--- binfmtc-0.17/debian/rules
+++ binfmtc-0.17/debian/rules
@@ -17,16 +17,12 @@
 else
 CFLAGS += -O2
 endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-INSTALL_PROGRAM += -s
-endif
-
 
 configure: configure-stamp
 configure-stamp:
        dh_testdir
        INSTALL_PROGRAM='${INSTALL_PROGRAM}' CFLAGS='${CFLAGS}' \
-        ./configure --prefix=/usr --mandir=/usr/share/man
+        dh_auto_configure
        touch configure-stamp
 
 build: build-stamp

--- End Message ---
--- Begin Message ---
Source: binfmtc
Source-Version: 0.17-2.3
Done: Bastian Germann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
binfmtc, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (supplier of updated binfmtc 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 28 Sep 2023 21:30:13 +0000
Source: binfmtc
Architecture: source
Version: 0.17-2.3
Distribution: unstable
Urgency: medium
Maintainer: Junichi Uekawa <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 970048 1036417
Changes:
 binfmtc (0.17-2.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Convert to source format 3.0. (Closes: #1036417)
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #970048)
     + Let dh_auto_configure pass --host to ./configure.
     + Defer stripping to dh_strip.
Checksums-Sha1:
 6f5dd2789954b875d197ece94b7c380e99be773d 1506 binfmtc_0.17-2.3.dsc
 cfcf3e056c304309e61488fbbae43369811ae4c0 4528 binfmtc_0.17-2.3.debian.tar.xz
 fe0bbfcfa992ff6932c26e16a2dab7d065108151 5325 binfmtc_0.17-2.3_source.buildinfo
Checksums-Sha256:
 d7a860ca029fb17cc57f87411bf9ff890d38498fa0ac14952da1469909c9fc49 1506 
binfmtc_0.17-2.3.dsc
 f0d835a2e2cf39defec130314a819c7c145f6021db7410614272acad9f6280ff 4528 
binfmtc_0.17-2.3.debian.tar.xz
 ef2163dcdd6999756d8b885cb5a1f37580b5ee5160c4317aa329a7144845402f 5325 
binfmtc_0.17-2.3_source.buildinfo
Files:
 237a70464588e5df25818967d14f49ad 1506 utils extra binfmtc_0.17-2.3.dsc
 290df1736a67aaa02b2182a1772e3eeb 4528 utils extra 
binfmtc_0.17-2.3.debian.tar.xz
 624d959b5ce837390036d2981b7b53f4 5325 utils extra 
binfmtc_0.17-2.3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmUV/voQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFGsRC/9RxUQgT/1yciSlv83Vy9Tg1Q6KJOeDI+fA
qK82ceLBydsewj5Dw+RMJ6+U1Eo68+vEXHnu4df6BWaFpb1M6lZ1nnrkrou1Z8wj
dECqX/Bo9MYk2Yv1bfr4opUiJ26AHWb2k8/X235WzSadwy0XGhwErSDUIVdi+Mlh
O/oO7VTj9nreyDj1/a0TNvP3xEg91TcwkPW6qVAh6LGyaWw02j+6k2KoyGOvpptk
GPI8a/axMm6VRhGURz8+XwNv3IolKlpbKcey1TKoGIE80aHIjGBvi206neRq9zSL
mnZWxBz7d65dBJ2IE/P/chowoa+iTALvdElrSGE8QJhhZrF6NHF/u1r7NKcrFMQ/
R+rv7+qDYxZp39ckHAzQxgvmhPmniJA6HPl8GcDlEHnxGzIVBnzWEgsQvhSFjdqs
REPhrSEB6mcdkqAoFeCvrWyu6qdEWQN7VBnjZsav0SmlVeRMJdrWSi0/DQii4wU+
JLNxFYdvqdhVwsAFrOOxFKHLBMMG+k0=
=CGnp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to