=> 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'.
===> 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.4nb12
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/uuid -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/uuid -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/uuid -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/uuid -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/uuid -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/uuid -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/uuid -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/uuid -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
mv -f .deps/vaapi_h264-debug.Tpo .deps/vaapi_h264-debug.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/uuid -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
mv -f .deps/vaapi_h264-buffer.Tpo .deps/vaapi_h264-buffer.Po
mv -f .deps/vaapi_h264-utils_x11.Tpo .deps/vaapi_h264-utils_x11.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/uuid -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/uuid -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
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/uuid -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
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],
                           ^~~~~~~~~~~~~~~~~~~~~~~~
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;
    ^
/data/scratch/multimedia/hwdecode-demos/work/.buildlink/include/X11/Xlib.h:1447:22: note: passing argument to parameter here
    char*               /* data */,
                                  ^
1 error generated.
gmake[2]: *** [Makefile:2518: vaapi_h264-glx.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
1 warning generated.
mv -f .deps/vaapi_h264-x11.Tpo .deps/vaapi_h264-x11.Po
vaapi_h264.c:83:10: warning: 'num_slice_groups_minus1' is deprecated [-Wdeprecated-declarations]
    COPY(num_slice_groups_minus1);
         ^
/data/scratch/multimedia/hwdecode-demos/work/.buildlink/include/va/va.h:3074:5: note: 'num_slice_groups_minus1' has been explicitly marked deprecated here
    va_deprecated uint8_t num_slice_groups_minus1;
    ^
/data/scratch/multimedia/hwdecode-demos/work/.buildlink/include/va/va.h:90:38: note: expanded from macro 'va_deprecated'
#define va_deprecated __attribute__((deprecated))
                                     ^
vaapi_h264.c:84:10: warning: 'slice_group_map_type' is deprecated [-Wdeprecated-declarations]
    COPY(slice_group_map_type);
         ^
/data/scratch/multimedia/hwdecode-demos/work/.buildlink/include/va/va.h:3075:5: note: 'slice_group_map_type' has been explicitly marked deprecated here
    va_deprecated uint8_t slice_group_map_type;
    ^
/data/scratch/multimedia/hwdecode-demos/work/.buildlink/include/va/va.h:90:38: note: expanded from macro 'va_deprecated'
#define va_deprecated __attribute__((deprecated))
                                     ^
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;
    ^
mv -f .deps/vaapi_h264-h264.Tpo .deps/vaapi_h264-h264.Po
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:1490:1: note: 'vaCreateSurfaces' declared here
vaCreateSurfaces(
^
2 warnings generated.
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:1490:1: note: 'vaCreateSurfaces' declared here
vaCreateSurfaces(
^
mv -f .deps/vaapi_h264-vaapi_h264.Tpo .deps/vaapi_h264-vaapi_h264.Po
3 errors generated.
gmake[2]: *** [Makefile:2546: vaapi_h264-vaapi.o] Error 1
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.
gmake[2]: *** [Makefile:2532: vaapi_h264-utils_glx.o] Error 1
mv -f .deps/vaapi_h264-common.Tpo .deps/vaapi_h264-common.Po
mv -f .deps/vaapi_h264-image.Tpo .deps/vaapi_h264-image.Po
gmake[2]: Leaving directory '/data/scratch/multimedia/hwdecode-demos/work/hwdecode-demos-0.9.4/src'
gmake[1]: *** [Makefile:815: all] Error 2
gmake[1]: Leaving directory '/data/scratch/multimedia/hwdecode-demos/work/hwdecode-demos-0.9.4/src'
gmake: *** [Makefile:274: 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