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

Build crashes with thot #108

Closed
johnml1135 opened this issue May 9, 2024 · 1 comment
Closed

Build crashes with thot #108

johnml1135 opened this issue May 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@johnml1135
Copy link
Collaborator

This build crashes: https://github.com/sillsdev/machine.py/actions/runs/8991708022/job/24699887705

ChefBuildError

  Backend subprocess exited when trying to invoke build_wheel
  
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.9-universal2-cpython-311
  creating build/lib.macosx-10.9-universal2-cpython-311/thot
  copying thot/py.typed -> build/lib.macosx-10.9-universal2-cpython-311/thot
  creating build/lib.macosx-10.9-universal2-cpython-311/thot/translation
  copying thot/translation/__init__.pyi -> build/lib.macosx-10.9-universal2-cpython-311/thot/translation
  creating build/lib.macosx-10.9-universal2-cpython-311/thot/common
  copying thot/common/__init__.pyi -> build/lib.macosx-10.9-universal2-cpython-311/thot/common
  creating build/lib.macosx-10.9-universal2-cpython-311/thot/alignment
  copying thot/alignment/__init__.pyi -> build/lib.macosx-10.9-universal2-cpython-311/thot/alignment
  running build_ext
  -- The CXX compiler identification is AppleClang 15.0.0.15000040
  -- The C compiler identification is AppleClang 15.0.0.15000040
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /Applications/Xcode_15.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /Applications/Xcode_15.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  CMake Error at /private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmpydazrrhr/.venv/lib/python3.11/site-packages/cmake/data/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
    Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
  Call Stack (most recent call first):
    /private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmpydazrrhr/.venv/lib/python3.11/site-packages/cmake/data/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
    /private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/tmpydazrrhr/.venv/lib/python3.11/site-packages/cmake/data/share/cmake-3.29/Modules/FindOpenMP.cmake:581 (find_package_handle_standard_args)
    CMakeLists.txt:19 (find_package)
...

Note: This error originates from the build backend, and is likely not a problem with poetry but with sil-thot (3.4.3) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "sil-thot (==3.4.3)"'.

It appears to need an update to thot to account for the most recent macos updates.

@johnml1135 johnml1135 added the bug Something isn't working label May 9, 2024
@johnml1135 johnml1135 added this to Serval May 9, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Serval May 9, 2024
@ddaspit ddaspit moved this from 🆕 New to 👀 In review in Serval May 9, 2024
@ddaspit
Copy link
Contributor

ddaspit commented May 9, 2024

This is fixed by PR #109.

@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Serval May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants