mirror of
https://github.com/facebook/rocksdb.git
synced 2026-10-23 08:09:02 +03:00
Fix libaio download after Folly update (#15404)
Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/15404 The RocksDB Folly checkout rewrites a dead libaio source URL to Debian's mirror. The pinned Folly revision now uses releases.pagure.org, so the rewrite still matched the older pagure.io archive URL and became a no-op. Public Folly builds then downloaded an empty file and failed SHA-256 verification. Update the rewrite to match Folly's current libaio URL. The Debian archive has the same libaio 0.3.113 contents and SHA-256 already recorded in the Folly manifest, so the checksum and extraction directory remain unchanged. This only affects the public Folly checkout path; RocksDB runtime behavior and system-package users are unaffected. ___ landed-with-radar-review Differential Revision: D125347462 fbshipit-source-id: 4203b6a0b6037efb23aa1f44306b0ca0cd73a43c
This commit is contained in:
committed by
meta-codesync[bot]
parent
df90749560
commit
a215c38a8e
2
folly.mk
2
folly.mk
@@ -143,7 +143,7 @@ checkout_folly:
|
||||
@# const mismatch
|
||||
perl -pi -e 's/: environ/: (const char**)(environ)/' third-party/folly/folly/Subprocess.cpp
|
||||
@# Pagure was decommissioned; use Debian's mirror of the release archive.
|
||||
perl -pi -e 's|https://pagure.io/libaio/archive/libaio-0.3.113/libaio-libaio-0.3.113.tar.gz|https://deb.debian.org/debian/pool/main/liba/libaio/libaio_0.3.113.orig.tar.gz|; s|716c7059703247344eb066b54ecbc3ca2134f0103307192e6c2b7dab5f9528ab|2c44d1c5fd0d43752287c9ae1eb9c023f04ef848ea8d4aafa46e9aedb678200b|; s|subdir = libaio-libaio-0.3.113|subdir = libaio-0.3.113|' third-party/folly/build/fbcode_builder/manifests/libaio
|
||||
perl -pi -e 's|https://releases.pagure.org/libaio/libaio-0.3.113.tar.gz|https://deb.debian.org/debian/pool/main/liba/libaio/libaio_0.3.113.orig.tar.gz|' third-party/folly/build/fbcode_builder/manifests/libaio
|
||||
@# Restore cached downloads and handle unreliable mirrors with fallback
|
||||
$(restore_folly_getdeps_downloads)
|
||||
@# NOTE: boost and fmt source will be needed for any build including `USE_FOLLY_LITE` builds as those depend on those headers
|
||||
|
||||
Reference in New Issue
Block a user