Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304985 - media-video/ffmpeg-0.5_p21602 fails with libva
Summary: media-video/ffmpeg-0.5_p21602 fails with libva
Status: RESOLVED DUPLICATE of bug 290741
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-13 23:06 UTC by Helmut Auer
Modified: 2010-02-14 11:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Environment (environment,102.43 KB, text/plain)
2010-02-13 23:08 UTC, Helmut Auer
Details
emerge output (emerge.log,249.43 KB, text/plain)
2010-02-13 23:13 UTC, Helmut Auer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Auer 2010-02-13 23:06:49 UTC
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
Comment 1 Helmut Auer 2010-02-13 23:08:19 UTC
Created attachment 219535 [details]
Environment
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-02-13 23:10:54 UTC
And libva isn't in Portage.
Comment 3 Helmut Auer 2010-02-13 23:13:04 UTC
Created attachment 219539 [details]
emerge output
Comment 4 Helmut Auer 2010-02-13 23:20:37 UTC
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
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-02-13 23:33:12 UTC
(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" ?
Comment 6 Helmut Auer 2010-02-14 11:09:44 UTC
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 ***