• Bug#1053778: dpkg: add loong64 to mask builtin feature list

    From Guillem Jover@1:229/2 to yalingfang on Fri Oct 13 03:00:01 2023
    XPost: linux.debian.bugs.dist
    From: [email protected]

    Hi!

    [ In the future make sure to send mails to the Debian bug tracker as
    plain not-flowed text, otherwise that messes up with the pseudo-header
    formatting. Thanks! ]

    On Wed, 2023-10-11 at 09:31:01 +0800, yalingfang wrote:
    Package: dpkg Version: 1.22.0 Severity: normal Tags: patch User: [email protected] Usertags: loongarch64 Dear maintainers,

    We need add loong64 to mask builtin feature list for pie flag wrong
    during compiling.

    We have added loong64 for dpkg, the patch

    can be found in the attachment. If you have any questions, you can contact
    me at any time. Thanks!

    I've queued this patch, and it will be part of my next git push
    targeting the next release.

    diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm index 1cc2393..0ac3ebe 100644
    --- a/scripts/Dpkg/Vendor/Debian.pm
    +++ b/scripts/Dpkg/Vendor/Debian.pm
    @@ -184,6 +184,7 @@ sub set_build_features {
    i386
    kfreebsd-amd64
    kfreebsd-i386
    + loong64
    mips
    mips64
    mips64el

    I've replaced the tab with spaces.

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)