=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for mesa-21.3.9.tar.xz
=> Checksum SHA512 OK for mesa-21.3.9.tar.xz
===> Installing dependencies for MesaLib-21.3.9nb4
==========================================================================
The supported build options for MesaLib are:

	llvm vulkan wayland x11

The currently selected options are:

	x11

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.MesaLib (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
MesaLib-21.3.9nb4.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 312

Based on these variables, the following variables have been set:

        * PYPACKAGE = python312

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency distcc-[0-9]*: found distcc-3.4
=> Tool dependency py312-mako-[0-9]*: found py312-mako-1.3.5
=> Tool dependency py312-setuptools-[0-9]*: found py312-setuptools-75.1.0
=> Tool dependency meson>=0: found meson-1.5.2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency m4>=1.4: found m4-1.4.19nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.36: found x11-links-1.36
=> Full dependency libva>=2.13.0: found libva-2.22.0
=> Full dependency python312>=3.12.0nb1: found python312-3.12.6
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for MesaLib-21.3.9nb4
===> Extracting for MesaLib-21.3.9nb4
===> Patching for MesaLib-21.3.9nb4
=> Applying pkgsrc patches for MesaLib-21.3.9nb4
===> Creating toolchain wrappers for MesaLib-21.3.9nb4
===> Configuring for MesaLib-21.3.9nb4
=> Generating pkg-config file for builtin expat package.
The Meson build system
Version: 1.5.2
Source dir: /tmp/pkgbuild/graphics/MesaLib/work.sparc64/mesa-21.3.9
Build dir: /tmp/pkgbuild/graphics/MesaLib/work.sparc64/mesa-21.3.9/output
Build type: native build
Program python3 found: YES (/tmp/pkgbuild/graphics/MesaLib/work.sparc64/.buildlink/bin/python3)
Project name: mesa
Project version: 21.3.9
C compiler for the host machine: gcc (gcc 10.5.0 "gcc (nb3 20231008) 10.5.0")
C linker for the host machine: gcc ld.bfd 2.34
C++ compiler for the host machine: c++ (gcc 10.5.0 "g++ (nb3 20231008) 10.5.0")
C++ linker for the host machine: c++ ld.bfd 2.34
Host machine cpu family: sparc64
Host machine cpu: sparc64
meson.build:115: WARNING: gles1 option "true" deprecated, please use "enabled" instead.
meson.build:123: WARNING: gles2 option "true" deprecated, please use "enabled" instead.
meson.build:142: WARNING: shared-glapi option "true" deprecated, please use "enabled" instead.
meson.build:405: WARNING: gbm option "true" deprecated, please use "enabled" instead.
meson.build:465: WARNING: egl option "true" deprecated, please use "enabled" instead.
meson.build:619: WARNING: gallium-vdpau option "false" deprecated, please use "disabled" instead.
meson.build:680: WARNING: gallium-xvmc option "false" deprecated, please use "disabled" instead.
Found pkg-config: YES (/tmp/pkgbuild/graphics/MesaLib/work.sparc64/.tools/bin/pkg-config) 2.3.0
WARNING: Found CMake '/tmp/pkgbuild/graphics/MesaLib/work.sparc64/.tools/bin/false' but couldn't run it
Found CMake: NO
Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
Run-time dependency libtizonia found: NO (tried pkgconfig and cmake)
Run-time dependency libtizplatform found: NO (tried pkgconfig and cmake)
Run-time dependency tizilheaders found: NO (tried pkgconfig and cmake)
Run-time dependency libva found: YES 1.22.0
Header "va/va.h" has symbol "VASurfaceAttribDRMFormatModifiers" with dependency libva: YES 
Program python3 found: YES (/tmp/pkgbuild/graphics/MesaLib/work.sparc64/.buildlink/bin/python3)
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Fetching value of define "ETIME" : 92 
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 for function "types_compatible_p" : YES 
Compiler for C supports function attribute const: YES 
Compiler for C supports function attribute flatten: YES 
Compiler for C supports function attribute malloc: YES 
Compiler for C supports function attribute pure: YES 
Compiler for C supports function attribute unused: YES 
Compiler for C supports function attribute warn_unused_result: YES 
Compiler for C supports function attribute weak: YES 
Compiler for C supports function attribute format: YES 
Compiler for C supports function attribute packed: YES 
Compiler for C supports function attribute returns_nonnull: YES 
Compiler for C supports function attribute alias: YES 
Compiler for C supports function attribute noreturn: YES 
Compiler for C supports function attribute visibility:hidden: 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 -Werror=int-conversion: YES 
Compiler for C supports arguments -Wimplicit-fallthrough: YES 
Compiler for C supports arguments -Wno-missing-field-initializers: YES 
Compiler for C supports arguments -Wno-format-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 -fno-common: YES 
Compiler for C supports arguments -Werror=format: YES 
Compiler for C supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Werror=thread-safety: NO 
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: YES 
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES 
Compiler for C++ supports arguments -Wno-format-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 -flifetime-dse=1: YES 
Compiler for C++ supports arguments -Werror=format: YES 
Compiler for C++ supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Wno-override-init: YES 
Compiler for C supports arguments -Wno-initializer-overrides: NO 
Compiler for C supports arguments -Werror=pointer-arith: YES 
Compiler for C++ supports arguments -Werror=pointer-arith: YES 
Compiler for C supports arguments -Werror=gnu-empty-initializer: NO 
Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO 
Compiler for C supports arguments -Wmicrosoft-enum-value: NO 
Checking if "GCC atomic builtins" compiles: YES 
Checking if "GCC atomic builtins required -latomic" : links: YES 
Checking if "GCC 64bit atomics" with dependency : links: YES 
Library ws2_32 found: NO
Header "sys/sysmacros.h" has symbol "major" : NO 
Header "sys/mkdev.h" has symbol "major" : NO 
Check usable header "sched.h" : YES 
Checking for function "sched_getaffinity" : NO 
Check usable header "sys/sysctl.h" : YES 
Check usable header "xlocale.h" : NO 
Check usable header "linux/futex.h" : NO 
Check usable header "endian.h" : YES 
Check usable header "dlfcn.h" : YES 
Check usable header "sys/shm.h" : YES 
Check usable header "cet.h" : NO 
Check usable header "pthread_np.h" : NO 
Checking for function "strtof" : YES 
Checking for function "mkostemp" : YES 
Checking for function "timespec_get" : YES 
Checking for function "memfd_create" : NO 
Checking for function "random_r" : NO 
Checking for function "flock" : YES 
Checking for function "strtok_r" : YES 
Checking for function "getrandom" : YES 
Checking for function "qsort_r" : NO 
Checking for function "qsort_s" : NO 
Header "errno.h" has symbol "program_invocation_name" : NO 
Checking for function "posix_memalign" : YES 
Checking whether type "struct dirent" has member "d_type" : YES 
Checking if "strtod has locale support" : links: YES 
Checking if "Bsymbolic" : links: YES 
Checking if "gc-sections" : links: YES 
Checking if "version-script" : links: YES 
Checking if "dynamic-list" : links: YES 
Compiler for C supports link arguments -Wl,--build-id=sha1: YES 
Checking for function "dlopen" : YES 
Checking for function "dladdr" with dependency : YES 
Checking for function "dl_iterate_phdr" : YES 
Checking for function "clock_gettime" : YES 
Run-time dependency zlib found: YES 1.2.10
Run-time dependency libzstd found: NO (tried pkgconfig and cmake)
Run-time dependency threads found: YES
Run-time dependency expat found: YES 2.4.6
Library m found: YES
Message: libdrm 2.4.102 needed because nouveau has the highest requirement
Run-time dependency libdrm_radeon found: YES 2.4.109
Run-time dependency libdrm_nouveau found: NO (tried pkgconfig)

meson.build:1639:6: ERROR: Dependency "libdrm_nouveau" not found, tried pkgconfig

A full log can be found at /tmp/pkgbuild/graphics/MesaLib/work.sparc64/mesa-21.3.9/output/meson-logs/meson-log.txt
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/graphics/MesaLib
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/MesaLib