Bug#894837: plotdrop FTCBFS: uses build architecture build tools

Helmut Grohne helmut at subdivi.de
Wed Apr 4 19:13:46 BST 2018


Source: plotdrop
Version: 0.5.4-1
Tags: patch upstream
User: helmutg at debian.org
Usertags: rebootstrap

plotdrop fails to cross build from source, because its Makefile hard
codes build architecture build tools. It uses bare pkg-config, which is
the build architecture one. dh_auto_build passes a cross $(PKG_CONFIG)
and all the Makefile has to do is pick it up. Furthermore, it uses the
-s option for the install command, which strips using the build
architecture strip. Besides breaking cross compilation, it also breaks
-dbgsym packages, so it is best left to dh_strip. Please consider
applying the attached patch.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 1055 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20180404/1d04161a/attachment.patch>


More information about the debian-science-maintainers mailing list