+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/glib2-2.80.3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/glib2-2.80.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for glib-2.80.3.tar.xz
=> Checksum SHA512 OK for glib-2.80.3.tar.xz
===> Installing dependencies for glib2-2.80.3
==========================================================================
The following variables will affect the build process of this package,
glib2-2.80.3.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 311
        * VARBASE = /var/opt/pkg

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

        * PYPACKAGE = python311

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 py311-packaging-[0-9]*: found py311-packaging-24.1
=> Tool dependency meson>=0: found meson-1.4.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency python311>=3.11.6nb1: found python311-3.11.9nb1
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libffi>=3.4.2nb3: found libffi-3.4.6
=> Full dependency pcre2>=10.30: found pcre2-10.44
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
===> Overriding tools for glib2-2.80.3
===> Extracting for glib2-2.80.3
/usr/bin/chmod +x /home/pbulk/build/devel/glib2/work/glib-2.80.3/gio/tests/gengiotypefuncs.py
===> Patching for glib2-2.80.3
=> Applying pkgsrc patches for glib2-2.80.3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_gcredentialsprivate.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_gcredentialsprivate.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gio_gcredentialsprivate.h,v 1.5 2022/01/28 21:34:51 schmonz Exp $
|
|NetBSD has G_CREDENTIALS_SOCKET_GET_CREDENTIALS_SUPPORTED.
|Sufficiently old Darwin (e.g., Snow Leopard) needs SOL_LOCAL defined.
|
|--- gio/gcredentialsprivate.h.orig	2021-12-03 10:02:55.000000000 +0000
|+++ gio/gcredentialsprivate.h
--------------------------
Patching file gio/gcredentialsprivate.h using Plan A...
Hunk #1 succeeded at 137 (offset 3 lines).
Hunk #2 succeeded at 162 (offset 3 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_gdbus-2.0_codegen_meson.build
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_gdbus-2.0_codegen_meson.build
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gio_gdbus-2.0_codegen_meson.build,v 1.4 2024/04/09 16:57:18 wiz Exp $
|
|Leave gdbus-2.0/codegen sudirectory to devel/gdbus-codegen package.
|
|--- gio/gdbus-2.0/codegen/meson.build.orig	2024-04-09 16:54:03.439379421 +0000
|+++ gio/gdbus-2.0/codegen/meson.build
--------------------------
Patching file gio/gdbus-2.0/codegen/meson.build using Plan A...
Hunk #1 succeeded at 20.
Hunk #2 succeeded at 34.
Hunk #3 succeeded at 43.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_giomodule.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_giomodule.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gio_giomodule.c,v 1.8 2023/06/30 13:08:37 riastradh Exp $
|
|Make Cocoa notification backend conditional.
|Disable inotify on SunOS.
|
|--- gio/giomodule.c.orig	2023-05-23 10:55:59.000000000 +0000
|+++ gio/giomodule.c
--------------------------
Patching file gio/giomodule.c using Plan A...
Hunk #1 succeeded at 1093 (offset -12 lines).
Hunk #2 succeeded at 1348 (offset 2 lines).
Hunk #3 succeeded at 1361 (offset -12 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_glib-compile-schemas.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_glib-compile-schemas.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gio_glib-compile-schemas.c,v 1.1 2020/09/18 11:18:29 wiz Exp $
|
|gsettings-desktop-schemas uses deprecated paths and is not going to stop
|anytime soon, see
|https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/issues/27
|
|--- gio/glib-compile-schemas.c.orig	2020-08-18 11:06:36.941520700 +0000
|+++ gio/glib-compile-schemas.c
--------------------------
Patching file gio/glib-compile-schemas.c using Plan A...
Hunk #1 succeeded at 1232.
Hunk #2 succeeded at 1245.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_gresource-tool.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_gresource-tool.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gio_gresource-tool.c,v 1.2 2019/06/03 09:53:50 prlw1 Exp $
|
|Solaris fix
|
|--- gio/gresource-tool.c.orig	2019-05-03 13:43:28.000000000 +0000
|+++ gio/gresource-tool.c
--------------------------
Patching file gio/gresource-tool.c using Plan A...
Hunk #1 succeeded at 31 (offset 2 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_gunixcredentialsmessage.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_gunixcredentialsmessage.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gio_gunixcredentialsmessage.c,v 1.3 2018/10/19 16:44:15 leot Exp $
|
|Remove unused NetBSD case (G_CREDENTIALS_TYPE_NETBSD_UNPCBID does
|not support that, LOCAL_CREDS should be probably be used instead.
|Please not that before NetBSD 8.0 LOCAL_CREDS did not have an sc_pid
|field making it probably not suitable as GCredentials mechanism).
|
|--- gio/gunixcredentialsmessage.c.orig	2017-07-13 23:03:39.000000000 +0000
|+++ gio/gunixcredentialsmessage.c
--------------------------
Patching file gio/gunixcredentialsmessage.c using Plan A...
Hunk #1 succeeded at 99 (offset 10 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_gunixmounts.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_gunixmounts.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gio_gunixmounts.c,v 1.7 2022/10/06 13:34:07 adam Exp $
|
|SunOS has sys/mntent.h but no mnt_opts.
|XXX who else uses the sys/mntent.h case?
|https://gitlab.gnome.org/GNOME/glib/merge_requests/890
|
|--- gio/gunixmounts.c.orig	2021-08-19 15:27:25.722339900 +0000
|+++ gio/gunixmounts.c
--------------------------
Patching file gio/gunixmounts.c using Plan A...
Hunk #1 succeeded at 749 (offset 6 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_inotify_inotify-kernel.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_inotify_inotify-kernel.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gio_inotify_inotify-kernel.c,v 1.5 2019/11/14 11:40:30 wiz Exp $
|
|Use _XOPEN_NAME_MAX in lieu of NAME_MAX for SunOS.
|
|Include <sys/filio.h> for FIONREAD on SunOS.
|https://gitlab.gnome.org/GNOME/glib/merge_requests/889
|
|--- gio/inotify/inotify-kernel.c.orig	2019-10-04 11:44:23.000000000 +0000
|+++ gio/inotify/inotify-kernel.c
--------------------------
Patching file gio/inotify/inotify-kernel.c using Plan A...
Hunk #1 succeeded at 33.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_meson.build
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_meson.build
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gio_meson.build,v 1.10 2023/06/26 19:25:56 adam Exp $
|
|Disable inotify on SunOS.
|
|--- gio/meson.build.orig	2023-05-23 10:55:59.000000000 +0000
|+++ gio/meson.build
--------------------------
Patching file gio/meson.build using Plan A...
Hunk #1 succeeded at 792 (offset 3 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_tests_meson.build
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gio_tests_meson.build
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gio_tests_meson.build,v 1.9 2024/04/09 16:57:18 wiz Exp $
|
|Work around PR pkg/57399. + DYLD_LIBRARY_PATH for macOS
|
|--- gio/tests/meson.build.orig	2024-03-07 21:35:05.000000000 +0000
|+++ gio/tests/meson.build
--------------------------
Patching file gio/tests/meson.build using Plan A...
Hunk #1 succeeded at 804 (offset 6 lines).
Hunk #2 succeeded at 841 (offset 6 lines).
Hunk #3 succeeded at 859 (offset 6 lines).
Hunk #4 succeeded at 876 (offset 6 lines).
Hunk #5 succeeded at 894 (offset 6 lines).
Hunk #6 succeeded at 911 (offset 6 lines).
Hunk #7 succeeded at 928 (offset 6 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_gatomic.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_gatomic.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-glib_gatomic.c,v 1.2 2020/03/04 15:11:48 wiz Exp $
|
|Ignore __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 as is already done
|for android and linux. PR pkg/54298
|
|--- glib/gatomic.c.orig	2020-02-27 16:12:52.000000000 +0000
|+++ glib/gatomic.c
--------------------------
Patching file glib/gatomic.c using Plan A...
Hunk #1 succeeded at 53 (offset -41 lines).
Hunk #2 succeeded at 875 (offset 219 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_gatomic.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_gatomic.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-glib_gatomic.h,v 1.2 2020/03/04 15:11:48 wiz Exp $
|
|Ignore __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 as is already done
|for android and linux. PR pkg/54298
|
|--- glib/gatomic.h.orig	2020-02-27 16:12:52.000000000 +0000
|+++ glib/gatomic.h
--------------------------
Patching file glib/gatomic.h using Plan A...
Hunk #1 succeeded at 101 (offset 19 lines).
Hunk #2 succeeded at 505 (offset 133 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_genviron.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_genviron.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-glib_genviron.c,v 1.3 2024/04/01 23:43:13 charlotte Exp $
|
|Avoid the build failure with Clang on FreeBSD (see PR 54752).
|Set environ as a weak symbol (thanks to Joerg).
|
|--- glib/genviron.c.orig	2020-02-27 16:12:52.000000000 +0000
|+++ glib/genviron.c
--------------------------
Patching file glib/genviron.c using Plan A...
Hunk #1 succeeded at 331 (offset 2 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_gspawn.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_gspawn.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-glib_gspawn.c,v 1.3 2024/04/01 23:43:13 charlotte Exp $
|
|Avoid the build failure with Clang on FreeBSD (see PR 54752).
|Set environ as a weak symbol (thanks to Joerg).
|
|--- glib/gspawn.c.orig	2020-02-27 16:12:52.000000000 +0000
|+++ glib/gspawn.c
--------------------------
Patching file glib/gspawn.c using Plan A...
Hunk #1 succeeded at 101 (offset 16 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_gthread.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_gthread.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-glib_gthread.c,v 1.2 2024/05/08 15:44:20 adam Exp $
|
|Fix build on NetBSD.
|
|--- glib/gthread.c.orig	2024-05-07 14:50:30.000000000 +0000
|+++ glib/gthread.c
--------------------------
Patching file glib/gthread.c using Plan A...
Hunk #1 succeeded at 1090.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_tests_hash.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_tests_hash.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-glib_tests_hash.c,v 1.3 2020/03/04 15:11:48 wiz Exp $
|
|Revert GHashTable improvements
|https://gitlab.gnome.org/GNOME/glib/merge_requests/208
|
|to fix PR pkg/54310
|
|--- glib/tests/hash.c.orig	2020-02-27 16:12:52.000000000 +0000
|+++ glib/tests/hash.c
--------------------------
Patching file glib/tests/hash.c using Plan A...
Hunk #1 succeeded at 1431 (offset 78 lines).
Hunk #2 succeeded at 1465 (offset 78 lines).
Hunk #3 succeeded at 1472 (offset 78 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_tests_include.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_tests_include.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-glib_tests_include.c,v 1.3 2019/11/26 10:27:09 jperkin Exp $
|
|Fix SunOS build.
|
|--- glib/tests/include.c.orig	2019-10-21 17:18:40.000000000 +0000
|+++ glib/tests/include.c
--------------------------
Patching file glib/tests/include.c using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_tests_meson.build
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_tests_meson.build
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-glib_tests_meson.build,v 1.5 2023/11/02 13:17:27 wiz Exp $
|
|Fix gtester is not defined error during configure.
|
|--- glib/tests/meson.build.orig	2023-09-08 13:42:18.000000000 +0000
|+++ glib/tests/meson.build
--------------------------
Patching file glib/tests/meson.build using Plan A...
Hunk #1 succeeded at 540 (offset 51 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_tests_thread.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-glib_tests_thread.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-glib_tests_thread.c,v 1.1 2024/04/09 16:57:18 wiz Exp $
|
|Fix build on NetBSD.
|
|--- glib/tests/thread.c.orig	2024-04-09 15:41:08.886542793 +0000
|+++ glib/tests/thread.c
--------------------------
Patching file glib/tests/thread.c using Plan A...
Hunk #1 succeeded at 212.
Hunk #2 succeeded at 243.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gmodule_gmodule.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gmodule_gmodule.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gmodule_gmodule.c,v 1.3 2021/06/30 14:26:11 prlw1 Exp $
|
|RTL_GLOBAL is a bug.
|https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2171
|
|--- gmodule/gmodule.c.orig	2021-06-10 18:57:57.268194400 +0000
|+++ gmodule/gmodule.c
--------------------------
Patching file gmodule/gmodule.c using Plan A...
Hunk #1 succeeded at 488 (offset -18 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gobject_glib-mkenums.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gobject_glib-mkenums.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gobject_glib-mkenums.in,v 1.5 2019/06/03 09:53:50 prlw1 Exp $
|
|- Do not print failing characters that might not be ASCII
|
|--- gobject/glib-mkenums.in.orig	2018-01-08 20:00:49.000000000 +0000
|+++ gobject/glib-mkenums.in
--------------------------
Patching file gobject/glib-mkenums.in using Plan A...
Hunk #1 succeeded at 114 (offset 26 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gobject_meson.build
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-gobject_meson.build
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gobject_meson.build,v 1.6 2022/11/23 10:41:41 adam Exp $
|
|Leave glib-genmarshal and glib-mkenums to devel/glib2-tools.
|
|--- gobject/meson.build.orig	2022-10-25 12:53:22.000000000 +0000
|+++ gobject/meson.build
--------------------------
Patching file gobject/meson.build using Plan A...
Hunk #1 succeeded at 94 (offset 15 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-meson.build
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-meson.build
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-meson.build,v 1.21 2024/04/09 16:57:18 wiz Exp $
|
|- On Darwin, optionally use Cocoa (needed for X11 users).
|
|- Don't insist that Python binary is called "python3".
|  (Requires meson >= 0.50.0)
|
|- Don't install bash completion scripts.
|
|- Tolerate getxattr not existing (smartOS)
|  https://gitlab.gnome.org/GNOME/glib/merge_requests/888
|
|- Define a newer POSIX, as we build this package with -std=gnu99
|
|- Check also for sys/ptrace.h header file.
|
|--- meson.build.orig	2024-03-07 21:35:05.000000000 +0000
|+++ meson.build
--------------------------
Patching file meson.build using Plan A...
Hunk #1 succeeded at 412.
Hunk #2 succeeded at 968.
Hunk #3 succeeded at 2308.
Hunk #4 succeeded at 2421.
Hunk #5 succeeded at 2431.
Hunk #6 succeeded at 2441.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-meson_options.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2/patches/patch-meson_options.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-meson_options.txt,v 1.2 2019/11/14 11:40:30 wiz Exp $
|
|Add use_cocoa option.
|
|--- meson_options.txt.orig	2019-10-04 11:44:24.000000000 +0000
|+++ meson_options.txt
--------------------------
Patching file meson_options.txt using Plan A...
Hunk #1 succeeded at 106 (offset 16 lines).
done
===> Creating toolchain wrappers for glib2-2.80.3
===> Configuring for glib2-2.80.3
=> Adjust XDG_DATA_DIRS so schemas and pixbuf loaders are found
=> Replacing python interpreter in gio/tests/gengiotypefuncs.py gio/tests/memory-monitor-dbus.py.in gio/tests/memory-monitor-portal.py.in gio/tests/static-link.py glib/gtester-report.in glib/update-gtranslit.py gobject/tests/mkenums.py.
INFO: [replace-interpreter] Nothing changed in glib/gtester-report.in.
=> Checking for portability problems in extracted files
The Meson build system
Version: 1.4.1
Source dir: /home/pbulk/build/devel/glib2/work/glib-2.80.3
Build dir: /home/pbulk/build/devel/glib2/work/glib-2.80.3/output
Build type: native build
Project name: glib
Project version: 2.80.3
C compiler for the host machine: gcc (gcc 13.3.0 "gcc (GCC) 13.3.0")
C linker for the host machine: gcc ld.solaris 5.11-1.1790 (illumos)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -std=c90: YES 
Compiler for C supports arguments -std=c99: YES 
Compiler for C supports arguments -std=c11: YES 
Compiler for C supports arguments -std=c17: YES 
C++ compiler for the host machine: g++ (gcc 13.3.0 "g++ (GCC) 13.3.0")
C++ linker for the host machine: g++ ld.solaris 5.11-1.1790 (illumos)
Compiler for C++ supports arguments -std=c++98: YES 
Compiler for C++ supports arguments -std=c++03: YES 
Compiler for C++ supports arguments -std=c++11: YES 
Compiler for C++ supports arguments -std=c++14: YES 
Compiler for C++ supports arguments -std=c++17: YES 
Compiler for C++ supports arguments -std=c++20: YES 
Compiler for C++ supports arguments -std=c++2b: YES 
Compiler for C++ supports arguments -std=c++latest: NO 
Program ./.gitlab-ci/thorough-test-wrapper.sh found: YES (/bin/bash /home/pbulk/build/devel/glib2/work/glib-2.80.3/./.gitlab-ci/thorough-test-wrapper.sh)
Program valgrind found: NO
Compiler for C supports arguments -fno-strict-aliasing: YES 
Message: Disabling cast checks
Has header "alloca.h" : YES 
Has header "afunix.h" : NO 
Has header "crt_externs.h" : NO 
Has header "dirent.h" : YES 
Has header "float.h" : YES 
Has header "fstab.h" : NO 
Has header "grp.h" : YES 
Has header "inttypes.h" : YES 
Has header "libproc.h" : YES 
Has header "limits.h" : YES 
Has header "locale.h" : YES 
Has header "mach/mach_time.h" : NO 
Has header "memory.h" : YES 
Has header "mntent.h" : NO 
Has header "poll.h" : YES 
Has header "pwd.h" : YES 
Has header "sched.h" : YES 
Has header "spawn.h" : YES 
Has header "stdatomic.h" : YES 
Has header "stdint.h" : YES 
Has header "stdlib.h" : YES 
Has header "string.h" : YES 
Has header "strings.h" : YES 
Has header "sys/auxv.h" : YES 
Has header "sys/event.h" : NO 
Has header "sys/filio.h" : YES 
Has header "sys/inotify.h" : YES 
Has header "sys/mkdev.h" : YES 
Has header "sys/mntctl.h" : NO 
Has header "sys/mnttab.h" : YES 
Has header "sys/mount.h" : YES 
Has header "sys/param.h" : YES 
Has header "sys/prctl.h" : NO 
Has header "sys/ptrace.h" : NO 
Has header "sys/resource.h" : YES 
Has header "sys/select.h" : YES 
Has header "sys/statfs.h" : YES 
Has header "sys/stat.h" : YES 
Has header "sys/statvfs.h" : YES 
Has header "sys/sysctl.h" : NO 
Has header "sys/time.h" : YES 
Has header "sys/times.h" : YES 
Has header "sys/types.h" : YES 
Has header "sys/uio.h" : YES 
Has header "sys/vfs.h" : YES 
Has header "sys/vfstab.h" : YES 
Has header "sys/vmount.h" : NO 
Has header "sys/wait.h" : YES 
Has header "syslog.h" : YES 
Has header "termios.h" : YES 
Has header "unistd.h" : YES 
Has header "values.h" : YES 
Has header "wchar.h" : YES 
Has header "xlocale.h" : YES 
Check usable header "malloc.h" : YES 
Check usable header "linux/netlink.h" : NO 
Checking if "statx() test" compiles: NO 
Header "locale.h" has symbol "LC_MESSAGES" : YES 
Checking if "type "struct stat" has member "st_mtimensec"" compiles: NO 
Checking if "type "struct stat" has member "st_mtim.tv_nsec"" compiles: YES 
Checking if "type "struct stat" has member "st_atimensec"" compiles: NO 
Checking if "type "struct stat" has member "st_atim.tv_nsec"" compiles: YES 
Checking if "type "struct stat" has member "st_ctimensec"" compiles: NO 
Checking if "type "struct stat" has member "st_ctim.tv_nsec"" compiles: YES 
Checking if "type "struct stat" has member "st_birthtime"" compiles: NO 
Checking if "type "struct stat" has member "st_birthtimensec"" compiles: NO 
Checking if "type "struct stat" has member "st_birthtim"" compiles: NO 
Checking if "type "struct stat" has member "st_birthtim.tv_nsec"" compiles: NO 
Checking if "type "struct stat" has member "st_blksize"" compiles: YES 
Checking if "type "struct stat" has member "st_blocks"" compiles: YES 
Checking if "type "struct statfs" has member "f_fstypename"" compiles: NO 
Checking if "type "struct statfs" has member "f_bavail"" compiles: NO 
Checking if "type "struct dirent" has member "d_type"" compiles: NO 
Checking if "type "struct statvfs" has member "f_basetype"" compiles: YES 
Checking if "type "struct statvfs" has member "f_fstypename"" compiles: NO 
Checking if "type "struct statvfs" has member "f_type"" compiles: NO 
Checking if "type "struct tm" has member "tm_gmtoff"" compiles: NO 
Checking if "type "struct tm" has member "__tm_gmtoff"" compiles: NO 
Compiler for C supports arguments -Wduplicated-branches: YES 
Compiler for C supports arguments -Wimplicit-fallthrough: YES 
Compiler for C supports arguments -Wmisleading-indentation: YES 
Compiler for C supports arguments -Wmissing-field-initializers: YES 
Compiler for C supports arguments -Wnonnull: YES 
Compiler for C supports arguments -Wunused: YES 
Compiler for C supports arguments -Wno-unused-parameter: YES 
Compiler for C supports arguments -Wno-cast-function-type: YES 
Compiler for C supports arguments -Wno-pedantic: YES 
Compiler for C supports arguments -Wno-format-zero-length: YES 
Compiler for C supports arguments -Wno-variadic-macros: YES 
Compiler for C supports arguments -Werror=format=2: YES 
Compiler for C supports arguments -Werror=init-self: YES 
Compiler for C supports arguments -Werror=missing-include-dirs: YES 
Compiler for C supports arguments -Werror=pointer-arith: YES 
Compiler for C supports arguments -Werror=unused-result: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wno-bad-function-cast: 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=pointer-sign: YES 
Compiler for C supports arguments -Wno-string-plus-int: NO 
Compiler for C++ supports arguments -Wduplicated-branches: YES 
Compiler for C++ supports arguments -Wimplicit-fallthrough: YES 
Compiler for C++ supports arguments -Wmisleading-indentation: YES 
Compiler for C++ supports arguments -Wmissing-field-initializers: YES 
Compiler for C++ supports arguments -Wnonnull: YES 
Compiler for C++ supports arguments -Wunused: YES 
Compiler for C++ supports arguments -Wno-unused-parameter: YES 
Compiler for C++ supports arguments -Wno-cast-function-type: YES 
Compiler for C++ supports arguments -Wno-pedantic: YES 
Compiler for C++ supports arguments -Wno-format-zero-length: YES 
Compiler for C++ supports arguments -Wno-variadic-macros: YES 
Compiler for C++ supports arguments -Werror=format=2: YES 
Compiler for C++ supports arguments -Werror=init-self: YES 
Compiler for C++ supports arguments -Werror=missing-include-dirs: YES 
Compiler for C++ supports arguments -Werror=pointer-arith: YES 
Compiler for C++ supports arguments -Werror=unused-result: YES 
Compiler for C supports link arguments -Wl,-z,nodelete: YES 
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: NO 
Checking for function "accept4" : YES 
Checking for function "close_range" : NO 
Checking for function "copy_file_range" : NO 
Checking for function "endmntent" : NO 
Checking for function "endservent" : YES 
Checking for function "epoll_create" : NO 
Checking for function "fallocate" : NO 
Checking for function "fchmod" : YES 
Checking for function "fchown" : YES 
Checking for function "fdwalk" : YES 
Checking for function "free_aligned_sized" : NO 
Checking for function "free_sized" : NO 
Checking for function "fsync" : YES 
Checking for function "ftruncate64" : NO 
Checking for function "getauxval" : NO 
Checking for function "getc_unlocked" : YES 
Checking for function "getfsstat" : NO 
Checking for function "getgrgid_r" : YES 
Checking for function "getmntent_r" : NO 
Checking for function "getpwuid_r" : YES 
Checking for function "getresuid" : NO 
Checking for function "getvfsstat" : NO 
Checking for function "gmtime_r" : YES 
Checking for function "hasmntopt" : YES 
Checking for function "inotify_init1" : YES 
Checking for function "issetugid" : YES 
Checking for function "kevent" : NO 
Checking for function "kqueue" : NO 
Checking for function "lchmod" : NO 
Checking for function "lchown" : YES 
Checking for function "link" : YES 
Checking for function "localtime_r" : YES 
Checking for function "lstat" : YES 
Checking for function "mbrtowc" : YES 
Checking for function "memalign" : YES 
Checking for function "mmap" : YES 
Checking for function "newlocale" : YES 
Checking for function "pipe2" : YES 
Checking for function "poll" : YES 
Checking for function "prlimit" : NO 
Checking for function "readlink" : YES 
Checking for function "recvmmsg" : NO 
Checking for function "sendmmsg" : NO 
Checking for function "setenv" : YES 
Checking for function "setmntent" : NO 
Checking for function "strerror_r" : YES 
Checking for function "strnlen" : YES 
Checking for function "strsignal" : YES 
Checking for function "strtod_l" : NO 
Checking for function "strtoll_l" : NO 
Checking for function "strtoull_l" : NO 
Checking for function "symlink" : YES 
Checking for function "timegm" : YES 
Checking for function "unsetenv" : YES 
Checking for function "uselocale" : YES 
Checking for function "utimes" : YES 
Checking for function "utimensat" : YES 
Checking for function "valloc" : YES 
Checking for function "vasprintf" : YES 
Checking for function "vsnprintf" : YES 
Checking for function "wcrtomb" : YES 
Checking for function "wcslen" : YES 
Checking for function "wcsnlen" : YES 
Checking for function "sysctlbyname" : NO 
Checking for function "statvfs" : YES 
Checking for function "statfs" : YES 
Checking for function "if_indextoname" : YES 
Checking for function "if_nametoindex" : YES 
Checking for function "splice" : NO 
Checking for function "stpcpy" : YES 
Checking for function "memalign" : YES 
Checking if "getservbyname_r()" compiles: NO 
Checking for function "_aligned_malloc" : NO 
Checking for function "aligned_alloc" : YES 
Checking for function "posix_memalign" : YES 
Checking for function "posix_spawn" : YES 
Checking if "strerror_r() returns char *" compiles: NO 
Checking for function "snprintf" : YES 
Checking for function "strcasecmp" : YES 
Checking for function "strncasecmp" : YES 
Header "sys/sysmacros.h" has symbol "major" : YES 
Header "dlfcn.h" has symbol "RTLD_LAZY" : YES 
Header "dlfcn.h" has symbol "RTLD_NOW" : YES 
Header "dlfcn.h" has symbol "RTLD_GLOBAL" : YES 
Header "dlfcn.h" has symbol "RTLD_NEXT" : YES 
Checking for type "loff_t" : NO 
Message: Checking whether to use statfs or statvfs .. statvfs
Checking if "futex(2) system call" compiles: NO 
Checking if "futex(2) system call" compiles: NO 
Checking if "eventfd(2) system call" : links: YES 
Checking if "pidfd_open(2) system call" : links: NO 
Checking if "__uint128_t available" compiles: YES 
Checking if "clock_gettime" : links: YES 
Checking if "dlopen() and dlsym() in system libraries" : links: YES 
Checking if "open() option O_DIRECTORY" compiles: YES 
Checking if "fcntl() option F_FULLFSYNC" compiles: NO 
Checking if "C99 vsnprintf" runs: YES
Checking if "C99 snprintf" runs: YES
Checking if "Unix98 printf positional parameters" runs: YES
Checking if "nl_langinfo and CODESET" : links: YES 
Checking if "nl_langinfo (PM_STR)" : links: YES 
Checking if "nl_langinfo (ERA)" : links: NO 
Checking if "nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)" : links: NO 
Checking if "nl_langinfo (ALTMON_n)" : links: NO 
Checking if "nl_langinfo (_NL_ABALTMON_n)" : links: NO 
Checking if "nl_langinfo and _NL_TIME_CODESET" : links: NO 
Checking if "signed" compiles: YES 
Header "stddef.h" has symbol "ptrdiff_t" : YES 
Checking if "sig_atomic_t" : links: YES 
Checking if "long long" compiles: YES 
Checking if "long double" compiles: YES 
Header "stddef.h" has symbol "wchar_t" : YES 
Header "wchar.h" has symbol "wint_t" : YES 
Checking if "uintmax_t in inttypes.h" compiles: YES 
Checking if "uintmax_t in stdint.h" compiles: YES 
Checking for size of "char" : 1 
Checking for size of "short" : 2 
Checking for size of "int" : 4 
Checking for size of "void*" : 8 
Checking for size of "long" : 8 
Checking for size of "long long" : 8 
Checking for size of "size_t" : 8 
Checking for size of "ssize_t" : 8 
Checking if "int64_t is long" compiles: YES 
Checking for alignment of "char" : 1 
Checking for alignment of "short" : 2 
Checking for alignment of "int" : 4 
Checking for alignment of "void*" : 8 
Checking for alignment of "long" : 8 
Checking for alignment of "long long" : 8 
Checking for alignment of "size_t" : 8 
Checking for size of "wchar_t" : 4 
Checking if "GCC size_t typedef is long" compiles: NO 
Checking if "GCC size_t typedef is long long" compiles: NO 

meson.build:1779:2: ERROR: Problem encountered: Could not determine size of size_t.

A full log can be found at /home/pbulk/build/devel/glib2/work/glib-2.80.3/output/meson-logs/meson-log.txt
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/glib2