[From nobody Thu Sep 24 11:37:09 2026
Received: (at submit) by bugs.debian.org; 7 Feb 2026 09:30:53 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.8 required=4.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,
 RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,
 SPF_HELO_PASS,SPF_PASS,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 29; hammy, 150; neutral, 79; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--sk:buildd.,
 0.000-+--UD:buildd.debian.org, 0.000-+--buildddebianorg
Return-path: &lt;glaubitz@physik.fu-berlin.de&gt;
Received: from outpost17.zedat.fu-berlin.de ([130.133.4.110]:35527)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;glaubitz@physik.fu-berlin.de&gt;)
 id 1voeeR-00Cp4G-2H for submit@bugs.debian.org;
 Sat, 07 Feb 2026 09:30:52 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=fu-berlin.de; s=fub01; h=Date:Message-ID:Subject:To:From:
 Content-Transfer-Encoding:MIME-Version:Content-Type:From:Reply-To:Subject:
 Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
 Content-ID:Content-Description:In-Reply-To:References;
 bh=fOfzXXfrg+abemY7R7fu+7UwjdT7D5STd+Z4mz/xKwo=; t=1770456651; x=1771061451; 
 b=XAB9b0OOLUU/Ftjmqej/f2t41EYYwRKuUQ+iiI2IqWYqFq43tpOBCRhX+B7oUirUfVA1rXjdsWs
 ZRuu3S7Jc94j6zuUZ956CrHavZrv2nGz88tgIxIk/hWaCrdyqZXIqaEAfeLCaSp/2MvH6N1XUDy2j
 dCN4T1uNrAoaZYG5yaqOlLcsLmPcpKOGp2xhXK0bvJmoYK82XiHsJMepDtS6Z2xPkZVBWUuoMGOVP
 92jc3JlUl7g46YRIy7nK/OtaN+ks3xkfIqGc36q3uRjxzwcL0lVAwmC7yo0F5N2zjoD5vyjPt0nKb
 l13UVVWsL+yi+EqtXJbyeJDobrhhINH/ULLw==;
Received: from relay1.zedat.fu-berlin.de ([130.133.4.67])
 by outpost.zedat.fu-berlin.de (Exim 4.99) with esmtps (TLS1.3)
 tls TLS_AES_256_GCM_SHA384
 (envelope-from &lt;glaubitz@physik.fu-berlin.de&gt;)
 id 1voeeN-00000001AMs-0eT6; Sat, 07 Feb 2026 10:30:47 +0100
Received: from mx.physik.fu-berlin.de ([160.45.64.218])
 by relay1.zedat.fu-berlin.de (Exim 4.99) with esmtps (TLS1.2)
 tls TLS_DHE_RSA_WITH_AES_128_CBC_SHA
 (envelope-from &lt;glaubitz@physik.fu-berlin.de&gt;)
 id 1voeeN-00000001Eat-0GOv; Sat, 07 Feb 2026 10:30:47 +0100
Received: from login1.physik.fu-berlin.de ([160.45.66.207])
 by mx.physik.fu-berlin.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
 (Exim 4.80) (envelope-from &lt;glaubitz@physik.fu-berlin.de&gt;)
 id 1voeeK-0003hM-SV; Sat, 07 Feb 2026 10:30:44 +0100
Received: by login1.physik.fu-berlin.de (Postfix, from userid 176681)
 id B8DB4A010A; Sat,  7 Feb 2026 10:30:44 +0100 (CET)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: John Paul Adrian Glaubitz &lt;glaubitz@physik.fu-berlin.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: grub2: FTBFS on powerpc - upstream source builds fine
Message-ID: &lt;177045664466.3810372.6807224092797856230.reportbug@login1.physik.fu-berlin.de&gt;
X-Mailer: reportbug 12.0.0
Date: Sat, 07 Feb 2026 10:30:44 +0100
X-Originating-IP: 160.45.64.218
X-ZEDAT-Hint: RVO
Delivered-To: submit@bugs.debian.org

Source: grub2
Version: 2.14-1
Severity: normal
User: debian-powerpc@lists.debian.org
Usertags: powerpc
X-Debbugs-Cc: debian-powerpc@lists.debian.org

Hi,

starting with version 2.14-1, grub2 fails to build from source on powerpc [1]:

/usr/bin/powerpc-linux-gnu-ld.bfd: appendedsig.module: in function `grub_mod_init':
/build/reproducible-path/grub2-2.14/obj/grub-emu/grub-core/../../../grub-core/commands/appendedsig/appendedsig.c:1615:(.text+0x2adc): undefined reference to `grub_pks_get_keystore'
/usr/bin/powerpc-linux-gnu-ld.bfd: appendedsig.module: in function `create_dbs_from_pks':
/build/reproducible-path/grub2-2.14/obj/grub-emu/grub-core/../../../grub-core/commands/appendedsig/appendedsig.c:1400:(.text+0x2c64): undefined reference to `grub_pks_free_data'
collect2: error: ld returned 1 exit status

Since I initially suspected an upstream problem, I tried building grub2 from
git which surprisingly worked fine [2]. Thus, the problem must be with the Debian
package itself, either one of the patches or how the package is configured in
debian/rules.

Adrian

&gt; [1] https://buildd.debian.org/status/fetch.php?pkg=grub2&amp;arch=powerpc&amp;ver=2.14-1&amp;stamp=1770454521&amp;raw=0
&gt; [2] https://lists.gnu.org/archive/html/grub-devel/2026-02/msg00004.html

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
]