Guest User

Untitled

a guest
Jul 19th, 2023
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.21 KB | None | 0 0
  1. Building using python setup.py
  2. Project has both pyproject.toml and setup.py, using PEP518
  3. -- PEP518 build
  4. Running: /usr/bin/python3.11 -mpip install -vvv --no-deps --isolated --no-input --exists-action=a --disable-pip-version-check --root=/foo/omnibuild/tmp/python3.11/PyYAML-6.0/library_python-3_pyyaml-311_pkg .
  5. Using pip 23.1.2 from /usr/lib/python3.11/vendor-packages/pip (python 3.11)
  6. Non-user install because site-packages writeable
  7. Created temporary directory: /tmp/pip-build-tracker-8a5d80sj
  8. Initialized build tracking at /tmp/pip-build-tracker-8a5d80sj
  9. Created build tracker: /tmp/pip-build-tracker-8a5d80sj
  10. Entered build tracker: /tmp/pip-build-tracker-8a5d80sj
  11. Created temporary directory: /tmp/pip-install-vvp9_mqk
  12. Created temporary directory: /tmp/pip-ephem-wheel-cache-uupavh_t
  13. Processing /foo/omnibuild/tmp/python3.11/PyYAML-6.0/PyYAML-6.0
  14. Added file:///foo/omnibuild/tmp/python3.11/PyYAML-6.0/PyYAML-6.0 to build tracker '/tmp/pip-build-tracker-8a5d80sj'
  15. Created temporary directory: /tmp/pip-build-env-52thgxqi
  16. Installing build dependencies: started
  17. Running command pip subprocess to install build dependencies
  18. Using pip 23.1.2 from /usr/lib/python3.11/vendor-packages/pip (python 3.11)
  19. Collecting setuptools
  20. Using cached setuptools-68.0.0-py3-none-any.whl (804 kB)
  21. Collecting wheel
  22. Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
  23. Collecting Cython
  24. Using cached Cython-3.0.0-py2.py3-none-any.whl (1.2 MB)
  25. Installing collected packages: wheel, setuptools, Cython
  26. Creating /tmp/pip-build-env-52thgxqi/overlay/bin
  27. changing mode of /tmp/pip-build-env-52thgxqi/overlay/bin/wheel to 755
  28. changing mode of /tmp/pip-build-env-52thgxqi/overlay/bin/cygdb to 755
  29. changing mode of /tmp/pip-build-env-52thgxqi/overlay/bin/cython to 755
  30. changing mode of /tmp/pip-build-env-52thgxqi/overlay/bin/cythonize to 755
  31. Successfully installed Cython-3.0.0 setuptools-68.0.0 wheel-0.40.0
  32. WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
  33. Installing build dependencies: finished with status 'done'
  34. Getting requirements to build wheel: started
  35. Running command Getting requirements to build wheel
  36. running egg_info
  37. writing lib/PyYAML.egg-info/PKG-INFO
  38. writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
  39. writing top-level names to lib/PyYAML.egg-info/top_level.txt
  40. Traceback (most recent call last):
  41. File "/usr/lib/python3.11/vendor-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
  42. main()
  43. File "/usr/lib/python3.11/vendor-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
  44. json_out['return_val'] = hook(**hook_input['kwargs'])
  45. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  46. File "/usr/lib/python3.11/vendor-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
  47. return hook(config_settings)
  48. ^^^^^^^^^^^^^^^^^^^^^
  49. File "/usr/lib/python3.11/vendor-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
  50. return self._get_build_requires(config_settings, requirements=['wheel'])
  51. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  52. File "/usr/lib/python3.11/vendor-packages/setuptools/build_meta.py", line 323, in _get_build_requires
  53. self.run_setup()
  54. File "/usr/lib/python3.11/vendor-packages/setuptools/build_meta.py", line 338, in run_setup
  55. exec(code, locals())
  56. File "<string>", line 288, in <module>
  57. File "/usr/lib/python3.11/vendor-packages/setuptools/__init__.py", line 107, in setup
  58. return distutils.core.setup(**attrs)
  59. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  60. File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/core.py", line 185, in setup
  61. return run_commands(dist)
  62. ^^^^^^^^^^^^^^^^^^
  63. File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/core.py", line 201, in run_commands
  64. dist.run_commands()
  65. File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/dist.py", line 969, in run_commands
  66. self.run_command(cmd)
  67. File "/usr/lib/python3.11/vendor-packages/setuptools/dist.py", line 1244, in run_command
  68. super().run_command(command)
  69. File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/dist.py", line 988, in run_command
  70. cmd_obj.run()
  71. File "/usr/lib/python3.11/vendor-packages/setuptools/command/egg_info.py", line 317, in run
  72. self.find_sources()
  73. File "/usr/lib/python3.11/vendor-packages/setuptools/command/egg_info.py", line 325, in find_sources
  74. mm.run()
  75. File "/usr/lib/python3.11/vendor-packages/setuptools/command/egg_info.py", line 573, in run
  76. self.add_defaults()
  77. File "/usr/lib/python3.11/vendor-packages/setuptools/command/egg_info.py", line 611, in add_defaults
  78. sdist.add_defaults(self)
  79. File "/usr/lib/python3.11/vendor-packages/setuptools/command/sdist.py", line 106, in add_defaults
  80. super().add_defaults()
  81. File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
  82. self._add_defaults_ext()
  83. File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
  84. self.filelist.extend(build_ext.get_source_files())
  85. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  86. File "<string>", line 204, in get_source_files
  87. File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
  88. raise AttributeError(attr)
  89. AttributeError: cython_sources
  90. error: subprocess-exited-with-error
  91.  
  92. × Getting requirements to build wheel did not run successfully.
  93. │ exit code: 1
  94. ╰─> See above for output.
  95.  
  96. note: This error originates from a subprocess, and is likely not a problem with pip.
  97. full command: /usr/bin/python3.11 /usr/lib/python3.11/vendor-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /tmp/tmp5_5tr77w
  98. cwd: /foo/omnibuild/tmp/python3.11/PyYAML-6.0/PyYAML-6.0
  99. Getting requirements to build wheel: finished with status 'error'
  100. error: subprocess-exited-with-error
  101.  
  102. × Getting requirements to build wheel did not run successfully.
  103. │ exit code: 1
  104. ╰─> See above for output.
  105.  
  106. note: This error originates from a subprocess, and is likely not a problem with pip.
  107. Exception information:
  108.  
  109. Traceback (most recent call last):
  110. File "/usr/lib/python3.11/vendor-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper
  111. status = run_func(*args)
  112. ^^^^^^^^^^^^^^^
  113. File "/usr/lib/python3.11/vendor-packages/pip/_internal/cli/req_command.py", line 248, in wrapper
  114. return func(self, options, args)
  115. ^^^^^^^^^^^^^^^^^^^^^^^^^
  116. File "/usr/lib/python3.11/vendor-packages/pip/_internal/commands/install.py", line 377, in run
  117. requirement_set = resolver.resolve(
  118. ^^^^^^^^^^^^^^^^^
  119. File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/resolver.py", line 73, in resolve
  120. collected = self.factory.collect_root_requirements(root_reqs)
  121. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  122. File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/factory.py", line 491, in collect_root_requirements
  123. req = self._make_requirement_from_install_req(
  124. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  125. File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/factory.py", line 453, in _make_requirement_from_install_req
  126. cand = self._make_candidate_from_link(
  127. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  128. File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
  129. self._link_candidate_cache[link] = LinkCandidate(
  130. ^^^^^^^^^^^^^^
  131. File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__
  132. super().__init__(
  133. File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__
  134. self.dist = self._prepare()
  135. ^^^^^^^^^^^^^^^
  136. File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare
  137. dist = self._prepare_distribution()
  138. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  139. File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution
  140. return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
  141. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  142. File "/usr/lib/python3.11/vendor-packages/pip/_internal/operations/prepare.py", line 516, in prepare_linked_requirement
  143. return self._prepare_linked_requirement(req, parallel_builds)
  144. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  145. File "/usr/lib/python3.11/vendor-packages/pip/_internal/operations/prepare.py", line 631, in _prepare_linked_requirement
  146. dist = _get_prepared_distribution(
  147. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  148. File "/usr/lib/python3.11/vendor-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution
  149. abstract_dist.prepare_distribution_metadata(
  150. File "/usr/lib/python3.11/vendor-packages/pip/_internal/distributions/sdist.py", line 48, in prepare_distribution_metadata
  151. self._install_build_reqs(finder)
  152. File "/usr/lib/python3.11/vendor-packages/pip/_internal/distributions/sdist.py", line 118, in _install_build_reqs
  153. build_reqs = self._get_build_requires_wheel()
  154. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  155. File "/usr/lib/python3.11/vendor-packages/pip/_internal/distributions/sdist.py", line 95, in _get_build_requires_wheel
  156. return backend.get_requires_for_build_wheel()
  157. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  158. File "/usr/lib/python3.11/vendor-packages/pip/_internal/utils/misc.py", line 692, in get_requires_for_build_wheel
  159. return super().get_requires_for_build_wheel(config_settings=cs)
  160. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  161. File "/usr/lib/python3.11/vendor-packages/pip/_vendor/pyproject_hooks/_impl.py", line 166, in get_requires_for_build_wheel
  162. return self._call_hook('get_requires_for_build_wheel', {
  163. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  164. File "/usr/lib/python3.11/vendor-packages/pip/_vendor/pyproject_hooks/_impl.py", line 311, in _call_hook
  165. self._subprocess_runner(
  166. File "/usr/lib/python3.11/vendor-packages/pip/_internal/utils/subprocess.py", line 252, in runner
  167. call_subprocess(
  168. File "/usr/lib/python3.11/vendor-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess
  169. raise error
  170. pip._internal.exceptions.InstallationSubprocessError: Getting requirements to build wheel exited with 1
  171. Removed file:///foo/omnibuild/tmp/python3.11/PyYAML-6.0/PyYAML-6.0 from build tracker '/tmp/pip-build-tracker-8a5d80sj'
  172. Removed build tracker: '/tmp/pip-build-tracker-8a5d80sj'
  173. --- build failed
  174.  
Advertisement
Add Comment
Please, Sign In to add comment