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