Bug#943852: tstools FTCBFS: uses the build architecture ld
Source: tstools Version: 1.13~git20151030-1 Tags: patch User: debian-cr...@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.0 +0200 +++ tstools-1.13~git20151030/debian/changelog 2019-10-30 20:06:41.0 +0100 @@ -1,3 +1,9 @@ +tstools (1.13~git20151030-2) UNRELEASED; urgency=medium + + * Fix FTCBFS: Export a suitable LD. (Closes: #-1) + + -- Helmut Grohne 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.0 +0200 +++ tstools-1.13~git20151030/debian/rules 2019-10-30 20:06:40.0 +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)
Processing of xmldiff_2.3-3_source.changes
xmldiff_2.3-3_source.changes uploaded successfully to localhost along with the files: xmldiff_2.3-3.dsc xmldiff_2.3-3.debian.tar.xz xmldiff_2.3-3_source.buildinfo Greetings, Your Debian queue daemon (running on host usper.debian.org)
xmldiff_2.3-3_source.changes ACCEPTED into unstable
Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Wed, 30 Oct 2019 16:37:06 -0300 Source: xmldiff Architecture: source Version: 2.3-3 Distribution: unstable Urgency: medium Maintainer: Debian QA Group Changed-By: Thiago Andrade Marques Changes: xmldiff (2.3-3) unstable; urgency=medium . * QA upload. * Run wrap-and-sort. * debian/changelog: fixed spelling errors. * debian/control: - Added ${sphinxdoc:Depends} in field Depends. - Added 'Rules-Requires-Root: no' in source stanza. - Bumped Standards-Version to 4.4.1. - Removed ${shlibs:Depends} in field Depends. - Reorganized, improved the short and long description and fixed a spelling error. * debian/copyright: - Added Apache2 license default text. - Added new upstream rights. - Added the block debian/*. - Added the block debian/manpage/create-man.sh. * debian/docs: created to install the upstream docs/source/contributing.rst file. * debian/doc-base: added to register the HTML file. * debian/manpage/*: created manpages to xmldiff and xmlpatch. * debian/manpages: created to install the manpages. * debian/rules: - Added the override_dh_auto_clean target to remove folders forgotten by upstream after building. - Removed all not needed lines with comments. * debian/salsa-ci.yml: added to provide CI tests for Salsa. * debian/tests/*: added to perform tests. Checksums-Sha1: cf693f8eaf23242cb33481ccdc2033d3f0580e76 1930 xmldiff_2.3-3.dsc 0cfbcfa41b7aa32844d73310e6587b96ab2595e5 7908 xmldiff_2.3-3.debian.tar.xz 6714ddd48fc2fd1896d10fae501d2da71722d5b3 6923 xmldiff_2.3-3_source.buildinfo Checksums-Sha256: 3a1cb8506782dac4dc750500b97e7655334f55baebc6dbfb6b06098a19e64abb 1930 xmldiff_2.3-3.dsc 06b52afdc5cc443bcbd11252c5cb13c59eb2198937826f16391246e3e0fe9e57 7908 xmldiff_2.3-3.debian.tar.xz 75c2085438d455453dbdfb5714c4005b965a2ff1355c0ba0f814a152af65e639 6923 xmldiff_2.3-3_source.buildinfo Files: e54f1fd8f34120a9ee18809a077d6128 1930 misc optional xmldiff_2.3-3.dsc 64705df6b60908d9f5cc6dda2d9248ef 7908 misc optional xmldiff_2.3-3.debian.tar.xz 6a5654c87711d126dad313aec1dbc963 6923 misc optional xmldiff_2.3-3_source.buildinfo -BEGIN PGP SIGNATURE- iQIzBAEBCgAdFiEENX3LDuyVoBrrofDS3mO5xwTr6e8FAl2593AACgkQ3mO5xwTr 6e+16Q/+PM0tvl4+2TBjykbrO17DLMkdFJYmYZvVmUV8XIy8u6LPeUTd+MS0/4j1 s2GWTT+HsFt9MBknk8TNrNyjKmO58KQDIrEVbJm8d5HWxqQxtTJiHkjD89zA9M6D JrEQYhH4Z7bJ3yFAQXf9K82wz/sh7qzT1bwBxYQzQ7TJYHVHj2oyOnsBlOixRtCc HVn2ZQHhlOQancRIe849jml/D5K8u/gxx6Dsvyn14V/3OdDCyBireZoHWR6LXasE 8fpuGIZpTfqMBgcjWnEUKsFfQkooHlcMSljeXcyrBN+xd/Q14knWbqWp7ECfgn92 y72U7x/0z7oIfMIqxpOZ/aWPu9Cg3+Wn/RCCeEms+VDKKi8kUT1/SKDmIAyGsSIi SfLIwEwTqQfmk2jilr+AQ61bfHd6CrZDzFAABSat0DLwOJCZWE41R/m6Ws+i8oKD pUNiWUXmYTeh8038qHPlBvNf0CNSQbKMZ6Dj+Lz0CQWKkGqDEaBFg4u3wDuyy8Tn WAOtmuG4UBwmwiQd1Y2LzC5XafCqzTSxHDwZvpU+P9XXPiuHJL3jIlK/NefMiYrV d8XUbqUy5kkXcddU9w2g1G/cd5sqa+HBqu+J1AQdMXS1fECctKxWnLkOn9B9tP1G 5YQo22u+wcUUhWC6clmUM5lGXCZgDwns3u30hzdRMUN+qmQrz2k= =jXy5 -END PGP SIGNATURE- Thank you for your contribution to Debian.