Your message dated Wed, 26 Jul 2023 09:07:27 +0000
with message-id <[email protected]>
and subject line Bug#1033991: fixed in chuck 1.5.0.7-1
has caused the Debian Bug report #1033991,
regarding chuck FTCBFS: does not pass cross tools to make
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.)


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

chuck fails to cross build from source, because it does not pass cross
tools to make. The easiest way of doing so - using dh_auto_build - also
makes debian/rules quite a bit simpler. It also makes cross builds work
except for the final link invocation. It uses $(LD), which defaults to
bare g++ and isn't substituted by debhelper, because it doesn't have
uniform meaning in different projects. Defaulting it to $(CXX) makes
this just work and is more reasonable anyway. I'm attaching a patch for
your convenience.

Helmut
diff --minimal -Nru chuck-1.4.2.0/debian/changelog 
chuck-1.4.2.0/debian/changelog
--- chuck-1.4.2.0/debian/changelog      2023-01-23 23:06:26.000000000 +0100
+++ chuck-1.4.2.0/debian/changelog      2023-04-03 07:23:01.000000000 +0200
@@ -1,3 +1,12 @@
+chuck (1.4.2.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + cross.patch: Default LD to CXX as dh_auto_build doesn't pass LD.
+
+ -- Helmut Grohne <[email protected]>  Mon, 03 Apr 2023 07:23:01 +0200
+
 chuck (1.4.2.0-1) unstable; urgency=medium
 
   * Patch to #include <limits.h> instead of <linux/limits.h>
diff --minimal -Nru chuck-1.4.2.0/debian/patches/cross.patch 
chuck-1.4.2.0/debian/patches/cross.patch
--- chuck-1.4.2.0/debian/patches/cross.patch    1970-01-01 01:00:00.000000000 
+0100
+++ chuck-1.4.2.0/debian/patches/cross.patch    2023-04-03 07:23:01.000000000 
+0200
@@ -0,0 +1,11 @@
+--- chuck-1.4.2.0.orig/src/makefile
++++ chuck-1.4.2.0/src/makefile
+@@ -80,7 +80,7 @@
+ YACC=bison
+ CC=gcc
+ CXX=g++
+-LD=g++
++LD=$(CXX)
+ 
+ 
+ ############################# COMPILER FLAGS 
###################################
diff --minimal -Nru chuck-1.4.2.0/debian/patches/series 
chuck-1.4.2.0/debian/patches/series
--- chuck-1.4.2.0/debian/patches/series 2023-01-23 23:06:26.000000000 +0100
+++ chuck-1.4.2.0/debian/patches/series 2023-04-03 07:23:01.000000000 +0200
@@ -3,3 +3,4 @@
 0004-termios.patch
 0005-linux-limits.patch
 0005-parallel-make-fix.patch
+cross.patch
diff --minimal -Nru chuck-1.4.2.0/debian/rules chuck-1.4.2.0/debian/rules
--- chuck-1.4.2.0/debian/rules  2023-01-23 23:06:26.000000000 +0100
+++ chuck-1.4.2.0/debian/rules  2023-04-03 07:22:56.000000000 +0200
@@ -8,26 +8,22 @@
 export CHUCK_STRICT=1
 
 %:
-       dh $@
+       dh $@ --sourcedirectory=src
 
 override_dh_auto_build:
        mkdir build
-       $(MAKE) -C src linux-alsa
+       dh_auto_build -- linux-alsa
        mv src/chuck build/chuck.alsa
-       $(MAKE) -C src clean
-       $(MAKE) -C src linux-pulse
+       dh_auto_clean
+       dh_auto_build -- linux-pulse
        mv src/chuck build/chuck.pulse
-       $(MAKE) -C src clean
-       $(MAKE) -C src linux-jack CHUCK_DEBUG=y
+       dh_auto_clean
+       dh_auto_build -- linux-jack CHUCK_DEBUG=y
        docbook-to-man debian/chuck.sgml > build/chuck.1
 
 execute_after_dh_auto_clean:
-       $(MAKE) -C src clean
        rm -rf build/
 
-override_dh_auto_install:
-       $(MAKE) -C src install DESTDIR=$(CURDIR)/debian/tmp
-
 override_dh_installchangelogs:
        dh_installchangelogs VERSIONS
 

--- End Message ---
--- Begin Message ---
Source: chuck
Source-Version: 1.5.0.7-1
Done: Barak A. Pearlmutter <[email protected]>

We believe that the bug you reported is fixed in the latest version of
chuck, 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.
Barak A. Pearlmutter <[email protected]> (supplier of updated chuck 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: Tue, 25 Jul 2023 15:08:31 +0100
Source: chuck
Architecture: source
Version: 1.5.0.7-1
Distribution: unstable
Urgency: medium
Maintainer: Paul Brossier <[email protected]>
Changed-By: Barak A. Pearlmutter <[email protected]>
Closes: 1033991
Changes:
 chuck (1.5.0.7-1) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #1033991)
     + Let dh_auto_build pass cross tools to make.
     + cross.patch: Default LD to CXX as dh_auto_build doesn't pass LD.
 .
   [ Barak A. Pearlmutter ]
   * New upstream release
   * Merge neglected cross-build fix
   * Tweak debian/rules
   * Patch issues in upstream test target
Checksums-Sha1:
 a91882eb775fa1911d07cdb1d0b1b8bf1620a593 2035 chuck_1.5.0.7-1.dsc
 4e32850d07b9b9a02cd80b8c059b891faeeb470f 8538616 chuck_1.5.0.7.orig.tar.xz
 13f0a8e697bf4aff563f131a6e4259fb12fe1780 10252 chuck_1.5.0.7-1.debian.tar.xz
 25564be2e04b55de6a977710b662e0d3c79813d3 8700 chuck_1.5.0.7-1_source.buildinfo
Checksums-Sha256:
 f79cfb6ce23484ade47fee50124268360b814adabcf042573de24b51b8a4bf3b 2035 
chuck_1.5.0.7-1.dsc
 87be77d676ab0f03fc3e3bb748037bd82bda9ab0d4cff6f92cf99099559b2ab5 8538616 
chuck_1.5.0.7.orig.tar.xz
 961833ffa9472d4c05818b61041e2955c01982dc5f4c106afd47e0364041ae02 10252 
chuck_1.5.0.7-1.debian.tar.xz
 f04d9b4f23c410fe60f4597fef302cf0f0c672da9def26c296e046b7b35d0eda 8700 
chuck_1.5.0.7-1_source.buildinfo
Files:
 3f13b396eca7e2c16014b457cf2a4b41 2035 sound optional chuck_1.5.0.7-1.dsc
 b8471f70fe4ccd6430302c02485d1145 8538616 sound optional 
chuck_1.5.0.7.orig.tar.xz
 01c05d11f26d686e7411d92d17523d5c 10252 sound optional 
chuck_1.5.0.7-1.debian.tar.xz
 aff3ce686c362292f7a9d87a80866996 8700 sound optional 
chuck_1.5.0.7-1_source.buildinfo

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

iQJDBAEBCgAtFiEE+nZaz+JE7Dn2AefCmesepNIze4gFAmTA3X0PHGJhcEBkZWJp
YW4ub3JnAAoJEJnrHqTSM3uIYyEQAM4Rwf6UNoZKatRlhQMnrhh+cKbC32cig+Hw
4w5BWrdwm6ILCanBeLGsDewPSsmSAfw0ySIMCR8rozPsun0MOljWu+4iFWTkYGjB
djS1gs+Q+XOrcc12OcK8EbVw+exW3uZBJDdAgfKAdo7Ia+ydSXeIt9XgeFBRfC0F
IIq82LNw5y4nlDS6SD3djlzf4e4JFwKgaB/4KiLMknj/aaMwcHOL6VdQUdaN2MRT
GQinMuwlCfxtreLmyWTWyV4SWr7ufDkERudaHcx5NJojtMx9RSpcefRa9BCAlnLx
r2pkX11D54P4QEqNkTgtLW/4rFU0P5ZiKs7yuMACA/JbeUPvl2ZzBhgTe8fRILOy
kZJq1q6sTNuVlNBJSWEYaR4cni9fCOZkpbfBjbPsZ3E7axMJSzwEX2+54u11V4bv
2WBmYWXgddrwGoC8msTnNUBbSkchM64pnAlsJARz4P3uv9mboZYhhfYpCV324ZM3
+crIEIlxx6vkPfwgDl3smCChc3iW+px1XntFfnQxqOMbT3TQj7NHbXy/i0frXaBp
ossWsyWpXQitFA2hqCyH9psuCGHkDOKRmWbH0tzz04a59gRBvoKihm+DTUdtCpml
KMQaxjBmwQEJ7+Bw9Ya0FBbSJXT1HmCR6jJXH2EOuEyvUskYyLvKQg6A519RkXh7
PhLSDnlo
=8Qik
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to