[Bug 274118] emulators/qemu: error on configure
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Sep 2023 10:06:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274118 Bug ID: 274118 Summary: emulators/qemu: error on configure Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bofh@freebsd.org Reporter: discipline@tiscali.it Flags: maintainer-feedback?(bofh@freebsd.org) Assignee: bofh@freebsd.org I'm receving the following error during the configure of emulators/qemu: ../meson.build:89:26: ERROR: <PythonExternalProgram 'python3' -> ['/usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/pyvenv/bin/python3.9']> is not a valid python or it is missing distutils A full log can be found at /usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/meson-logs/meson-log.txt The relevant part of meson-log.txt is the following: Could not introspect Python (['/usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/pyvenv/bin/python3.9', '/usr/local/lib/python3.9/site-packages/mesonbuild/scripts/python_info.py']): exit code 1 Program stdout: Program stderr: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/mesonbuild/scripts/python_info.py", line 77, in <module> 'link_libpython': links_against_libpython(), File "/usr/local/lib/python3.9/site-packages/mesonbuild/scripts/python_info.py", line 52, in links_against_libpython cmd = Distribution().get_command_obj('build_ext') File "/usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/pyvenv/lib/python3.9/site-packages/setuptools/dist.py", line 453, in __init__ _Distribution.__init__( File "/usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/pyvenv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", l ine 293, in __init__ self.finalize_options() File "/usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/pyvenv/lib/python3.9/site-packages/setuptools/dist.py", line 830, in finalize_options for ep in sorted(loaded, key=by_order): File "/usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/pyvenv/lib/python3.9/site-packages/setuptools/dist.py", line 829, in <lambda> loaded = map(lambda e: e.load(), filtered) File "/usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/pyvenv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2449, in load self.require(*args, **kwargs) File "/usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/pyvenv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2472, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File "/usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/pyvenv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (setuptools 58.1.0 (/usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/pyvenv/lib/python3.9/site-packages), Requirement.parse('setuptools>=62.4')) ../meson.build:89:26: ERROR: <PythonExternalProgram 'python3' -> ['/usr/ports/emulators/qemu/work-default/qemu-8.1.1/build/pyvenv/bin/python3.9']> is not a valid python or it is missing distutils Previously I had no problem upgrading to 8.1.0 $ pkg info -iox qemu qemu-8.1.0 emulators/qemu $ pkg info -iox ^python python-3.9_3,2 lang/python python3-3_3 lang/python3 python39-3.9.18 lang/python39 $ pkg info -iox ^py39-setuptools-\[0-9\] py39-setuptools-63.1.0_1 devel/py-setuptools Could it be caused by /usr/local/lib/python3.9/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl? ($ pkg which /usr/local/lib/python3.9/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl /usr/local/lib/python3.9/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl was installed by package python39-3.9.18) -- You are receiving this mail because: You are the assignee for the bug.