=> 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'.
===> Building for freeglut-3.0.0
Scanning dependencies of target freeglut
[  1%] Building C object CMakeFiles/freeglut.dir/src/fg_callbacks.c.o
[  1%] Building C object CMakeFiles/freeglut.dir/src/fg_gamemode.c.o
[  2%] Building C object CMakeFiles/freeglut.dir/src/fg_display.c.o
[  3%] Building C object CMakeFiles/freeglut.dir/src/fg_ext.c.o
[  4%] Building C object CMakeFiles/freeglut.dir/src/fg_geometry.c.o
[  2%] Building C object CMakeFiles/freeglut.dir/src/fg_init.c.o
[  5%] Building C object CMakeFiles/freeglut.dir/src/fg_input_devices.c.o
[  6%] Building C object CMakeFiles/freeglut.dir/src/fg_overlay.c.o
[  7%] Building C object CMakeFiles/freeglut.dir/src/fg_spaceball.c.o
[  7%] Building C object CMakeFiles/freeglut.dir/src/fg_misc.c.o
[  8%] Building C object CMakeFiles/freeglut.dir/src/fg_main.c.o
[  9%] Building C object CMakeFiles/freeglut.dir/src/fg_joystick.c.o
[  9%] Building C object CMakeFiles/freeglut.dir/src/fg_cursor.c.o
[ 10%] Building C object CMakeFiles/freeglut.dir/src/fg_gl2.c.o
Scanning dependencies of target freeglut_static
[ 11%] Building C object CMakeFiles/freeglut.dir/src/fg_font_data.c.o
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_init.c:30:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
[ 12%] Building C object CMakeFiles/freeglut_static.dir/src/fg_callbacks.c.o
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_gamemode.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_display.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_input_devices.c:32:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_callbacks.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_misc.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_ext.c:30:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_geometry.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_main.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_font_data.c:54:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
1 warning generated.
1 warning generated.
[ 12%] Building C object CMakeFiles/freeglut.dir/src/fg_state.c.o
1 warning generated.
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_spaceball.c:11:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
[ 13%] Building C object CMakeFiles/freeglut_static.dir/src/fg_cursor.c.o
[ 13%] Building C object CMakeFiles/freeglut_static.dir/src/fg_display.c.o
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
[ 14%] Building C object CMakeFiles/freeglut_static.dir/src/fg_ext.c.o
[ 14%] Building C object CMakeFiles/freeglut_static.dir/src/fg_gamemode.c.o
[ 15%] Building C object CMakeFiles/freeglut_static.dir/src/fg_font_data.c.o
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_gl2.c:27:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
[ 16%] Building C object CMakeFiles/freeglut.dir/src/fg_stroke_mono_roman.c.o
1 warning generated.
[ 17%] Building C object CMakeFiles/freeglut_static.dir/src/fg_geometry.c.o
[ 18%] Building C object CMakeFiles/freeglut_static.dir/src/fg_gl2.c.o
1 warning generated.
[ 19%] Building C object CMakeFiles/freeglut_static.dir/src/fg_init.c.o
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_overlay.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
1 warning generated.
[ 19%] Building C object CMakeFiles/freeglut_static.dir/src/fg_input_devices.c.o
1 warning generated.
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_callbacks.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_cursor.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
1 warning generated.
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_state.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
1 warning generated.
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:35:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:210:27: error: use of undeclared identifier 'HUP_GENERIC_DESKTOP'
                  page == HUP_GENERIC_DESKTOP &&
                          ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:211:30: error: use of undeclared identifier 'HUG_JOYSTICK'
                  ( usage == HUG_JOYSTICK || usage == HUG_GAME_PAD ) );
                             ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:211:55: error: use of undeclared identifier 'HUG_GAME_PAD'
                  ( usage == HUG_JOYSTICK || usage == HUG_GAME_PAD ) );
                                                      ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:220:25: error: use of undeclared identifier 'HUP_GENERIC_DESKTOP'
            if( page == HUP_GENERIC_DESKTOP )
                        ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:224:22: error: use of undeclared identifier 'HUG_X'
                case HUG_X:
                     ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:225:22: error: use of undeclared identifier 'HUG_RX'
                case HUG_RX:
                     ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:226:22: error: use of undeclared identifier 'HUG_Y'
                case HUG_Y:
                     ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:227:22: error: use of undeclared identifier 'HUG_RY'
                case HUG_RY:
                     ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:228:22: error: use of undeclared identifier 'HUG_Z'
                case HUG_Z:
                     ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:229:22: error: use of undeclared identifier 'HUG_RZ'
                case HUG_RZ:
                     ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:230:22: error: use of undeclared identifier 'HUG_SLIDER'
                case HUG_SLIDER:
                     ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:237:22: error: use of undeclared identifier 'HUG_HAT_SWITCH'
                case HUG_HAT_SWITCH:
                     ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_joystick.c:252:30: error: use of undeclared identifier 'HUP_BUTTON'
            else if( page == HUP_BUTTON )
                             ^
1 warning and 13 errors generated.
--- CMakeFiles/freeglut.dir/src/fg_joystick.c.o ---
*** [CMakeFiles/freeglut.dir/src/fg_joystick.c.o] Error code 1

make[2]: stopped in /data/scratch/graphics/freeglut/work/freeglut-3.0.0
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_cursor.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_display.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_font_data.c:54:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
[ 20%] Building C object CMakeFiles/freeglut.dir/src/fg_stroke_roman.c.o
1 warning generated.
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_gamemode.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_gl2.c:27:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_geometry.c:29:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_ext.c:30:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
1 warning generated.
1 warning generated.
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_init.c:30:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
1 warning generated.
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_stroke_mono_roman.c:32:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
1 warning generated.
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_stroke_roman.c:32:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
In file included from /data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_input_devices.c:32:
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/src/fg_internal.h:133:17: warning: 'HAVE_USBHID_H' macro redefined [-Wmacro-redefined]
#        define HAVE_USBHID_H 1
                ^
/data/scratch/graphics/freeglut/work/freeglut-3.0.0/config.h:12:9: note: previous definition is here
#define HAVE_USBHID_H
        ^
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 error

make[2]: stopped in /data/scratch/graphics/freeglut/work/freeglut-3.0.0
--- CMakeFiles/freeglut.dir/all ---
*** [CMakeFiles/freeglut.dir/all] Error code 2

make[1]: stopped in /data/scratch/graphics/freeglut/work/freeglut-3.0.0
1 warning generated.
A failure has been detected in another branch of the parallel make

make[2]: stopped in /data/scratch/graphics/freeglut/work/freeglut-3.0.0
--- CMakeFiles/freeglut_static.dir/all ---
*** [CMakeFiles/freeglut_static.dir/all] Error code 2

make[1]: stopped in /data/scratch/graphics/freeglut/work/freeglut-3.0.0
2 errors

make[1]: stopped in /data/scratch/graphics/freeglut/work/freeglut-3.0.0
*** [all] Error code 2

make: stopped in /data/scratch/graphics/freeglut/work/freeglut-3.0.0
1 error

make: stopped in /data/scratch/graphics/freeglut/work/freeglut-3.0.0
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/graphics/freeglut
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/graphics/freeglut