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

Installation Error #10

Open
calclavia opened this issue Apr 25, 2024 · 0 comments
Open

Installation Error #10

calclavia opened this issue Apr 25, 2024 · 0 comments

Comments

@calclavia
Copy link

This package doesn't compile (Mac OSX 14.4.1 (23E224))

To reproduce:

cargo add blingfire
cargo check

Error:

Caused by:
  process didn't exit successfully: `/Users/root/server/target/debug/build/blingfire-sys-554f05145acd7335/build-script-build` (exit status: 101)
  --- stdout
  CMAKE_TOOLCHAIN_FILE_aarch64-apple-darwin = None
  CMAKE_TOOLCHAIN_FILE_aarch64_apple_darwin = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_aarch64-apple-darwin = None
  CMAKE_GENERATOR_aarch64_apple_darwin = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_aarch64-apple-darwin = None
  CMAKE_PREFIX_PATH_aarch64_apple_darwin = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_aarch64-apple-darwin = None
  CMAKE_aarch64_apple_darwin = None
  HOST_CMAKE = None
  CMAKE = None
  running: cd "/Users/root/server/target/debug/build/blingfire-sys-69b7c9823b8f3f88/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/Users/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/blingfire-sys-1.0.1/BlingFire" "-DCMAKE_OSX_ARCHITECTURES=arm64" "-DBLING_FIRE_VERSION_MAJOR=1" "-DBLING_FIRE_VERSION_MINOR=0" "-DCMAKE_INSTALL_PREFIX=/Users/root/server/target/debug/build/blingfire-sys-69b7c9823b8f3f88/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC --target=arm64-apple-darwin -mmacosx-version-min=14.4" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC --target=arm64-apple-darwin -mmacosx-version-min=14.4" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC --target=arm64-apple-darwin -mmacosx-version-min=14.4" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"
  -- Configuring done (0.0s)
  -- Generating done (0.2s)
  -- Build files have been written to: /Users/root/server/target/debug/build/blingfire-sys-69b7c9823b8f3f88/out/build
  running: cd "/Users/root/server/target/debug/build/blingfire-sys-69b7c9823b8f3f88/out/build" && MAKEFLAGS="-j --jobserver-fds=7,8 --jobserver-auth=7,8" "cmake" "--build" "." "--target" "blingfiretokdll_static" "--config" "Debug"
  [ 86%] Built target fsaClient
  [ 90%] Linking CXX static library libfsaCompile.a

  --- stderr
  CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 3.5 will be removed from a future version of
    CMake.

    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.


  CMake Warning (dev) at CMakeLists.txt:6 (project):
    Policy CMP0048 is not set: project() command manages VERSION variables.
    Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
    command to set the policy and suppress this warning.

    The following variable(s) would be set to empty:

      BLING_FIRE_VERSION_MAJOR
      BLING_FIRE_VERSION_MINOR
  This warning is for project developers.  Use -Wno-dev to suppress it.

  CMake Warning (dev):
    Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
    --help-policy CMP0042" for policy details.  Use the cmake_policy command to
    set the policy and suppress this warning.

    MACOSX_RPATH is not specified for the following targets:

     blingfiretokdll

  This warning is for project developers.  Use -Wno-dev to suppress it.

  make: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  ar: no archive members specified
  usage:  ar -d [-TLsv] archive file ...
        ar -m [-TLsv] archive file ...
        ar -m [-abiTLsv] position archive file ...
        ar -p [-TLsv] archive [file ...]
        ar -q [-cTLsv] archive file ...
        ar -r [-cuTLsv] archive file ...
        ar -r [-abciuTLsv] position archive file ...
        ar -t [-TLsv] archive [file ...]
        ar -x [-ouTLsv] archive [file ...]
  make[3]: *** [libfsaCompile.a] Error 1
  make[2]: *** [CMakeFiles/fsaCompile.dir/all] Error 2
  make[1]: *** [CMakeFiles/blingfiretokdll_static.dir/rule] Error 2
  make: *** [blingfiretokdll_static] Error 2
  thread 'main' panicked at /Users/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5:

  command did not execute successfully, got: exit status: 2
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