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

pip install v8eval failing: Python 3.12.5, clang version 15.0.0 #37

Open
himakshi25 opened this issue Aug 13, 2024 · 0 comments
Open

pip install v8eval failing: Python 3.12.5, clang version 15.0.0 #37

himakshi25 opened this issue Aug 13, 2024 · 0 comments

Comments

@himakshi25
Copy link

himakshi25 commented Aug 13, 2024

With below on macOS sonoma 14.1 (23B2073)
Python: 3.12.5
clang: 15.0.0
SWIG Version: 4.2.1

Getting error while doing pip install v8eval

(venv) hsalhotr@Himakshis-MacBook-Pro ~ % swig
Must specify an input file. Use -help for available options.
(venv) hsalhotr@Himakshis-MacBook-Pro ~ % pip install v8eval         
Collecting v8eval
  Using cached v8eval-0.3.2.tar.gz (10 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: v8eval
  Building wheel for v8eval (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for v8eval (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [54 lines of output]
      ar: /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/v8/out.gn/x64.release/obj/libv8_base.a: No such file or directory
      ar: /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/v8/out.gn/x64.release/obj/libv8_libsampler.a: No such file or directory
      ar: /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/v8/out.gn/x64.release/obj/libv8_init.a: No such file or directory
      ar: /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/v8/out.gn/x64.release/obj/libv8_initializers.a: No such file or directory
      ar: /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/v8/out.gn/x64.release/obj/libv8_nosnapshot.a: No such file or directory
      ar: /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/v8/out.gn/x64.release/obj/libtorque_generated_initializers.a: No such file or directory
      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.
      
      
      -- Configuring done (0.0s)
      -- Generating done (0.0s)
      -- Build files have been written to: /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build
      /opt/homebrew/Cellar/cmake/3.30.1/bin/cmake -S/private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d -B/private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build --check-build-system CMakeFiles/Makefile.cmake 0
      /opt/homebrew/Cellar/cmake/3.30.1/bin/cmake -E cmake_progress_start /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build/CMakeFiles /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build//CMakeFiles/progress.marks
      /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/Makefile2 all
      /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/depend
      cd /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build && /opt/homebrew/Cellar/cmake/3.30.1/bin/cmake -E cmake_depends "Unix Makefiles" /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build/CMakeFiles/v8eval.dir/DependInfo.cmake "--color="
      Dependencies file "CMakeFiles/v8eval.dir/src/v8eval.cxx.o.d" is newer than depends file "/private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build/CMakeFiles/v8eval.dir/compiler_depend.internal".
      Consolidate compiler generated dependencies of target v8eval
      /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/build
      make[2]: Nothing to be done for `CMakeFiles/v8eval.dir/build'.
      [ 25%] Built target v8eval
      /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/depend
      cd /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build && /opt/homebrew/Cellar/cmake/3.30.1/bin/cmake -E cmake_depends "Unix Makefiles" /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build/CMakeFiles/v8eval_go.dir/DependInfo.cmake "--color="
      Dependencies file "CMakeFiles/v8eval_go.dir/src/v8eval_go.cxx.o.d" is newer than depends file "/private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build/CMakeFiles/v8eval_go.dir/compiler_depend.internal".
      Consolidate compiler generated dependencies of target v8eval_go
      /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/build
      make[2]: Nothing to be done for `CMakeFiles/v8eval_go.dir/build'.
      [ 50%] Built target v8eval_go
      /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/depend
      cd /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build && /opt/homebrew/Cellar/cmake/3.30.1/bin/cmake -E cmake_depends "Unix Makefiles" /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build/CMakeFiles/v8eval_python.dir/DependInfo.cmake "--color="
      Dependencies file "CMakeFiles/v8eval_python.dir/src/v8eval_python.cxx.o.d" is newer than depends file "/private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build/CMakeFiles/v8eval_python.dir/compiler_depend.internal".
      Consolidate compiler generated dependencies of target v8eval_python
      /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/build
      make[2]: Nothing to be done for `CMakeFiles/v8eval_python.dir/build'.
      [ 75%] Built target v8eval_python
      /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/depend
      cd /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build && /opt/homebrew/Cellar/cmake/3.30.1/bin/cmake -E cmake_depends "Unix Makefiles" /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build/CMakeFiles/v8eval_ruby.dir/DependInfo.cmake "--color="
      Dependencies file "CMakeFiles/v8eval_ruby.dir/src/v8eval_ruby.cxx.o.d" is newer than depends file "/private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build/CMakeFiles/v8eval_ruby.dir/compiler_depend.internal".
      Consolidate compiler generated dependencies of target v8eval_ruby
      /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/build
      make[2]: Nothing to be done for `CMakeFiles/v8eval_ruby.dir/build'.
      [100%] Built target v8eval_ruby
      /opt/homebrew/Cellar/cmake/3.30.1/bin/cmake -E cmake_progress_start /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/build/CMakeFiles 0
      mkdir: /private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/v8/buildtools/third_party/libc++/trunk/test/std/experimental/filesystem/Inputs/static_test_env/dne: File exists
      ld: warning: search path '/private/var/folders/9w/q7kpyj390nn89987m8_ympfc0000gn/T/pip-install-q2w0rpp2/v8eval_0cb0c209655a4b13b0c398e07a523c9d/v8/out.gn/x64.release/obj' not found
      ld: library 'v8_libplatform' not found
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      error: command '/usr/bin/clang++' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for v8eval
Failed to build v8eval
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (v8eval)
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