Bug#882972: invada-studio-plugins FTCBFS: uses the build architecture linker
Helmut Grohne
helmut at subdivi.de
Tue Nov 28 05:13:22 UTC 2017
Source: invada-studio-plugins
Version: 0.3.1-4
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
invada-studio-plugins fails to cross build from source, because its
Makefile uses the not so standard variable LD with a default of gcc for
linking. Unlike CC, this variable is not substituted by dh_auto_build.
After substituting it as well, invada-studio-plugins cross builds
successfully. Please consider applying the attached patch.
Helmut
-------------- next part --------------
diff --minimal -Nru invada-studio-plugins-0.3.1/debian/changelog invada-studio-plugins-0.3.1/debian/changelog
--- invada-studio-plugins-0.3.1/debian/changelog 2016-12-19 19:01:10.000000000 +0100
+++ invada-studio-plugins-0.3.1/debian/changelog 2017-11-28 06:09:59.000000000 +0100
@@ -1,3 +1,10 @@
+invada-studio-plugins (0.3.1-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Override gcc set in LD. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Tue, 28 Nov 2017 06:09:59 +0100
+
invada-studio-plugins (0.3.1-4) unstable; urgency=medium
* Set dh/compat 10.
diff --minimal -Nru invada-studio-plugins-0.3.1/debian/rules invada-studio-plugins-0.3.1/debian/rules
--- invada-studio-plugins-0.3.1/debian/rules 2016-12-19 19:01:10.000000000 +0100
+++ invada-studio-plugins-0.3.1/debian/rules 2017-11-28 06:09:57.000000000 +0100
@@ -7,5 +7,8 @@
%:
dh $@
+override_dh_auto_build:
+ dh_auto_build -- 'LD=$$(CC)'
+
override_dh_auto_install:
$(MAKE) install INSTALL_PLUGINS_DIR=$(CURDIR)/debian/invada-studio-plugins-ladspa/usr/lib/ladspa INSTALL_LRDF_DIR=$(CURDIR)/debian/invada-studio-plugins-ladspa/usr/share/ladspa/rdf
More information about the pkg-multimedia-maintainers
mailing list