You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2025/08/12 00:23:52 UTC
(arrow-adbc) branch main updated: ci(rust): fix build issue on macos (#3264)
This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 5f301d3b4 ci(rust): fix build issue on macos (#3264)
5f301d3b4 is described below
commit 5f301d3b45dda7f69b1df54174c6392066a8b7e3
Author: eitsupi <50...@users.noreply.github.com>
AuthorDate: Tue Aug 12 09:23:46 2025 +0900
ci(rust): fix build issue on macos (#3264)
It seems that CI has started to fail as a result of macos-latest
changing from macos 14 to 15.
```log
[ 65%] Building CXX object driver/sqlite/CMakeFiles/adbc_driver_sqlite_objlib.dir/sqlite.cc.o
/Users/runner/work/arrow-adbc/arrow-adbc/c/driver/sqlite/sqlite.cc:718:16: error: use of undeclared identifier 'sqlite3_load_extension'
718 | int rc = sqlite3_load_extension(conn_, extension_path_.c_str(),
| ^
1 error generated.
make[2]: *** [driver/sqlite/CMakeFiles/adbc_driver_sqlite_objlib.dir/sqlite.cc.o] Error 1
make[1]: *** [driver/sqlite/CMakeFiles/adbc_driver_sqlite_objlib.dir/all] Error 2
make: *** [all] Error 2
```
I don't know why this error is occurring, but it looks like it can be
avoided by making a change like #1259.
---
.github/workflows/rust.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index b3a21c24e..6f4393c27 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -131,6 +131,7 @@ jobs:
-DADBC_DRIVER_SNOWFLAKE=ON \
-DADBC_USE_ASAN=OFF \
-DADBC_USE_UBSAN=OFF \
+ -DADBC_SQLITE_COMPILE_DEFINES=-DADBC_SQLITE_WITH_NO_LOAD_EXTENSION \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=../local \
../c