Bug#883478: ste-plugins FTCBFS: uses the build architecture compiler as linker

Helmut Grohne helmut at subdivi.de
Mon Dec 4 13:17:03 UTC 2017


Source: ste-plugins
Version: 0.0.2-5
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

ste-plugins fails to cross build from source, because the Makefile hard
codes g++ as the linker command. After making it substitutable,
ste-plugins cross builds successfully as dh_auto_build passes cross
tools to make. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru ste-plugins-0.0.2/debian/changelog ste-plugins-0.0.2/debian/changelog
--- ste-plugins-0.0.2/debian/changelog	2016-12-26 21:31:33.000000000 +0100
+++ ste-plugins-0.0.2/debian/changelog	2017-12-04 14:13:30.000000000 +0100
@@ -1,3 +1,10 @@
+ste-plugins (0.0.2-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Make g++ substitutable. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 04 Dec 2017 14:13:30 +0100
+
 ste-plugins (0.0.2-5) unstable; urgency=medium
 
   * Set dh/compat 10.
diff --minimal -Nru ste-plugins-0.0.2/debian/patches/01-destdir.patch ste-plugins-0.0.2/debian/patches/01-destdir.patch
--- ste-plugins-0.0.2/debian/patches/01-destdir.patch	2014-02-16 08:55:57.000000000 +0100
+++ ste-plugins-0.0.2/debian/patches/01-destdir.patch	2017-12-04 14:13:27.000000000 +0100
@@ -22,7 +22,7 @@
  STEREO_O = stereo.o stereo_if.o 
  stereo-plugins.so:	$(STEREO_O)	
 -	g++ -shared  -o $@  $(STEREO_O)
-+	g++ $(LDFLAGS) -shared  -o $@  $(STEREO_O)
++	$(CXX) $(LDFLAGS) -shared  -o $@  $(STEREO_O)
  
  stereo.o:	ladspaplugin.h stereo.h
  stereo_if.o:	ladspaplugin.h stereo.h


More information about the pkg-multimedia-maintainers mailing list