Gentoo Archives: gentoo-user

From: Alexey Mishustin <shumkar@×××××××.ru>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
Date: Sun, 01 Feb 2015 19:13:50
Message-Id: CAGWFrgs7TNgJY+ZRbi8w46kR95Dg_5YKzt8UdhHbxRzBsWfKxQ@mail.gmail.com
In Reply to: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags by Matthias Hanft
1 2015-02-01 21:44 GMT+03:00 Matthias Hanft <mh@×××××.de>:
2 > Hi,
3
4 Hello
5
6 > I have installed the new CPU_FLAGS_X86, as "cpuinfo2cpuflags-x86"
7 > told me: CPU_FLAGS_X86="mmx mmxext sse sse2 sse3"
8
9 "cpuinfo2cpuflags-x86" isn't telling to turn on all these flags
10 unconditionally but only those that are included in "USE" in
11 make.conf.
12
13 > When I did "emerge -NDuv @world" afterwards, there were some re-installs.
14 > Everything was fine, except ffmpeg. emerge displays:
15 >
16 > [ebuild R ] media-video/ffmpeg-1.2.6-r1 USE="bzip2 encode examples fontconfig gnutls hardcoded-tables iconv libcaca mp3 network truetype vorbis x264 xvid zlib -X -aac -aacplus -alsa (-altivec)
17 > -amr -bindist -bluray -cdio (-celt) -cpudetection -debug -doc -faac -fdk -flite -frei0r -gsm -iec61883 -ieee1394 -jack -jpeg2k -libass -libsoxr -libv4l -modplug (-neon) -openal -openssl -opus -oss
18 > -pic -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs {-test} -theora -threads -twolame -v4l -vaapi -vdpau (-vis) -vpx (-3dnow%) (-3dnowext%) (-avx%) (-mmx%) (-mmxext%) (-ssse3%)"
19 > CPU_FLAGS_X86="mmx%* mmxext%* -3dnow% -3dnowext% -avx% -ssse3%" FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" 0 KiB
20 >
21 > and running emerge, after many lines, I get
22 >
23 > [...]
24 > /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/mpeg12.c:1164:12: warning: 'mpeg_decode_update_thread_context' defined but not used [-Wunused-function]
25 > static int mpeg_decode_update_thread_context(AVCodecContext *avctx, const AVCodecContext *avctx_from)
26 > ^
27 > /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/common.mak:48: recipe for target 'libavcodec/motion_est.o' failed
28 > make: *** [libavcodec/motion_est.o] Error 1
29 > make: *** Waiting for unfinished jobs....
30 > * ERROR: media-video/ffmpeg-1.2.6-r1::gentoo failed (compile phase):
31 > * emake failed
32 >
33 > Google can't find this special error message (yet?), so I believe I'm
34 > the only one getting that error (and, hence, didn't want to file a bug
35 > report instantly). Perhaps I set some weird use flags?
36 >
37 > (No graphics installed on that machine, it's just a server which uses
38 > command-line ffmpeg-converting, mainly sound files, not even videos.)
39 >
40 > Thanks,
41 >
42 > -Matt
43
44 --
45 Regards,
46 Alex

Replies

Subject Author
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags Mike Gilbert <floppym@g.o>