Source: openssl
Severity: wishlist
Tags: ftbfs patch
User: [email protected]
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
--- 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 = (
+ "debian" => {
+ cflags => add("-Wa,--noexecstack -Wall -fzero-call-used-regs=used-gpr"),
@@ -106,6 +106,9 @@
+ cflags => add("-DL_ENDIAN"),
+ },
+
++ "debian-musl-linux-amd64" => {
++ inherit_from => [ "linux-x86_64", "debian" ],
++ },
+ "debian-musl-linux-arm64" => {
+ inherit_from => [ "linux-aarch64", "debian" ],
+ },
@@ -123,6 +126,15 @@
+ inherit_from => [ "linux-mips32", "debian" ],
+ cflags => add("-DL_ENDIAN"),
+ },
++ "debian-musl-linux-ppc64el" => {
++ inherit_from => [ "linux-ppc64le", "debian" ],
++ },
++ "debian-musl-linux-riscv64" => {
++ inherit_from => [ "linux64-riscv64", "debian" ],
++ },
++ "debian-musl-linux-s390x" => {
++ inherit_from => [ "linux64-s390x", "debian" ],
++ },
+
+ "debian-nios2" => {
+ inherit_from => [ "linux-latomic", "debian" ],