Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error with 1.2.8 release #1362

Closed
chenrui333 opened this issue Jan 11, 2025 · 7 comments · Fixed by #1364
Closed

error with 1.2.8 release #1362

chenrui333 opened this issue Jan 11, 2025 · 7 comments · Fixed by #1364
Labels
bug O-apple Apple targets and toolchains

Comments

@chenrui333
Copy link

seeing some homebrew build issues with 1.2.8 release (1.2.7 works fine)

    error occurred in cc-rs: Command env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=arm64-apple-macosx15.2" "-DSQLITE_CORE" "-DSQLITE_DEFAULT_FOREIGN_KEYS=1" "-DSQLITE_ENABLE_API_ARMOR" "-DSQLITE_ENABLE_COLUMN_METADATA" "-DSQLITE_ENABLE_DBSTAT_VTAB" "-DSQLITE_ENABLE_FTS3" "-DSQLITE_ENABLE_FTS3_PARENTHESIS" "-DSQLITE_ENABLE_FTS5" "-DSQLITE_ENABLE_JSON1" "-DSQLITE_ENABLE_LOAD_EXTENSION=1" "-DSQLITE_ENABLE_MEMORY_MANAGEMENT" "-DSQLITE_ENABLE_RTREE" "-DSQLITE_ENABLE_STAT4" "-DSQLITE_SOUNDEX" "-DSQLITE_THREADSAFE=1" "-DSQLITE_USE_URI" "-DHAVE_USLEEP=1" "-DHAVE_ISNAN" "-D_POSIX_THREAD_SAFE_FUNCTIONS" "-DHAVE_LOCALTIME_R" "-o" "/private/tmp/oha-20250111-7621-jjkcal/oha-1.6.0/target/release/build/libsqlite3-sys-00ee1d36c89a7262/out/c877a2978823c39d-sqlite3.o" "-c" "--" "sqlite3/sqlite3.c" with args clang did not execute successfully (status code exit status: 1).
@carlocab
Copy link

carlocab commented Jan 11, 2025

You should probably try to reproduce the issue outside of Homebrew first -- pretty sure this is a Homebrew bug.

@NobodyXu
Copy link
Collaborator

can you try #1359 and see if it fixes the issue please?

@chenrui333
Copy link
Author

still see the same issue

  --- stderr


  error occurred in cc-rs: Command env -u IPHONEOS_DEPLOYMENT_TARGET LC_ALL="C" "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=arm64-apple-macosx15.2" "-DSQLITE_CORE" "-DSQLITE_DEFAULT_FOREIGN_KEYS=1" "-DSQLITE_ENABLE_API_ARMOR" "-DSQLITE_ENABLE_COLUMN_METADATA" "-DSQLITE_ENABLE_DBSTAT_VTAB" "-DSQLITE_ENABLE_FTS3" "-DSQLITE_ENABLE_FTS3_PARENTHESIS" "-DSQLITE_ENABLE_FTS5" "-DSQLITE_ENABLE_JSON1" "-DSQLITE_ENABLE_LOAD_EXTENSION=1" "-DSQLITE_ENABLE_MEMORY_MANAGEMENT" "-DSQLITE_ENABLE_RTREE" "-DSQLITE_ENABLE_STAT4" "-DSQLITE_SOUNDEX" "-DSQLITE_THREADSAFE=1" "-DSQLITE_USE_URI" "-DHAVE_USLEEP=1" "-DHAVE_ISNAN" "-D_POSIX_THREAD_SAFE_FUNCTIONS" "-DHAVE_LOCALTIME_R" "-o" "/private/tmp/oha-20250111-90166-5ppjf5/oha-1.6.0/target/release/build/libsqlite3-sys-63b33c9d1b832689/out/c877a2978823c39d-sqlite3.o" "-c" "--" "sqlite3/sqlite3.c" with args clang did not execute successfully (status code exit status: 1).

@eitsupi
Copy link

eitsupi commented Jan 12, 2025

Hi, it seems that similar errors also occur during builds targeting wasm32-unknown-emscripten.
Ref: yutannihilation/savvy#335, eitsupi/neo-r-polars#50

@NobodyXu
Copy link
Collaborator

Oh... cc @madsmtm it seems like some clang version (i.e. from homebrew) and zig-cc does not support -- delimiter

@carlocab
Copy link

Note: this was fixed in Homebrew at Homebrew/brew#19082

@madsmtm
Copy link
Collaborator

madsmtm commented Jan 13, 2025

Wow, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug O-apple Apple targets and toolchains
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants