=> 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.9nb5 ========================================================================== The supported build options for MesaLib are: elf-tls llvm vulkan 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.9nb5. 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 `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency py312-mako-[0-9]*: found py312-mako-1.3.10 => Tool dependency py312-setuptools-[0-9]*: found py312-setuptools-80.9.0 => Tool dependency meson>=0: found meson-1.9.0 => Tool dependency bison>=1.0: found bison-3.8.2nb1 => Tool dependency m4>=1.4: found m4-1.4.19nb1 => Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5nb1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3nb1 => Tool dependency xz>=4.999.9betanb1: found xz-5.8.1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0nb5 => Build dependency xorgproto>=2016.1: found xorgproto-2024.1 => Full dependency expat>=2.0.0nb1: found expat-2.7.1 => Full dependency libX11>=1.1: found libX11-1.8.12 => Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6 => Full dependency libXext>=0.99.0: found libXext-1.3.6 => Full dependency libXfixes>=4.0.1: found libXfixes-6.0.1 => Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4 => Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.6 => Full dependency libxcb>=1.15nb2: found libxcb-1.17.0 => Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3 => Full dependency python312>=3.12.0nb1: found python312-3.12.11 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency libiconv>=1.9.1: found libiconv-1.17nb1 => Full dependency libXau>=1.0: found libXau-1.0.12 => Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5 => Full dependency libXrender>=0.9.2: found libXrender-0.9.12 ===> Overriding tools for MesaLib-21.3.9nb5 ===> Extracting for MesaLib-21.3.9nb5 ===> Patching for MesaLib-21.3.9nb5 => Applying pkgsrc patches for MesaLib-21.3.9nb5 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_compiler_builtin__type__macros.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_drm-shim_drm__shim.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__x11.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_egl_main_eglglobals.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_gallium_auxiliary_rbug_rbug__texture.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_gallium_drivers_freedreno_freedreno__screen.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_gallium_drivers_freedreno_freedreno__util.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_gallium_drivers_llvmpipe_lp__memory.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nouveau__vp3__video.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nv50_nv84__video.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_gallium_drivers_vc4_vc4__bufmgr.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_gallium_frontends_clover_util_range.hpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_gallium_frontends_osmesa_osmesa.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_glx_dri__common.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_glx_dri__common.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_glx_glx__pbuffer.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_glx_glx__pbuffer.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_glx_glx__pbuffer.c,v 1.1 2023/07/14 06:27:52 pho Exp $ | |GLX_EXT_swap_control doesn't work on systems running on vmwgfx. I don't |think this is a proper fix, and the upstream bug report has been seemingly |stuck, but is still necessary for VMware guests. glxgear(1) from |graphics/glx-utils crashes on startup without this workaround. | |https://gitlab.freedesktop.org/mesa/mesa/-/issues/4495 | |--- src/glx/glx_pbuffer.c.orig 2023-07-12 04:37:57.945531844 +0000 |+++ src/glx/glx_pbuffer.c -------------------------- Patching file src/glx/glx_pbuffer.c using Plan A... Hunk #1 succeeded at 309. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_glx_glxclient.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_glx_glxcurrent.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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.7 2025/03/07 07:00:33 wiz Exp $ | |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 76. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_glx_glxext.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_intel_compiler_brw__fs__bank__conflicts.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_intel_tools_aubinator__error__decode.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_mapi_entry__x86-64__tls.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_mapi_entry__x86__tls.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_mapi_u__current.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_mesa_main_context.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_mesa_main_extensions.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_mesa_main_formats.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_mesa_main_shader__query.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_mesa_x86_common__x86.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_util_build__id.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_util_disk__cache__os.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_util_libsync.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_util_strndup.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_util_u__atomic.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_util_u__printf.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_util_u__process.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_util_u__qsort.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_util_u__qsort.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util_u__qsort.h,v 1.1 2025/03/07 06:56:20 wiz Exp $ | |Fix for POSIX qsort_r on NetBSD. |(FreeBSD before 14 had the qsort_r argument order different than Linux.) | |--- src/util/u_qsort.h.orig 2025-03-07 06:52:32.373984663 +0000 |+++ src/util/u_qsort.h -------------------------- Patching file src/util/u_qsort.h using Plan A... Hunk #1 succeeded at 57. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_util_u__queue.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/MesaLib/patches/patch-src_util_u__thread.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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.9nb5 ===> Configuring for MesaLib-21.3.9nb5 => Creating meson native file The Meson build system Version: 1.9.0 Source dir: /Users/pbulk/build/graphics/MesaLib/work/mesa-21.3.9 Build dir: /Users/pbulk/build/graphics/MesaLib/work/mesa-21.3.9/output Build type: native build Program python3 found: YES (/Users/pbulk/build/graphics/MesaLib/work/.buildlink/bin/python3) Project name: mesa Project version: 21.3.9 C compiler for the host machine: clang (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.3.9.4)") C linker for the host machine: clang ld64 1053.12 C++ compiler for the host machine: clang++ (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.3.9.4)") C++ linker for the host machine: clang++ ld64 1053.12 Host machine cpu family: aarch64 Host machine cpu: aarch64 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:408: WARNING: gbm option "false" deprecated, please use "disabled" instead. meson.build:468: WARNING: egl option "false" deprecated, please use "disabled" instead. meson.build:680: WARNING: gallium-xvmc option "false" deprecated, please use "disabled" instead. Program python3 found: YES (/Users/pbulk/build/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 meson 2.0. See also: https://github.com/mesonbuild/meson/issues/9300 Fetching value of define "ETIME" : 101 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: NO 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: NO 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: YES 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: 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: NO 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: YES Compiler for C++ supports arguments -flifetime-dse=1: 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: 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=gnu-empty-initializer: YES Compiler for C++ supports arguments -Werror=gnu-empty-initializer: YES Compiler for C supports arguments -Wmicrosoft-enum-value: YES 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" : YES Check usable header "linux/futex.h" : NO Check usable header "endian.h" : NO Check usable header "dlfcn.h" : YES Check usable header "sys/shm.h" : YES Check usable header "cet.h" : YES 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" : NO Checking for function "qsort_r" : YES 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: NO Checking if "gc-sections" links: NO Checking if "version-script" links: NO Checking if "dynamic-list" links: NO Compiler for C supports link arguments -Wl,--build-id=sha1: NO Checking for function "dlopen" : YES Checking for function "dladdr" with dependency : YES Checking for function "dl_iterate_phdr" : NO Checking for function "clock_gettime" : YES Found pkg-config: YES (/Users/pbulk/build/graphics/MesaLib/work/.tools/bin/pkg-config) 2.4.3 Run-time dependency zlib found: YES 1.3.1 WARNING: Found CMake '/usr/bin/false' but couldn't run it Found CMake: NO Run-time dependency libzstd found: NO (tried pkgconfig, framework and cmake) Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: NO Library expat found: YES Library m found: YES Run-time dependency libdrm found: NO (tried pkgconfig, framework and cmake) Run-time dependency valgrind found: NO (tried pkgconfig) Program bison found: YES (/Users/pbulk/build/graphics/MesaLib/work/.tools/bin/bison) Program bison found: YES 3.8.2 3.8.2 (/Users/pbulk/build/graphics/MesaLib/work/.tools/bin/bison) Program flex found: YES (/Users/pbulk/build/graphics/MesaLib/work/.tools/bin/flex) Library System found: YES Run-time dependency x11 found: YES 1.8.12 Run-time dependency xext found: YES 1.3.6 Run-time dependency xfixes found: YES 6.0.1 Run-time dependency xcb-glx found: YES 1.17.0 Run-time dependency xcb-shm found: YES 1.17.0 Run-time dependency xcb found: YES 1.17.0 Run-time dependency x11-xcb found: YES 1.8.12 Run-time dependency glproto found: YES 1.4.17 Library sensors found: NO Compiler for C supports link arguments -Wl,--gc-sections: NO Program nm found: YES (/usr/bin/nm) Program symbols-check.py found: YES (/opt/pkg/bin/python3.12 /Users/pbulk/build/graphics/MesaLib/work/mesa-21.3.9/bin/symbols-check.py) Program install_megadrivers.py found: YES (/opt/pkg/bin/python3.12 /Users/pbulk/build/graphics/MesaLib/work/mesa-21.3.9/bin/install_megadrivers.py) WARNING: Library target 'GLESv1_CM' has 'name_prefix' set. Compilers may not find it from its '-lGLESv1_CM' linker flag in the 'glesv1_cm.pc' pkg-config file. WARNING: Library target 'GLESv1_CM' has 'name_prefix' set. Compilers may not find it from its '-lGLESv1_CM' linker flag in the 'glesv1_cm-uninstalled.pc' pkg-config file. WARNING: Library target 'GLESv2' has 'name_prefix' set. Compilers may not find it from its '-lGLESv2' linker flag in the 'glesv2.pc' pkg-config file. WARNING: Library target 'GLESv2' has 'name_prefix' set. Compilers may not find it from its '-lGLESv2' linker flag in the 'glesv2-uninstalled.pc' pkg-config file. Program decode.py found: YES (/Users/pbulk/build/graphics/MesaLib/work/mesa-21.3.9/src/compiler/isaspec/decode.py) Program encode.py found: YES (/Users/pbulk/build/graphics/MesaLib/work/mesa-21.3.9/src/compiler/isaspec/encode.py) Library Xplugin found: YES WARNING: Library target 'OSMesa' has 'name_prefix' set. Compilers may not find it from its '-lOSMesa' linker flag in the 'osmesa.pc' pkg-config file. WARNING: Library target 'OSMesa' has 'name_prefix' set. Compilers may not find it from its '-lOSMesa' linker flag in the 'osmesa-uninstalled.pc' pkg-config file. Message: Configuration summary: prefix: /opt/pkg libdir: lib includedir: include OpenGL: yes (ES1: yes ES2: yes) OSMesa: libOSMesa DRI platform: apple DRI drivers: no DRI driver dir: /opt/pkg/lib/dri GLX: DRI-based EGL: no GBM: no Vulkan drivers: no llvm: no Gallium drivers: swrast Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Perfetto: no Perfetto ds: auto Build targets in project: 104 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path'} * 0.56.0: {'meson.source_root'} * 1.1.0: {'"boolean option" keyword argument "value" of type str'} mesa 21.3.9 User defined options Native files : /Users/pbulk/build/graphics/MesaLib/work/.meson_native buildtype : plain dri-drivers : egl : false gallium-drivers: swrast gallium-xvmc : false gbm : false gles1 : true gles2 : true libdir : lib libexecdir : libexec llvm : disabled mandir : share/man osmesa : true platforms : x11 prefix : /opt/pkg shared-glapi : true sysconfdir : /opt/pkg/etc vulkan-drivers : wrap_mode : nodownload Found ninja-1.13.1 at /opt/pkg/bin/ninja