* Package:    media-libs/mesa-19.3.5
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:        X abi_x86_64 amd64 classic dri3 egl elibc_glibc gallium gbm gles2 kernel_linux libglvnd llvm userland_GNU wayland
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Package:    media-libs/mesa-19.3.5
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:        X abi_x86_64 amd64 classic dri3 egl elibc_glibc gallium gbm gles2 kernel_linux libglvnd llvm userland_GNU wayland
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
 * 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 ...
 * 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 
 * ERROR: media-libs/mesa-19.3.5::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 4378:  Called multilib-minimal_src_configure
 *   environment, line 2928:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 3161:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2858:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2856:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  944:  Called multilib-minimal_abi_src_configure
 *   environment, line 2922:  Called multilib_src_configure
 *   environment, line 3477:  Called meson_src_configure
 *   environment, line 2775:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=media-libs/mesa-19.3.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-19.3.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-19.3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-19.3.5/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-19.3.5/work/mesa-19.3.5-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-libs/mesa-19.3.5/work/mesa-19.3.5'