From 6743090c3bea3487eebed19f20e02be1e76b5776 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Fri, 10 Jul 2026 10:53:18 -0700 Subject: [PATCH] Ditch architectures that are failing to build 3.15+ on Alpine --- generate-stackbrew-library.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index cf95fe839..7f82ba28f 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -139,6 +139,23 @@ for version; do # https://github.com/python/cpython/issues/93619 (Linking error when building 3.11 beta on mips64le) + https://peps.python.org/pep-0011/ (mips is not even tier 3) variantArches="$(sed <<<" $variantArches " -e 's/ mips64le / /g')" + if [[ "$variant" == alpine* ]]; then + # https://github.com/python/cpython/issues/143632 + # /usr/include/sys/prctl.h:88:8: error: redefinition of 'struct prctl_mm_map' + case "$version" in + 3.10 | 3.11 | 3.12 | 3.13 | 3.14) ;; + *) + variantArches="$( + sed <<<" $variantArches " \ + -e 's/ arm32v6 / /g' \ + -e 's/ arm32v7 / /g' \ + -e 's/ i386 / /g' \ + -e 's/ ppc64le / /g' \ + )" + ;; + esac + fi + sharedTags=() for windowsShared in windowsservercore nanoserver; do if [[ "$variant" == "$windowsShared"* ]]; then