=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> 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'. => Checksum SHA1 OK for SDL2-2.0.7.tar.gz => Checksum RMD160 OK for SDL2-2.0.7.tar.gz => Checksum SHA512 OK for SDL2-2.0.7.tar.gz ===> Installing dependencies for SDL2-2.0.7 ========================================================================== The supported build options for SDL2 are: alsa dbus esound nas opengl oss pulseaudio x11 The currently selected options are: opengl oss 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.SDL2 (not defined) ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6 => Tool dependency automake>=1.9: found automake-1.15.1 => Tool dependency autoconf>=2.58: found autoconf-2.69nb7 => Tool dependency gmake>=3.81: found gmake-4.1nb3 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.3.5 => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 => Build dependency dri2proto>=2.1: found dri2proto-2.8 => Build dependency dri3proto>=1.0: found dri3proto-1.0 => Build dependency xproto>=7.0.13: found xproto-7.0.31 => Build dependency presentproto>=1.0: found presentproto-1.1 => Build dependency glproto>=1.4.11: found glproto-1.4.17 => Build dependency damageproto>=1.1.0: found damageproto-1.2.1 => Build dependency fixesproto>=4.0.0: found fixesproto-5.0 => Build dependency xextproto>=7.0.99.1: found xextproto-7.3.0 => Build dependency inputproto>=2.3: found inputproto-2.3.2 => Build dependency kbproto>=1.0.2: found kbproto-1.0.7 => Build dependency xcb-proto>=1.4: found xcb-proto-1.12 => Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1 => Build dependency xf86driproto>=2.0.3: found xf86driproto-2.1.1nb1 => Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1 => Build dependency xineramaproto>=1.1.1: found xineramaproto-1.2.1 => Build dependency randrproto>=1.4: found randrproto-1.5.0 => Build dependency scrnsaverproto>=1.1.0: found scrnsaverproto-1.2.2 => Build dependency cwrappers>=20150314: found cwrappers-20171108 => Full dependency MesaLib>=10.5.3: found MesaLib-11.2.2nb6 => Full dependency libXcursor>=1.1.1: found libXcursor-1.1.15 => Full dependency libXi>=1.0.0: found libXi-1.7.9 => Full dependency libXinerama>=1.0.1: found libXinerama-1.1.3 => Full dependency libXrandr>=1.1.2: found libXrandr-1.5.1 => Full dependency libXScrnSaver>=1.1.2: found libXScrnSaver-1.2.2 => Full dependency libusb>=0.1.8nb2: found libusb-0.1.12nb4 ===> Overriding tools for SDL2-2.0.7 ===> Extracting for SDL2-2.0.7 ===> Patching for SDL2-2.0.7 => Applying pkgsrc patches for SDL2-2.0.7 => Verifying /data/pkgsrc/devel/SDL2/patches/patch-configure => Applying pkgsrc patch /data/pkgsrc/devel/SDL2/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.6 2017/01/26 03:46:20 nat Exp $ | |Adding --enable-new-dtags breaks sdl2-config on NetBSD. | |--- configure.orig 2016-10-20 03:56:27.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 24673 (offset 718 lines). done => Verifying /data/pkgsrc/devel/SDL2/patches/patch-src_audio_netbsd_SDL__netbsdaudio.c => Applying pkgsrc patch /data/pkgsrc/devel/SDL2/patches/patch-src_audio_netbsd_SDL__netbsdaudio.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_audio_netbsd_SDL__netbsdaudio.c,v 1.1 2017/09/26 13:10:56 adam Exp $ | |Remove delay as there is already an inherent delay in writing audio. |https://bugzilla.libsdl.org/show_bug.cgi?id=3177 | |audio_prinfo needs 'struct' on NetBSD. |Use correct prinfo. |Inform upper layer of blocksize | |--- src/audio/netbsd/SDL_netbsdaudio.c.orig 2017-09-26 12:34:35.000000000 +0000 |+++ src/audio/netbsd/SDL_netbsdaudio.c -------------------------- Patching file src/audio/netbsd/SDL_netbsdaudio.c using Plan A... Hunk #1 succeeded at 63. Hunk #2 succeeded at 184. Hunk #3 succeeded at 270. Hunk #4 succeeded at 362. done => Verifying /data/pkgsrc/devel/SDL2/patches/patch-src_joystick_bsd_SDL__sysjoystick.c => Applying pkgsrc patch /data/pkgsrc/devel/SDL2/patches/patch-src_joystick_bsd_SDL__sysjoystick.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_joystick_bsd_SDL__sysjoystick.c,v 1.5 2016/10/30 10:37:17 wiz Exp $ | |Move variable declarations to top, for C90. | |--- src/joystick/bsd/SDL_sysjoystick.c.orig 2016-10-20 03:56:26.000000000 +0000 |+++ src/joystick/bsd/SDL_sysjoystick.c -------------------------- Patching file src/joystick/bsd/SDL_sysjoystick.c using Plan A... Hunk #1 succeeded at 291 (offset 2 lines). Hunk #2 succeeded at 344 (offset 2 lines). done => Verifying /data/pkgsrc/devel/SDL2/patches/patch-src_video_SDL__egl.c => Applying pkgsrc patch /data/pkgsrc/devel/SDL2/patches/patch-src_video_SDL__egl.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_video_SDL__egl.c,v 1.5 2017/09/26 13:10:56 adam Exp $ | |--- src/video/SDL_egl.c.orig 2017-09-22 18:51:01.000000000 +0000 |+++ src/video/SDL_egl.c -------------------------- Patching file src/video/SDL_egl.c using Plan A... Hunk #1 succeeded at 44. done => Verifying /data/pkgsrc/devel/SDL2/patches/patch-src_video_x11_SDL__x11opengl.c => Applying pkgsrc patch /data/pkgsrc/devel/SDL2/patches/patch-src_video_x11_SDL__x11opengl.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_video_x11_SDL__x11opengl.c,v 1.2 2017/01/26 03:46:20 nat Exp $ | |NetBSD's libGL version differs between xsrc and pkgsc. All hail the |mighty symlink. | |--- src/video/x11/SDL_x11opengl.c.orig 2016-10-20 03:56:26.000000000 +0000 |+++ src/video/x11/SDL_x11opengl.c -------------------------- Patching file src/video/x11/SDL_x11opengl.c using Plan A... Hunk #1 succeeded at 39 (offset 1 line). done ===> Creating toolchain wrappers for SDL2-2.0.7 src=/usr/pkg/lib/pkgconfig/fixesproto.pc dst=/data/scratch/devel/SDL2/work/.buildlink/lib/pkgconfig/fixesext.pc; /bin/mkdir -p /data/scratch/devel/SDL2/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi ===> Configuring for SDL2-2.0.7 => Fixing path to VideoCore libraries. => Generating pkg-config file for builtin expat package. => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Adding run-time search paths to pkg-config files. => Checking for portability problems in extracted files checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking how to print strings... printf checking for x86_64--netbsd-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64--netbsd-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for x86_64--netbsd-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64--netbsd-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64--netbsd-strip... no checking for strip... strip checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking for gawk... /usr/bin/awk checking command to parse /usr/bin/nm -B output from clang object... ok checking for sysroot... no checking for x86_64--netbsd-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... clang -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... no checking if clang static flag -static works... yes checking if clang supports -c -o file.o... rm: conftest*: No such file or directory yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory no checking dynamic linker characteristics... NetBSD ld.elf_so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64--netbsd-gcc... (cached) clang checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ISO C89... (cached) none needed checking whether we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking how to run the C++ preprocessor... clang++ -E checking for ld used by clang++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC -DPIC checking if clang++ PIC flag -fPIC -DPIC works... no checking if clang++ static flag -static works... yes checking if clang++ supports -c -o file.o... rm: conftest*: No such file or directory yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... NetBSD ld.elf_so checking how to hardcode library paths into programs... immediate checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users checking whether make sets $(MAKE)... yes checking for x86_64--netbsd-windres... no checking for windres... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for GCC -MMD -MT option... yes checking for linker option --no-undefined... yes checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for size_t... yes checking for M_PI in math.h... yes checking for working alloca.h... no checking for alloca... yes checking for working memcmp... yes checking for working strtod... yes checking for mprotect... yes checking for malloc... yes checking for calloc... yes checking for realloc... yes checking for free... yes checking for getenv... yes checking for setenv... yes checking for putenv... yes checking for unsetenv... yes checking for qsort... yes checking for abs... yes checking for bcopy... yes checking for memset... yes checking for memcpy... yes checking for memmove... yes checking for wcslen... yes checking for wcscmp... yes checking for strlen... yes checking for strlcpy... yes checking for strlcat... yes checking for _strrev... no checking for _strupr... no checking for _strlwr... no checking for strchr... yes checking for strrchr... yes checking for strstr... yes checking for itoa... no checking for _ltoa... no checking for _uitoa... no checking for _ultoa... no checking for strtol... yes checking for strtoul... yes checking for _i64toa... no checking for _ui64toa... no checking for strtoll... yes checking for strtoull... yes checking for atoi... yes checking for atof... yes checking for strcmp... yes checking for strncmp... yes checking for _stricmp... no checking for strcasecmp... yes checking for _strnicmp... no checking for strncasecmp... yes checking for vsscanf... yes checking for vsnprintf... yes checking for fopen64... no checking for fseeko... yes checking for fseeko64... no checking for sigaction... yes checking for setjmp... no checking for nanosleep... yes checking for sysconf... yes checking for sysctlbyname... yes checking for getauxval... no checking for poll... yes checking for pow in -lm... yes checking for atan... yes checking for atan2... yes checking for acos... yes checking for asin... yes checking for ceil... yes checking for copysign... yes checking for cos... yes checking for cosf... yes checking for fabs... yes checking for floor... yes checking for log... yes checking for pow... yes checking for scalbn... yes checking for sin... yes checking for sinf... yes checking for sqrt... yes checking for sqrtf... yes checking for tan... yes checking for tanf... yes checking for iconv_open in -liconv... yes checking for iconv... yes checking for struct sigaction.sa_sigaction... yes checking libunwind.h usability... no checking libunwind.h presence... no checking for libunwind.h... no checking for GCC builtin atomic operations... yes checking for GCC -mmmx option... yes checking for GCC -m3dnow option... yes checking for GCC -msse option... yes checking for GCC -msse2 option... yes checking for GCC -msse3 option... yes checking for Altivec with GCC altivec.h and -maltivec option... no checking for Altivec with GCC -maltivec option... no checking for Altivec with GCC altivec.h and -faltivec option... no checking for Altivec with GCC -faltivec option... no checking for GCC -Wall option... yes checking for necessary GCC -Wno-multichar option... no checking for GCC -fvisibility=hidden option... no checking for GCC -Wdeclaration-after-statement option... yes checking for dlopen... yes checking for dlopen in -lc... yes checking for OSS audio support... yes checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread checking for libasound headers version >= 1.0.11... not present. checking for snd_ctl_open in -lasound... no checking for pkg-config... /data/scratch/devel/SDL2/work/.tools/bin/pkg-config checking for PulseAudio 0.9 support... no checking for pkg-config... (cached) /data/scratch/devel/SDL2/work/.tools/bin/pkg-config checking for JACK 0.125 support... no checking for artsc-config... no checking for esd-config... no checking for ESD - version >= 0.2.8... no *** The esd-config script installed by ESD could not be found *** If ESD was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the ESD_CONFIG environment variable to the *** full path to esd-config. checking audio/audiolib.h usability... no checking audio/audiolib.h presence... no checking for audio/audiolib.h... no checking for AuOpenServer in -laudio... no checking for NAS audio support... no checking sndio.h usability... no checking sndio.h presence... no checking for sndio.h... no checking for sio_open in -lsndio... no checking for sndio audio support... no checking samplerate.h usability... no checking samplerate.h presence... no checking for samplerate.h... no checking for Raspberry Pi... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for X11/extensions/Xext.h... yes -- dynamic libX11 -> libX11.so.6 -- dynamic libX11ext -> libXext.so.6 checking for const parameter to XextAddDisplay... yes checking for XGenericEvent... yes checking for XkbKeycodeToKeysym in -lX11... yes checking for X11/Xcursor/Xcursor.h... yes -- dynamic libXcursor -> libXcursor.so.1 checking for X11/extensions/Xdbe.h... yes checking for X11/extensions/Xinerama.h... yes -- dynamic libXinerama -> libXinerama.so.1 checking for X11/extensions/XInput2.h... yes -- dynamic libXi -> libXi.so.6 checking for xinput2 multitouch... yes -- dynamic libXrandr -> libXrandr.so.2 checking for X11/extensions/scrnsaver.h... yes -- dynamic libXss -> libXss.so.1 checking for X11/extensions/shape.h... yes checking for X11/extensions/xf86vmode.h... yes -- dynamic libXxf86vm -> libXxf86vm.so.1 checking for OpenGL (GLX) support... yes checking for EGL support... yes checking for OpenGL ES v1 headers... yes checking for OpenGL ES v2 headers... yes checking for pkg-config... (cached) /data/scratch/devel/SDL2/work/.tools/bin/pkg-config checking for Mir support... no checking for pkg-config... (cached) /data/scratch/devel/SDL2/work/.tools/bin/pkg-config checking for Wayland support... no checking libudev.h usability... no checking libudev.h presence... no checking for libudev.h... no checking for pkg-config... (cached) /data/scratch/devel/SDL2/work/.tools/bin/pkg-config Package dbus-1 was not found in the pkg-config search path. Perhaps you should add the directory containing `dbus-1.pc' to the PKG_CONFIG_PATH environment variable Package 'dbus-1', required by 'virtual:world', not found checking dbus/dbus.h usability... no checking dbus/dbus.h presence... no checking for dbus/dbus.h... no checking for pkg-config... (cached) /data/scratch/devel/SDL2/work/.tools/bin/pkg-config Package ibus-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `ibus-1.0.pc' to the PKG_CONFIG_PATH environment variable Package 'ibus-1.0', required by 'virtual:world', not found checking ibus-1.0/ibus.h usability... no checking ibus-1.0/ibus.h presence... no checking for ibus-1.0/ibus.h... no checking sys/inotify.h usability... no checking sys/inotify.h presence... no checking for sys/inotify.h... no checking for pkg-config... (cached) /data/scratch/devel/SDL2/work/.tools/bin/pkg-config Package fcitx was not found in the pkg-config search path. Perhaps you should add the directory containing `fcitx.pc' to the PKG_CONFIG_PATH environment variable Package 'fcitx', required by 'virtual:world', not found checking fcitx/frontend.h usability... no checking fcitx/frontend.h presence... no checking for fcitx/frontend.h... no checking for Touchscreen library support... no checking for hid_init in -lusbhid... yes checking usbhid.h usability... yes checking usbhid.h presence... yes checking for usbhid.h... yes checking libusbhid.h usability... no checking libusbhid.h presence... no checking for libusbhid.h... no checking for usbhid... yes checking for ucr_data member of usb_ctl_report... yes checking for new usbhid API... yes checking for struct joystick in machine/joystick.h... yes checking for pthreads... yes checking for recursive mutexes... yes checking for pthread semaphores... yes checking for sem_timedwait... yes checking for pthread_np.h... no checking for pthread_setname_np... yes checking for pthread_set_name_np... no checking for clock_gettime in -lrt... yes checking linux/version.h usability... no checking linux/version.h presence... no checking for linux/version.h... no checking for Vivante VDK API... no checking for Vivante FB API... no checking for linker option --enable-new-dtags... yes configure: creating ./config.status config.status: creating Makefile config.status: creating sdl2-config config.status: creating sdl2-config.cmake config.status: creating SDL2.spec config.status: creating sdl2.pc config.status: creating include/SDL_config.h config.status: executing libtool commands rm: libtoolT: No such file or directory config.status: executing sdl2_config commands config.status: executing summary commands -en SDL2 Configure Summary:\nBuilding Shared Libraries\nBuilding Static Libraries\nEnabled modules : atomic audio video render events joystick haptic power filesystem threads timers file loadso cpuinfo assembly\nAssembly Math : mmx 3dnow sse sse2 sse3\nAudio drivers : disk dummy oss netbsd\nVideo drivers : dummy x11(dynamic) opengl opengl_es1 opengl_es2 vulkan\nX11 libraries : xcursor xdbe xinerama xinput2 xinput2_multitouch xrandr xscrnsaver xshape xvidmode\nInput drivers :\nUsing libsamplerate : NO\nUsing libudev : NO\nUsing dbus : NO\nUsing ime : YES\nUsing ibus : NO\nUsing fcitx : NO\n => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp