=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for mutter-40.2nb2
cd /tmp/pkgbuild/wm/mutter/work.sparc64/mutter-40.2 && cd . && /usr/bin/env USETOOLS=no CMAKE=false PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= GI_SCANNER_DISABLE_CACHE=yes CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/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/include\ -I/usr/X11R7/include\ -I/usr/X11R7/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/libdrm CPPFLAGS=-DPNG_NO_ASSEMBLER_CODE\ -I/usr/pkg/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/include\ -I/usr/X11R7/include\ -I/usr/X11R7/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/libdrm CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/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/include\ -I/usr/X11R7/include\ -I/usr/X11R7/include/freetype2\ -I/usr/pkg/include/harfbuzz\ -I/usr/X11R7/include/libdrm COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-R/usr/pkg/lib/mutter-8\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib LINKER_RPATH_FLAG=-R PATH=/tmp/pkgbuild/wm/mutter/work.sparc64/.cwrapper/bin:/tmp/pkgbuild/wm/mutter/work.sparc64/.buildlink/bin:/tmp/pkgbuild/wm/mutter/work.sparc64/.distcc/bin:/tmp/pkgbuild/wm/mutter/work.sparc64/.gcc/bin:/tmp/pkgbuild/wm/mutter/work.sparc64/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/tmp/pkgbuild/wm/mutter/work.sparc64/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/wm/mutter/work.sparc64/.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=/tmp/pkgbuild/wm/mutter/work.sparc64/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/pkgbuild/wm/mutter/work.sparc64/.tools/bin/itstool GDBUS_CODEGEN=/tmp/pkgbuild/wm/mutter/work.sparc64/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/pkgbuild/wm/mutter/work.sparc64/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgbuild/wm/mutter/work.sparc64/.buildlink/lib/pkgconfig:/tmp/pkgbuild/wm/mutter/work.sparc64/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgbuild/wm/mutter/work.sparc64/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/wm/mutter/work.sparc64/.cwrapper/config ninja -j 3 -C output
ninja: Entering directory `output'
[1/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_nop_cogl-nop-framebuffer.c.o
[2/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_nop_cogl-driver-nop.c.o
[3/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_nop_cogl-attribute-nop.c.o
[4/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_nop_cogl-clip-stack-nop.c.o
[5/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_nop_cogl-texture-2d-nop.c.o
[6/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-util-gl.c.o
[7/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-framebuffer-gl.c.o
[8/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-gl-framebuffer-back.c.o
[9/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-texture-gl.c.o
[10/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-gl-framebuffer-fbo.c.o
[11/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-texture-2d-gl.c.o
[12/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-attribute-gl.c.o
[13/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-buffer-gl.c.o
[14/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-clip-stack-gl.c.o
[15/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-bitmap-gl.c.o
[16/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-pipeline-opengl.c.o
[17/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-pipeline-vertend-glsl.c.o
[18/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-pipeline-fragend-glsl.c.o
[19/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_cogl-pipeline-progend-glsl.c.o
[20/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_gl_cogl-driver-gl.c.o
[21/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/driver_gl_gl_cogl-texture-driver-gl.c.o
[22/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/winsys_cogl-winsys.c.o
[23/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-dma-buf-handle.c.o
[24/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-swap-chain.c.o
[25/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-context.c.o
FAILED: cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-context.c.o 
gcc -Icogl/cogl/libmutter-cogl-8.so.0.0.0.p -Icogl/cogl -I../cogl/cogl -Icogl -I../cogl -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/include/graphene-1.0 -I/usr/pkg/lib/graphene-1.0/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/include -I/usr/pkg/include/harfbuzz -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPNG_NO_ASSEMBLER_CODE -fPIC -pthread -D_REENTRANT '-DCOGL_LOCALEDIR="/usr/pkg/share/locale"' -DCOGL_COMPILATION '-DCOGL_GL_LIBNAME="libGL.so"' -MD -MQ cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-context.c.o -MF cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-context.c.o.d -o cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-context.c.o -c ../cogl/cogl/cogl-context.c
distcc[1090] ERROR: compile ../cogl/cogl/cogl-context.c on 10.1.1.1:3642 failed
distcc[1090] (dcc_build_somewhere) Warning: remote compilation of '../cogl/cogl/cogl-context.c' failed, retrying locally
distcc[1090] Warning: failed to distribute ../cogl/cogl/cogl-context.c to 10.1.1.1:3642, running locally instead
In file included from ../cogl/cogl/winsys/cogl-onscreen-egl.h:30:0,
                 from ../cogl/cogl/winsys/cogl-onscreen-xlib.h:31,
                 from ../cogl/cogl/cogl-mutter.h:49,
                 from ../cogl/cogl/cogl-context.c:33:
../cogl/cogl/winsys/cogl-winsys-egl-private.h:85:30: error: unknown type name 'EGLint'; did you mean 'GLint'?
                              EGLint                      *attributes);
                              ^~~~~~
                              GLint
../cogl/cogl/winsys/cogl-winsys-egl-private.h:88:22: error: unknown type name 'EGLint'; did you mean 'GLint'?
                      EGLint *attributes,
                      ^~~~~~
                      GLint
../cogl/cogl/winsys/cogl-winsys-egl-private.h:89:22: error: unknown type name 'EGLConfig'; did you mean 'GLXFBConfig'?
                      EGLConfig *out_config,
                      ^~~~~~~~~
                      GLXFBConfig
../cogl/cogl/winsys/cogl-winsys-egl-private.h:91:1: warning: no semicolon at end of struct or union
 } CoglWinsysEGLVtable;
 ^
../cogl/cogl/winsys/cogl-winsys-egl-private.h:111:3: error: unknown type name 'EGLDisplay'
   EGLDisplay edpy;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:113:3: error: unknown type name 'EGLint'
   EGLint egl_version_major;
   ^~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:114:3: error: unknown type name 'EGLint'
   EGLint egl_version_minor;
   ^~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-feature-functions.h:54:31: error: expected specifier-qualifier-list before 'EGLBoolean'
 COGL_WINSYS_FEATURE_FUNCTION (EGLBoolean, eglSwapBuffersRegion,
                               ^
../cogl/cogl/winsys/cogl-winsys-egl-private.h:127:3: note: in definition of macro 'COGL_WINSYS_FEATURE_FUNCTION'
   ret (APIENTRY * pf_ ## name) args;
   ^~~
In file included from ../cogl/cogl/winsys/cogl-onscreen-egl.h:30:0,
                 from ../cogl/cogl/winsys/cogl-onscreen-xlib.h:31,
                 from ../cogl/cogl/cogl-mutter.h:49,
                 from ../cogl/cogl/cogl-context.c:33:
../cogl/cogl/winsys/cogl-winsys-egl-private.h:140:3: error: unknown type name 'EGLContext'
   EGLContext egl_context;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:141:3: error: unknown type name 'EGLSurface'
   EGLSurface dummy_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:142:3: error: unknown type name 'EGLSurface'
   EGLSurface egl_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:144:3: error: unknown type name 'EGLConfig'
   EGLConfig egl_config;
   ^~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:147:3: error: unknown type name 'EGLSurface'
   EGLSurface current_read_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:148:3: error: unknown type name 'EGLSurface'
   EGLSurface current_draw_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:149:3: error: unknown type name 'EGLContext'
   EGLContext current_context;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:157:3: error: unknown type name 'EGLSurface'
   EGLSurface saved_draw_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:158:3: error: unknown type name 'EGLSurface'
   EGLSurface saved_read_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:164:13: error: unknown type name 'EGLBoolean'
 COGL_EXPORT EGLBoolean
             ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:166:32: error: unknown type name 'EGLSurface'; did you mean 'GSource'?
                                EGLSurface draw,
                                ^~~~~~~~~~
                                GSource
../cogl/cogl/winsys/cogl-winsys-egl-private.h:167:32: error: unknown type name 'EGLSurface'; did you mean 'GSource'?
                                EGLSurface read,
                                ^~~~~~~~~~
                                GSource
../cogl/cogl/winsys/cogl-winsys-egl-private.h:168:32: error: unknown type name 'EGLContext'; did you mean 'GLXContext'?
                                EGLContext context);
                                ^~~~~~~~~~
                                GLXContext
../cogl/cogl/winsys/cogl-winsys-egl-private.h:170:13: error: unknown type name 'EGLBoolean'
 COGL_EXPORT EGLBoolean
             ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:200:40: error: unknown type name 'EGLint'; did you mean 'GLint'?
                                        EGLint                      *attributes);
                                        ^~~~~~
                                        GLint
In file included from ../cogl/cogl/winsys/cogl-onscreen-xlib.h:31:0,
                 from ../cogl/cogl/cogl-mutter.h:49,
                 from ../cogl/cogl/cogl-context.c:33:
../cogl/cogl/winsys/cogl-onscreen-egl.h:46:36: error: unknown type name 'EGLSurface'; did you mean 'GSource'?
                                    EGLSurface       egl_surface);
                                    ^~~~~~~~~~
                                    GSource
../cogl/cogl/winsys/cogl-onscreen-egl.h:48:13: error: unknown type name 'EGLSurface'
 COGL_EXPORT EGLSurface
             ^~~~~~~~~~
../cogl/cogl/winsys/cogl-onscreen-egl.h:53:34: error: unknown type name 'EGLConfig'; did you mean 'GLXFBConfig'?
                                  EGLConfig        *out_egl_config,
                                  ^~~~~~~~~
                                  GLXFBConfig
In file included from ../cogl/cogl/cogl-mutter.h:49:0,
                 from ../cogl/cogl/cogl-context.c:33:
../cogl/cogl/winsys/cogl-onscreen-xlib.h:41:38: error: unknown type name 'EGLConfig'; did you mean 'GLXFBConfig'?
                                      EGLConfig      egl_config,
                                      ^~~~~~~~~
                                      GLXFBConfig
distcc[1090] ERROR: compile ../cogl/cogl/cogl-context.c on localhost failed
[26/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-onscreen-template.c.o
[27/497] Compiling C object cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-renderer.c.o
FAILED: cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-renderer.c.o 
gcc -Icogl/cogl/libmutter-cogl-8.so.0.0.0.p -Icogl/cogl -I../cogl/cogl -Icogl -I../cogl -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/include/graphene-1.0 -I/usr/pkg/lib/graphene-1.0/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/include -I/usr/pkg/include/harfbuzz -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -O2 -fPIC -D_FORTIFY_SOURCE=2 -DPNG_NO_ASSEMBLER_CODE -fPIC -pthread -D_REENTRANT '-DCOGL_LOCALEDIR="/usr/pkg/share/locale"' -DCOGL_COMPILATION '-DCOGL_GL_LIBNAME="libGL.so"' -MD -MQ cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-renderer.c.o -MF cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-renderer.c.o.d -o cogl/cogl/libmutter-cogl-8.so.0.0.0.p/cogl-renderer.c.o -c ../cogl/cogl/cogl-renderer.c
distcc[23085] ERROR: compile ../cogl/cogl/cogl-renderer.c on 10.1.1.1:3642 failed
distcc[23085] (dcc_build_somewhere) Warning: remote compilation of '../cogl/cogl/cogl-renderer.c' failed, retrying locally
distcc[23085] Warning: failed to distribute ../cogl/cogl/cogl-renderer.c to 10.1.1.1:3642, running locally instead
In file included from ../cogl/cogl/winsys/cogl-onscreen-egl.h:30:0,
                 from ../cogl/cogl/winsys/cogl-onscreen-xlib.h:31,
                 from ../cogl/cogl/cogl-mutter.h:49,
                 from ../cogl/cogl/cogl-renderer.c:42:
../cogl/cogl/winsys/cogl-winsys-egl-private.h:85:30: error: unknown type name 'EGLint'; did you mean 'GLint'?
                              EGLint                      *attributes);
                              ^~~~~~
                              GLint
../cogl/cogl/winsys/cogl-winsys-egl-private.h:88:22: error: unknown type name 'EGLint'; did you mean 'GLint'?
                      EGLint *attributes,
                      ^~~~~~
                      GLint
../cogl/cogl/winsys/cogl-winsys-egl-private.h:89:22: error: unknown type name 'EGLConfig'; did you mean 'GLXFBConfig'?
                      EGLConfig *out_config,
                      ^~~~~~~~~
                      GLXFBConfig
../cogl/cogl/winsys/cogl-winsys-egl-private.h:91:1: warning: no semicolon at end of struct or union
 } CoglWinsysEGLVtable;
 ^
../cogl/cogl/winsys/cogl-winsys-egl-private.h:111:3: error: unknown type name 'EGLDisplay'
   EGLDisplay edpy;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:113:3: error: unknown type name 'EGLint'
   EGLint egl_version_major;
   ^~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:114:3: error: unknown type name 'EGLint'
   EGLint egl_version_minor;
   ^~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-feature-functions.h:54:31: error: expected specifier-qualifier-list before 'EGLBoolean'
 COGL_WINSYS_FEATURE_FUNCTION (EGLBoolean, eglSwapBuffersRegion,
                               ^
../cogl/cogl/winsys/cogl-winsys-egl-private.h:127:3: note: in definition of macro 'COGL_WINSYS_FEATURE_FUNCTION'
   ret (APIENTRY * pf_ ## name) args;
   ^~~
In file included from ../cogl/cogl/winsys/cogl-onscreen-egl.h:30:0,
                 from ../cogl/cogl/winsys/cogl-onscreen-xlib.h:31,
                 from ../cogl/cogl/cogl-mutter.h:49,
                 from ../cogl/cogl/cogl-renderer.c:42:
../cogl/cogl/winsys/cogl-winsys-egl-private.h:140:3: error: unknown type name 'EGLContext'
   EGLContext egl_context;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:141:3: error: unknown type name 'EGLSurface'
   EGLSurface dummy_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:142:3: error: unknown type name 'EGLSurface'
   EGLSurface egl_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:144:3: error: unknown type name 'EGLConfig'
   EGLConfig egl_config;
   ^~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:147:3: error: unknown type name 'EGLSurface'
   EGLSurface current_read_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:148:3: error: unknown type name 'EGLSurface'
   EGLSurface current_draw_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:149:3: error: unknown type name 'EGLContext'
   EGLContext current_context;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:157:3: error: unknown type name 'EGLSurface'
   EGLSurface saved_draw_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:158:3: error: unknown type name 'EGLSurface'
   EGLSurface saved_read_surface;
   ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:164:13: error: unknown type name 'EGLBoolean'
 COGL_EXPORT EGLBoolean
             ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:166:32: error: unknown type name 'EGLSurface'; did you mean 'GSource'?
                                EGLSurface draw,
                                ^~~~~~~~~~
                                GSource
../cogl/cogl/winsys/cogl-winsys-egl-private.h:167:32: error: unknown type name 'EGLSurface'; did you mean 'GSource'?
                                EGLSurface read,
                                ^~~~~~~~~~
                                GSource
../cogl/cogl/winsys/cogl-winsys-egl-private.h:168:32: error: unknown type name 'EGLContext'; did you mean 'GLXContext'?
                                EGLContext context);
                                ^~~~~~~~~~
                                GLXContext
../cogl/cogl/winsys/cogl-winsys-egl-private.h:170:13: error: unknown type name 'EGLBoolean'
 COGL_EXPORT EGLBoolean
             ^~~~~~~~~~
../cogl/cogl/winsys/cogl-winsys-egl-private.h:200:40: error: unknown type name 'EGLint'; did you mean 'GLint'?
                                        EGLint                      *attributes);
                                        ^~~~~~
                                        GLint
In file included from ../cogl/cogl/winsys/cogl-onscreen-xlib.h:31:0,
                 from ../cogl/cogl/cogl-mutter.h:49,
                 from ../cogl/cogl/cogl-renderer.c:42:
../cogl/cogl/winsys/cogl-onscreen-egl.h:46:36: error: unknown type name 'EGLSurface'; did you mean 'GSource'?
                                    EGLSurface       egl_surface);
                                    ^~~~~~~~~~
                                    GSource
../cogl/cogl/winsys/cogl-onscreen-egl.h:48:13: error: unknown type name 'EGLSurface'
 COGL_EXPORT EGLSurface
             ^~~~~~~~~~
../cogl/cogl/winsys/cogl-onscreen-egl.h:53:34: error: unknown type name 'EGLConfig'; did you mean 'GLXFBConfig'?
                                  EGLConfig        *out_egl_config,
                                  ^~~~~~~~~
                                  GLXFBConfig
In file included from ../cogl/cogl/cogl-mutter.h:49:0,
                 from ../cogl/cogl/cogl-renderer.c:42:
../cogl/cogl/winsys/cogl-onscreen-xlib.h:41:38: error: unknown type name 'EGLConfig'; did you mean 'GLXFBConfig'?
                                      EGLConfig      egl_config,
                                      ^~~~~~~~~
                                      GLXFBConfig
distcc[23085] ERROR: compile ../cogl/cogl/cogl-renderer.c on localhost failed
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/wm/mutter
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wm/mutter