From bb03e8a00a4b85a67c664ae1de1cbb36598588b7 Mon Sep 17 00:00:00 2001 From: Aaron Paterson Date: Thu, 13 Aug 2026 16:26:41 +0000 Subject: [PATCH] Fetch zlib from its own releases Every dependency this script fetches comes from a GitHub release page except zlib, which came from zlib.net, and a build dies whenever that one host does. zlib publishes the same release tarballs on its own GitHub repository, so the fetch joins the others on infrastructure that answers. --- scripts/build-musl-x86_64-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-musl-x86_64-deps.sh b/scripts/build-musl-x86_64-deps.sh index a0a44ab29..b039891f6 100755 --- a/scripts/build-musl-x86_64-deps.sh +++ b/scripts/build-musl-x86_64-deps.sh @@ -78,7 +78,7 @@ fi # zlib — provides libz.a. Its configure does not take --host, so the # CC env var is what selects the cross compiler. ZLIB_VERSION=1.3.1 -fetch_extract "https://zlib.net/fossils/zlib-${ZLIB_VERSION}.tar.gz" zlib.tar.gz +fetch_extract "https://github.com/madler/zlib/releases/download/v${ZLIB_VERSION}/zlib-${ZLIB_VERSION}.tar.gz" zlib.tar.gz ( cd "zlib-${ZLIB_VERSION}" if ! ./configure --static --prefix="${PREFIX}"; then