Advertisement
grahamperrin

PySide6==6.2.2.1 required to build OneDriveGUI on FreeBSD

Jan 24th, 2023
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.79 KB | None | 0 0
  1. % git -C ~/dev/OneDriveGUI pull --ff-only
  2. Already up to date.
  3. % cd ~/dev/OneDriveGUI
  4. % python3 -m pip install -r requirements.txt
  5. Defaulting to user installation because normal site-packages is not writeable
  6. ERROR: Could not find a version that satisfies the requirement PySide6==6.2.2.1 (from versions: none)
  7. ERROR: No matching distribution found for PySide6==6.2.2.1
  8. % cd ../pyside-setup
  9. % python setup.py install --parallel=4 --build-tests
  10. [WARNING]: ***** Exception while trying to prepare bdist_wheel override class: No module named 'wheel'. Skipping wheel overriding.
  11. [ERROR]: qtpaths was not found in PATH: None was returned
  12. Traceback (most recent call last):
  13. File "/usr/home/grahamperrin/dev/pyside-setup/setup.py", line 42, in <module>
  14. setup_runner.run_setup()
  15. File "/usr/home/grahamperrin/dev/pyside-setup/build_scripts/setup_runner.py", line 184, in run_setup
  16. qt_install_path = find_qt_install_path()
  17. File "/usr/home/grahamperrin/dev/pyside-setup/build_scripts/utils.py", line 1162, in find_qt_install_path
  18. qtpaths = where_is("qtpaths") if where_is("qtpaths") else where_is("qtpaths6")
  19. File "/usr/home/grahamperrin/dev/pyside-setup/build_scripts/utils.py", line 1160, in where_is
  20. return Path(which(x))
  21. File "/usr/local/lib/python3.9/pathlib.py", line 1082, in __new__
  22. self = cls._from_parts(args, init=False)
  23. File "/usr/local/lib/python3.9/pathlib.py", line 707, in _from_parts
  24. drv, root, parts = self._parse_args(args)
  25. File "/usr/local/lib/python3.9/pathlib.py", line 691, in _parse_args
  26. a = os.fspath(a)
  27. TypeError: expected str, bytes or os.PathLike object, not NoneType
  28. % python setup.py install --qtpaths=/usr/local/lib/qt6/bin/qtpaths6 --parallel=4 --build-tests
  29. [WARNING]: ***** Exception while trying to prepare bdist_wheel override class: No module named 'wheel'. Skipping wheel overriding.
  30. [WARNING]: ***** Exception while trying to prepare bdist_wheel override class: No module named 'wheel'. Skipping wheel overriding.
  31. [INFO]: running install
  32. /home/grahamperrin/.local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  33. warnings.warn(
  34. [INFO]: running build
  35. -- The C compiler identification is Clang 14.0.5
  36. -- The CXX compiler identification is Clang 14.0.5
  37. -- Detecting C compiler ABI info
  38. -- Detecting C compiler ABI info - done
  39. -- Check for working C compiler: /usr/bin/cc - skipped
  40. -- Detecting C compile features
  41. -- Detecting C compile features - done
  42. -- Detecting CXX compiler ABI info
  43. -- Detecting CXX compiler ABI info - done
  44. -- Check for working CXX compiler: /usr/bin/c++ - skipped
  45. -- Detecting CXX compile features
  46. -- Detecting CXX compile features - done
  47. -- SHIBOKEN_IS_CROSS_BUILD: FALSE
  48. -- SHIBOKEN_BUILD_LIBS: ON
  49. -- SHIBOKEN_BUILD_TOOLS: ON
  50. -- BUILD_TESTS: 1
  51. -- Using Qt 6
  52. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  53. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
  54. -- Check if compiler accepts -pthread
  55. -- Check if compiler accepts -pthread - yes
  56. -- Found Threads: TRUE
  57. -- Performing Test HAVE_STDATOMIC
  58. -- Performing Test HAVE_STDATOMIC - Success
  59. -- Found WrapAtomic: TRUE
  60. -- Found PythonInterp: /usr/local/bin/python (found suitable version "3.9.16", minimum required is "3.7")
  61. -- Found PythonLibs: /usr/local/lib/libpython3.9.so (found suitable version "3.9.16", minimum required is "3.7")
  62. CMake Error at cmake/ShibokenHelpers.cmake:167 (find_package):
  63. Could not find a package configuration file provided by "Clang" with any of
  64. the following names:
  65.  
  66. ClangConfig.cmake
  67. clang-config.cmake
  68.  
  69. Add the installation prefix of "Clang" to CMAKE_PREFIX_PATH or set
  70. "Clang_DIR" to a directory containing one of the above files. If "Clang"
  71. provides a separate development package or SDK, be sure it has been
  72. installed.
  73. Call Stack (most recent call first):
  74. cmake/ShibokenSetup.cmake:35 (setup_clang)
  75. CMakeLists.txt:11 (include)
  76.  
  77.  
  78. -- Configuring incomplete, errors occurred!
  79. See also "/usr/home/grahamperrin/dev/pyside-setup/build/qfp-py3.9-qt6.4.2-64bit-release/build/shiboken6/CMakeFiles/CMakeOutput.log".
  80. See also "/usr/home/grahamperrin/dev/pyside-setup/build/qfp-py3.9-qt6.4.2-64bit-release/build/shiboken6/CMakeFiles/CMakeError.log".
  81. error: Error configuring shiboken6
  82. Traceback (most recent call last):
  83. File "/usr/home/grahamperrin/dev/pyside-setup/setup.py", line 42, in <module>
  84. setup_runner.run_setup()
  85. File "/usr/home/grahamperrin/dev/pyside-setup/build_scripts/setup_runner.py", line 264, in run_setup
  86. raise RuntimeError(msg)
  87. RuntimeError:
  88. setup.py invocation failed with exit code: 1.
  89.  
  90.  
  91. setup.py invocation was: /usr/local/bin/python setup.py install --qtpaths=/usr/local/lib/qt6/bin/qtpaths6 --parallel=4 --build-tests --internal-build-type=shiboken6
  92.  
  93. %
  94.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement