Bug#895177: invada-studio-plugins-lv2 FTCBFS: uses build architecture build tools

Helmut Grohne helmut at subdivi.de
Sun Apr 8 07:58:04 BST 2018


Source: invada-studio-plugins-lv2
Version: 1.2.0+repack0-8
Tags: patch upstream
User: helmutg at debian.org
Usertags: rebootstrap

invada-studio-plugins-lv2 fails to cross build from source, because it
uses some build architecture build tools. Notably, it hard codes the
build architecture pkg-config in the upstream build system. Then it
uses the build architecture compiler as the value for LD. The former is
easily fixed by making it overridable (and dh_auto_build passes that).
For LD, it is already indirected through a variable, but dh_auto_build
cannot know the right value as for some packages it needs to be a C++
linker. So it is best to default LD from CC or CXX respectively. The
attached patch implements all of that and makes
invada-studio-plugins-lv2 cross build successfully. Please consider
applying it.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 2103 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20180408/fab54353/attachment-0001.patch>


More information about the pkg-multimedia-maintainers mailing list