вт, 2 окт. 2018 г. в 22:45, gevisz <gev...@gmail.com>: > > So, mmxext flag is indeed absent here. > > I have not yet included it in CPU_FLAGS_X86 and think that > it produces a strange error messages when I try emerge some > packages like firefox: > > # emerge firefox > These are the packages that would be merged, in order: > Calculating dependencies... done! > > !!! The ebuild selected to satisfy > ">=media-video/ffmpeg-1.2.6-r1:0[X?,encode?,gsm?,jpeg2k?,mp3?,opus?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?]" > has unmet requirements. > - media-video/ffmpeg-3.3.6::gentoo USE="X alsa bzip2 encode gpl > hardcoded-tables iconv mp3 network opengl postproc sdl threads > truetype vdpau vorbis x264 xcb xvid zlib (-altivec) -amr -amrenc > -bluray -bs2b -cdio (-celt) -chromaprint -chromium -cpudetection > -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp > -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa > -libass -libcaca -libilbc -librtmp -libsoxr -libv4l -lzma (-mipsdspr1) > (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -nvenc -openal -openh264 > -openssl -opus -oss -pic -pulseaudio -rubberband -samba -schroedinger > -snappy -sofalizer -speex -ssh -static-libs -test -theora -twolame > -v4l -vaapi -vpx -wavpack -webp -x265 -zeromq -zimg -zvbi" > ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="mmx sse sse2 sse3 ssse3 > -3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -mmxext -sse4_1 -sse4_2 > -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt > graph2dot ismindex pktdumper qt-faststart sidxindex trasher" > > The following REQUIRED_USE flag constraints are unsatisfied: > cpu_flags_x86_sse? ( cpu_flags_x86_mmxext ) > > The above constraints are a subset of the following complete expression: > libv4l? ( v4l ) fftools_cws2fws? ( zlib ) test? ( encode ) > postproc? ( gpl ) frei0r? ( gpl ) cdio? ( gpl ) samba? ( gpl ) encode? > ( x264? ( gpl ) x265? ( gpl ) xvid? ( gpl ) X? ( !xcb? ( gpl ) ) ) > arm64? ( cpu_flags_arm_v8 ) cpu_flags_arm_v8? ( cpu_flags_arm_vfpv3 > cpu_flags_arm_neon ) cpu_flags_arm_neon? ( cpu_flags_arm_thumb2 > cpu_flags_arm_vfp ) cpu_flags_arm_vfpv3? ( cpu_flags_arm_vfp ) > cpu_flags_arm_thumb2? ( cpu_flags_arm_v6 ) cpu_flags_arm_v6? ( > cpu_flags_arm_thumb ) cpu_flags_x86_avx2? ( cpu_flags_x86_avx ) > cpu_flags_x86_fma4? ( cpu_flags_x86_avx ) cpu_flags_x86_fma3? ( > cpu_flags_x86_avx ) cpu_flags_x86_xop? ( cpu_flags_x86_avx ) > cpu_flags_x86_avx? ( cpu_flags_x86_sse4_2 ) cpu_flags_x86_aes? ( > cpu_flags_x86_sse4_2 ) cpu_flags_x86_sse4_2? ( cpu_flags_x86_sse4_1 ) > cpu_flags_x86_sse4_1? ( cpu_flags_x86_ssse3 ) cpu_flags_x86_ssse3? ( > cpu_flags_x86_sse3 ) cpu_flags_x86_sse3? ( cpu_flags_x86_sse2 ) > cpu_flags_x86_sse2? ( cpu_flags_x86_sse ) cpu_flags_x86_sse? ( > cpu_flags_x86_mmxext ) cpu_flags_x86_mmxext? ( cpu_flags_x86_mmx ) > cpu_flags_x86_3dnowext? ( cpu_flags_x86_3dnow ) cpu_flags_x86_3dnow? ( > cpu_flags_x86_mmx ) > > (dependency required by "virtual/ffmpeg-9-r2::gentoo" [ebuild]) > (dependency required by "www-client/firefox-60.2.0::gentoo" [ebuild]) > (dependency required by "firefox" [argument]) > > I will try to include mmxext into CPU_FLAGS_X86 and see if this error > message appears again.
Indeed, I have included mmxext into CPU_FLAGS_X86 and the above error message disappeared. My guess is that CPU_FLAGS_X86 is used only when emerging x32 libraries while -match=native is used for x64 libraries. When both x32 and x64 libraries appear in the same package, portage somehow notices the conflict and reports it.