=> 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 hwdecode-demos-0.9.4nb9
Making all in src
gmake[1]: Entering directory '/data/scratch/multimedia/hwdecode-demos/work/hwdecode-demos-0.9.4/src'
/usr/pkg/bin/gmake  all-am
gmake[2]: Entering directory '/data/scratch/multimedia/hwdecode-demos/work/hwdecode-demos-0.9.4/src'
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-common.o -MD -MP -MF .deps/vaapi_h264-common.Tpo -c -o vaapi_h264-common.o `test -f 'common.c' || echo './'`common.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-debug.o -MD -MP -MF .deps/vaapi_h264-debug.Tpo -c -o vaapi_h264-debug.o `test -f 'debug.c' || echo './'`debug.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-utils.o -MD -MP -MF .deps/vaapi_h264-utils.Tpo -c -o vaapi_h264-utils.o `test -f 'utils.c' || echo './'`utils.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-image.o -MD -MP -MF .deps/vaapi_h264-image.Tpo -c -o vaapi_h264-image.o `test -f 'image.c' || echo './'`image.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-buffer.o -MD -MP -MF .deps/vaapi_h264-buffer.Tpo -c -o vaapi_h264-buffer.o `test -f 'buffer.c' || echo './'`buffer.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-x11.o -MD -MP -MF .deps/vaapi_h264-x11.Tpo -c -o vaapi_h264-x11.o `test -f 'x11.c' || echo './'`x11.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-utils_x11.o -MD -MP -MF .deps/vaapi_h264-utils_x11.Tpo -c -o vaapi_h264-utils_x11.o `test -f 'utils_x11.c' || echo './'`utils_x11.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-glx.o -MD -MP -MF .deps/vaapi_h264-glx.Tpo -c -o vaapi_h264-glx.o `test -f 'glx.c' || echo './'`glx.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-utils_glx.o -MD -MP -MF .deps/vaapi_h264-utils_glx.Tpo -c -o vaapi_h264-utils_glx.o `test -f 'utils_glx.c' || echo './'`utils_glx.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-vaapi.o -MD -MP -MF .deps/vaapi_h264-vaapi.Tpo -c -o vaapi_h264-vaapi.o `test -f 'vaapi.c' || echo './'`vaapi.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-h264.o -MD -MP -MF .deps/vaapi_h264-h264.Tpo -c -o vaapi_h264-h264.o `test -f 'h264.c' || echo './'`h264.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_h264-vaapi_h264.o -MD -MP -MF .deps/vaapi_h264-vaapi_h264.Tpo -c -o vaapi_h264-vaapi_h264.o `test -f 'vaapi_h264.c' || echo './'`vaapi_h264.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_vc1-common.o -MD -MP -MF .deps/vaapi_vc1-common.Tpo -c -o vaapi_vc1-common.o `test -f 'common.c' || echo './'`common.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_vc1-debug.o -MD -MP -MF .deps/vaapi_vc1-debug.Tpo -c -o vaapi_vc1-debug.o `test -f 'debug.c' || echo './'`debug.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_vc1-utils.o -MD -MP -MF .deps/vaapi_vc1-utils.Tpo -c -o vaapi_vc1-utils.o `test -f 'utils.c' || echo './'`utils.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_vc1-image.o -MD -MP -MF .deps/vaapi_vc1-image.Tpo -c -o vaapi_vc1-image.o `test -f 'image.c' || echo './'`image.c
mv -f .deps/vaapi_h264-buffer.Tpo .deps/vaapi_h264-buffer.Po
mv -f .deps/vaapi_h264-utils.Tpo .deps/vaapi_h264-utils.Po
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_vc1-buffer.o -MD -MP -MF .deps/vaapi_vc1-buffer.Tpo -c -o vaapi_vc1-buffer.o `test -f 'buffer.c' || echo './'`buffer.c
mv -f .deps/vaapi_h264-debug.Tpo .deps/vaapi_h264-debug.Po
x11.c:158:28: warning: passing '__uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                           common->image->pixels[0],
                           ^~~~~~~~~~~~~~~~~~~~~~~~
/data/scratch/multimedia/hwdecode-demos/work/.buildlink/include/X11/Xlib.h:1447:22: note: passing argument to parameter here
    char*               /* data */,
                                  ^
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_vc1-x11.o -MD -MP -MF .deps/vaapi_vc1-x11.Tpo -c -o vaapi_vc1-x11.o `test -f 'x11.c' || echo './'`x11.c
clang -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -D_REENTRANT   -DUSE_VAAPI -I/usr/pkg/include  -DUSE_VAAPI_X11   -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -MT vaapi_vc1-utils_x11.o -MD -MP -MF .deps/vaapi_vc1-utils_x11.Tpo -c -o vaapi_vc1-utils_x11.o `test -f 'utils_x11.c' || echo './'`utils_x11.c
In file included from vaapi.c:29:
In file included from ./glx.h:25:
./utils_glx.h:108:5: error: unknown type name 'PFNGLMULTITEXCOORD2FPROC'
    PFNGLMULTITEXCOORD2FPROC              gl_multi_tex_coord_2f;
    ^
vaapi.c:529:70: error: too few arguments to function call, expected 8, have 6
                                  VA_RT_FORMAT_YUV420, 1, &surface_id);
                                                                     ^
/data/scratch/multimedia/hwdecode-demos/work/.buildlink/include/va/va.h:1029:1: note: 'vaCreateSurfaces' declared here
VAStatus
^
vaapi.c:1158:71: error: too few arguments to function call, expected 8, have 6
                              VA_RT_FORMAT_YUV420, 1, &clip_surface_id);
                                                                      ^
/data/scratch/multimedia/hwdecode-demos/work/.buildlink/include/va/va.h:1029:1: note: 'vaCreateSurfaces' declared here
VAStatus
^
3 errors generated.
Makefile:2546: recipe for target 'vaapi_h264-vaapi.o' failed
gmake[2]: *** [vaapi_h264-vaapi.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
1 warning generated.
mv -f .deps/vaapi_h264-x11.Tpo .deps/vaapi_h264-x11.Po
mv -f .deps/vaapi_vc1-debug.Tpo .deps/vaapi_vc1-debug.Po
mv -f .deps/vaapi_h264-common.Tpo .deps/vaapi_h264-common.Po
mv -f .deps/vaapi_vc1-buffer.Tpo .deps/vaapi_vc1-buffer.Po
mv -f .deps/vaapi_vc1-common.Tpo .deps/vaapi_vc1-common.Po
mv -f .deps/vaapi_vc1-utils.Tpo .deps/vaapi_vc1-utils.Po
x11.c:158:28: warning: passing '__uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                           common->image->pixels[0],
                           ^~~~~~~~~~~~~~~~~~~~~~~~
/data/scratch/multimedia/hwdecode-demos/work/.buildlink/include/X11/Xlib.h:1447:22: note: passing argument to parameter here
    char*               /* data */,
                                  ^
1 warning generated.
mv -f .deps/vaapi_vc1-x11.Tpo .deps/vaapi_vc1-x11.Po
mv -f .deps/vaapi_h264-utils_x11.Tpo .deps/vaapi_h264-utils_x11.Po
In file included from glx.c:23:
In file included from ./glx.h:25:
./utils_glx.h:108:5: error: unknown type name 'PFNGLMULTITEXCOORD2FPROC'
    PFNGLMULTITEXCOORD2FPROC              gl_multi_tex_coord_2f;
    ^
1 error generated.
Makefile:2518: recipe for target 'vaapi_h264-glx.o' failed
gmake[2]: *** [vaapi_h264-glx.o] Error 1
mv -f .deps/vaapi_h264-h264.Tpo .deps/vaapi_h264-h264.Po
mv -f .deps/vaapi_vc1-image.Tpo .deps/vaapi_vc1-image.Po
In file included from utils_glx.c:28:
./utils_glx.h:108:5: error: unknown type name 'PFNGLMULTITEXCOORD2FPROC'
    PFNGLMULTITEXCOORD2FPROC              gl_multi_tex_coord_2f;
    ^
utils_glx.c:754:45: error: use of undeclared identifier 'PFNGLMULTITEXCOORD2FPROC'
        gl_vtable->gl_multi_tex_coord_2f = (PFNGLMULTITEXCOORD2FPROC)
                                            ^
2 errors generated.
Makefile:2532: recipe for target 'vaapi_h264-utils_glx.o' failed
gmake[2]: *** [vaapi_h264-utils_glx.o] Error 1
mv -f .deps/vaapi_h264-vaapi_h264.Tpo .deps/vaapi_h264-vaapi_h264.Po
mv -f .deps/vaapi_h264-image.Tpo .deps/vaapi_h264-image.Po
mv -f .deps/vaapi_vc1-utils_x11.Tpo .deps/vaapi_vc1-utils_x11.Po
gmake[2]: Leaving directory '/data/scratch/multimedia/hwdecode-demos/work/hwdecode-demos-0.9.4/src'
Makefile:815: recipe for target 'all' failed
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory '/data/scratch/multimedia/hwdecode-demos/work/hwdecode-demos-0.9.4/src'
Makefile:274: recipe for target 'all-recursive' failed
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/multimedia/hwdecode-demos
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/multimedia/hwdecode-demos