Skip to content

Commit 6d9c3c0

Browse files
build: Fix nanoarrow download URL failure in CI
The build was failing in CI because `https://dlcdn.apache.org/arrow/apache-arrow-nanoarrow-0.7.0/apache-arrow-nanoarrow-0.7.0.tar.gz` returned a 404 error. This suggests the artifact has been removed from the mirror network (likely moved to archive). This commit updates `cmake_modules/IcebergThirdpartyToolchain.cmake` to include fallback URLs for `nanoarrow`: 1. The Apache dynamic download link (`dyn/closer.lua`). 2. The original `dlcdn` link (kept as one of the options). 3. The `archive.apache.org` link (stable location for older releases). 4. The GitHub release artifact link. This ensures the build can proceed even if the primary mirror is missing the file. Co-authored-by: wgtmac <4684607+wgtmac@users.noreply.github.com>
1 parent 32ec806 commit 6d9c3c0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cmake_modules/IcebergThirdpartyToolchain.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,10 @@ function(resolve_nanoarrow_dependency)
260260
set(NANOARROW_URL "$ENV{ICEBERG_NANOARROW_URL}")
261261
else()
262262
set(NANOARROW_URL
263+
"https://www.apache.org/dyn/closer.lua?action=download&filename=/arrow/apache-arrow-nanoarrow-0.7.0/apache-arrow-nanoarrow-0.7.0.tar.gz"
263264
"https://dlcdn.apache.org/arrow/apache-arrow-nanoarrow-0.7.0/apache-arrow-nanoarrow-0.7.0.tar.gz"
265+
"https://archive.apache.org/dist/arrow/apache-arrow-nanoarrow-0.7.0/apache-arrow-nanoarrow-0.7.0.tar.gz"
266+
"https://github.com/apache/arrow-nanoarrow/releases/download/apache-arrow-nanoarrow-0.7.0/apache-arrow-nanoarrow-0.7.0.tar.gz"
264267
)
265268
endif()
266269

0 commit comments

Comments
 (0)