Bug#901691: gplanarity FTCBFS: multiple reasons

Helmut Grohne helmut at subdivi.de
Sat Jun 16 20:35:43 BST 2018


Source: gplanarity
Version: 17906-6
Tags: patch upstream

gplanarity fails to cross build from source. It uses build architecture
build tools e.g. by hard coding pkg-config in the upstream Makefile. It
also uses LD=gcc, which is not supplied by dh_auto_build, because it
sometimes needs to be a C++ linker and other times a C linker. After
making the tools substitutable, make install fails, because it relinks
and dh_auto_install does not supply cross tools. It turns out that the
relinking is due to broken Makefile dependencies. The attached patch
fixes all of that and makes gplanarity cross build successfully. Please
consider applying it.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 1836 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20180616/9cf22191/attachment.patch>


More information about the Pkg-games-devel mailing list