[From nobody Wed Mar 18 22:23:09 2026
Received: (at submit) by bugs.debian.org; 18 Mar 2026 12:43:21 +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=-0.8 required=4.0 tests=BAYES_00, DATE_IN_PAST_96_XX, 
 DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF,
 SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 137; neutral, 21; spammy,
 0. spammytokens: hammytokens:0.000-+--HTo:N*Debian,
 0.000-+--H*Ad:N*Bug, 0.000-+--H*Ad:N*Tracking, 0.000-+--HTo:N*System,
 0.000-+--HTo:N*Bug
Return-path: &lt;helmut@subdivi.de&gt;
Received: from isilmar-4.linta.de ([136.243.71.142]:49502)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;helmut@subdivi.de&gt;) id 1w2qF6-00GOYj-0r
 for submit@bugs.debian.org; Wed, 18 Mar 2026 12:43:21 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdivi.de;
 s=k26.isilmar-4; t=1773837794;
 bh=4pxJ7NBWeyLDmZpzgZ51a6HvHYwU0OaIKg3/ZCepeyY=;
 h=Date:From:To:Subject:From;
 b=Gyd+/tCDNzxhWVWSA5WtrzevsRajzlKNL06E9zGMrD0syQO8d/dPniVs8ko9w/ogZ
 AY2Lw7pZ5t0TCqBFpIaNHd6Ox9l6AFKHiAmbBQ5R0GPr/eF7KLsphynT3E8OZl0Nsr
 OKNOs/VZEpBNcDnrGcNe4GKz1FrgcwLkNA4ugcMXo3LpbrtD9WwilKqgn+MsCTvKEL
 BJd4Uy2XTADoBeZnAFSgtZ+nM0b3M0sQ0XeB9i4Eksh8/kZ1zJd8ABFnBXpatIRp7O
 clpHtMqJQgz8arkhRofcpi/fX3XLYDvpoGMDZCCSNVu+r42C6zGSSHsb97wgaCA8dT
 AJQU8lC3Qr8JQ==
Received: from isilmar-4.linta.de (isilmar.linta [10.0.0.1])
 by isilmar-4.linta.de (Postfix) with ESMTP id D08BB200690
 for &lt;submit@bugs.debian.org&gt;; Wed, 18 Mar 2026 12:43:14 +0000 (UTC)
Date: Thu, 12 Mar 2026 19:13:52 +0100
From: Helmut Grohne &lt;helmut@subdivi.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: openssl: add more musl targets
Message-ID: &lt;20260312181352.GA70364@subdivi.de&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;FMzoum/135CitkmV&quot;
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
Delivered-To: submit@bugs.debian.org


--FMzoum/135CitkmV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: openssl
Severity: wishlist
Tags: ftbfs patch
User: helmutg@debian.org
Usertags: rebootstrap

Hi,

I was trying to booststrap Debian for musl-linux-amd64 and ran into a
build failure of openssl. The package needs a target definition for
every single Debian architecture and this one is missing. I suggest
adding all musl variants of all Debian release architectures. Please
find a patch attached.

Helmut

--FMzoum/135CitkmV
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=&quot;musl.patch&quot;

--- a/debian/patches/debian-targets.patch
+++ b/debian/patches/debian-targets.patch
@@ -12,7 +12,7 @@
 index 000000000000..f75c06d305b0
 --- /dev/null
 +++ b/Configurations/20-debian.conf
-@@ -0,0 +1,163 @@
+@@ -0,0 +1,175 @@
 +my %targets = (
 +	&quot;debian&quot; =&gt; {
 +		cflags =&gt; add(&quot;-Wa,--noexecstack -Wall -fzero-call-used-regs=used-gpr&quot;),
@@ -106,6 +106,9 @@
 +		cflags =&gt; add(&quot;-DL_ENDIAN&quot;),
 +	},
 +
++	&quot;debian-musl-linux-amd64&quot; =&gt; {
++		inherit_from =&gt; [ &quot;linux-x86_64&quot;, &quot;debian&quot; ],
++	},
 +	&quot;debian-musl-linux-arm64&quot; =&gt; {
 +		inherit_from =&gt; [ &quot;linux-aarch64&quot;, &quot;debian&quot; ],
 +	},
@@ -123,6 +126,15 @@
 +		inherit_from =&gt; [ &quot;linux-mips32&quot;, &quot;debian&quot; ],
 +		cflags =&gt; add(&quot;-DL_ENDIAN&quot;),
 +	},
++	&quot;debian-musl-linux-ppc64el&quot; =&gt; {
++		inherit_from =&gt; [ &quot;linux-ppc64le&quot;, &quot;debian&quot; ],
++	},
++	&quot;debian-musl-linux-riscv64&quot; =&gt; {
++		inherit_from =&gt; [ &quot;linux64-riscv64&quot;, &quot;debian&quot; ],
++	},
++	&quot;debian-musl-linux-s390x&quot; =&gt; {
++		inherit_from =&gt; [ &quot;linux64-s390x&quot;, &quot;debian&quot; ],
++	},
 +
 +	&quot;debian-nios2&quot; =&gt; {
 +		inherit_from =&gt; [ &quot;linux-latomic&quot;, &quot;debian&quot; ],

--FMzoum/135CitkmV--
]