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

invalid version number in '-mmacosx-version-min=' #83

Closed
wmertens opened this issue Mar 14, 2024 · 1 comment
Closed

invalid version number in '-mmacosx-version-min=' #83

wmertens opened this issue Mar 14, 2024 · 1 comment

Comments

@wmertens
Copy link

Trying to build for macos and failing, not sure where that command line flag comes from.

Could you take a look?

https://github.com/BuilderIO/qwik/actions/runs/8272177725/job/22633524242?pr=6005#step:12:106

The following warnings were emitted during compilation:

warning: psm@0.1.21: clang: error: invalid version number in '-mmacosx-version-min='

error: failed to run custom build command for `psm v0.1.21`

Caused by:
  process didn't exit successfully: `/Users/runner/work/qwik/qwik/target/release/build/psm-baebeb9301806ca8/build-script-build` (exit status: 1)
  --- stdout
  OPT_LEVEL = Some("3")
  TARGET = Some("aarch64-apple-darwin")
  HOST = Some("x86_64-apple-darwin")
  cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
  CC_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  CC_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=TARGET_CC
  TARGET_CC = None
  cargo:rerun-if-env-changed=CC
  CC = None
  RUSTC_LINKER = None
  cargo:rerun-if-env-changed=CROSS_COMPILE
  CROSS_COMPILE = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=TARGET_CFLAGS
  TARGET_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  cargo:rustc-cfg=asm
  cargo:rustc-cfg=switchable_stack
  cargo:warning=clang: error: invalid version number in '-mmacosx-version-min='

  --- stderr


  error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=arm64-apple-darwin" "-mmacosx-version-min=" "-Wall" "-Wextra" "-xassembler-with-cpp" "-DCFG_TARGET_OS_macos" "-DCFG_TARGET_ARCH_aarch64" "-DCFG_TARGET_ENV_" "-o" "/Users/runner/work/qwik/qwik/target/aarch64-apple-darwin/release/build/psm-1f8b2a89be6c2ea9/out/e4479bd7784abb10-aarch_aapcs64.o" "-c" "src/arch/aarch_aapcs64.s" with args "cc" did not execute successfully (status code exit status: 1).

@wmertens
Copy link
Author

actually, it's probably something to do with rust-lang/cc-rs#900

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant