Your message dated Wed, 3 Jan 2024 14:37:25 +0100
with message-id 
<cadstwjkdgvnt2xfetxegnnopct8vd0hqypizlem4to-dfra...@mail.gmail.com>
and subject line Re: xinv3d FTCBFS: builds for the wrong architecture
has caused the Debian Bug report #914825,
regarding xinv3d FTCBFS: builds for the wrong 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.)


-- 
914825: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914825
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xinv3d
Version: 1.3.6-6
Tags: patch
User: [email protected]
Usertags: rebootstrap

xinv3d fails to cross build from source, because it does not pass any
cross tools to make. Using dh_auto_build mostly fixes that except for
the final install invocation. It carries -s and therefore strips with
the wrong strip. Doing so not only breaks cross compilation, but also
generation of a -dbgsym package. It is best to defer stripping to
dh_strip. Thus the attached patch makes xinv3d cross build a -dbgsym
package successfully. Please consider applying it.

Helmut
diff -u xinv3d-1.3.6/debian/control xinv3d-1.3.6/debian/control
--- xinv3d-1.3.6/debian/control
+++ xinv3d-1.3.6/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Chris Butler <[email protected]>
 Standards-Version: 3.8.0
-Build-Depends: libx11-dev, x11proto-core-dev, debhelper (>> 4.0.0)
+Build-Depends: libx11-dev, x11proto-core-dev, debhelper (>> 7)
 
 Package: xinv3d
 Architecture: any
diff -u xinv3d-1.3.6/debian/changelog xinv3d-1.3.6/debian/changelog
--- xinv3d-1.3.6/debian/changelog
+++ xinv3d-1.3.6/debian/changelog
@@ -1,3 +1,12 @@
+xinv3d (1.3.6-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + Defer stripping to dh_strip.
+
+ -- Helmut Grohne <[email protected]>  Tue, 27 Nov 2018 19:34:01 +0100
+
 xinv3d (1.3.6-6) unstable; urgency=low
 
   * Updatd build dependency on x-dev to x11proto-core-dev (closes:
diff -u xinv3d-1.3.6/debian/rules xinv3d-1.3.6/debian/rules
--- xinv3d-1.3.6/debian/rules
+++ xinv3d-1.3.6/debian/rules
@@ -7,9 +7,6 @@
 CFLAGS = -g -Wall -ansi
 INSTALL = install
 
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-       INSTALL += -s
-endif
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
 else
@@ -29,7 +26,7 @@
        dh_testdir
 
        # Add here commands to compile the package.
-       $(MAKE) "CFLAGS=$(CFLAGS)"
+       dh_auto_build -- "CFLAGS=$(CFLAGS)"
 
        touch build-stamp
 

--- End Message ---
--- Begin Message ---
This was fixed a long time ago.

Package cross build just fine on Salsa:

https://salsa.debian.org/games-team/xinv3d/-/pipelines/621026

--- End Message ---

Reply via email to