Emerging media-libs/xine-lib fails with the below error. I have libav-0.7.1 installed. pp.c:79:3: error: expected specifier-qualifier-list before 'pp_context_t' pp.c: In function 'set_parameters': pp.c:90:28: error: 'post_plugin_pp_t' has no member named 'lock' pp.c:94:30: error: 'post_plugin_pp_t' has no member named 'lock' pp.c: In function 'pp_open_plugin': pp.c:205:7: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c:206:7: error: 'post_plugin_pp_t' has no member named 'pp_context' pp.c:208:28: error: 'post_plugin_pp_t' has no member named 'lock' pp.c: In function 'pp_dispose': pp.c:251:12: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c:252:24: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c:253:11: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c:255:12: error: 'post_plugin_pp_t' has no member named 'pp_context' pp.c:256:27: error: 'post_plugin_pp_t' has no member named 'pp_context' pp.c:257:11: error: 'post_plugin_pp_t' has no member named 'pp_context' pp.c: In function 'pp_draw': pp.c:305:30: error: 'post_plugin_pp_t' has no member named 'lock' pp.c:307:14: error: 'post_plugin_pp_t' has no member named 'pp_context' pp.c:315:14: error: 'post_plugin_pp_t' has no member named 'pp_context' pp.c:316:29: error: 'post_plugin_pp_t' has no member named 'pp_context' pp.c:318:11: error: 'post_plugin_pp_t' has no member named 'pp_context' pp.c:320:14: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c:321:26: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c:322:13: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c:326:13: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c:327:11: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c:330:12: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c:335:26: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c:335:41: error: 'post_plugin_pp_t' has no member named 'pp_context' pp.c:336:22: warning: passing argument 1 of 'pp_postprocess' from incompatible pointer type /usr/include/libpostproc/postprocess.h:72:7: note: expected 'const uint8_t **' but argument is of type 'uint8_t **' pp.c:338:32: error: 'post_plugin_pp_t' has no member named 'lock' pp.c:340:12: error: 'post_plugin_pp_t' has no member named 'pp_mode' pp.c: In function 'get_help': pp.c:127:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result make[3]: *** [xineplug_post_planar_la-pp.lo] Error 1 Reproducible: Always
Created attachment 280957 [details] emerge --info media-libs/xine-lib
emerge -pv media-libs/xine-lib: [ebuild R ] media-libs/xine-lib-1.1.19 USE="X a52 aac alsa css dts flac mad mmap mng modplug musepack opengl theora truetype vorbis wavpack xcb xv xvmc -aalib (-altivec) -directfb -dxr3 -esd -fbcon -gnome -gtk -imagemagick -ipv6 -jack -libcaca -nls -oss -pulseaudio (-real) -samba -sdl -speex -v4l -vcd (-vidix) (-vis) (-win32codecs) -xinerama" 0 kB emerge -pv media-video/libav: [ebuild R ] media-video/libav-0.7.1 USE="X aac alsa bzip2 gpl hardcoded-tables mmx mmxext mp3 ssse3 vdpau vorbis zlib -3dnow -3dnowext (-altivec) -amr -bindist -cpudetection -custom-cflags -debug -dirac -doc -encode -faac -frei0r -gsm -ieee1394 -jack -jpeg2k -network -oss -pic -qt-faststart -rtmp -schroedinger -sdl -speex -static-libs -test -theora -threads -v4l -v4l2 -vaapi -vpx -x264 -xvid" VIDEO_CARDS="-nvidia" 0 kB
Created attachment 280959 [details] build.log
I can confirm this bug. It happens on me. Exact same error. libav-0.7.1 is also installed.
It builds fine with ffmpeg. So it must be something with libav that broke the build.
@Sander Sweers: with ffmpeg-0.8? ...because that is API compatible to libav-7.x i believe.
(In reply to comment #6) > with ffmpeg-0.8? ...because that is API compatible to libav-7.x i believe. Yes even with ffmpeg 0.8.
Replacing the xine-lib-1.1.19-ffmpeg.patch with the one from upstream: https://bugs.xine-project.org/show_bug.cgi?id=417 allows xine-lib to successfully compile for me using libav-0.7.1.
same problem here.
dito, mentioned patch fixes it
Thanks David, that worked for me.
Same problem here, removing libav from my build fixed it. For the time being, I am considering libav-* to be too unstable for me.
with the upstream patch it also compiles with media-video/libav-0.8_pre20110818 thanks, david!
Fixed in CVS.