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

gregor herrmann gregoa at debian.org
Fri Aug 26 00:25:19 BST 2022


On Wed, 24 Aug 2022 15:20:37 +0200, Helmut Grohne wrote:

> 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? 

I looked a bit at the %Config hash, and found

    config_arg11: -Darchname=x86_64-linux-gnu

which comes from

    config_args: … -Darchname=x86_64-linux-gnu …

but I have no idea about how to extract this value in a sane way.


I also note that the documentation for Config (3perl) says:

    "archname"
        From archname.U:
    
        This variable is a short name to characterize the current
        architecture. It is used mainly to construct the default
        archlib.

but then:

    archlib: /usr/lib/x86_64-linux-gnu/perl/5.34


I hope that Niko and Dom have more ideas :)


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20220826/3d285d1c/attachment.sig>


More information about the pkg-perl-maintainers mailing list