Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags [SOLVED]
Alexander Kapshuk wrote: What's the output of the command lines shown below on your system? grep -Es 'ffmpeg|CPU' /etc/portage/* Ah uh... /etc/portage/package.use:# this is necessary for ffmpeg update (see gentoo-bug 290741) /etc/portage/package.use:media-video/ffmpeg -pic Seems that I didn't USE mmx before, and, therefore, had to disable pic manually (because of the bug mentioned). Now mmx came into CPU_FLAGS, and obviously mmx and pic have to be enabled or disabled simultaneously. Thanks - this was a long-forgotten configuration... -Matt
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags [SOLVED]
On Mon, Feb 2, 2015 at 11:36 AM, Matthias Hanft m...@hanft.de wrote: Alexander Kapshuk wrote: What's the output of the command lines shown below on your system? grep -Es 'ffmpeg|CPU' /etc/portage/* Ah uh... /etc/portage/package.use:# this is necessary for ffmpeg update (see gentoo-bug 290741) /etc/portage/package.use:media-video/ffmpeg -pic Seems that I didn't USE mmx before, and, therefore, had to disable pic manually (because of the bug mentioned). Now mmx came into CPU_FLAGS, and obviously mmx and pic have to be enabled or disabled simultaneously. Thanks - this was a long-forgotten configuration... -Matt No worries. Glad it worked out for you.
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
On Sun, Feb 1, 2015 at 8:44 PM, Matthias Hanft m...@hanft.de wrote: Hi, I have installed the new CPU_FLAGS_X86, as cpuinfo2cpuflags-x86 told me: CPU_FLAGS_X86=mmx mmxext sse sse2 sse3 When I did emerge -NDuv @world afterwards, there were some re-installs. Everything was fine, except ffmpeg. emerge displays: [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) -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 -pic -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs {-test} -theora -threads -twolame -v4l -vaapi -vdpau (-vis) -vpx (-3dnow%) (-3dnowext%) (-avx%) (-mmx%) (-mmxext%) (-ssse3%) CPU_FLAGS_X86=mmx%* mmxext%* -3dnow% -3dnowext% -avx% -ssse3% FFTOOLS=aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher 0 KiB and running emerge, after many lines, I get [...] /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] static int mpeg_decode_update_thread_context(AVCodecContext *avctx, const AVCodecContext *avctx_from) ^ /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 make: *** [libavcodec/motion_est.o] Error 1 make: *** Waiting for unfinished jobs * ERROR: media-video/ffmpeg-1.2.6-r1::gentoo failed (compile phase): * emake failed Google can't find this special error message (yet?), so I believe I'm the only one getting that error (and, hence, didn't want to file a bug report instantly). Perhaps I set some weird use flags? (No graphics installed on that machine, it's just a server which uses command-line ffmpeg-converting, mainly sound files, not even videos.) Thanks, -Matt What's the output of the command lines shown below on your system? grep -Es 'ffmpeg|CPU' /etc/portage/* equery -q u media-video/ffmpeg|grep cpu
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
On Sun, Feb 1, 2015 at 1:44 PM, Matthias Hanft m...@hanft.de wrote: Hi, I have installed the new CPU_FLAGS_X86, as cpuinfo2cpuflags-x86 told me: CPU_FLAGS_X86=mmx mmxext sse sse2 sse3 When I did emerge -NDuv @world afterwards, there were some re-installs. Everything was fine, except ffmpeg. emerge displays: [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) -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 -pic -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs {-test} -theora -threads -twolame -v4l -vaapi -vdpau (-vis) -vpx (-3dnow%) (-3dnowext%) (-avx%) (-mmx%) (-mmxext%) (-ssse3%) CPU_FLAGS_X86=mmx%* mmxext%* -3dnow% -3dnowext% -avx% -ssse3% FFTOOLS=aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher 0 KiB and running emerge, after many lines, I get [...] You failed to include the real error message in your email. Look further up in the log for a line containing error:.
[gentoo-user] Cannot reinstall ffmpeg since new cpu flags
Hi, I have installed the new CPU_FLAGS_X86, as cpuinfo2cpuflags-x86 told me: CPU_FLAGS_X86=mmx mmxext sse sse2 sse3 When I did emerge -NDuv @world afterwards, there were some re-installs. Everything was fine, except ffmpeg. emerge displays: [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) -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 -pic -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs {-test} -theora -threads -twolame -v4l -vaapi -vdpau (-vis) -vpx (-3dnow%) (-3dnowext%) (-avx%) (-mmx%) (-mmxext%) (-ssse3%) CPU_FLAGS_X86=mmx%* mmxext%* -3dnow% -3dnowext% -avx% -ssse3% FFTOOLS=aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher 0 KiB and running emerge, after many lines, I get [...] /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] static int mpeg_decode_update_thread_context(AVCodecContext *avctx, const AVCodecContext *avctx_from) ^ /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 make: *** [libavcodec/motion_est.o] Error 1 make: *** Waiting for unfinished jobs * ERROR: media-video/ffmpeg-1.2.6-r1::gentoo failed (compile phase): * emake failed Google can't find this special error message (yet?), so I believe I'm the only one getting that error (and, hence, didn't want to file a bug report instantly). Perhaps I set some weird use flags? (No graphics installed on that machine, it's just a server which uses command-line ffmpeg-converting, mainly sound files, not even videos.) Thanks, -Matt
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
2015-02-01 21:44 GMT+03:00 Matthias Hanft m...@hanft.de: Hi, Hello I have installed the new CPU_FLAGS_X86, as cpuinfo2cpuflags-x86 told me: CPU_FLAGS_X86=mmx mmxext sse sse2 sse3 cpuinfo2cpuflags-x86 isn't telling to turn on all these flags unconditionally but only those that are included in USE in make.conf. When I did emerge -NDuv @world afterwards, there were some re-installs. Everything was fine, except ffmpeg. emerge displays: [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) -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 -pic -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs {-test} -theora -threads -twolame -v4l -vaapi -vdpau (-vis) -vpx (-3dnow%) (-3dnowext%) (-avx%) (-mmx%) (-mmxext%) (-ssse3%) CPU_FLAGS_X86=mmx%* mmxext%* -3dnow% -3dnowext% -avx% -ssse3% FFTOOLS=aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher 0 KiB and running emerge, after many lines, I get [...] /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] static int mpeg_decode_update_thread_context(AVCodecContext *avctx, const AVCodecContext *avctx_from) ^ /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 make: *** [libavcodec/motion_est.o] Error 1 make: *** Waiting for unfinished jobs * ERROR: media-video/ffmpeg-1.2.6-r1::gentoo failed (compile phase): * emake failed Google can't find this special error message (yet?), so I believe I'm the only one getting that error (and, hence, didn't want to file a bug report instantly). Perhaps I set some weird use flags? (No graphics installed on that machine, it's just a server which uses command-line ffmpeg-converting, mainly sound files, not even videos.) Thanks, -Matt -- Regards, Alex
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
Mike Gilbert wrote: You failed to include the real error message in your email. Look further up in the log for a line containing error:. Ah, I actually missed that: /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/x86/mathops.h:94:1: error: 'asm' operand has impossible constrain ts (12 times) Kernel 3.17.7, BTW. Last compilation is a long time ago (maybe 3.12 or so) -Matt
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
02.02.2015 0:24 пользователь Mike Gilbert flop...@gentoo.org написал: On Sun, Feb 1, 2015 at 2:13 PM, Alexey Mishustin shum...@shumkar.ru wrote: 2015-02-01 21:44 GMT+03:00 Matthias Hanft m...@hanft.de: Hi, Hello I have installed the new CPU_FLAGS_X86, as cpuinfo2cpuflags-x86 told me: CPU_FLAGS_X86=mmx mmxext sse sse2 sse3 cpuinfo2cpuflags-x86 isn't telling to turn on all these flags unconditionally but only those that are included in USE in make.conf. Where did you get that silly idea? cpuinfo2cpuflags-x86 tells you exactly what to put in make.conf based on your host CPU. Ok. It tells me what _could_ be put in the new variable in make.conf. But make.conf existed before this new variable. And what flags existed in it - it's a separate question. If one wants to keep 'status quo', he should only duplicate those cpu flags whis were in USE to this new variable. If some cpu flag wasn't in USE, he shouldn't add it to the new variable. -- Regards, Alex
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
whis were in USE which were in USE
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
I wrote: /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/x86/mathops.h:94:1: error: 'asm' operand has impossible constraints The piece of source code at that point: #if HAVE_CMOV #define COPY3_IF_LT(x, y, a, b, c, d)\ __asm__ volatile(\ cmpl %0, %3 \n\t\ cmovl %3, %0 \n\t\ cmovl %4, %1 \n\t\ cmovl %5, %2 \n\t\ : +r (x), +r (a), +r (c)\ : r (y), r (b), r (d)\ ); #endif and the emerge messages: [...] In file included from /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/mathops.h:45:0, from /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/motion_est.c:35: /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/x86/mathops.h:94:1: error: 'asm' operand has impossible constraints __asm__ volatile(\ ^ /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/motion_est.c:378:5: note: in expansion of macro 'COPY3_IF_LT' COPY3_IF_LT(dminh, d, dx, x, dy, y)\ ^ /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/motion_est.c:440:17: note: in expansion of macro 'CHECK_SAD_HALF_MV' CHECK_SAD_HALF_MV(xy2, +1, -1) ^ [repeated 12 times] -Matt
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
On Sun, Feb 1, 2015 at 2:13 PM, Alexey Mishustin shum...@shumkar.ru wrote: 2015-02-01 21:44 GMT+03:00 Matthias Hanft m...@hanft.de: Hi, Hello I have installed the new CPU_FLAGS_X86, as cpuinfo2cpuflags-x86 told me: CPU_FLAGS_X86=mmx mmxext sse sse2 sse3 cpuinfo2cpuflags-x86 isn't telling to turn on all these flags unconditionally but only those that are included in USE in make.conf. Where did you get that silly idea? cpuinfo2cpuflags-x86 tells you exactly what to put in make.conf based on your host CPU.