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

Bug#944635: marked as done (jack-tools FTCBFS: hard codes the build architecture compiler)



Your message dated Sun, 28 Sep 2025 21:04:50 +0000
with message-id <E1v2yZe-00CHfe-2F@fasolo.debian.org>
and subject line Bug#944635: fixed in jack-tools 20131226-3
has caused the Debian Bug report #944635,
regarding jack-tools FTCBFS: hard codes the build architecture compiler
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.)


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

jack-tools fails to cross build from source, because the upstream
Makefile hard codes the build architecture compiler. The attached patch
makes it substitutable and additionally makes debian/rules export cross
tools using dpkg's buildtools.mk to make jack-tools cross buildable.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru jack-tools-20131226/debian/changelog jack-tools-20131226/debian/changelog
--- jack-tools-20131226/debian/changelog	2014-10-15 15:54:35.000000000 +0200
+++ jack-tools-20131226/debian/changelog	2019-11-13 06:02:12.000000000 +0100
@@ -1,3 +1,12 @@
+jack-tools (20131226-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + cross.patch: Make the compiler substitutable.
+    + Let dpkg's buildtools.mk supply cross tools.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Wed, 13 Nov 2019 06:02:12 +0100
+
 jack-tools (20131226-1) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru jack-tools-20131226/debian/patches/cross.patch jack-tools-20131226/debian/patches/cross.patch
--- jack-tools-20131226/debian/patches/cross.patch	1970-01-01 01:00:00.000000000 +0100
+++ jack-tools-20131226/debian/patches/cross.patch	2019-11-13 06:02:09.000000000 +0100
@@ -0,0 +1,38 @@
+--- jack-tools-20131226.orig/Makefile
++++ jack-tools-20131226/Makefile
+@@ -8,19 +8,19 @@
+ all: $(bin)
+ 
+ jack-transport: jack-transport.c
+-	gcc $(CFLAGS) $(LDFLAGS) -o jack-transport jack-transport.c $(LDLIBS) -lcurses
++	$(CC) $(CFLAGS) $(LDFLAGS) -o jack-transport jack-transport.c $(LDLIBS) -lcurses
+ 
+ jack-dl: jack-dl.c
+-	gcc $(CFLAGS) $(LDFLAGS) -o jack-dl jack-dl.c $(LDLIBS) -ldl -llo
++	$(CC) $(CFLAGS) $(LDFLAGS) -o jack-dl jack-dl.c $(LDLIBS) -ldl -llo
+ 
+ jack-play: jack-play.c
+-	gcc $(CFLAGS) $(LDFLAGS) -o jack-play jack-play.c $(LDLIBS) -lsndfile -lsamplerate
++	$(CC) $(CFLAGS) $(LDFLAGS) -o jack-play jack-play.c $(LDLIBS) -lsndfile -lsamplerate
+ 
+ jack-record: jack-record.c
+-	gcc $(CFLAGS) $(LDFLAGS) -o jack-record jack-record.c $(LDLIBS) -lsndfile
++	$(CC) $(CFLAGS) $(LDFLAGS) -o jack-record jack-record.c $(LDLIBS) -lsndfile
+ 
+ jack-scope: jack-scope.c
+-	gcc $(CFLAGS) $(LDFLAGS) -o jack-scope jack-scope.c $(LDLIBS) -lX11 -lXext
++	$(CC) $(CFLAGS) $(LDFLAGS) -o jack-scope jack-scope.c $(LDLIBS) -lX11 -lXext
+ 
+ clean:
+ 	(cd c-common ; make clean)
+--- jack-tools-20131226.orig/c-common/Makefile
++++ jack-tools-20131226/c-common/Makefile
+@@ -47,7 +47,7 @@
+ 	xregcomp.o
+ 
+ %.o : %.c %.h
+-	gcc -Wall -O2 -c $*.c
++	$(CC) -Wall -O2 -c $*.c
+ 
+ all: $(obj)
+ 	ar -rcs lib-c-common.a $(obj)
diff --minimal -Nru jack-tools-20131226/debian/patches/series jack-tools-20131226/debian/patches/series
--- jack-tools-20131226/debian/patches/series	2014-10-15 14:58:14.000000000 +0200
+++ jack-tools-20131226/debian/patches/series	2019-11-13 06:01:36.000000000 +0100
@@ -2,3 +2,4 @@
 make-installation-directories.patch
 use_ldflags.patch
 jackplay_flags.patch
+cross.patch
diff --minimal -Nru jack-tools-20131226/debian/rules jack-tools-20131226/debian/rules
--- jack-tools-20131226/debian/rules	2014-10-15 14:58:14.000000000 +0200
+++ jack-tools-20131226/debian/rules	2019-11-13 06:02:12.000000000 +0100
@@ -17,6 +17,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+DPKG_EXPORT_BUILDTOOLS = 1
+include /usr/share/dpkg/buildtools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/class/makefile.mk

--- End Message ---
--- Begin Message ---
Source: jack-tools
Source-Version: 20131226-3
Done: Alexandre Detiste <tchet@debian.org>

We believe that the bug you reported is fixed in the latest version of
jack-tools, 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 944635@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated jack-tools 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 28 Sep 2025 22:07:57 +0200
Source: jack-tools
Architecture: source
Version: 20131226-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 944635 1075097
Changes:
 jack-tools (20131226-3) unstable; urgency=medium
 .
   * Team upload
   * Avoid FTBFS with GCC-14 (Closes: #1075097)
   * Remove stale debian/control.in
   * Trim dead code from d/rules
 .
   [ Helmut Grohne ]
   * avoid FTCBFS (Closes: #944635)
Checksums-Sha1:
 858c8d1ef61185fc6762da9710b5ee27b62111d5 2200 jack-tools_20131226-3.dsc
 72e79448a347aa16ac6500b1f2976447c9c8855b 6956 jack-tools_20131226-3.debian.tar.xz
 d5314ec5af7cee38d0f7dae5e3bf1d40003b18b1 9119 jack-tools_20131226-3_source.buildinfo
Checksums-Sha256:
 c5e5178a9904cabf50d4d25db4b9240598aef9ab04592c593ab6fefd5c3379f7 2200 jack-tools_20131226-3.dsc
 d8db0333421a3ef70adee8f726190301e626708b2a81d59cb6e459747e83ecea 6956 jack-tools_20131226-3.debian.tar.xz
 16d92ccafcd93c62bf82beba266c252d8f79acd20f383510c9111c3a44e58b7a 9119 jack-tools_20131226-3_source.buildinfo
Files:
 b25000fc3329f0c8f381cb4fa3499102 2200 sound optional jack-tools_20131226-3.dsc
 f51c152f2b99399b3a59c27277a22ce7 6956 sound optional jack-tools_20131226-3.debian.tar.xz
 a1a223ced23cb802905daabc8d30e536 9119 sound optional jack-tools_20131226-3_source.buildinfo

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

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmjZnUARHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqksg/+JwON+yyaCa0RACysROzniLpoHWtlfwAu
jGkfIGdxtNoDGCdnMfpn0yhv9epYS5ipGPNghco5EBsQeSeH14btKgmzI5hzjIE8
1yoQKt6SvDLZnQtq8tgPz5+igwdQsfg/Hbtmzcl755p6KTZpt+IQ+Jprlahyl60F
o4lCzvRaLceK03m1PcwOrAtJuoUkIsaV4P0esaDrX9o8BoWc2v2nFdiuzYxbFwhi
cxEn4gDGkGUQfuq0HTJ8+ZQP+qZISDugMVLKXa98zUAuu7E39TNKLQA4i3eptBY3
vVJhOdhQv94r2JtPq7gGvh1UiuZ9TclkRw4m9Kz/9ipjnHfSNcBBWc89pgeO8ntl
hJejSn+rK29Lx/xC2YCYNR8XSbpdoebd9ExIQqKEj+HlXf1CefWFiBWF10FMdxEj
iWZtb6RMz5nS1j0YcC5cHvcW4UasVEZ9kLwvhMjA+VacdhGA9jnurEM5R2Cwaoif
zgiqRN5H+/b+edk3JYX93lXgZhX11DE8sFl/vRzDezUbk77vSRayaIbfJKac6fuJ
8QNYoaJIp6/NjFfVdF56VooNXcGKAjAL6En+5IKZJvTHoc/XCQ+nKJVwu9kB1Sg+
jWSkIuWfR8+oWIxD0fCjUghTxhxZyUZbrYphmqfhtu9dd+QSbJhSJLvt5LHBQLwn
8KKX6y3ok5M=
=pNYS
-----END PGP SIGNATURE-----

Attachment: pgpsJ0XSCWBhH.pgp
Description: PGP signature


--- End Message ---

Reply to: