Your message dated Fri, 17 Jun 2022 00:19:03 +0000 with message-id <E1o1zhX-000FKi-AV@fasolo.debian.org> and subject line Bug#1012849: fixed in efitools 1.9.2-3 has caused the Debian Bug report #1012849, regarding efitools: ftbfs on riscv64 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.) -- 1012849: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012849 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: efitools: ftbfs on riscv64
- From: Bo YU <tsu.yubo@gmail.com>
- Date: Wed, 15 Jun 2022 22:18:32 +0800
- Message-id: <[🔎] 20220615141832.gta4s6y5a3wbgweh@debian>
Package: efitools Version: 1.9.2-2 Severity: minor Tags: ftbfs, patch User: debian-riscv@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-riscv@lists.debian.org Dear Maintainer, The package has a ftbfs issue on riscv64 due to unsupported arch. The full buildd log is here: https://buildd.debian.org/status/fetch.php?pkg=efitools&arch=riscv64&ver=1.9.2-2&stamp=1655250102&raw=0 Although it is ok to build on my locally machines with patch attached, but I'm not sure now if he works properly on riscv64 hardware. The lintian gives hints also: ``` E: efitools: binary-from-other-architecture usr/bin/cert-to-efi-hash-list E: efitools: binary-from-other-architecture usr/bin/cert-to-efi-sig-list E: efitools: binary-from-other-architecture usr/bin/efi-readvar E: efitools: binary-from-other-architecture usr/bin/efi-updatevar E: efitools: binary-from-other-architecture usr/bin/flash-var E: efitools: binary-from-other-architecture usr/bin/hash-to-efi-sig-list E: efitools: binary-from-other-architecture usr/bin/sig-list-to-certs E: efitools: binary-from-other-architecture usr/bin/sign-efi-sig-list E: efitools-dbgsym: binary-from-other-architecture usr/lib/debug/.dwz/riscv64-linux-gnu/efitools.debug ``` Please consider to apply it if you think this patch makes sense:) Thank you, Bo--- a/Make.rules +++ b/Make.rules @@ -8,6 +8,8 @@ ARCH3264 = else ifeq ($(ARCH),aarch64) ARCH3264 = +else ifeq ($(ARCH),riscv64) +ARCH3264 = else ifeq ($(ARCH),arm) ARCH3264 = else @@ -55,6 +57,11 @@ LDFLAGS += --defsym=EFI_SUBSYSTEM=0x0a FORMAT = -O binary endif + +ifeq ($(ARCH),riscv64) + LDFLAGS += --defsym=EFI_SUBSYSTEM=0x0a + FORMAT = -O binary +endif %.efi: %.so $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym \Attachment: signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 1012849-close@bugs.debian.org
- Subject: Bug#1012849: fixed in efitools 1.9.2-3
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Fri, 17 Jun 2022 00:19:03 +0000
- Message-id: <E1o1zhX-000FKi-AV@fasolo.debian.org>
- Reply-to: Steve McIntyre <93sam@debian.org>
Source: efitools Source-Version: 1.9.2-3 Done: Steve McIntyre <93sam@debian.org> We believe that the bug you reported is fixed in the latest version of efitools, 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 1012849@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Steve McIntyre <93sam@debian.org> (supplier of updated efitools 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, 17 Jun 2022 00:53:21 +0100 Source: efitools Architecture: source Version: 1.9.2-3 Distribution: unstable Urgency: medium Maintainer: Debian UEFI Maintainers <debian-efi@lists.debian.org> Changed-By: Steve McIntyre <93sam@debian.org> Closes: 1012849 Changes: efitools (1.9.2-3) unstable; urgency=medium . [ Bo YU ] * Add patch to allow building on riscv64. Closes: #1012849 . * Team upload Checksums-Sha1: 346a2936e63c4fef994b5e55620c91dd036466bd 2056 efitools_1.9.2-3.dsc 657a6b2d16c12956a17d28d14aa96908925942eb 4892 efitools_1.9.2-3.debian.tar.xz 98650f05db05940079697c65cb37278200c837d4 6007 efitools_1.9.2-3_source.buildinfo Checksums-Sha256: a616b53f0bde0e0af37dc62c65bdf99eb3e880c886688b65ea74a8ed98424af3 2056 efitools_1.9.2-3.dsc 2186805901c7da1cdb52d09a5a23d8c7b33d7f540362b8f533e9c08c59370f94 4892 efitools_1.9.2-3.debian.tar.xz 9219d95df4fb36c09408bf1a58aff7701eb51e06dbbd68423bded726ddf86207 6007 efitools_1.9.2-3_source.buildinfo Files: 97419d0e1349a2c72bc9586945abbc25 2056 admin optional efitools_1.9.2-3.dsc 7f7e26305c4b4f42bfa7c9030f7a937c 4892 admin optional efitools_1.9.2-3.debian.tar.xz 1d084f671de60acb4f8d62a1fc4b742a 6007 admin optional efitools_1.9.2-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEEzrtSMB1hfpEDkP4WWHl5VzRCaE4FAmKrw5MRHDkzc2FtQGRl Ymlhbi5vcmcACgkQWHl5VzRCaE5CiRAAtrQ7YCOT9+OmvEUmS+6gXDAxmZ8shJKr T0ZvHvbJPGh0bNygT/p56J807gMI8CO60RusAerr+63ZteIJiYK72xyJFVzWioQi MVufM9OHqmAE/yEg6RfkAvFJKcvzGic3AX7cdPcbvoFNPuANQCuyC5CikovM5s4w OwtUe1HSDriSqFf81mvrg7hkCGV7jUECyiQ6kf2l+P+SpZoqrao4ryfqn0lt2j8y DctQIlnWvnomOhs4zVmyZq5FLXgwfvuZifFdqGJD0jYwTe1tzsqTaMJLBtVjb9Yd pkU06leQEEat8Z/mGW3s+dc1pOjt/V9B3YJkB1JLTNB7cB4Kdscx8jeHgAkVINnU wHiLwpF7ST7fV58Ao4efD5cLri/EdCAkEWIcJfgTnmRz9OV5R1mfuIVrW6wRswtG m03vmm90eIxulxN89SsVOGqNLeuS004qxO1//DpxaPMnjq++A1QOYo9WKzp0k1fv N8KmGTD6Fq+O7IodByn0LT0SMTLgBHL+H3CPBhs6uTc7gylApIvps47Wana+O9Ae /398xRQPCsELrpI/O5E5lYoQljrSy49hai+SBlw+dQQYCDw8HBIyzNLSL1y2bPOY CZas1ml0KtC5fh2gboqBQoqHSunvy0WD3ihlHr1DXM8Q/bQLoYnmd99HEU6Er60O 0tBcXYAechw= =TMZ/ -----END PGP SIGNATURE-----
--- End Message ---