Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Building using python setup.py
- Project has both pyproject.toml and setup.py, using PEP518
- -- PEP518 build
- 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 .
- Using pip 23.1.2 from /usr/lib/python3.11/vendor-packages/pip (python 3.11)
- Non-user install because site-packages writeable
- Created temporary directory: /tmp/pip-build-tracker-8a5d80sj
- Initialized build tracking at /tmp/pip-build-tracker-8a5d80sj
- Created build tracker: /tmp/pip-build-tracker-8a5d80sj
- Entered build tracker: /tmp/pip-build-tracker-8a5d80sj
- Created temporary directory: /tmp/pip-install-vvp9_mqk
- Created temporary directory: /tmp/pip-ephem-wheel-cache-uupavh_t
- Processing /foo/omnibuild/tmp/python3.11/PyYAML-6.0/PyYAML-6.0
- Added file:///foo/omnibuild/tmp/python3.11/PyYAML-6.0/PyYAML-6.0 to build tracker '/tmp/pip-build-tracker-8a5d80sj'
- Created temporary directory: /tmp/pip-build-env-52thgxqi
- Installing build dependencies: started
- Running command pip subprocess to install build dependencies
- Using pip 23.1.2 from /usr/lib/python3.11/vendor-packages/pip (python 3.11)
- Collecting setuptools
- Using cached setuptools-68.0.0-py3-none-any.whl (804 kB)
- Collecting wheel
- Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
- Collecting Cython
- Using cached Cython-3.0.0-py2.py3-none-any.whl (1.2 MB)
- Installing collected packages: wheel, setuptools, Cython
- Creating /tmp/pip-build-env-52thgxqi/overlay/bin
- changing mode of /tmp/pip-build-env-52thgxqi/overlay/bin/wheel to 755
- changing mode of /tmp/pip-build-env-52thgxqi/overlay/bin/cygdb to 755
- changing mode of /tmp/pip-build-env-52thgxqi/overlay/bin/cython to 755
- changing mode of /tmp/pip-build-env-52thgxqi/overlay/bin/cythonize to 755
- Successfully installed Cython-3.0.0 setuptools-68.0.0 wheel-0.40.0
- 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
- Installing build dependencies: finished with status 'done'
- Getting requirements to build wheel: started
- Running command Getting requirements to build wheel
- running egg_info
- writing lib/PyYAML.egg-info/PKG-INFO
- writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
- writing top-level names to lib/PyYAML.egg-info/top_level.txt
- Traceback (most recent call last):
- File "/usr/lib/python3.11/vendor-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
- main()
- File "/usr/lib/python3.11/vendor-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
- json_out['return_val'] = hook(**hook_input['kwargs'])
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
- return hook(config_settings)
- ^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
- return self._get_build_requires(config_settings, requirements=['wheel'])
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/setuptools/build_meta.py", line 323, in _get_build_requires
- self.run_setup()
- File "/usr/lib/python3.11/vendor-packages/setuptools/build_meta.py", line 338, in run_setup
- exec(code, locals())
- File "<string>", line 288, in <module>
- File "/usr/lib/python3.11/vendor-packages/setuptools/__init__.py", line 107, in setup
- return distutils.core.setup(**attrs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/core.py", line 185, in setup
- return run_commands(dist)
- ^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/core.py", line 201, in run_commands
- dist.run_commands()
- File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/dist.py", line 969, in run_commands
- self.run_command(cmd)
- File "/usr/lib/python3.11/vendor-packages/setuptools/dist.py", line 1244, in run_command
- super().run_command(command)
- File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/dist.py", line 988, in run_command
- cmd_obj.run()
- File "/usr/lib/python3.11/vendor-packages/setuptools/command/egg_info.py", line 317, in run
- self.find_sources()
- File "/usr/lib/python3.11/vendor-packages/setuptools/command/egg_info.py", line 325, in find_sources
- mm.run()
- File "/usr/lib/python3.11/vendor-packages/setuptools/command/egg_info.py", line 573, in run
- self.add_defaults()
- File "/usr/lib/python3.11/vendor-packages/setuptools/command/egg_info.py", line 611, in add_defaults
- sdist.add_defaults(self)
- File "/usr/lib/python3.11/vendor-packages/setuptools/command/sdist.py", line 106, in add_defaults
- super().add_defaults()
- File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
- self._add_defaults_ext()
- File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
- self.filelist.extend(build_ext.get_source_files())
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "<string>", line 204, in get_source_files
- File "/usr/lib/python3.11/vendor-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
- raise AttributeError(attr)
- AttributeError: cython_sources
- error: subprocess-exited-with-error
- × Getting requirements to build wheel did not run successfully.
- │ exit code: 1
- ╰─> See above for output.
- note: This error originates from a subprocess, and is likely not a problem with pip.
- 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
- cwd: /foo/omnibuild/tmp/python3.11/PyYAML-6.0/PyYAML-6.0
- Getting requirements to build wheel: finished with status 'error'
- error: subprocess-exited-with-error
- × Getting requirements to build wheel did not run successfully.
- │ exit code: 1
- ╰─> See above for output.
- note: This error originates from a subprocess, and is likely not a problem with pip.
- Exception information:
- Traceback (most recent call last):
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper
- status = run_func(*args)
- ^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/cli/req_command.py", line 248, in wrapper
- return func(self, options, args)
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/commands/install.py", line 377, in run
- requirement_set = resolver.resolve(
- ^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/resolver.py", line 73, in resolve
- collected = self.factory.collect_root_requirements(root_reqs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/factory.py", line 491, in collect_root_requirements
- req = self._make_requirement_from_install_req(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/factory.py", line 453, in _make_requirement_from_install_req
- cand = self._make_candidate_from_link(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
- self._link_candidate_cache[link] = LinkCandidate(
- ^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__
- super().__init__(
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__
- self.dist = self._prepare()
- ^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare
- dist = self._prepare_distribution()
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution
- return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/operations/prepare.py", line 516, in prepare_linked_requirement
- return self._prepare_linked_requirement(req, parallel_builds)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/operations/prepare.py", line 631, in _prepare_linked_requirement
- dist = _get_prepared_distribution(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution
- abstract_dist.prepare_distribution_metadata(
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/distributions/sdist.py", line 48, in prepare_distribution_metadata
- self._install_build_reqs(finder)
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/distributions/sdist.py", line 118, in _install_build_reqs
- build_reqs = self._get_build_requires_wheel()
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/distributions/sdist.py", line 95, in _get_build_requires_wheel
- return backend.get_requires_for_build_wheel()
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/utils/misc.py", line 692, in get_requires_for_build_wheel
- return super().get_requires_for_build_wheel(config_settings=cs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_vendor/pyproject_hooks/_impl.py", line 166, in get_requires_for_build_wheel
- return self._call_hook('get_requires_for_build_wheel', {
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/vendor-packages/pip/_vendor/pyproject_hooks/_impl.py", line 311, in _call_hook
- self._subprocess_runner(
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/utils/subprocess.py", line 252, in runner
- call_subprocess(
- File "/usr/lib/python3.11/vendor-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess
- raise error
- pip._internal.exceptions.InstallationSubprocessError: Getting requirements to build wheel exited with 1
- Removed file:///foo/omnibuild/tmp/python3.11/PyYAML-6.0/PyYAML-6.0 from build tracker '/tmp/pip-build-tracker-8a5d80sj'
- Removed build tracker: '/tmp/pip-build-tracker-8a5d80sj'
- --- build failed
Advertisement
Add Comment
Please, Sign In to add comment