=> 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 freeglut-3.0.0.tar.gz => Checksum RMD160 OK for freeglut-3.0.0.tar.gz => Checksum SHA512 OK for freeglut-3.0.0.tar.gz ===> Installing dependencies for freeglut-3.0.0 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6 => Tool dependency cmake>=2.8.1nb1: found cmake-3.10.1nb1 => Tool dependency checkperms>=1.1: found checkperms-1.12 => 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 randrproto>=1.4: found randrproto-1.5.0 => Build dependency cwrappers>=20150314: found cwrappers-20171108 => Full dependency MesaLib>=10.5.3: found MesaLib-11.2.2nb6 => Full dependency libX11>=1.5: found libX11-1.6.5 => Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.4 => Full dependency glu>=7.11.2: found glu-9.0.0nb2 => Full dependency libXi>=1.0.0: found libXi-1.7.9 => Full dependency libXrandr>=1.1.2: found libXrandr-1.5.1 => Full dependency libICE>=0.99.1: found libICE-1.0.9 => Full dependency libSM>=0.99.2: found libSM-1.2.2 ===> Overriding tools for freeglut-3.0.0 ===> Extracting for freeglut-3.0.0 ===> Patching for freeglut-3.0.0 => Applying pkgsrc patches for freeglut-3.0.0 => Verifying /data/pkgsrc/graphics/freeglut/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/graphics/freeglut/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.1 2017/04/25 11:27:00 wiz Exp $ | |https://github.com/dcnieho/FreeGLUT/commit/a0b77bba49573dab3564ce22a503024098664f04 | |--- CMakeLists.txt.orig 2015-02-18 04:59:57.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 62. done => Verifying /data/pkgsrc/graphics/freeglut/patches/patch-src_freeglut__joystick.c => Applying pkgsrc patch /data/pkgsrc/graphics/freeglut/patches/patch-src_freeglut__joystick.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_freeglut__joystick.c,v 1.3 2017/04/25 11:42:42 wiz Exp $ | |Fix usb.h include for NetBSD. |https://github.com/dcnieho/FreeGLUT/pull/53 | |--- src/fg_joystick.c.orig 2014-10-20 15:27:04.000000000 +0000 |+++ src/fg_joystick.c -------------------------- Patching file src/fg_joystick.c using Plan A... Hunk #1 succeeded at 46. done => Verifying /data/pkgsrc/graphics/freeglut/patches/patch-src_x11_fg__joystick__x11.c => Applying pkgsrc patch /data/pkgsrc/graphics/freeglut/patches/patch-src_x11_fg__joystick__x11.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_x11_fg__joystick__x11.c,v 1.2 2017/04/25 11:42:42 wiz Exp $ | |This code does not work on NetBSD, remove wrong ifdefs. |https://github.com/dcnieho/FreeGLUT/pull/53 | |--- src/x11/fg_joystick_x11.c.orig 2014-12-02 05:22:12.000000000 +0000 |+++ src/x11/fg_joystick_x11.c -------------------------- Patching file src/x11/fg_joystick_x11.c using Plan A... Hunk #1 succeeded at 50. Hunk #2 succeeded at 215. Hunk #3 succeeded at 229. Hunk #4 succeeded at 409. Hunk #5 succeeded at 436. done ===> Creating toolchain wrappers for freeglut-3.0.0 src=/usr/pkg/lib/pkgconfig/fixesproto.pc dst=/data/scratch/graphics/freeglut/work/.buildlink/lib/pkgconfig/fixesext.pc; /bin/mkdir -p /data/scratch/graphics/freeglut/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi ===> Configuring for freeglut-3.0.0 => Adding run-time search paths to pkg-config files. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt. => Checking for portability problems in extracted files -- The C compiler identification is Clang 5.0.5 -- The CXX compiler identification is Clang 5.0.5 -- Check for working C compiler: /data/scratch/graphics/freeglut/work/.cwrapper/bin/clang -- Check for working C compiler: /data/scratch/graphics/freeglut/work/.cwrapper/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /data/scratch/graphics/freeglut/work/.cwrapper/bin/clang++ -- Check for working CXX compiler: /data/scratch/graphics/freeglut/work/.cwrapper/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenGL: /usr/pkg/lib/libGL.so -- Looking for XOpenDisplay in /usr/pkg/lib/libX11.so;/usr/pkg/lib/libXext.so -- Looking for XOpenDisplay in /usr/pkg/lib/libX11.so;/usr/pkg/lib/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/pkg/lib/libX11.so -- Looking for include file /usr/pkg/include/X11/extensions/XInput2.h -- Looking for include file /usr/pkg/include/X11/extensions/XInput2.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file stdbool.h -- Looking for include file stdbool.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/ioctl.h -- Looking for include file sys/ioctl.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file usbhid.h -- Looking for include file usbhid.h - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for XParseGeometry -- Looking for XParseGeometry - not found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Configuring done -- Generating done -- Build files have been written to: /data/scratch/graphics/freeglut/work/freeglut-3.0.0 => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp => Rewrite cmake Dependencies files