Bug#1018046: libsocket6-perl FTCBFS: does not pass --host to configure

Helmut Grohne helmut at subdivi.de
Wed Aug 24 14:20:37 BST 2022


Source: libsocket6-perl
Version: 0.29-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

libsocket6-perl is built using a Makefile.PL that calls a ./configure
script. Unfortunately, that latter invocation happens to lack --host and
thus fails. Adding the --host flag is relatively easy, just figuring out
the right value is not entirely obvious. I opted for $Config{archname},
which happens to be x86_64-linux-gnu-thread-multi on amd64. This is not
quite what we wanted x86_64-linux-gnu, but reasonably close. It also
seems to work on armhf. Do you know a better way to acquire the
architecture name? If not, is this patch acceptable?

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


More information about the pkg-perl-maintainers mailing list