During the installation of the system, I encountered the following problem:
[69/1220] /usr/lib/python-exec/python3.7/meson --internal exe --capture src/mapi/glapi/gen/marshal_generated6.c -- /var/tmp/portage/media-libs/mesa-20.2.4-r2/temp/python3.7/bin/python3 ../mesa-20.2.4/src/mapi/glapi/gen/gl_marshal.py -f ../mesa-20.2.4/src/mapi/glapi/gen/gl_and_es_API.xml -i 6 -n 8
/usr/lib/python-exec/python3.7/meson:15: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
[70/1220] /usr/lib/python-exec/python3.7/meson --internal exe --capture src/mapi/glapi/gen/marshal_generated0.c -- /var/tmp/portage/media-libs/mesa-20.2.4-r2/temp/python3.7/bin/python3 ../mesa-20.2.4/src/mapi/glapi/gen/gl_marshal.py -f ../mesa-20.2.4/src/mapi/glapi/gen/gl_and_es_API.xml -i 0 -n 8
/usr/lib/python-exec/python3.7/meson:15: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
[71/1220] /usr/lib/python-exec/python3.7/meson --internal exe --capture src/compiler/ir_expression_operation.h -- /var/tmp/portage/media-libs/mesa-20.2.4-r2/temp/python3.7/bin/python3 ../mesa-20.2.4/src/compiler/glsl/ir_expression_operation.py enum
FAILED: src/compiler/ir_expression_operation.h
/usr/lib/python-exec/python3.7/meson --internal exe --capture src/compiler/ir_expression_operation.h -- /var/tmp/portage/media-libs/mesa-20.2.4-r2/temp/python3.7/bin/python3 ../mesa-20.2.4/src/compiler/glsl/ir_expression_operation.py enum
/usr/lib/python-exec/python3.7/meson:15: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
--- stderr ---
Traceback (most recent call last):
File "../mesa-20.2.4/src/compiler/glsl/ir_expression_operation.py", line 23, in <module>
import mako.template
File "/usr/lib/python3.7/site-packages/mako/template.py", line 19, in <module>
from mako import cache
File "/usr/lib/python3.7/site-packages/mako/cache.py", line 7, in <module>
from mako import util
File "/usr/lib/python3.7/site-packages/mako/util.py", line 14, in <module>
from .compat import importlib_metadata_get
File "/usr/lib/python3.7/site-packages/mako/compat.py", line 68, in <module>
import importlib_metadata # noqa
File "/usr/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 18, in <module>
from . import _adapters, _meta, _py39compat
File "/usr/lib/python3.7/site-packages/importlib_metadata/_meta.py", line 1, in <module>
from typing import Protocol
ImportError: cannot import name 'Protocol' from 'typing' (/usr/lib/python3.7/typing.py)
ninja: build stopped: subcommand failed.
* ERROR: media-libs/mesa-20.2.4-r2::core-gl-kit failed (compile phase):
* ninja -v -j1 -l0 -C /var/tmp/portage/media-libs/mesa-20.2.4-r2/work/mesa-20.2.4-build failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2824: Called eninja '-C' '/var/tmp/portage/media-libs/mesa-20.2.4-r2/work/mesa-20.2.4-build'
* environment, line 1405: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
*
* If you need support, post the output of `emerge --info '=media-libs/mesa-20.2.4-r2::core-gl-kit'`,
* the complete build log and the output of `emerge -pqv '=media-libs/mesa-20.2.4-r2::core-gl-kit'`.
* The complete build log is located at '/var/tmp/portage/media-libs/mesa-20.2.4-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-20.2.4-r2/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/mesa-20.2.4-r2/work/mesa-20.2.4'
* S: '/var/tmp/portage/media-libs/mesa-20.2.4-r2/work/mesa-20.2.4'
Question
kris
Hi
During the installation of the system, I encountered the following problem:
Link to comment
Share on other sites
1 answer to this question
Recommended Posts