This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=71a07450904bea051b341f836705e4b01d2243da commit 71a07450904bea051b341f836705e4b01d2243da (HEAD -> main) Author: Guillem Jover <[email protected]> AuthorDate: Sat May 20 23:33:25 2023 +0200 Dpkg::Vendor::Debian: Add fallback values for ABI attributes On unknown architectures we should initialize the ABI attributes so that we do not get perl warnings when operating on them, just like we do with the arch parts definitions. --- scripts/Dpkg/Vendor/Debian.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm index 9285a61cf..c9c18b94c 100644 --- a/scripts/Dpkg/Vendor/Debian.pm +++ b/scripts/Dpkg/Vendor/Debian.pm @@ -171,6 +171,10 @@ sub set_build_features { warning(g_("unknown host architecture '%s'"), $arch); ($abi, $os, $cpu) = ('', '', ''); } + unless (defined $abi_bits and defined $abi_endian) { + warning(g_("unknown abi attributes for architecture '%s'"), $arch); + ($abi_bits, $abi_endian) = (0, 'unknown'); + } ## Area: future -- Dpkg.Org's dpkg

