=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for gtk4-4.12.1 ninja: Entering directory `output' [1/1780] Generating gdk/version/gdkversionmacros.h with a custom command [2/1780] Generating gdk/version/gdk-visibility.h with a custom command [3/1780] Generating gdk/gdkresources_h with a custom command [4/1780] Generating gdk/gdkresources_c with a custom command [5/1780] Generating gtk/css/gtkcssenumtypes.h with a custom command (wrapped by meson to capture output) [6/1780] Generating gdk/gdkenumtypes.h with a custom command (wrapped by meson because command contains newlines, to capture output) [7/1780] Generating gdk/gdkenumtypes.c with a custom command (wrapped by meson because command contains newlines, to capture output) [8/1780] Generating gtk/css/gtkcssenumtypes.c with a custom command (wrapped by meson to capture output) [9/1780] Compiling C object gtk/css/libgtk_css.a.p/gtkcsserror.c.o [10/1780] Compiling C object gtk/css/libgtk_css.a.p/meson-generated_.._gtkcssenumtypes.c.o [11/1780] Compiling C object gtk/css/libgtk_css.a.p/gtkcsssection.c.o [12/1780] Compiling C object gtk/css/libgtk_css.a.p/gtkcssdataurl.c.o [13/1780] Compiling C object gtk/css/libgtk_css.a.p/gtkcssparser.c.o [14/1780] Generating gdk/gdkmarshalers_h with a custom command INFO: Reading ../gdk/gdkmarshalers.list... [15/1780] Compiling C object gtk/css/libgtk_css.a.p/gtkcsstokenizer.c.o [16/1780] Generating gdk/gdkmarshalers_c with a custom command INFO: Reading ../gdk/gdkmarshalers.list... [17/1780] Compiling C object gtk/css/libgtk_css.a.p/gtkcssserializer.c.o [18/1780] Linking static target gtk/css/libgtk_css.a [19/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosbuffer.c.o [20/1780] Compiling C object gdk/macos/libgdk-macos.a.p/edgesnapping.c.o [21/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkdisplaylinksource.c.o [22/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacoscairocontext.c.o [23/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosclipboard.c.o [24/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacoscursor.c.o [25/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosdevice.c.o [26/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosdisplay-feedback.c.o [27/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosdisplay.c.o In file included from ../gdk/macos/gdkmacosdisplay.c:36: In file included from ../gdk/macos/gdkmacosglcontext-private.h:31: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:15:2: warning: gl.h and gl3.h are both included. Compiler will not invoke errors if using removed OpenGL functionality. [-W#warnings] #warning gl.h and gl3.h are both included. Compiler will not invoke errors if using removed OpenGL functionality. ^ ../gdk/macos/gdkmacosdisplay.c:1008:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] _gdk_macos_display_get_last_nsevent () ^ void 2 warnings generated. [28/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosdisplay-settings.c.o [29/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosdisplay-translate.c.o [30/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosdisplay-wm.c.o [31/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosdrag.c.o [32/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosdrop.c.o [33/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosdragsurface.c.o [34/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacosglcontext.c.o FAILED: gdk/macos/libgdk-macos.a.p/gdkmacosglcontext.c.o clang -Igdk/macos/libgdk-macos.a.p -Igdk/macos -I../gdk/macos -I. -I.. -Igdk -I../gdk -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/libpng16 -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/fribidi -I/opt/pkg/include/graphene-1.0 -I/opt/pkg/lib/graphene-1.0/include -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/include/gstreamer-1.0 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/python3.11 -fcolor-diagnostics -Wall -Winvalid-pch -std=gnu99 -DG_LOG_USE_STRUCTURED=1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION="4.12.1"' -D_GNU_SOURCE -pipe -Os -DPNG_NO_ASSEMBLER_CODE -D_REENTRANT -DGTK_COMPILATION '-DG_LOG_DOMAIN="Gdk"' -xobjective-c -fno-strict-aliasing -Wno-c++11-extensions -Wno-missing-include-dirs -Wno-typedef-redefinition -Wno-tautological-constant-out-of-range-compare -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Waddress -Warray-bounds -Wempty-body -Wimplicit -Wimplicit-fallthrough -Winit-self -Wint-to-pointer-cast -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnonnull -Woverride-init -Wpointer-to-int-cast -Wredundant-decls -Wreturn-type -Wsequence-point -Wtrigraphs -Wvla -Wwrite-strings -Wnull-dereference -fvisibility=hidden -MD -MQ gdk/macos/libgdk-macos.a.p/gdkmacosglcontext.c.o -MF gdk/macos/libgdk-macos.a.p/gdkmacosglcontext.c.o.d -o gdk/macos/libgdk-macos.a.p/gdkmacosglcontext.c.o -c ../gdk/macos/gdkmacosglcontext.c In file included from ../gdk/macos/gdkmacosglcontext.c:29: In file included from ../gdk/macos/gdkmacosglcontext-private.h:23: In file included from ../gdk/gdkglcontextprivate.h:24: In file included from ../gdk/gdkdrawcontextprivate.h:25: In file included from ../gdk/gdkmemoryformatprivate.h:24: /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl.h:53:9: warning: 'GLAPI' macro redefined [-Wmacro-redefined] #define GLAPI ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:106:9: note: previous definition is here #define GLAPI extern ^ In file included from ../gdk/macos/gdkmacosglcontext.c:29: In file included from ../gdk/macos/gdkmacosglcontext-private.h:23: In file included from ../gdk/gdkglcontextprivate.h:24: In file included from ../gdk/gdkdrawcontextprivate.h:25: In file included from ../gdk/gdkmemoryformatprivate.h:24: In file included from /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl.h:89: /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl_generated.h:975:9: warning: 'GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT' macro redefined [-Wmacro-redefined] #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001 ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:631:9: note: previous definition is here #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001 ^ In file included from ../gdk/macos/gdkmacosglcontext.c:29: In file included from ../gdk/macos/gdkmacosglcontext-private.h:23: In file included from ../gdk/gdkglcontextprivate.h:24: In file included from ../gdk/gdkdrawcontextprivate.h:25: In file included from ../gdk/gdkmemoryformatprivate.h:24: In file included from /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl.h:89: /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl_generated.h:4947:9: warning: 'GL_DRAW_FRAMEBUFFER_BINDING' macro redefined [-Wmacro-redefined] #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:1174:9: note: previous definition is here #define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING ^ In file included from ../gdk/macos/gdkmacosglcontext.c:29: In file included from ../gdk/macos/gdkmacosglcontext-private.h:23: In file included from ../gdk/gdkglcontextprivate.h:24: In file included from ../gdk/gdkdrawcontextprivate.h:25: In file included from ../gdk/gdkmemoryformatprivate.h:24: In file included from /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl.h:89: /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl_generated.h:6829:9: warning: 'GL_INVALID_INDEX' macro redefined [-Wmacro-redefined] #define GL_INVALID_INDEX 0xFFFFFFFF ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:1315:9: note: previous definition is here #define GL_INVALID_INDEX 0xFFFFFFFFu ^ In file included from ../gdk/macos/gdkmacosglcontext.c:29: In file included from ../gdk/macos/gdkmacosglcontext-private.h:23: In file included from ../gdk/gdkglcontextprivate.h:24: In file included from ../gdk/gdkdrawcontextprivate.h:25: In file included from ../gdk/gdkmemoryformatprivate.h:24: In file included from /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl.h:89: /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl_generated.h:6831:9: warning: 'GL_TIMEOUT_IGNORED' macro redefined [-Wmacro-redefined] #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFF ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:1358:9: note: previous definition is here #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull ^ In file included from ../gdk/macos/gdkmacosglcontext.c:29: In file included from ../gdk/macos/gdkmacosglcontext-private.h:23: In file included from ../gdk/gdkglcontextprivate.h:24: In file included from ../gdk/gdkdrawcontextprivate.h:25: In file included from ../gdk/gdkmemoryformatprivate.h:24: In file included from /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl.h:89: /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl_generated.h:9407:27: error: typedef redefinition with different types ('void (*)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLboolean)' (aka 'void (*)(unsigned int, int, unsigned int, int, int, unsigned char)') vs 'void (*)(GLenum, GLsizei, GLint, GLsizei, GLsizei, GLboolean)' (aka 'void (*)(unsigned int, int, int, int, int, unsigned char)')) typedef void (GLAPIENTRY *PFNGLTEXIMAGE2DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:2461:25: note: previous definition is here typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); ^ In file included from ../gdk/macos/gdkmacosglcontext.c:29: In file included from ../gdk/macos/gdkmacosglcontext-private.h:23: In file included from ../gdk/gdkglcontextprivate.h:24: In file included from ../gdk/gdkdrawcontextprivate.h:25: In file included from ../gdk/gdkmemoryformatprivate.h:24: In file included from /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl.h:89: /Users/pbulk/build/x11/gtk4/work/.buildlink/include/epoxy/gl_generated.h:9411:27: error: typedef redefinition with different types ('void (*)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean)' (aka 'void (*)(unsigned int, int, unsigned int, int, int, int, unsigned char)') vs 'void (*)(GLenum, GLsizei, GLint, GLsizei, GLsizei, GLsizei, GLboolean)' (aka 'void (*)(unsigned int, int, int, int, int, int, unsigned char)')) typedef void (GLAPIENTRY *PFNGLTEXIMAGE3DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:2462:25: note: previous definition is here typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); ^ ../gdk/macos/gdkmacosglcontext.c:502:85: error: use of undeclared identifier 'prefers_high_depth' GDK_DRAW_CONTEXT_CLASS (gdk_macos_gl_context_parent_class)->begin_frame (context, prefers_high_depth, region); ^ 5 warnings and 3 errors generated. [35/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacoseventsource.c.o [36/1780] Compiling C object gdk/macos/libgdk-macos.a.p/gdkmacoskeymap.c.o ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/x11/gtk4 *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/x11/gtk4