=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for gtk-4.0.3.tar.xz
=> Checksum RMD160 OK for gtk-4.0.3.tar.xz
=> Checksum SHA512 OK for gtk-4.0.3.tar.xz
===> Installing dependencies for gtk4-4.0.3
==========================================================================
The supported build options for gtk4 are:

	cups debug x11

The currently selected options are:

	cups 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.gtk4 (not defined)

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

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * PYTHON_VERSION_DEFAULT = 38

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

        * BDBBASE = /usr
        * BDB_LIBS (defined, but empty)
        * BDB_TYPE = db1
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * PYPACKAGE = python38

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 gdbus-codegen-[0-9]*: found gdbus-codegen-2.66.8
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.66.8
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.7.3
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency meson-[0-9]*: found meson-0.57.1
=> Build dependency x11-links>=1.32: found x11-links-1.32
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency libcups>=2.3.3nb5: found libcups-2.3.3op2
=> Full dependency glib2>=2.64.0nb1: found glib2-2.66.8
=> Full dependency gobject-introspection>=1.62.0nb1: found gobject-introspection-1.68.0
=> Full dependency pango>=1.44.7nb3: found pango-1.48.3
=> Full dependency cairo>=1.16.0nb2: found cairo-1.16.0nb2
=> Full dependency cairo-gobject>=1.16.0nb5: found cairo-gobject-1.16.0nb5
=> Full dependency gdk-pixbuf2>=2.40.0nb1: found gdk-pixbuf2-2.40.0nb1
=> Full dependency graphene>=1.10.2: found graphene-1.10.2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency ffmpeg4>=4.3.1nb1: found ffmpeg4-4.3.2nb1
=> Full dependency iso-codes>=0.50: found iso-codes-3.77nb1
=> Full dependency python38>=3.8.0: found python38-3.8.8
===> 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 gtk4-4.0.3
===> Extracting for gtk4-4.0.3
===> Patching for gtk4-4.0.3
=> Applying pkgsrc patches for gtk4-4.0.3
=> Verifying /tree/pkgsrc/x11/gtk4/patches/patch-config.h.meson
=> Applying pkgsrc patch /tree/pkgsrc/x11/gtk4/patches/patch-config.h.meson
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config.h.meson,v 1.1 2021/02/25 09:55:55 ryoon Exp $
|
|* meson's has_function misdetects sincos(3) under NetBSD 9.99.80 at least.
|  Do not define HAVE_SINCOS for NetBSD in ugly way.
|
|--- config.h.meson.orig	2021-02-07 23:06:57.305976200 +0000
|+++ config.h.meson
--------------------------
Patching file config.h.meson using Plan A...
Hunk #1 succeeded at 86.
done
=> Verifying /tree/pkgsrc/x11/gtk4/patches/patch-gdk_wayland_cursor_os-compatibility.c
=> Applying pkgsrc patch /tree/pkgsrc/x11/gtk4/patches/patch-gdk_wayland_cursor_os-compatibility.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gdk_wayland_cursor_os-compatibility.c,v 1.1 2021/02/25 09:55:55 ryoon Exp $
|
|* NetBSD has no memfd_create.
|
|--- gdk/wayland/cursor/os-compatibility.c.orig	2021-02-07 23:06:57.457976600 +0000
|+++ gdk/wayland/cursor/os-compatibility.c
--------------------------
Patching file gdk/wayland/cursor/os-compatibility.c using Plan A...
Hunk #1 succeeded at 32.
done
=> Verifying /tree/pkgsrc/x11/gtk4/patches/patch-meson.build
=> Applying pkgsrc patch /tree/pkgsrc/x11/gtk4/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.1 2021/02/25 09:55:55 ryoon Exp $
|
|* Do not check gtk-doc dependency unconditionally. (only for pkgsrc)
|
|--- meson.build.orig	2021-02-07 23:06:57.760977300 +0000
|+++ meson.build
--------------------------
Patching file meson.build using Plan A...
Hunk #1 succeeded at 400.
done
===> Creating toolchain wrappers for gtk4-4.0.3
===> Configuring for gtk4-4.0.3
=> Generating pkg-config files for builtin xz package.
=> Generating pkg-config file for builtin expat package.
=> Adding run-time search paths to pkg-config files.
INFO: [subst.mk:_pkgconfig] Nothing changed in "gtk4-unix-print.pc.in".
=> Fixing locale directory references.
INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/application1/Makefile.example".
INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/application2/Makefile.example".
INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/application3/Makefile.example".
INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/application4/Makefile.example".
INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/application5/Makefile.example".
INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/application6/Makefile.example".
INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/application7/Makefile.example".
INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/application8/Makefile.example".
INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/application9/Makefile.example".
=> Checking for portability problems in extracted files
cd /scratch/work/x11/gtk4/work/gtk-4.0.3 && cd . && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr CMAKE=false DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= GI_SCANNER_DISABLE_CACHE=yes PYTHON=/usr/pkg/bin/python3.8 CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/pkg/include/krb5\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/include/ffmpeg4\ -I/usr/pkg/include/python3.8 CPPFLAGS=-DPNG_NO_ASSEMBLER_CODE\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/pkg/include/krb5\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/include/ffmpeg4\ -I/usr/pkg/include/python3.8 CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/pkg/include/krb5\ -I/usr/include\ -I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/include/ffmpeg4\ -I/usr/pkg/include/python3.8 COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 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\ -lexecinfo\ -L/usr/pkg/lib/ffmpeg4\ -Wl,-R/usr/pkg/lib/ffmpeg4 LINKER_RPATH_FLAG=-R PATH=/scratch/work/x11/gtk4/work/.cwrapper/bin:/scratch/work/x11/gtk4/work/.buildlink/bin:/scratch/work/x11/gtk4/work/.gcc/bin:/scratch/work/x11/gtk4/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/scratch/work/x11/gtk4/work/.home CWRAPPERS_CONFIG_DIR=/scratch/work/x11/gtk4/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=/scratch/work/x11/gtk4/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/scratch/work/x11/gtk4/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/scratch/work/x11/gtk4/work/.buildlink/lib/pkgconfig:/scratch/work/x11/gtk4/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/work/x11/gtk4/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/pkg/bin/krb5-config LIBGETOPT= CWRAPPERS_CONFIG_DIR=/scratch/work/x11/gtk4/work/.cwrapper/config meson  --prefix /usr/pkg --libdir lib --mandir man  --sysconfdir /usr/pkg/etc --buildtype=plain -Dwayland-backend=false -Dmacos-backend=false -Dx11-backend=true -Dprint-cups=enabled -Ddebug=false -Dsassc=disabled -Dgtk_doc=false . output
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 0.57.1
Source dir: /scratch/work/x11/gtk4/work/gtk-4.0.3
Build dir: /scratch/work/x11/gtk4/work/gtk-4.0.3/output
Build type: native build
Project name: gtk
Project version: 4.0.3
C compiler for the host machine: gcc (gcc 5.5.0 "gcc (nb3 20180905) 5.5.0")
C linker for the host machine: gcc ld.bfd 2.27
Host machine cpu family: arm
Host machine cpu: arm
Has header "crt/externs.h" : NO 
Has header "dev/evdev/input.h" : NO 
Has header "dlfcn.h" : YES 
Has header "ftw.h" : YES 
Has header "inttypes.h" : YES 
Has header "linux/input.h" : NO 
Has header "linux/memfd.h" : NO 
Has header "locale.h" : YES 
Has header "memory.h" : YES 
Has header "stdint.h" : YES 
Has header "stdlib.h" : YES 
Has header "strings.h" : YES 
Has header "string.h" : YES 
Has header "sys/mman.h" : YES 
Has header "sys/param.h" : YES 
Has header "sys/stat.h" : YES 
Has header "sys/sysinfo.h" : NO 
Has header "sys/systeminfo.h" : NO 
Has header "sys/time.h" : YES 
Has header "sys/types.h" : YES 
Has header "unistd.h" : YES 
Library m found: YES
Checking for function "dcgettext" with dependency -lm: YES 
Checking for function "getpagesize" with dependency -lm: YES 
Checking for function "getresuid" with dependency -lm: NO 
Checking for function "lstat" with dependency -lm: YES 
Checking for function "mmap" with dependency -lm: YES 
Checking for function "posix_fallocate" with dependency -lm: YES 
Checking for function "_lock_file" with dependency -lm: NO 
Checking for function "flockfile" with dependency -lm: YES 
Checking for function "mkstemp" with dependency -lm: YES 
Checking for function "mallinfo" with dependency -lm: NO 
Checking for function "sincos" with dependency -lm: YES 
Checking for function "sincosf" with dependency -lm: YES 
Checking if "__uint128_t available" compiles: NO 
Checking for function "mlock" : YES 
Compiler for C supports arguments -fno-strict-aliasing: YES 
Compiler for C supports arguments -Wno-c++11-extensions: NO 
Compiler for C supports arguments -Wno-missing-include-dirs: YES 
Compiler for C supports arguments -Wno-typedef-redefinition: NO 
Compiler for C supports arguments -Wduplicated-branches: NO 
Compiler for C supports arguments -Wduplicated-cond: NO 
Compiler for C supports arguments -Wformat=2: YES 
Compiler for C supports arguments -Wformat-nonliteral: YES 
Compiler for C supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Wignored-qualifiers: YES 
Compiler for C supports arguments -Wimplicit-function-declaration: YES 
Compiler for C supports arguments -Wlogical-op: YES 
Compiler for C supports arguments -Wmisleading-indentation: NO 
Compiler for C supports arguments -Wmissing-format-attribute: YES 
Compiler for C supports arguments -Wmissing-include-dirs: YES 
Compiler for C supports arguments -Wmissing-noreturn: YES 
Compiler for C supports arguments -Wnested-externs: YES 
Compiler for C supports arguments -Wnull-dereference: NO 
Compiler for C supports arguments -Wold-style-definition: YES 
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wshadow: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wswitch-default: YES 
Compiler for C supports arguments -Wswitch-enum: YES 
Compiler for C supports arguments -Wundef: YES 
Compiler for C supports arguments -Wuninitialized: YES 
Compiler for C supports arguments -Wunused: YES 
Compiler for C supports arguments -Werror=address: YES 
Compiler for C supports arguments -Werror=array-bounds: YES 
Compiler for C supports arguments -Werror=empty-body: YES 
Compiler for C supports arguments -Werror=implicit: YES 
Compiler for C supports arguments -Werror=implicit-fallthrough: NO 
Compiler for C supports arguments -Werror=init-self: YES 
Compiler for C supports arguments -Werror=int-to-pointer-cast: YES 
Compiler for C supports arguments -Werror=main: YES 
Compiler for C supports arguments -Werror=missing-braces: YES 
Compiler for C supports arguments -Werror=missing-declarations: YES 
Compiler for C supports arguments -Werror=missing-prototypes: YES 
Compiler for C supports arguments -Werror=nonnull: YES 
Compiler for C supports arguments -Werror=pointer-to-int-cast: YES 
Compiler for C supports arguments -Werror=redundant-decls: YES 
Compiler for C supports arguments -Werror=return-type: YES 
Compiler for C supports arguments -Werror=sequence-point: YES 
Compiler for C supports arguments -Werror=trigraphs: YES 
Compiler for C supports arguments -Werror=vla: YES 
Compiler for C supports arguments -Werror=write-strings: YES 
Compiler for C supports arguments -Wcast-align: YES 
Compiler for C supports link arguments -Wl,-Bsymbolic: YES 
Compiler for C supports link arguments -Wl,-z,relro: YES 
Compiler for C supports link arguments -Wl,-z,now: YES 
Found pkg-config: /scratch/work/x11/gtk4/work/.tools/bin/pkg-config (1.7.3)
Run-time dependency glib-2.0 found: YES 2.66.8
Run-time dependency gobject-2.0 found: YES 2.66.8
Run-time dependency gio-unix-2.0 found: YES 2.66.8
Run-time dependency gmodule-2.0 found: YES 2.66.8
Run-time dependency cairo found: YES 1.16.0
Run-time dependency cairo-gobject found: YES 1.16.0
Run-time dependency pango found: YES 1.48.3
Run-time dependency fribidi found: YES 1.0.10
Run-time dependency pangoft2 found: YES 1.48.3
Run-time dependency pangocairo found: YES 1.48.3
Run-time dependency gdk-pixbuf-2.0 found: YES 2.40.0
Dependency epoxy found: NO found 1.3.1 but need: '>= 1.4'
WARNING: Found CMake '/scratch/work/x11/gtk4/work/.tools/bin/false' but couldn't run it
Found CMake: NO
Run-time dependency epoxy found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency epoxy

meson.build:387:0: ERROR: Git program not found.

A full log can be found at /scratch/work/x11/gtk4/work/gtk-4.0.3/output/meson-logs/meson-log.txt
*** Error code 1

Stop.
make[1]: stopped in /tree/pkgsrc/x11/gtk4
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/x11/gtk4