--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: tstools FTCBFS: uses the build architecture ld
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Wed, 30 Oct 2019 20:11:26 +0100
- Message-id: <20191030191125.GA31017@alf.mars>
Source: tstools
Version: 1.13~git20151030-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
tstools fails to cross build from source, because the upstream makefile
links with $(LD), which happens get default initialized to the build
architecture linker. Exporting it from dpkg's buildtools.mk makes
tstools cross buildable. Please consider applying the attached patch.
Helmut
diff --minimal -Nru tstools-1.13~git20151030/debian/changelog tstools-1.13~git20151030/debian/changelog
--- tstools-1.13~git20151030/debian/changelog 2019-10-01 17:34:56.000000000 +0200
+++ tstools-1.13~git20151030/debian/changelog 2019-10-30 20:06:41.000000000 +0100
@@ -1,3 +1,9 @@
+tstools (1.13~git20151030-2) UNRELEASED; urgency=medium
+
+ * Fix FTCBFS: Export a suitable LD. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Wed, 30 Oct 2019 20:06:41 +0100
+
tstools (1.13~git20151030-1) unstable; urgency=medium
* QA upload.
diff --minimal -Nru tstools-1.13~git20151030/debian/rules tstools-1.13~git20151030/debian/rules
--- tstools-1.13~git20151030/debian/rules 2019-10-01 17:23:17.000000000 +0200
+++ tstools-1.13~git20151030/debian/rules 2019-10-30 20:06:40.000000000 +0100
@@ -10,6 +10,8 @@
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
include /usr/share/dpkg/default.mk
+-include /usr/share/dpkg/buildtools.mk
+export LD
DEB_CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
DEB_LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
--- End Message ---
--- Begin Message ---
Source: tstools
Source-Version: 1.13~git20151030-3
We believe that the bug you reported is fixed in the latest version of
tstools, 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 943852@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated tstools 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: Tue, 26 Nov 2019 14:28:41 -0500
Source: tstools
Architecture: source
Version: 1.13~git20151030-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 943852
Changes:
tstools (1.13~git20151030-3) unstable; urgency=medium
.
* QA upload.
.
[ Helmut Grohne ]
* debian/rules: Fix FTCBFS: Export a suitable LD.
(Closes: #943852)
Checksums-Sha1:
d515fb1c3d852c9720c2c972d5faa83d4333e45a 1898 tstools_1.13~git20151030-3.dsc
c0497a68cc21091e53652543f227c752a75e8a59 11568 tstools_1.13~git20151030-3.debian.tar.xz
2d79fd2ae8bd1670a7a68702e72cabbf64318d35 5854 tstools_1.13~git20151030-3_amd64.buildinfo
Checksums-Sha256:
4298ee57e03e77c7d0290263211b88842ec65488962f5f83b8a42cca9afd00ad 1898 tstools_1.13~git20151030-3.dsc
43c0e7d25bca7c93c4672581a8e35a178995df3a03e5e7fdac58f86a96f994c5 11568 tstools_1.13~git20151030-3.debian.tar.xz
fa2b89d9437727d08c5c4a90e7508144959da64acfe854cc6ea0187e1e8b4b67 5854 tstools_1.13~git20151030-3_amd64.buildinfo
Files:
668da83d5e00c1ae3eeb7e23ca16b502 1898 utils optional tstools_1.13~git20151030-3.dsc
2426739619bc432376c023047506a0f2 11568 utils optional tstools_1.13~git20151030-3.debian.tar.xz
5262bc45e85c42e16586cc4646d1ce77 5854 utils optional tstools_1.13~git20151030-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAl3dfwUACgkQwpPntGGC
Ws6bRQ//YMK/jpA0qBr5WK6jNo5qkvEq9U5arQjCL0DUXBo7MPXy1o4AwbdXNAXQ
V2eSL15hO99jHMvyaFnfipCgf91jyzJF69IxkU9XwWQBQek3Tob/rVFliizR7zar
eKdE5pR35cXquwrxpXZI7/E4pnlkwj4eb14MGOFzjKdTaU9FMP2ocBNtpHWYzl+c
vG+FeLtBUxRcs0E5QfhE/SPa9UojvVb5g98lsayjft7vKMG141WKTbqOZwFRdC0s
rVkXN+lVE5XPZkPbsjXrkPExyA9XxJMIGhn3F8v+uRijrSIMWcU1MO2BsjmTyl5A
fcFHrO4V+NzL75GF98koVnPN9QDF+LiYuFjD8vHpoxGufsWb0/qUlWYUfseYkFLV
IZjs++k9H4jJm7p7uaZR1Uek7NFQabz7C59GEMAr5K/AQ3b3dF33O/z3wG42ylCM
QE00XKNnwh5qOSVV8Oq/uVY40NFKVR14bgAySRXardVlzTJMp8k0P2w1FpB7x5qz
Dz/A+C3IfCjjjO5U57YIMjAMBjHRNcUr0BTNbka/ZXksvakKGHFBmtSpMPqMZoFs
Var1LJio4ExIBfHPaX3n3vD9iEYMfaFrPo4HcFWFXO7Awu8BGuGjSyolcWPfE/sC
IMOuy6Vwo2onqpWNieOskletoiNnLRZhjRt8VXhYkf4YUgcr0m4=
=pAHP
-----END PGP SIGNATURE-----
--- End Message ---