Bug#713612: vdpau-video: FTBFS: utils_glx.h:163:5: error: unknown type name 'PFNGLMULTITEXCOORD2FPROC'

Ross Gammon rossgammon at mail.dk
Thu Feb 20 22:00:10 UTC 2014


Tags: patch

Hi,

I have taken a patch from Ubuntu which seems to get past this problem,
only to hit another one.

The build now fails with this:
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
 -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4
-Wformat -Werror=format-security -c -o vdpau_dump.lo vdpau_dump.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -c vdpau_dump.c  -fPIC -DPIC -o .libs/vdpau_dump.o
vdpau_dump.c: In function 'string_of_VABufferType':
vdpau_dump.c:62:11: error: 'VAEncH264VUIBufferType' undeclared (first
use in this function)
         _(VAEncH264VUIBufferType);
           ^
vdpau_dump.c:45:19: note: in definition of macro '_'
 #define _(X) case X: str = #X; break
                   ^
vdpau_dump.c:62:11: note: each undeclared identifier is reported only
once for each function it appears in
         _(VAEncH264VUIBufferType);
           ^
vdpau_dump.c:45:19: note: in definition of macro '_'
 #define _(X) case X: str = #X; break
                   ^
vdpau_dump.c:63:11: error: 'VAEncH264SEIBufferType' undeclared (first
use in this function)
         _(VAEncH264SEIBufferType);
           ^
vdpau_dump.c:45:19: note: in definition of macro '_'
 #define _(X) case X: str = #X; break
                   ^
vdpau_dump.c: In function 'dump_VdpBitstreamBuffer':
vdpau_dump.c:306:5: warning: passing argument 2 of 'dump_matrix_NxM'
discards 'const' qualifier from pointer target type [enabled by default]
     dump_matrix_NxM("buffer", buffer, 10, 15, size);
     ^
vdpau_dump.c:106:1: note: expected 'uint8_t *' but argument is of type
'const uint8_t *'
 dump_matrix_NxM(const char *label, uint8_t *matrix, int N, int M, int L)
 ^
make[3]: *** [vdpau_dump.lo] Error 1
make[3]: Leaving directory `/tmp/buildd/vdpau-video-0.7.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/buildd/vdpau-video-0.7.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/vdpau-video-0.7.3'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//29296 and its
subdirectories

This seems to be this problem:
http://lists.freedesktop.org/archives/libva/2013-June/001762.html
Apparently VAEncH264VUIBufferType & VAEncH264SEIBufferType were never
used in any driver and a patch suggested to remove them in the libva
package. I will look into this in a few days time (unless I am beaten to
it).

By the way, the website for vdpau has moved to a new home, and I can see
there is a new version there (0.7.4). Our watch file needs to be updated.
New website: http://www.freedesktop.org/wiki/Software/VDPAU/
New repository for tarballs:
http://cgit.freedesktop.org/vaapi/vdpau-driver/refs/

Regards,

Ross
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-patch-cherry-picked-from-Ubuntu-to-fix-FTBFS-on-.patch
Type: text/x-patch
Size: 4774083 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140220/cacebd4a/attachment-0001.bin>


More information about the pkg-multimedia-maintainers mailing list