Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags [SOLVED] Matthias Hanft <mh@×××××.de>