=> Bootstrap dependency digest>=20211023: found digest-20211023 => Checksum BLAKE2s OK for mesa-20.0.6.tar.xz => Checksum SHA512 OK for mesa-20.0.6.tar.xz ===> Installing dependencies for MesaLib-20.0.6nb2 ========================================================================== 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-20.0.6nb2. 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.6 => Tool dependency py39-cElementTree-[0-9]*: found py39-cElementTree-3.9.9 => Tool dependency meson>=0: found meson-0.60.2 => Tool dependency python39>=3.9: found python39-3.9.9nb1 => 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.100 => Full dependency libva>=2.3.0: found libva-2.6.1 ===> 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-20.0.6nb2 ===> Extracting for MesaLib-20.0.6nb2 ===> Patching for MesaLib-20.0.6nb2 => Applying pkgsrc patches for MesaLib-20.0.6nb2 => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_amd_common_ac__debug.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_amd_common_ac__debug.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_amd_common_ac__debug.c,v 1.1 2019/08/21 13:35:28 nia Exp $ | |#if'out some debug code on SunOS. There is no open_memstream(3) | |--- src/amd/common/ac_debug.c.orig 2019-01-17 11:26:22.000000000 +0000 |+++ src/amd/common/ac_debug.c -------------------------- Patching file src/amd/common/ac_debug.c using Plan A... Hunk #1 succeeded at 584 (offset 13 lines). done => 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_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 660 (offset 11 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.3 2019/08/21 13:35:28 nia 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 2018-02-09 02:17:57.000000000 +0000 |+++ src/egl/drivers/dri2/platform_x11.c -------------------------- Patching file src/egl/drivers/dri2/platform_x11.c using Plan A... Hunk #1 succeeded at 635 (offset 27 lines). Hunk #2 succeeded at 1540 (offset 57 lines). 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 93 (offset 8 lines). Hunk #2 succeeded at 118 (offset 8 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 249 (offset 20 lines). Hunk #2 succeeded at 271 (offset 20 lines). Hunk #3 succeeded at 298 (offset 20 lines). Hunk #4 succeeded at 312 (offset 20 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_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 294. 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_radeonsi_si__state__shaders.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_drivers_radeonsi_si__state__shaders.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_drivers_radeonsi_si__state__shaders.c,v 1.2 2019/10/18 09:57:07 nia Exp $ | |#if'out some debug code on SunOS. There is no open_memstream(3) | |--- src/gallium/drivers/radeonsi/si_state_shaders.c.orig 2019-10-09 16:52:00.000000000 +0000 |+++ src/gallium/drivers/radeonsi/si_state_shaders.c -------------------------- Patching file src/gallium/drivers/radeonsi/si_state_shaders.c using Plan A... Hunk #1 succeeded at 2208 (offset 95 lines). 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_state__trackers_clover_llvm_invocation.cpp => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_state__trackers_clover_llvm_invocation.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_state__trackers_clover_llvm_invocation.cpp,v 1.2 2020/03/08 10:35:03 tnn Exp $ | |Patch from FreeBSD ports graphics/mesa-dri 17.1.0 | |# fix errors like the following |# |# llvm/invocation.cpp:(.text+0x1275): undefined reference to `std::__1::basic_string, std::__1::allocator >::c_str() | const' |# /usr/bin/ld: ../../../../src/gallium/state_trackers/clover/.libs/libclover.a(libclllvm_la-invocation.o): relocation R_X86_64_PC32 against `_ZNKSt3__112bas |ic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE5c_strEv' can not be used when making a shared object; recompile with -fPIC |# /usr/bin/ld: final link failed: Bad value |# | |--- src/gallium/state_trackers/clover/llvm/invocation.cpp.orig 2020-03-05 21:34:31.000000000 +0000 |+++ src/gallium/state_trackers/clover/llvm/invocation.cpp -------------------------- Patching file src/gallium/state_trackers/clover/llvm/invocation.cpp using Plan A... Hunk #1 succeeded at 188. Hunk #2 succeeded at 204. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_state__trackers_clover_util_range.hpp => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_state__trackers_clover_util_range.hpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_state__trackers_clover_util_range.hpp,v 1.1 2019/08/21 13:35:28 nia 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/state_trackers/clover/util/range.hpp.orig 2017-09-25 16:56:19.000000000 +0000 |+++ src/gallium/state_trackers/clover/util/range.hpp -------------------------- Patching file src/gallium/state_trackers/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_winsys_svga_drm_vmw__screen__ioctl.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_gallium_winsys_svga_drm_vmw__screen__ioctl.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_gallium_winsys_svga_drm_vmw__screen__ioctl.c,v 1.5 2020/03/08 10:35:03 tnn Exp $ | |conditionalise Linuxism | |--- src/gallium/winsys/svga/drm/vmw_screen_ioctl.c.orig 2020-03-05 21:34:31.000000000 +0000 |+++ src/gallium/winsys/svga/drm/vmw_screen_ioctl.c -------------------------- Patching file src/gallium/winsys/svga/drm/vmw_screen_ioctl.c using Plan A... Hunk #1 succeeded at 694. 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 55. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_dri__glx.c => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_glx_dri__glx.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_glx_dri__glx.c,v 1.1 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/glx/dri_glx.c.orig 2018-01-18 21:30:28.000000000 +0000 |+++ src/glx/dri_glx.c -------------------------- Patching file src/glx/dri_glx.c using Plan A... Hunk #1 succeeded at 183. Hunk #2 succeeded at 282 (offset -6 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.2 2019/08/21 13:35:28 nia Exp $ | |NetBSD only supports zero-initialized initial-exec tls variables in conjuction |with dlopen(3) at the moment. | |--- src/glx/glxclient.h.orig 2017-02-13 11:55:49.000000000 +0000 |+++ src/glx/glxclient.h -------------------------- Patching file src/glx/glxclient.h using Plan A... Hunk #1 succeeded at 658 (offset -3 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.4 2020/02/19 21:03:41 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 2019-12-04 22:10:12.000000000 +0000 |+++ src/glx/glxcurrent.c -------------------------- Patching file src/glx/glxcurrent.c using Plan A... Hunk #1 succeeded at 40. Hunk #2 succeeded at 91. 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.1 2019/08/21 13:35:28 nia 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 2017-12-08 13:49:11.000000000 +0000 |+++ src/glx/glxext.c -------------------------- Patching file src/glx/glxext.c using Plan A... Hunk #1 succeeded at 58 (offset 3 lines). Hunk #2 succeeded at 813 (offset -5 lines). Hunk #3 succeeded at 933 (offset 8 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 736 (offset 20 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_intel_genxml_gen__sort__tags.py => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_intel_genxml_gen__sort__tags.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_intel_genxml_gen__sort__tags.py,v 1.1 2021/01/06 15:50:02 triaxx Exp $ | |Remove deprecated .getchildren() that are no longer supported in Python 3.9. |https://cgit.freedesktop.org/mesa/mesa/commit/src/intel/genxml/gen_sort_tags.py?id=6a841 | |--- src/intel/genxml/gen_sort_tags.py.orig 2021-01-06 15:09:48.383488000 +0100 |+++ src/intel/genxml/gen_sort_tags.py -------------------------- Patching file src/intel/genxml/gen_sort_tags.py using Plan A... Hunk #1 succeeded at 65. Hunk #2 succeeded at 115. Hunk #3 succeeded at 138. Hunk #4 succeeded at 147. Hunk #5 succeeded at 161. 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.5 2020/02/21 21:52:24 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 2019-12-04 22:10:14.000000000 +0000 |+++ src/mapi/entry_x86-64_tls.h -------------------------- Patching file src/mapi/entry_x86-64_tls.h using Plan A... Hunk #1 succeeded at 32. Hunk #2 succeeded at 89. 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.6 2020/03/08 10:35:03 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 2020-03-05 21:34:32.000000000 +0000 |+++ src/mapi/entry_x86_tls.h -------------------------- Patching file src/mapi/entry_x86_tls.h using Plan A... Hunk #1 succeeded at 45. Hunk #2 succeeded at 77. Hunk #3 succeeded at 90. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_glapi_gen_glX__XML.py => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_glapi_gen_glX__XML.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mapi_glapi_gen_glX__XML.py,v 1.1 2021/01/06 15:50:02 triaxx Exp $ | |Remove deprecated .getchildren() that are no longer supported in Python 3.9. |https://cgit.freedesktop.org/mesa/mesa/commit/src/mapi/glapi/gen/glX_XML.py?id=7a680 | |--- src/mapi/glapi/gen/glX_XML.py.orig 2021-01-06 15:15:12.263181000 +0100 |+++ src/mapi/glapi/gen/glX_XML.py -------------------------- Patching file src/mapi/glapi/gen/glX_XML.py using Plan A... Hunk #1 succeeded at 48. Hunk #2 succeeded at 130. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_glapi_gen_gl__XML.py => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_glapi_gen_gl__XML.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mapi_glapi_gen_gl__XML.py,v 1.1 2021/01/06 15:50:02 triaxx Exp $ | |Remove deprecated .getchildren() that are no longer supported in Python 3.9. |https://cgit.freedesktop.org/mesa/mesa/commit/src/mapi/glapi/gen/gl_XML.py?id=7a680 | |--- src/mapi/glapi/gen/gl_XML.py.orig 2021-01-06 15:17:59.922890000 +0100 |+++ src/mapi/glapi/gen/gl_XML.py -------------------------- Patching file src/mapi/glapi/gen/gl_XML.py using Plan A... Hunk #1 succeeded at 713. Hunk #2 succeeded at 743. Hunk #3 succeeded at 873. Hunk #4 succeeded at 893. 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.3 2019/10/18 09:57:07 nia Exp $ | |NetBSD only supports zero-initialized initial-exec tls variables in conjuction |with dlopen(3) at the moment. | |--- src/mapi/u_current.c.orig 2019-10-09 16:52:00.000000000 +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 287. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_u__current.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mapi_u__current.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mapi_u__current.h,v 1.3 2019/10/18 09:57:07 nia Exp $ | |NetBSD only supports zero-initialized initial-exec tls variables in conjuction |with dlopen(3) at the moment. | |--- src/mapi/u_current.h.orig 2019-10-09 16:52:00.000000000 +0000 |+++ src/mapi/u_current.h -------------------------- Patching file src/mapi/u_current.h using Plan A... Hunk #1 succeeded at 65. 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.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/mesa/main/extensions.c.orig 2018-02-09 02:17:59.000000000 +0000 |+++ src/mesa/main/extensions.c -------------------------- Patching file src/mesa/main/extensions.c using Plan A... Hunk #1 succeeded at 210 (offset 7 lines). Hunk #2 succeeded at 304 (offset 7 lines). done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_macros.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_macros.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mesa_main_macros.h,v 1.2 2019/08/21 13:35:28 nia Exp $ | |ALIGN is also defined in sys/param.h on NetBSD. | |Extend undefining ALIGN to all other OSes. | |--- src/mesa/main/macros.h.orig 2017-11-10 23:18:56.000000000 +0000 |+++ src/mesa/main/macros.h -------------------------- Patching file src/mesa/main/macros.h using Plan A... Hunk #1 succeeded at 677. done => Verifying /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_marshal.h => Applying pkgsrc patch /usr/pkgsrc/graphics/MesaLib/patches/patch-src_mesa_main_marshal.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mesa_main_marshal.h,v 1.1 2020/01/18 21:29:05 triaxx Exp $ | |ALIGN is also defined in machine/param.h on FreetBSD. | |--- src/mesa/main/marshal.h.orig 2019-12-04 22:10:14.000000000 +0000 |+++ src/mesa/main/marshal.h -------------------------- Patching file src/mesa/main/marshal.h using Plan A... Hunk #1 succeeded at 55. 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 113 (offset 43 lines). Hunk #2 succeeded at 95 (offset -24 lines). Hunk #3 succeeded at 212 (offset 43 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 126 (offset 1 line). 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_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__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.2 2020/03/08 10:35:03 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 2020-03-05 21:34:32.000000000 +0000 |+++ src/util/u_queue.c -------------------------- Patching file src/util/u_queue.c using Plan A... Hunk #1 succeeded at 51. Hunk #2 succeeded at 79. Hunk #3 succeeded at 264. 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.4 2020/03/08 10:35:03 tnn Exp $ | |Oracle Solaris has pthread_setname_np. illumos does not. | |Don't hard error when there's no pthread_setname_np. | |handle NetBSD-style pthread_setaffinity_np(3) | |--- src/util/u_thread.h.orig 2020-03-05 21:34:32.000000000 +0000 |+++ src/util/u_thread.h -------------------------- Patching file src/util/u_thread.h using Plan A... Hunk #1 succeeded at 73. Hunk #2 succeeded at 104. Hunk #3 succeeded at 122. Hunk #4 succeeded at 136. Hunk #5 succeeded at 185. Hunk #6 succeeded at 197. done ===> Creating toolchain wrappers for MesaLib-20.0.6nb2 ===> Configuring for MesaLib-20.0.6nb2 => Generating pkg-config file for builtin expat package. => Checking for portability problems in extracted files cd /usr/pkgsrc/graphics/MesaLib/work/mesa-20.0.6 && 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=-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=false -Dvulkan-drivers="" -Dglx=dri -Dgallium-vdpau=false -Degl=true -Dgbm=true -Dgallium-xa=true -Dgallium-va=true -Dgallium-drivers=swrast,nouveau,r300 -Ddri-drivers=nouveau,r100,r200 -Dvulkan-drivers= -Dplatforms=x11,drm,surfaceless -Dgles1=true -Dgles2=true -Dosmesa=gallium -Dshared-glapi=true -Dgallium-xvmc=false . output The Meson build system Version: 0.60.2 Source dir: /usr/pkgsrc/graphics/MesaLib/work/mesa-20.0.6 Build dir: /usr/pkgsrc/graphics/MesaLib/work/mesa-20.0.6/output Build type: native build Program python found: YES (/usr/pkgsrc/graphics/MesaLib/work/.buildlink/bin/python) Project name: mesa Project version: 20.0.6 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 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.6.0 Program python3 found: YES (/usr/pkgsrc/graphics/MesaLib/work/.buildlink/bin/python3) 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 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: 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 -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 -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: 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 -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 -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 -Werror=gnu-empty-initializer: NO Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO Compiler for C++ supports arguments -fvisibility=hidden: YES Checking if "GCC atomic builtins" : compiles: YES Checking if "GCC atomic builtins required -latomic" : links: NO meson.build:1080:4: ERROR: C shared or static library 'atomic' not found A full log can be found at /usr/pkgsrc/graphics/MesaLib/work/mesa-20.0.6/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