From 62f76e4f1579e5a505649b3ca5d106196966a151 Mon Sep 17 00:00:00 2001 From: Nick Anderson Date: Sun, 1 Nov 2026 01:20:56 -0600 Subject: [PATCH 1/2] Fixed pkg-get-src failing after a download with a wrong checksum checksum() printed its mismatch message on stdout, which fetch_file() returns as the path of the downloaded file, so falling back to the next URL could never succeed. Ticket: None Changelog: None --- deps-packaging/pkg-get-src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps-packaging/pkg-get-src b/deps-packaging/pkg-get-src index 3b73e5b81..ef6486fa4 100755 --- a/deps-packaging/pkg-get-src +++ b/deps-packaging/pkg-get-src @@ -45,7 +45,7 @@ checksum() test "$CHECKSUM" = "$ACTUAL_CHECKSUM" result=$? if test "$result" != "0"; then - echo "expected checksum $CHECKSUM but got $ACTUAL_CHECKSUM" + echo "expected checksum $CHECKSUM but got $ACTUAL_CHECKSUM" >&2 fi return "$result" } From 7f6db5c1a717dfc0a161516a45d5a2e347ca5f6f Mon Sep 17 00:00:00 2001 From: Nick Anderson Date: Sun, 1 Nov 2026 01:13:27 -0600 Subject: [PATCH 2/2] Added a GitHub mirror for the LMDB source tarball git.openldap.org answers GitHub runners with 429 Too Many Requests, which fails every build that does not have LMDB cached. The mirror serves a byte-identical tarball. Ticket: None Changelog: None --- .github/workflows/update-deps.py | 3 ++- deps-packaging/lmdb/source | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-deps.py b/.github/workflows/update-deps.py index e2725fd5d..eb027f763 100644 --- a/.github/workflows/update-deps.py +++ b/.github/workflows/update-deps.py @@ -207,7 +207,8 @@ def update_version_numbers(root, pkg_name, old_version, new_version): def update_distfiles_digest(root, pkg_name): with open(os.path.join(root, DEPS_PACKAGING, pkg_name, "source"), "r") as f: - source = f.read().strip() + # The first URL; any others are mirrors pkg-get-src falls back to + source = f.read().split()[0] filename = os.path.join(root, DEPS_PACKAGING, pkg_name, "distfiles") with open(filename, "r") as f: diff --git a/deps-packaging/lmdb/source b/deps-packaging/lmdb/source index d5e779c76..f97e3e7b6 100644 --- a/deps-packaging/lmdb/source +++ b/deps-packaging/lmdb/source @@ -1 +1,2 @@ https://git.openldap.org/openldap/openldap/-/archive/LMDB_1.0.3/ +https://github.com/openldap/openldap/archive/LMDB_1.0.3/