=> Bootstrap dependency digest>=20010302: found digest-20190127
===> 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'.
===> Building for melonds-0.8.3nb4
Scanning dependencies of target libui-temporary
Scanning dependencies of target core
[  2%] Building CXX object src/CMakeFiles/core.dir/ARM.cpp.o
[  2%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/common/areaevents.c.o
[  3%] Building CXX object src/CMakeFiles/core.dir/ARMInterpreter.cpp.o
[  5%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/common/control.c.o
[  6%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/common/debug.c.o
[  7%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/common/matrix.c.o
[  9%] Building CXX object src/CMakeFiles/core.dir/ARMInterpreter_ALU.cpp.o
[  9%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/common/shouldquit.c.o
[ 10%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/common/userbugs.c.o
[ 11%] Building CXX object src/CMakeFiles/core.dir/ARMInterpreter_Branch.cpp.o
[ 13%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/alloc.c.o
[ 14%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/area.c.o
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/alloc.c: In function 'uninitComplain':
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/alloc.c:27:26: warning: zero-length gnu_printf format string [-Wformat-zero-length]
   *str = g_strdup_printf("");
                          ^
[ 15%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/box.c.o
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c:31:28: warning: redefinition of typedef 'uiGLContext' [-Wpedantic]
 typedef struct uiGLContext uiGLContext;
                            ^
In file included from /scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/uipriv_unix.h:12:0,
                 from /scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c:2:
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/../ui.h:612:28: note: previous declaration of 'uiGLContext' was here
 typedef struct uiGLContext uiGLContext;
                            ^
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c: In function 'baba':
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c:75:2: warning: 'gdk_gl_context_get_current' is deprecated: Not available before 3.16 [-Wdeprecated-declarations]
  GdkGLContext* oldctx = gdk_gl_context_get_current();
  ^
In file included from /scratch/work/emulators/melonds/work/.buildlink/include/gtk-3.0/gdk/gdk.h:47:0,
                 from /scratch/work/emulators/melonds/work/.buildlink/include/gtk-3.0/gtk/gtk.h:30,
                 from /scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/uipriv_unix.h:6,
                 from /scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c:2:
/scratch/work/emulators/melonds/work/.buildlink/include/gtk-3.0/gdk/gdkglcontext.h:88:25: note: declared here
 GdkGLContext *          gdk_gl_context_get_current              (void);
                         ^
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c:77:2: warning: implicit declaration of function 'glFinish' [-Wimplicit-function-declaration]
  glFinish();
  ^
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c:78:2: warning: 'gdk_gl_context_make_current' is deprecated: Not available before 3.16 [-Wdeprecated-declarations]
  gdk_gl_context_make_current(oldctx);
  ^
In file included from /scratch/work/emulators/melonds/work/.buildlink/include/gtk-3.0/gdk/gdk.h:47:0,
                 from /scratch/work/emulators/melonds/work/.buildlink/include/gtk-3.0/gtk/gtk.h:30,
                 from /scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/uipriv_unix.h:6,
                 from /scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c:2:
/scratch/work/emulators/melonds/work/.buildlink/include/gtk-3.0/gdk/gdkglcontext.h:86:25: note: declared here
 void                    gdk_gl_context_make_current             (GdkGLContext  *context);
                         ^
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c: In function 'areaKeyEvent':
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c:490:6: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c: In function 'uiNewGLArea':
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/area.c:801:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  a->req_versions = req_versions;
                  ^
[ 17%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/button.c.o
[ 18%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/cellrendererbutton.c.o
[ 18%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/checkbox.c.o
[ 19%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/child.c.o
[ 21%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/colorbutton.c.o
[ 22%] Building CXX object src/CMakeFiles/core.dir/ARMInterpreter_LoadStore.cpp.o
[ 23%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/combobox.c.o
[ 25%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/control.c.o
[ 26%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/datetimepicker.c.o
[ 27%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/debug.c.o
[ 27%] Building CXX object src/CMakeFiles/core.dir/Config.cpp.o
[ 28%] Building CXX object src/CMakeFiles/core.dir/CP15.cpp.o
[ 28%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/draw.c.o
[ 30%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/drawmatrix.c.o
[ 31%] Building CXX object src/CMakeFiles/core.dir/CRC32.cpp.o
[ 32%] Building CXX object src/CMakeFiles/core.dir/DMA.cpp.o
In file included from /scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/uipriv_unix.h:14:0,
                 from /scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/draw.c:2:
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/draw.c: In function 'mkbrush':
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/../common/uipriv.h:24:22: warning: 'pat' may be used uninitialized in this function [-Wmaybe-uninitialized]
 #define implbug(...) _implbug(__FILE__, _ns(__LINE__), __func__, __VA_ARGS__)
                      ^
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/draw.c:21:19: note: 'pat' was declared here
  cairo_pattern_t *pat;
                   ^
[ 34%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/drawpath.c.o
[ 35%] Building CXX object src/CMakeFiles/core.dir/GPU.cpp.o
[ 36%] Building CXX object src/CMakeFiles/core.dir/GPU2D.cpp.o
[ 38%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/drawtext.c.o
[ 39%] Building CXX object src/CMakeFiles/core.dir/GPU3D.cpp.o
[ 40%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/editablecombo.c.o
[ 40%] Building CXX object src/CMakeFiles/core.dir/GPU3D_OpenGL.cpp.o
[ 42%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/entry.c.o
[ 43%] Building CXX object src/CMakeFiles/core.dir/GPU3D_Soft.cpp.o
[ 44%] Building CXX object src/CMakeFiles/core.dir/NDS.cpp.o
[ 46%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/fontbutton.c.o
[ 47%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/form.c.o
[ 48%] Building CXX object src/CMakeFiles/core.dir/NDSCart.cpp.o
[ 50%] Building CXX object src/CMakeFiles/core.dir/OpenGLSupport.cpp.o
[ 51%] Building CXX object src/CMakeFiles/core.dir/RTC.cpp.o
[ 51%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/future.c.o
[ 52%] Building CXX object src/CMakeFiles/core.dir/Savestate.cpp.o
[ 52%] Building CXX object src/CMakeFiles/core.dir/SPI.cpp.o
[ 53%] Building CXX object src/CMakeFiles/core.dir/SPU.cpp.o
[ 55%] Building CXX object src/CMakeFiles/core.dir/Wifi.cpp.o
[ 56%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/graphemes.c.o
[ 57%] Building CXX object src/CMakeFiles/core.dir/WifiAP.cpp.o
[ 59%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/grid.c.o
[ 60%] Linking CXX static library libcore.a
[ 60%] Built target core
[ 61%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/group.c.o
[ 63%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/image.c.o
[ 64%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/label.c.o
[ 65%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/main.c.o
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/image.c: In function 'uiImageAppend':
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/image.c:56:13: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
   /* TODO */;
             ^
[ 65%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/menu.c.o
[ 67%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/multilineentry.c.o
[ 68%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/progressbar.c.o
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/menu.c: In function 'appendMenuItem':
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/menu.c:313:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (j = 0; j < m->items->len; j++)
                 ^
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/menu.c:301:13: warning: 'signal' may be used uninitialized in this function [-Wmaybe-uninitialized]
  ww->signal = signal;
             ^
[ 69%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/radiobuttons.c.o
[ 71%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/separator.c.o
[ 72%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/slider.c.o
[ 73%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/spinbox.c.o
[ 73%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/stddialogs.c.o
[ 75%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/tab.c.o
[ 76%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/text.c.o
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/stddialogs.c: In function 'filedialog':
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/stddialogs.c:35:6: warning: 'fname' may be used uninitialized in this function [-Wmaybe-uninitialized]
      gtk_file_filter_set_name(filter, fname);
      ^
[ 77%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/util.c.o
[ 78%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/window.c.o
[ 80%] Building C object src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/gl.c.o
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/window.c: In function 'onGetFocus':
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/window.c:63:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/window.c: In function 'onLoseFocus':
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/window.c:70:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/window.c: In function 'uiWindowMaximized':
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/window.c:245:5: warning: 'gtk_window_is_maximized' is deprecated: Not available before 3.12 [-Wdeprecated-declarations]
     return gtk_window_is_maximized(w->window);
     ^
In file included from /scratch/work/emulators/melonds/work/.buildlink/include/gtk-3.0/gtk/gtkdialog.h:32:0,
                 from /scratch/work/emulators/melonds/work/.buildlink/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /scratch/work/emulators/melonds/work/.buildlink/include/gtk-3.0/gtk/gtk.h:31,
                 from /scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/uipriv_unix.h:6,
                 from /scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/window.c:2:
/scratch/work/emulators/melonds/work/.buildlink/include/gtk-3.0/gtk/gtkwindow.h:495:10: note: declared here
 gboolean gtk_window_is_maximized           (GtkWindow    *window);
          ^
/scratch/work/emulators/melonds/work/melonDS-0.8.3/src/libui_sdl/libui/unix/gl.c:6:21: fatal error: EGL/egl.h: No such file or directory
compilation terminated.
--- src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/gl.c.o ---
*** [src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/unix/gl.c.o] Error code 1

make[2]: stopped in /scratch/work/emulators/melonds/work/melonDS-0.8.3
1 error

make[2]: stopped in /scratch/work/emulators/melonds/work/melonDS-0.8.3
--- src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/all ---
*** [src/libui_sdl/libui/CMakeFiles/libui-temporary.dir/all] Error code 2

make[1]: stopped in /scratch/work/emulators/melonds/work/melonDS-0.8.3
1 error

make[1]: stopped in /scratch/work/emulators/melonds/work/melonDS-0.8.3
*** [all] Error code 2

make: stopped in /scratch/work/emulators/melonds/work/melonDS-0.8.3
1 error

make: stopped in /scratch/work/emulators/melonds/work/melonDS-0.8.3
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/emulators/melonds
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/emulators/melonds