Gentoo Archives: gentoo-user

From: Matthias Hanft <mh@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
Date: Sun, 01 Feb 2015 18:44:17
1 Hi,
3 I have installed the new CPU_FLAGS_X86, as "cpuinfo2cpuflags-x86"
4 told me: CPU_FLAGS_X86="mmx mmxext sse sse2 sse3"
6 When I did "emerge -NDuv @world" afterwards, there were some re-installs.
7 Everything was fine, except ffmpeg. emerge displays:
9 [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)
10 -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
11 -pic -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs {-test} -theora -threads -twolame -v4l -vaapi -vdpau (-vis) -vpx (-3dnow%) (-3dnowext%) (-avx%) (-mmx%) (-mmxext%) (-ssse3%)"
12 CPU_FLAGS_X86="mmx%* mmxext%* -3dnow% -3dnowext% -avx% -ssse3%" FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" 0 KiB
14 and running emerge, after many lines, I get
16 [...]
17 /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]
18 static int mpeg_decode_update_thread_context(AVCodecContext *avctx, const AVCodecContext *avctx_from)
19 ^
20 /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
21 make: *** [libavcodec/motion_est.o] Error 1
22 make: *** Waiting for unfinished jobs....
23 * ERROR: media-video/ffmpeg-1.2.6-r1::gentoo failed (compile phase):
24 * emake failed
26 Google can't find this special error message (yet?), so I believe I'm
27 the only one getting that error (and, hence, didn't want to file a bug
28 report instantly). Perhaps I set some weird use flags?
30 (No graphics installed on that machine, it's just a server which uses
31 command-line ffmpeg-converting, mainly sound files, not even videos.)
33 Thanks,
35 -Matt


Subject Author
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags Alexey Mishustin <shumkar@×××××××.ru>
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags Alexander Kapshuk <alexander.kapshuk@×××××.com>
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags Mike Gilbert <floppym@g.o>