package/lmdb: download from the GitHub mirror
PATCH 1/1 package/lmdb: download from the GitHub mirror
git.openldap.org regularly rejects the download of the archive, most often by rate limiting:
HTTP request sent, awaiting response... 429 Too Many Requests ERROR 429: Too Many Requests.
which makes lmdb one of the most frequent download failures on the autobuilders.
Go back to the official read-only GitHub mirror, LMDB/lmdb, which lmdb was downloaded from until version 0.9.31. It has the same LMDB_0.9.35 tag, pointing to the same commit, so the sources are identical; only the hash of the generated archive changes.
This issue has been present since commit ed2013938f59 ("package/lmdb:
bump to version 0.9.33"), which switched the download to git.openldap.org. It therefore affects 2024.11 and later, and 2025.02.x.
Fixes:
https://autobuild.buildroot.org/results/f415612f01da25fddc437b30e9163b1aa69bc6df
---
Note for the maintenance branches still at 0.9.33 (2025.02.x, 2025.11.x and 2026.02.x): the hash of the GitHub archive there is
sha256 9c352fa9bdad53d920128ac6a62296f2850c7e29862a610d3a72f5f49a1cd7ea lmdb-0.9.33.tar.gz
package/lmdb/lmdb.hash | 2 +- package/lmdb/lmdb.mk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
package/lmdb/lmdb.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 98e28ab0a5c23fb2eb8ad12c12d7ad5fc5e4c3563f41d0b91e9420a075974d6f openldap-LMDB_0.9.35.tar.bz2 +sha256 18b021fd589d30cc08860a9550a30ae51637117451385e9581616da751326632 lmdb-0.9.35.tar.gz sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 libraries/liblmdb/LICENSE
package/lmdb/lmdb.mk +1 -2
@@ -5,8 +5,7 @@ ################################################################################ LMDB_VERSION = 0.9.35 -LMDB_SOURCE = openldap-LMDB_$(LMDB_VERSION).tar.bz2 -LMDB_SITE = https://git.openldap.org/openldap/openldap/-/archive/LMDB_$(LMDB_VERSION) +LMDB_SITE = $(call github,LMDB,lmdb,LMDB_$(LMDB_VERSION)) LMDB_LICENSE = OLDAP-2.8 LMDB_LICENSE_FILES = libraries/liblmdb/LICENSE LMDB_INSTALL_STAGING = YES
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot