Emerging media-video/ffmpeg-0.5_p21602 fails when x11-libs/libva-0.31.0_p8 is installed Reproducible: Always Steps to Reproduce: emerge ffmpeg Actual Results: libavcodec/vaapi_mpeg4.c: In function ‘vaapi_mpeg4_start_frame’: libavcodec/vaapi_mpeg4.c:72: error: ‘struct <anonymous>’ has no member named ‘resync_marker_disable’ libavcodec/vaapi_mpeg4.c:88: error: ‘VAPictureParameterBufferMPEG4’ has no member named ‘vop_time_increment_resolution’ libavcodec/vaapi_mpeg4.c:89: warning: implicit declaration of function ‘ff_h263_get_gob_height’ make: *** [libavcodec/vaapi_mpeg4.o] Error 1
Created attachment 219535 [details] Environment
And libva isn't in Portage.
Created attachment 219539 [details] emerge output
Ooops - you're right its from an overlay. After removing libva I hit the next error: i686-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -I. -I"/tmp/portage/media-video/ffmpeg-0.5_p21602/work/ffmpeg-0.5_p21602" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -march=pentium3 -O2 -pipe -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -march=pentium3 -std=c99 -fomit-frame-pointer -fPIC -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -MMD -MF libavfilter/vf_format.d -MT libavfilter/vf_format.o -c -o libavfilter/vf_format.o libavfilter/vf_format.c libavcodec/x86/h264dsp_mmx.c: In function ‘h264_h_loop_filter_luma_mmx2’: libavcodec/x86/dsputil_mmx.c:726: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ libavcodec/x86/dsputil_mmx.c:726: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints libavcodec/x86/h264dsp_mmx.c:633: error: ‘asm’ operand has impossible constraints libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints libavcodec/x86/h264dsp_mmx.c:633: error: ‘asm’ operand has impossible constraints libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints libavcodec/x86/dsputil_mmx.c:726: error: ‘asm’ operand has impossible constraints make: *** [libavcodec/x86/dsputil_mmx.o] Error 1
(In reply to comment #4) > Ooops - you're right its from an overlay. > After removing libva I hit the next error: > libavcodec/x86/dsputil_mmx.c:726: error: can't find a register in class > ‘GENERAL_REGS’ while reloading ‘asm’ Looks like bug 290741. Have you tried with USE="-pic" ?
Surely you're right, The -pic was suggested by me in this bug, but I've forgotten about it ;) I fixed it now in /etc/portage/package.use, but this should be mentioned inside the ebuild. I also found the reason for the vaapi issue, but it's a waste of time to post it here as I see in 290741 ;) *** This bug has been marked as a duplicate of bug 290741 ***