Your message dated Mon, 23 Sep 2024 07:34:46 +0000 with message-id <E1ssdao-008QZz-QT@fasolo.debian.org> and subject line Bug#1069138: fixed in sbsigntool 0.9.4-3.2 has caused the Debian Bug report #1069138, regarding sbsigntool: FTBFS: add support for loongarch to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1069138: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069138 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: sbsigntool: FTBFS: add support for loongarch
- From: zhangdandan <zhangdandan@loongson.cn>
- Date: Wed, 17 Apr 2024 09:48:35 +0800
- Message-id: <170053a3-fb26-f0ad-91db-3c8b17a3a640@loongson.cn>
Source: sbsigntool Version: 0.9.4-3.1 Severity: wishlist Tags: ftbfs patch User: debian-loongarch@lists.debian.org Usertags: loong64 Dear maintainers, Compiling sbsigntool package failed on my local loong64 rootfs environment. I have added support for loongarch in sbsigntool package. In addition, we should add build support for loongarch. The sbsigntool was built successfully in my local ENV. Please consider the patch I attached. Your opinions are welcome. Thanks, Dandan Zhangdiff -Nru sbsigntool-0.9.4/debian/control sbsigntool-0.9.4/debian/control --- sbsigntool-0.9.4/debian/control 2021-09-14 06:39:01.000000000 +0000 +++ sbsigntool-0.9.4/debian/control 2022-06-04 11:37:27.000000000 +0000 @@ -17,7 +17,7 @@ Standards-Version: 4.5.1 Package: sbsigntool -Architecture: any-amd64 any-i386 arm64 armhf any-riscv64 +Architecture: any-amd64 any-i386 arm64 armhf any-riscv64 any-loong64 Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: foreign Description: Tools to manipulate signatures on UEFI binaries and drivers diff -Nru sbsigntool-0.9.4/debian/patches/add-support-for-LoongArch-images.patch sbsigntool-0.9.4/debian/patches/add-support-for-LoongArch-images.patch --- sbsigntool-0.9.4/debian/patches/add-support-for-LoongArch-images.patch 1970-01-01 00:00:00.000000000 +0000 +++ sbsigntool-0.9.4/debian/patches/add-support-for-LoongArch-images.patch 2022-06-04 11:37:27.000000000 +0000 @@ -0,0 +1,36 @@ +Description: Add support for LoongArch images + . + sbsigntool (0.9.4-3.1+loong64) unreleased; urgency=medium + . + * Add support for LoongArch images. +Author: Dandan Zhang <zhangdandan@loongson.cn> +--- +Last-Update: 2024-04-17 + +--- sbsigntool-0.9.4.orig/src/coff/pe.h ++++ sbsigntool-0.9.4/src/coff/pe.h +@@ -133,6 +133,8 @@ + #define IMAGE_FILE_MACHINE_EBC 0x0ebc + #define IMAGE_FILE_MACHINE_I386 0x014c + #define IMAGE_FILE_MACHINE_IA64 0x0200 ++#define IMAGE_FILE_MACHINE_LOONGARCH32 0x6232 ++#define IMAGE_FILE_MACHINE_LOONGARCH64 0x6264 + #define IMAGE_FILE_MACHINE_M32R 0x9041 + #define IMAGE_FILE_MACHINE_M68K 0x0268 + #define IMAGE_FILE_MACHINE_MIPS16 0x0266 +--- sbsigntool-0.9.4.orig/src/image.c ++++ sbsigntool-0.9.4/src/image.c +@@ -240,11 +240,13 @@ static int image_pecoff_parse(struct ima + case IMAGE_FILE_MACHINE_AMD64: + case IMAGE_FILE_MACHINE_AARCH64: + case IMAGE_FILE_MACHINE_RISCV64: ++ case IMAGE_FILE_MACHINE_LOONGARCH64: + rc = image_pecoff_parse_64(image); + break; + case IMAGE_FILE_MACHINE_I386: + case IMAGE_FILE_MACHINE_THUMB: + case IMAGE_FILE_MACHINE_RISCV32: ++ case IMAGE_FILE_MACHINE_LOONGARCH32: + rc = image_pecoff_parse_32(image); + break; + default: diff -Nru sbsigntool-0.9.4/debian/patches/series sbsigntool-0.9.4/debian/patches/series --- sbsigntool-0.9.4/debian/patches/series 2022-06-04 11:36:09.000000000 +0000 +++ sbsigntool-0.9.4/debian/patches/series 2022-06-04 11:37:27.000000000 +0000 @@ -2,3 +2,4 @@ fix-efi-arch-detection.patch 0001-sbsigntool-add-support-for-RISC-V-images.patch OpenSSL3.patch +add-support-for-LoongArch-images.patch
--- End Message ---
--- Begin Message ---
- To: 1069138-close@bugs.debian.org
- Subject: Bug#1069138: fixed in sbsigntool 0.9.4-3.2
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Mon, 23 Sep 2024 07:34:46 +0000
- Message-id: <E1ssdao-008QZz-QT@fasolo.debian.org>
- Reply-to: Gianfranco Costamagna <locutusofborg@debian.org>
Source: sbsigntool Source-Version: 0.9.4-3.2 Done: Gianfranco Costamagna <locutusofborg@debian.org> We believe that the bug you reported is fixed in the latest version of sbsigntool, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1069138@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Gianfranco Costamagna <locutusofborg@debian.org> (supplier of updated sbsigntool package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 13 Sep 2024 08:55:39 +0200 Source: sbsigntool Built-For-Profiles: noudeb Architecture: source Version: 0.9.4-3.2 Distribution: unstable Urgency: medium Maintainer: Debian EFI Team <debian-efi@lists.debian.org> Changed-By: Gianfranco Costamagna <locutusofborg@debian.org> Closes: 1069138 Changes: sbsigntool (0.9.4-3.2) unstable; urgency=medium . * Non-maintainer upload. . [ zhangdandan <zhangdandan@loongson.cn> ] * Add support for loongarch (Closes: #1069138) Checksums-Sha1: 44c47c83d2ed5ed4493e3b7da827720450ea0ee3 2020 sbsigntool_0.9.4-3.2.dsc c6c50f58f4f5177f822e221d79807063d6b18010 9104 sbsigntool_0.9.4-3.2.debian.tar.xz a5533cfcb1e354539ee7a6306e3d9e89ad74e207 8918 sbsigntool_0.9.4-3.2_source.buildinfo Checksums-Sha256: 573b4bafbe846a49435dc745d472218dfa8a1bd23c2b0fac410b942040362681 2020 sbsigntool_0.9.4-3.2.dsc d6fd7f3a343d4ba19b3fc926c22c57e977eb0f8c7163506a983f110ed74b8b0a 9104 sbsigntool_0.9.4-3.2.debian.tar.xz ffa185099966eca01d73647290f715b20de89fcd75108c8cc3f4c68d8db5f984 8918 sbsigntool_0.9.4-3.2_source.buildinfo Files: d47f063998ecfda220781e98bb0c1078 2020 utils optional sbsigntool_0.9.4-3.2.dsc 638a92d2c026bb991342ae8b6139a611 9104 utils optional sbsigntool_0.9.4-3.2.debian.tar.xz 582086b10487f09317f395ed5f442e9b 8918 utils optional sbsigntool_0.9.4-3.2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmbj4gkACgkQ808JdE6f XdltPw/+KWLUgzSaRyCFWnPfTez2UN1uLZyrZKUtwA750VNQxYI2okLk3UHaHWiW 8UD9WF1nDTpzb+6MImYD6S9OnVPgRxXo71rzwaSt09Jq26L7IumPZhrevBb4FLSH EekVURGLefZpk5P0e08jNiqPLz1mpaLCXTuT5KNOj5f/ShGVb7KlF3zaiCJ5wjLe /NDTvO8Y3cA3cqzU3G/puJv669tRH44sTGE9LsqYocK2wbplWMvSepk5T0KYCsRd tMSAP1NOCz9UAF2uF04yk4ZNlJw8AfZcpfBXDA03GtXqK2MH8tTNg36WduwtQcMy 5S6p0PWSjc7ePw/V15I6CeXlEFpm50srlHyQS8HU07baHMhTt4GSa8+EZWhlAoei dnbom6vnJazZXLIplP14e9nO2aSrZOEQKchKZQp5kJELKuRybMnSBZxy9tqPj58g B/FNhJsURMQND7XZ7FKhXAy829SVjYG86xk02pj8PD/9g5LfeYRfwyDD/4w6kTQb sddvYUOpzGPwpk7A6I6VrBiYQjAn25xAr9T60xwsQ8pD7aWcCJce3cin0Gk4srJi gwlP+Q3qmA+ndKUHe7JUcNcEzmwOKt9h5HTLUVNt8np8BGbNRl8Md/+vSq5Y7vpd Q0D0k/QJxtYrR/+S9pebFFG/28D//AxXM6qGJM/q5F5wKIXICKA= =xnAM -----END PGP SIGNATURE-----Attachment: pgpr40v8pqhvm.pgp
Description: PGP signature
--- End Message ---