Bug#956636: libnet-ssh2-perl FTCBFS: uses a compile+run test

Helmut Grohne helmut at subdivi.de
Mon Apr 13 19:10:49 BST 2020


Source: libnet-ssh2-perl
Version: 0.71-1
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs

libnet-ssh2-perl fails to cross build from source, because Makefile.PL
uses a compile + run test to detect the ssh2 library. Running an
executable is not necessary here and doing so breaks cross compilation.
Please consider using a link-only test, e.g. by applying the attached
patch.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 394 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200413/388c0829/attachment.patch>


More information about the pkg-perl-maintainers mailing list