=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for mesa-21.3.7.tar.xz => Checksum SHA512 OK for mesa-21.3.7.tar.xz ===> Installing dependencies for MesaLib-21.3.7 ========================================================================== The supported build options for MesaLib are: elf-tls 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.7. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 39 Based on these variables, the following variables have been set: * PYPACKAGE = python39 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 py39-mako-[0-9]*: found py39-mako-1.1.6nb2 => Tool dependency py39-cElementTree-[0-9]*: found py39-cElementTree-3.9.12 => Tool dependency meson>=0: found meson-0.61.3 => Tool dependency python39>=3.9: found python39-3.9.12 => Tool dependency bison>=1.0: found bison-3.8.2 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency x11-links>=1.34: found x11-links-1.34 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency libdrm>=2.4.100: found libdrm-2.4.110 => Full dependency libva>=2.13.0: found libva-2.14.0 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Overriding tools for MesaLib-21.3.7 ===> Extracting for MesaLib-21.3.7 ===> Patching for MesaLib-21.3.7 => Applying pkgsrc patches for MesaLib-21.3.7 => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_compiler_builtin__type__macros.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_compiler_builtin__type__macros.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_compiler_builtin__type__macros.h,v 1.2 2019/08/31 17:56:09 nia Exp $ | |Workaround netbsd 8 headers. | |--- src/compiler/builtin_type_macros.h.orig 2018-09-07 21:18:07.000000000 +0000 |+++ src/compiler/builtin_type_macros.h -------------------------- Patching file src/compiler/builtin_type_macros.h using Plan A... Hunk #1 succeeded at 28. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_drm-shim_drm__shim.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_drm-shim_drm__shim.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_drm-shim_drm__shim.c,v 1.1 2022/03/13 15:52:50 tnn Exp $ | |atexit() is not a good idea in shared libraries. | |--- src/drm-shim/drm_shim.c.orig 2021-07-14 20:04:46.724922400 +0000 |+++ src/drm-shim/drm_shim.c -------------------------- Patching file src/drm-shim/drm_shim.c using Plan A... Hunk #1 succeeded at 172 (offset 10 lines). Hunk #2 succeeded at 239 (offset 8 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_egl_drivers_dri2_platform__drm.c,v 1.5 2020/01/21 14:41:26 nia Exp $ | |Revert: https://cgit.freedesktop.org/mesa/mesa/commit/?id=621b0fa8922ade0a8122b868177308e65e6d3595 | |This causes symbol referencing errors: |"ld: /usr/pkg/lib/libEGL.so.1: undefined reference to `gbm_format_get_name'" | |TODO: Talk to upstream and investigate why. | |--- src/egl/drivers/dri2/platform_drm.c.orig 2019-12-04 22:10:12.000000000 +0000 |+++ src/egl/drivers/dri2/platform_drm.c -------------------------- Patching file src/egl/drivers/dri2/platform_drm.c using Plan A... Hunk #1 succeeded at 659 (offset 10 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__x11.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__x11.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_egl_drivers_dri2_platform__x11.c,v 1.4 2022/03/13 15:50:05 tnn Exp $ | |Provide compat strndup for older Darwin. | |* From FreeBSD ports 18.0.0: |work-around for https://bugs.freedesktop.org/show_bug.cgi?id=100627 | |Mon Apr 10 19:14:48 2017 UTC |DRI3 remains enabled at compile time, but it is now disabled at |runtime for stock FreeBSD. Set LIBGL_DRI3_ENABLE in the |environment to enable DRI3. |This change was made to work around a problem in libEGL, |which fails to fall back to using DRI2 when run on a system |without DRI3 support. | |* Added logging statement to note dri3 initialization being invoked. | |--- src/egl/drivers/dri2/platform_x11.c.orig 2021-07-14 20:04:46.732922600 +0000 |+++ src/egl/drivers/dri2/platform_x11.c -------------------------- Patching file src/egl/drivers/dri2/platform_x11.c using Plan A... Hunk #1 succeeded at 628. Hunk #2 succeeded at 1556. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_egl_main_eglglobals.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_egl_main_eglglobals.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_egl_main_eglglobals.c,v 1.2 2019/08/21 13:35:28 nia Exp $ | |atexit() is not a good idea in shared libraries. | |FreeBSD reported atexit bug for 10.6: |https://bugs.freedesktop.org/show_bug.cgi?id=91869 | |--- src/egl/main/eglglobals.c.orig 2018-01-18 21:30:28.000000000 +0000 |+++ src/egl/main/eglglobals.c -------------------------- Patching file src/egl/main/eglglobals.c using Plan A... Hunk #1 succeeded at 104 (offset 19 lines). Hunk #2 succeeded at 129 (offset 19 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c,v 1.1 2019/08/21 13:35:28 nia Exp $ | |* From FreeBSD ports / DragonFly dports graphics/mesa-dri | |Revert the following commit. | |FreeBSD and DragonFly don't have the required render nodes. | |------- | |From 69a1b9959e59653da262185c4e2cf57d24939b19 Mon Sep 17 00:00:00 2001 |Date: Mon, 29 Jun 2015 12:36:45 +0100 |Subject: pipe-loader: drop support for non-render node devices | |Render nodes have been around for quite some time. Removing support via |the master/primary node allows us to clean up the conditional |compilation and simplify the build greatly. | |For example currently we the pipe-loader, which explicitly links against |xcb and friends (for X auth) if found at compile-time. That |would cause problems as one will be forced to use X/xcb, even if it's a |headless system that is used for opencl. | |v2: Clarify the linking topic in the commit message. | |* Extended for NetBSD. | |--- src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c.orig 2018-12-11 21:13:57.000000000 +0000 |+++ src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c -------------------------- Patching file src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c using Plan A... Hunk #1 succeeded at 197 (offset -32 lines). Hunk #2 succeeded at 219 (offset -32 lines). Hunk #3 succeeded at 246 (offset -32 lines). Hunk #4 succeeded at 260 (offset -32 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_auxiliary_rbug_rbug__texture.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_auxiliary_rbug_rbug__texture.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_auxiliary_rbug_rbug__texture.c,v 1.1 2019/10/29 20:20:04 nia Exp $ | |Needs alloca definition. | |--- src/gallium/auxiliary/rbug/rbug_texture.c.orig 2019-10-24 16:13:03.000000000 +0000 |+++ src/gallium/auxiliary/rbug/rbug_texture.c -------------------------- Patching file src/gallium/auxiliary/rbug/rbug_texture.c using Plan A... Hunk #1 succeeded at 38 (offset 2 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_freedreno_freedreno__screen.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_freedreno_freedreno__screen.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_drivers_freedreno_freedreno__screen.c,v 1.1 2022/03/13 15:52:50 tnn Exp $ | |sysinfo(2) is for Linux only | |--- src/gallium/drivers/freedreno/freedreno_screen.c.orig 2021-12-01 19:04:14.000000000 +0000 |+++ src/gallium/drivers/freedreno/freedreno_screen.c -------------------------- Patching file src/gallium/drivers/freedreno/freedreno_screen.c using Plan A... Hunk #1 succeeded at 43. Hunk #2 succeeded at 1022. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_freedreno_freedreno__util.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_freedreno_freedreno__util.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_drivers_freedreno_freedreno__util.h,v 1.1 2022/03/13 15:52:50 tnn Exp $ | |gettid() is linux-specific | |--- src/gallium/drivers/freedreno/freedreno_util.h.orig 2022-01-12 21:32:28.000000000 +0000 |+++ src/gallium/drivers/freedreno/freedreno_util.h -------------------------- Patching file src/gallium/drivers/freedreno/freedreno_util.h using Plan A... Hunk #1 succeeded at 108. Hunk #2 succeeded at 116. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_llvmpipe_lp__memory.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_llvmpipe_lp__memory.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_drivers_llvmpipe_lp__memory.c,v 1.1 2020/03/08 10:35:03 tnn Exp $ | |Force the symbol into data rather than bss to work around linking |problem on OS X. | |Undefined symbols for architecture x86_64: | "_lp_dummy_tile", referenced from: | _lp_rast_create in libllvmpipe.a(lp_rast.c.o) | _llvmpipe_launch_grid in libllvmpipe.a(lp_state_cs.c.o) | _lp_setup_set_fragment_sampler_views in libllvmpipe.a(lp_setup.c.o) | |--- src/gallium/drivers/llvmpipe/lp_memory.c.orig 2020-03-05 21:34:31.000000000 +0000 |+++ src/gallium/drivers/llvmpipe/lp_memory.c -------------------------- Patching file src/gallium/drivers/llvmpipe/lp_memory.c using Plan A... Hunk #1 succeeded at 32. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nouveau__vp3__video.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nouveau__vp3__video.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_drivers_nouveau_nouveau__vp3__video.c,v 1.2 2019/08/21 13:35:28 nia Exp $ | |Fix build on platforms without close-on-exec. | |--- src/gallium/drivers/nouveau/nouveau_vp3_video.c.orig 2017-02-13 11:55:49.000000000 +0000 |+++ src/gallium/drivers/nouveau/nouveau_vp3_video.c -------------------------- Patching file src/gallium/drivers/nouveau/nouveau_vp3_video.c using Plan A... Hunk #1 succeeded at 293 (offset -1 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nv50_nv84__video.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nv50_nv84__video.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_drivers_nouveau_nv50_nv84__video.c,v 1.2 2019/08/21 13:35:28 nia Exp $ | |Fix build on platforms without close-on-exec. | |--- src/gallium/drivers/nouveau/nv50/nv84_video.c.orig 2015-03-21 00:51:18.000000000 +0000 |+++ src/gallium/drivers/nouveau/nv50/nv84_video.c -------------------------- Patching file src/gallium/drivers/nouveau/nv50/nv84_video.c using Plan A... Hunk #1 succeeded at 34. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_vc4_vc4__bufmgr.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_vc4_vc4__bufmgr.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_drivers_vc4_vc4__bufmgr.c,v 1.1 2019/08/21 13:35:28 nia Exp $ | |Patch from FreeBSD ports graphics/mesa-dri 17.1.0 | |# define ETIME as ETIMEOUT same as in intel driver | |--- src/gallium/drivers/vc4/vc4_bufmgr.c.orig 2017-05-25 07:13:13.000000000 +0000 |+++ src/gallium/drivers/vc4/vc4_bufmgr.c -------------------------- Patching file src/gallium/drivers/vc4/vc4_bufmgr.c using Plan A... Hunk #1 succeeded at 27. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_frontends_clover_util_range.hpp => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_frontends_clover_util_range.hpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_frontends_clover_util_range.hpp,v 1.1 2022/03/13 15:52:50 tnn Exp $ | |From FreeBSD ports for mesa 17.1.10: | |From b95533b981af9a6687b41418e7cc2a5652fc2bdb Mon Sep 17 00:00:00 2001 |Date: Fri, 7 Mar 2014 15:16:08 +0100 |Subject: [PATCH 3/3] Work around for clang 3.4 which fails to build Clover | |See: | https://bugs.freedesktop.org/show_bug.cgi?id=74098#c3 | |--- src/gallium/frontends/clover/util/range.hpp.orig 2021-07-14 20:04:53.703990500 +0000 |+++ src/gallium/frontends/clover/util/range.hpp -------------------------- Patching file src/gallium/frontends/clover/util/range.hpp using Plan A... Hunk #1 succeeded at 362. Hunk #2 succeeded at 377. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_frontends_osmesa_osmesa.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_frontends_osmesa_osmesa.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_frontends_osmesa_osmesa.c,v 1.1 2022/03/13 15:52:50 tnn Exp $ | |atexit() is not a good idea in shared libraries. | |--- src/gallium/frontends/osmesa/osmesa.c.orig 2021-07-14 20:04:55.420007000 +0000 |+++ src/gallium/frontends/osmesa/osmesa.c -------------------------- Patching file src/gallium/frontends/osmesa/osmesa.c using Plan A... Hunk #1 succeeded at 134. Hunk #2 succeeded at 155. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_dri__common.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_dri__common.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_glx_dri__common.c,v 1.1 2022/03/13 15:52:50 tnn Exp $ | |atexit() is not a good idea in shared libraries. | |FreeBSD reported atexit bug for 10.6: |https://bugs.freedesktop.org/show_bug.cgi?id=91869 | |--- src/glx/dri_common.c.orig 2021-07-14 20:04:55.743010300 +0000 |+++ src/glx/dri_common.c -------------------------- Patching file src/glx/dri_common.c using Plan A... Hunk #1 succeeded at 666 (offset -24 lines). Hunk #2 succeeded at 763 (offset -24 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_dri__common.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_dri__common.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_glx_dri__common.h,v 1.1 2019/08/21 13:35:28 nia Exp $ | |Fix error on OSX. | |--- src/glx/dri_common.h.orig 2019-01-17 11:26:23.000000000 +0000 |+++ src/glx/dri_common.h -------------------------- Patching file src/glx/dri_common.h using Plan A... Hunk #1 succeeded at 57 (offset 2 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_glxclient.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_glxclient.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_glx_glxclient.h,v 1.3 2022/03/13 15:50:05 tnn Exp $ | |NetBSD only supports zero-initialized initial-exec tls variables in conjuction |with dlopen(3) at the moment. | |--- src/glx/glxclient.h.orig 2021-08-04 18:49:29.150474000 +0000 |+++ src/glx/glxclient.h -------------------------- Patching file src/glx/glxclient.h using Plan A... Hunk #1 succeeded at 647 (offset -1 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_glxcurrent.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_glxcurrent.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_glx_glxcurrent.c,v 1.5 2022/03/13 15:50:05 tnn Exp $ | |Interim fix for toolchain/50277. | |NetBSD only supports zero-initialized initial-exec tls variables in conjuction |with dlopen(3) at the moment. | |--- src/glx/glxcurrent.c.orig 2021-08-04 18:49:29.150474000 +0000 |+++ src/glx/glxcurrent.c -------------------------- Patching file src/glx/glxcurrent.c using Plan A... Hunk #1 succeeded at 40. Hunk #2 succeeded at 90. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_glxext.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_glxext.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_glx_glxext.c,v 1.2 2022/03/13 15:50:05 tnn Exp $ | |* Patch from FreeBSD ports graphics/mesa-dri 18.0.0 | |# work-around for https://bugs.freedesktop.org/show_bug.cgi?id=100627 | |* Extended to DragonFly and NetBSD. Other OSes might need this as well. | |* Added logging statements to note dri3 initialization being invoked. | |--- src/glx/glxext.c.orig 2021-07-14 20:04:55.750010300 +0000 |+++ src/glx/glxext.c -------------------------- Patching file src/glx/glxext.c using Plan A... Hunk #1 succeeded at 818 (offset -1 lines). Hunk #2 succeeded at 928 (offset -1 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_intel_compiler_brw__fs__bank__conflicts.cpp => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_intel_compiler_brw__fs__bank__conflicts.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_intel_compiler_brw__fs__bank__conflicts.cpp,v 1.1 2019/08/21 13:35:28 nia Exp $ | |https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225415 |FreeBSD Bugzilla: Bug 225415 graphics/mesa-dri: update to 18.0.0 | |compiler/brw_fs_bank_conflicts.cpp:719:25: error: scalar initializer cannot be empty | vector_type s_p = {}, s_n = {}; | ^~ |compiler/brw_fs_bank_conflicts.cpp:719:35: error: scalar initializer cannot be empty | vector_type s_p = {}, s_n = {}; | ^~ | |--- src/intel/compiler/brw_fs_bank_conflicts.cpp.orig 2018-02-09 02:17:59.000000000 +0000 |+++ src/intel/compiler/brw_fs_bank_conflicts.cpp -------------------------- Patching file src/intel/compiler/brw_fs_bank_conflicts.cpp using Plan A... Hunk #1 succeeded at 737 (offset 21 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_intel_tools_aubinator__error__decode.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_intel_tools_aubinator__error__decode.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_intel_tools_aubinator__error__decode.c,v 1.1 2019/08/21 13:35:28 nia Exp $ | |Patch from FreeBSD ports graphics/mesa-dri 17.1.0 | |# expose getline in FreeBSD's stdio.h |# | |--- src/intel/tools/aubinator_error_decode.c.orig 2017-05-25 07:13:13.000000000 +0000 |+++ src/intel/tools/aubinator_error_decode.c -------------------------- Patching file src/intel/tools/aubinator_error_decode.c using Plan A... Hunk #1 succeeded at 22. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_entry__x86-64__tls.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_entry__x86-64__tls.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mapi_entry__x86-64__tls.h,v 1.6 2022/03/13 15:50:05 tnn Exp $ | |NetBSD only supports zero-initialized initial-exec tls variables in conjuction |with dlopen(3) at the moment. | |table_noop_array is only defined for shared-glapi. |es1api and es2api are not going to be patched for NetBSD. | |--- src/mapi/entry_x86-64_tls.h.orig 2021-07-14 20:04:57.805030000 +0000 |+++ src/mapi/entry_x86-64_tls.h -------------------------- Patching file src/mapi/entry_x86-64_tls.h using Plan A... Hunk #1 succeeded at 38. Hunk #2 succeeded at 97. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_entry__x86__tls.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_entry__x86__tls.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mapi_entry__x86__tls.h,v 1.7 2022/03/13 15:50:05 tnn Exp $ | |NetBSD only supports zero-initialized initial-exec tls variables in conjuction |with dlopen(3) at the moment. | |--- src/mapi/entry_x86_tls.h.orig 2021-07-14 20:04:57.805030000 +0000 |+++ src/mapi/entry_x86_tls.h -------------------------- Patching file src/mapi/entry_x86_tls.h using Plan A... Hunk #1 succeeded at 51. Hunk #2 succeeded at 83. Hunk #3 succeeded at 97. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_u__current.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_u__current.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mapi_u__current.c,v 1.4 2022/03/13 15:50:05 tnn Exp $ | |NetBSD only supports zero-initialized initial-exec tls variables in conjuction |with dlopen(3) at the moment. | |--- src/mapi/u_current.c.orig 2021-08-04 18:49:29.246474300 +0000 |+++ src/mapi/u_current.c -------------------------- Patching file src/mapi/u_current.c using Plan A... Hunk #1 succeeded at 101. Hunk #2 succeeded at 255. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_context.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_context.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mesa_main_context.c,v 1.6 2022/03/13 15:52:50 tnn Exp $ | |atexit() is not a good idea in shared libraries. | |--- src/mesa/main/context.c.orig 2021-07-14 20:04:58.296035000 +0000 |+++ src/mesa/main/context.c -------------------------- Patching file src/mesa/main/context.c using Plan A... Hunk #1 succeeded at 256 (offset -68 lines). Hunk #2 succeeded at 293 (offset -68 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_extensions.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_extensions.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mesa_main_extensions.c,v 1.3 2022/03/13 15:50:05 tnn Exp $ | |atexit() is not a good idea in shared libraries. | |FreeBSD reported atexit bug for 10.6: |https://bugs.freedesktop.org/show_bug.cgi?id=91869 | |--- src/mesa/main/extensions.c.orig 2021-07-14 20:04:58.316035000 +0000 |+++ src/mesa/main/extensions.c -------------------------- Patching file src/mesa/main/extensions.c using Plan A... Hunk #1 succeeded at 213. Hunk #2 succeeded at 308. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_formats.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_formats.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mesa_main_formats.c,v 1.1 2022/03/13 15:52:50 tnn Exp $ | |atexit() is not a good idea in shared libraries. | |--- src/mesa/main/formats.c.orig 2021-07-14 20:04:58.323035200 +0000 |+++ src/mesa/main/formats.c -------------------------- Patching file src/mesa/main/formats.c using Plan A... Hunk #1 succeeded at 451. Hunk #2 succeeded at 500. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_shader__query.cpp => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_shader__query.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mesa_main_shader__query.cpp,v 1.2 2019/08/21 13:35:28 nia Exp $ | |https://bugs.freedesktop.org/show_bug.cgi?id=66346 | |From c4a1fec68d2508ff0c4fc2831465aca8c4ca783a Mon Sep 17 00:00:00 2001 |From: Julien Isorce |Date: Wed, 22 Apr 2015 23:04:42 +0100 |Subject: [PATCH 1/2] shader_query: convert GLhandleARB to uintptr_t before | troncating to GLuint | |Fixes compiler error on OSX as GLhandleARB is defined as void* if __APPLE__. | |https://bugs.freedesktop.org/show_bug.cgi?id=66346 |--- | src/mesa/main/shader_query.cpp | 6 +++--- | 1 file changed, 3 insertions(+), 3 deletions(-) | |--- src/mesa/main/shader_query.cpp.orig 2016-11-10 22:05:17.000000000 +0000 |+++ src/mesa/main/shader_query.cpp -------------------------- Patching file src/mesa/main/shader_query.cpp using Plan A... Hunk #1 succeeded at 148 (offset 78 lines). Hunk #2 succeeded at 95 (offset -24 lines). Hunk #3 succeeded at 247 (offset 78 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_x86_common__x86.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_x86_common__x86.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mesa_x86_common__x86.c,v 1.3 2019/08/21 13:35:28 nia Exp $ | |DragonFly support. | |--- src/mesa/x86/common_x86.c.orig 2017-05-10 14:13:58.000000000 +0000 |+++ src/mesa/x86/common_x86.c -------------------------- Patching file src/mesa/x86/common_x86.c using Plan A... Hunk #1 succeeded at 35. Hunk #2 succeeded at 128 (offset 3 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_build__id.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_build__id.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util_build__id.c,v 1.1 2019/08/21 13:35:28 nia Exp $ | |Patch taken from FreeBSD ports graphics/mesa-dri mesa 17.1.0. | |# Elf_ doesn't exist, use Elf32_ or Elf64_. | |--- src/util/build_id.c.orig 2018-09-07 21:18:07.000000000 +0000 |+++ src/util/build_id.c -------------------------- Patching file src/util/build_id.c using Plan A... Hunk #1 succeeded at 35. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_disk__cache__os.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_disk__cache__os.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util_disk__cache__os.c,v 1.1 2022/03/13 15:52:50 tnn Exp $ | |--- src/util/disk_cache_os.c.orig 2021-12-29 21:05:19.000000000 +0000 |+++ src/util/disk_cache_os.c -------------------------- Patching file src/util/disk_cache_os.c using Plan A... Hunk #1 succeeded at 167. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_libsync.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_libsync.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util_libsync.h,v 1.1 2022/03/13 15:52:50 tnn Exp $ | |sys/ioccom.h for _IOWR | |--- src/util/libsync.h.orig 2022-01-12 21:32:28.000000000 +0000 |+++ src/util/libsync.h -------------------------- Patching file src/util/libsync.h using Plan A... Hunk #1 succeeded at 34. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_strndup.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_strndup.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util_strndup.h,v 1.2 2019/08/21 13:35:28 nia Exp $ | |Provide compat strndup for older Darwin. | |--- src/util/strndup.h.orig 2017-05-10 14:13:58.000000000 +0000 |+++ src/util/strndup.h -------------------------- Patching file src/util/strndup.h using Plan A... Hunk #1 succeeded at 24. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_u__atomic.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_u__atomic.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util_u__atomic.h,v 1.2 2019/08/21 13:35:28 nia Exp $ | |Fix SunOS atomic macros. | |--- src/util/u_atomic.h.orig 2018-09-07 21:18:07.000000000 +0000 |+++ src/util/u_atomic.h -------------------------- Patching file src/util/u_atomic.h using Plan A... Hunk #1 succeeded at 20. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_u__printf.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_u__printf.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util_u__printf.h,v 1.1 2022/03/13 15:52:50 tnn Exp $ | |include cstdarg for va_list | |--- src/util/u_printf.h.orig 2021-12-01 19:04:14.000000000 +0000 |+++ src/util/u_printf.h -------------------------- Patching file src/util/u_printf.h using Plan A... Hunk #1 succeeded at 25. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_u__process.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_u__process.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util_u__process.c,v 1.1 2022/03/13 15:52:50 tnn Exp $ | |atexit() is not a good idea in shared libraries. | |--- src/util/u_process.c.orig 2021-07-14 20:04:59.260044300 +0000 |+++ src/util/u_process.c -------------------------- Patching file src/util/u_process.c using Plan A... Hunk #1 succeeded at 53 (offset 5 lines). Hunk #2 succeeded at 79 (offset 5 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_u__queue.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_u__queue.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util_u__queue.c,v 1.3 2022/03/13 15:50:05 tnn Exp $ | |atexit() is not a good idea in shared libraries. | |FreeBSD reported atexit bug for 10.6: |https://bugs.freedesktop.org/show_bug.cgi?id=91869 | |--- src/util/u_queue.c.orig 2021-07-14 20:04:59.260044300 +0000 |+++ src/util/u_queue.c -------------------------- Patching file src/util/u_queue.c using Plan A... Hunk #1 succeeded at 58. Hunk #2 succeeded at 86. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_u__thread.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_util_u__thread.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util_u__thread.h,v 1.5 2022/03/13 15:50:05 tnn Exp $ | |Oracle Solaris has pthread_setname_np. illumos does not. |(actually, newer Illumos does have it, but never mind.) | |Don't hard error when there's no pthread_setname_np. | |handle NetBSD-style pthread_setaffinity_np(3) | |--- src/util/u_thread.h.orig 2021-08-04 18:49:29.374474500 +0000 |+++ src/util/u_thread.h -------------------------- Patching file src/util/u_thread.h using Plan A... Hunk #1 succeeded at 129. Hunk #2 succeeded at 169. Hunk #3 succeeded at 212. Hunk #4 succeeded at 266. done ===> Creating toolchain wrappers for MesaLib-21.3.7 ===> Configuring for MesaLib-21.3.7 => Generating pkg-config file for builtin expat package. => Checking for portability problems in extracted files cd /usr/pkgsrc/graphics/MesaLib/work/mesa-21.3.7 && cd . && /usr/bin/env USETOOLS=no CMAKE=false PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr PYTHON=/usr/pkg/bin/python3.9 CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -Dalloca=__builtin_alloca\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/pkg/include/libdrm\ -I/usr/include CPPFLAGS=-DHAVE_NOATEXIT\ -DSYSCONFDIR=/usr/pkg/etc\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/pkg/include/libdrm\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -Dalloca=__builtin_alloca\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/pkg/include/libdrm\ -I/usr/include\ -Dalloca=__builtin_alloca COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/graphics/MesaLib/work/.cwrapper/bin:/usr/pkgsrc/graphics/MesaLib/work/.buildlink/bin:/usr/pkgsrc/graphics/MesaLib/work/.tools/bin:/usr/pkgsrc/graphics/MesaLib/work/.gcc/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pbulk/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/usr/pkgsrc/graphics/MesaLib/work/.home CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/graphics/MesaLib/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/graphics/MesaLib/work/.tools/bin/makeinfo FLEX=/usr/pkgsrc/graphics/MesaLib/work/.tools/bin/flex BISON=/usr/pkgsrc/graphics/MesaLib/work/.tools/bin/bison ITSTOOL=/usr/pkgsrc/graphics/MesaLib/work/.tools/bin/itstool GDBUS_CODEGEN=/usr/pkgsrc/graphics/MesaLib/work/.tools/bin/gdbus-codegen PKG_CONFIG=/usr/pkgsrc/graphics/MesaLib/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/usr/pkgsrc/graphics/MesaLib/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/graphics/MesaLib/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/graphics/MesaLib/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/graphics/MesaLib/work/.cwrapper/config meson --prefix /usr/pkg --libdir lib --libexecdir libexec --mandir man --sysconfdir /usr/pkg/etc --buildtype=plain -Dllvm=disabled -Dglx=dri -Dgallium-vdpau=false -Degl=true -Dgbm=true -Dgallium-xa=enabled -Dgallium-va=enabled -Dgallium-drivers=swrast,nouveau,r300 -Ddri-drivers=nouveau,r100,r200 -Dvulkan-drivers= -Dplatforms=x11 -Dgles1=true -Dgles2=true -Dosmesa=true -Dshared-glapi=true -Dgallium-xvmc=false . output The Meson build system Version: 0.61.3 Source dir: /usr/pkgsrc/graphics/MesaLib/work/mesa-21.3.7 Build dir: /usr/pkgsrc/graphics/MesaLib/work/mesa-21.3.7/output Build type: native build Program python3 found: YES (/usr/pkgsrc/graphics/MesaLib/work/.buildlink/bin/python3) Project name: mesa Project version: 21.3.7 C compiler for the host machine: gcc (gcc 7.4.0 "gcc (nb3 20190319) 7.4.0") C linker for the host machine: gcc ld.bfd 2.31.1 C++ compiler for the host machine: c++ (gcc 7.4.0 "g++ (nb3 20190319) 7.4.0") C++ linker for the host machine: c++ ld.bfd 2.31.1 Host machine cpu family: ppc Host machine cpu: powerpc meson.build:103: WARNING: gles1 option "true" deprecated, please use "enabled" instead. meson.build:111: WARNING: gles2 option "true" deprecated, please use "enabled" instead. meson.build:130: WARNING: shared-glapi option "true" deprecated, please use "enabled" instead. meson.build:389: WARNING: gbm option "true" deprecated, please use "enabled" instead. meson.build:449: WARNING: egl option "true" deprecated, please use "enabled" instead. meson.build:589: WARNING: gallium-vdpau option "false" deprecated, please use "disabled" instead. meson.build:650: WARNING: gallium-xvmc option "false" deprecated, please use "disabled" instead. Found pkg-config: /usr/pkgsrc/graphics/MesaLib/work/.tools/bin/pkg-config (1.8.0) WARNING: Found CMake '/usr/pkgsrc/graphics/MesaLib/work/.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.14.0 Header has symbol "VASurfaceAttribDRMFormatModifiers" with dependency libva: YES Program python3 found: YES (/usr/pkgsrc/graphics/MesaLib/work/.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" : NO 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: NO 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: NO meson.build:1294:4: ERROR: C shared or static library 'atomic' not found A full log can be found at /usr/pkgsrc/graphics/MesaLib/work/mesa-21.3.7/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