[32;01m * [39;49;00mPackage: media-libs/mesa-19.3.5 [32;01m * [39;49;00mRepository: gentoo [32;01m * [39;49;00mMaintainer: x11@gentoo.org [32;01m * [39;49;00mUSE: X abi_x86_64 amd64 classic dri3 egl elibc_glibc gallium gbm gles2 kernel_linux libglvnd llvm userland_GNU wayland [32;01m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox [32;01m * [39;49;00mPackage: media-libs/mesa-19.3.5 [32;01m * [39;49;00mRepository: gentoo [32;01m * [39;49;00mMaintainer: x11@gentoo.org [32;01m * [39;49;00mUSE: X abi_x86_64 amd64 classic dri3 egl elibc_glibc gallium gbm gles2 kernel_linux libglvnd llvm userland_GNU wayland [32;01m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> [1m[37mcfg-update-1.8.2-r1[0m[0m: Checksum index is up-to-date ... [32;01m*[0m Using python3.7 to build >>> Unpacking source... >>> Unpacking mesa-19.3.5.tar.xz to /var/tmp/portage/media-libs/mesa-19.3.5/work >>> Source unpacked in /var/tmp/portage/media-libs/mesa-19.3.5/work >>> Preparing source in /var/tmp/portage/media-libs/mesa-19.3.5/work/mesa-19.3.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/mesa-19.3.5/work/mesa-19.3.5 ... [32;01m*[0m abi_x86_64.amd64: running multilib-minimal_abi_src_configure meson setup --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/media-libs/mesa-19.3.5/temp/python3.7/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/media-libs/mesa-19.3.5/temp/python3.7/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/media-libs/mesa-19.3.5/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Dplatforms=x11,wayland,drm,surfaceless -Dllvm=true -Dlmsensors=false -Dlibunwind=false -Dgallium-nine=false -Dgallium-va=false -Dgallium-vdpau=false -Dgallium-xa=false -Dgallium-xvmc=false -Dgallium-opencl=disabled -Dosmesa=none -Dbuild-tests=false -Dglx=dri -Dshared-glapi=true -Ddri3=true -Degl=true -Dgbm=true -Dgles1=false -Dgles2=true -Dglvnd=true -Dselinux=false -Dvalgrind=false -Ddri-drivers= -Dgallium-drivers=swrast -Dvulkan-drivers= -Dvulkan-overlay-layer=false --buildtype plain -Db_ndebug=true /var/tmp/portage/media-libs/mesa-19.3.5/work/mesa-19.3.5 /var/tmp/portage/media-libs/mesa-19.3.5/work/mesa-19.3.5-abi_x86_64.amd64 Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 129, in run return options.run_func(options) File "/usr/lib/python3.7/site-packages/mesonbuild/msetup.py", line 245, in run app.generate() File "/usr/lib/python3.7/site-packages/mesonbuild/msetup.py", line 159, in generate self._generate(env) File "/usr/lib/python3.7/site-packages/mesonbuild/msetup.py", line 192, in _generate intr.run() File "/usr/lib/python3.7/site-packages/mesonbuild/interpreter.py", line 4024, in run super().run() File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 412, in run self.evaluate_codeblock(self.ast, start=1) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 436, in evaluate_codeblock raise e File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 430, in evaluate_codeblock self.evaluate_statement(cur) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 443, in evaluate_statement return self.assignment(cur) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 1054, in assignment value = self.evaluate_statement(node.value) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 445, in evaluate_statement return self.method_call(cur) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 816, in method_call return obj.method_call(method_name, args, kwargs) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 325, in method_call return method(args, kwargs) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 285, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 285, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 285, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 155, in wrapped ret = f(*wrapped_args, **wrapped_kwargs) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 174, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/usr/lib/python3.7/site-packages/mesonbuild/interpreter.py", line 1573, in find_library_method linkargs = self.compiler.find_library(libname, self.environment, search_dirs, libtype) File "/usr/lib/python3.7/site-packages/mesonbuild/compilers/mixins/clike.py", line 997, in find_library return self.find_library_impl(libname, env, extra_dirs, code, libtype) File "/usr/lib/python3.7/site-packages/mesonbuild/compilers/mixins/clike.py", line 987, in find_library_impl value = self.find_library_real(libname, env, extra_dirs, code, libtype) File "/usr/lib/python3.7/site-packages/mesonbuild/compilers/mixins/clike.py", line 968, in find_library_real for d in itertools.chain(extra_dirs, self.get_library_dirs(env, elf_class)): File "/usr/lib/python3.7/site-packages/mesonbuild/compilers/mixins/clike.py", line 162, in get_library_dirs with open(file_to_check, 'rb') as fd: PermissionError: [Errno 13] Permission denied: '/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib64/bpipe-fd.so' The Meson build system Version: 0.52.1 Source dir: /var/tmp/portage/media-libs/mesa-19.3.5/work/mesa-19.3.5 Build dir: /var/tmp/portage/media-libs/mesa-19.3.5/work/mesa-19.3.5-abi_x86_64.amd64 Build type: native build Program python found: YES (/var/tmp/portage/media-libs/mesa-19.3.5/temp/python3.7/bin/python) Project name: mesa Project version: 19.3.5 Appending CFLAGS from environment: '-march=amdfam10 -O2 -pipe -mfpmath=sse -mcx16 -mpopcnt' Appending LDFLAGS from environment: ['-Wl,-O1', '-Wl,--as-needed'] Appending CXXFLAGS from environment: '-march=amdfam10 -O2 -pipe -mfpmath=sse -mcx16 -mpopcnt' Appending LDFLAGS from environment: ['-Wl,-O1', '-Wl,--as-needed'] Appending CFLAGS from environment: '-march=amdfam10 -O2 -pipe -mfpmath=sse -mcx16 -mpopcnt' Appending LDFLAGS from environment: ['-Wl,-O1', '-Wl,--as-needed'] C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 9.3.0 "x86_64-pc-linux-gnu-gcc (Gentoo 9.3.0 p2) 9.3.0") C linker for the host machine: GNU ld.bfd 2.33.1 Appending CXXFLAGS from environment: '-march=amdfam10 -O2 -pipe -mfpmath=sse -mcx16 -mpopcnt' Appending LDFLAGS from environment: ['-Wl,-O1', '-Wl,--as-needed'] C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 9.3.0 "x86_64-pc-linux-gnu-g++ (Gentoo 9.3.0 p2) 9.3.0") C++ linker for the host machine: GNU ld.bfd 2.33.1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program pkg-config found: YES (/usr/bin/pkg-config) Program python3 found: YES (/var/tmp/portage/media-libs/mesa-19.3.5/temp/python3.7/bin/python3) Fetching value of define "ETIME" : 62 Checking for function "bswap32" : YES Checking for function "bswap64" : YES Checking for function "clz" : YES Checking for function "clzll" : YES Checking for function "ctz" : YES Checking for function "expect" : YES Checking for function "ffs" : YES Checking for function "ffsll" : YES Checking for function "popcount" : YES Checking for function "popcountll" : YES Checking for function "unreachable" : YES Checking if "__attribute__((const))" compiles: YES Checking if "__attribute__((flatten))" compiles: YES Checking if "__attribute__((malloc))" compiles: YES Checking if "__attribute__((pure))" compiles: YES Checking if "__attribute__((unused))" compiles: YES Checking if "__attribute__((warn_unused_result))" compiles: YES Checking if "__attribute__((weak))" compiles: YES Checking if "__attribute__((format(...)))" compiles: YES Checking if "__attribute__((packed))" compiles: YES Checking if "__attribute__((returns_nonnull))" compiles: YES Checking if "__attribute__((visibility(...)))" compiles: YES Checking if "__attribute__((alias(...)))" compiles: YES Checking if "__attribute__((__noreturn__))" compiles: YES Checking if "__uint128_t" compiles: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: YES Compiler for C supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES Compiler for C supports arguments -Wno-format-truncation -Wformat-truncation: YES Compiler for C supports arguments -fno-math-errno: YES Compiler for C supports arguments -fno-trapping-math: YES Compiler for C supports arguments -Qunused-arguments: NO Compiler for C supports arguments -Werror=format: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C++ supports arguments -Werror=return-type: YES Compiler for C++ supports arguments -Werror=empty-body: YES Compiler for C++ supports arguments -Wno-non-virtual-dtor -Wnon-virtual-dtor: YES Compiler for C++ supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES Compiler for C++ supports arguments -Wno-format-truncation -Wformat-truncation: YES Compiler for C++ supports arguments -fno-math-errno: YES Compiler for C++ supports arguments -fno-trapping-math: YES Compiler for C++ supports arguments -Qunused-arguments: NO Compiler for C++ supports arguments -Werror=format: YES Compiler for C++ supports arguments -Wformat-security: YES Compiler for C supports arguments -Wno-override-init -Woverride-init: YES Compiler for C supports arguments -Wno-initializer-overrides -Winitializer-overrides: NO Compiler for C supports arguments -fvisibility=hidden: YES Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C++ supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=vla: YES Compiler for C++ supports arguments -Werror=vla: YES Compiler for C++ supports arguments -fvisibility=hidden: YES Checking if "GCC atomic builtins" compiles: YES Checking if "GCC atomic builtins required -latomic" links: YES Checking if "GCC 64bit atomics" with dependency not-found links: YES [31;01m*[0m ERROR: media-libs/mesa-19.3.5::gentoo failed (configure phase): [31;01m*[0m (no error message) [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 125: Called src_configure [31;01m*[0m environment, line 4378: Called multilib-minimal_src_configure [31;01m*[0m environment, line 2928: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' [31;01m*[0m environment, line 3161: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' [31;01m*[0m environment, line 2858: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' [31;01m*[0m environment, line 2856: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' [31;01m*[0m environment, line 944: Called multilib-minimal_abi_src_configure [31;01m*[0m environment, line 2922: Called multilib_src_configure [31;01m*[0m environment, line 3477: Called meson_src_configure [31;01m*[0m environment, line 2775: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m "${mesonargs[@]}" ) || die [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=media-libs/mesa-19.3.5::gentoo'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=media-libs/mesa-19.3.5::gentoo'`. [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-libs/mesa-19.3.5/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-19.3.5/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/media-libs/mesa-19.3.5/work/mesa-19.3.5-abi_x86_64.amd64' [31;01m*[0m S: '/var/tmp/portage/media-libs/mesa-19.3.5/work/mesa-19.3.5'