LINUX.ORG.RU

История изменений

Исправление Einstok_Fair, (текущая версия) :

clang и так собран, но самое главное, у него нет никаких намёков на слово «bindgen» в списке USE-флагов:

# emerge -pv sys-devel/clang

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-devel/clang-8.0.1:8::gentoo  USE="static-analyzer -debug -default-compiler-rt -default-libcxx -doc -test -xml* -z3" ABI_X86="(64) -32* (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -WebAssembly -XCore" PYTHON_SINGLE_TARGET="python2_7%*" PYTHON_TARGETS="(-python2_7%*)" 14 595 KiB

Total: 1 package (1 reinstall), Size of downloads: 14 595 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

sys-devel/clang:9

  (sys-devel/clang-9.0.1:9/9::gentoo, ebuild scheduled for merge) USE="static-analyzer -debug -default-compiler-rt -default-libcxx -doc -test -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_7" conflicts with
    sys-devel/clang:9/9=[abi_x86_32(-),abi_x86_64(-),llvm_targets_AMDGPU(-)] required by (media-libs/mesa-19.3.1:0/0::gentoo, installed) USE="X classic dri3 egl gallium gbm gles2 llvm opencl vaapi vdpau vulkan wayland xa xvmc -d3d9 -debug -gles1 -libglvnd -lm-sensors -osmesa -pax_kernel (-selinux) -test -unwind -valgrind -vulkan-overlay" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="i915 i965 intel nouveau r100 r200 r300 r600 radeon radeonsi vmware (-freedreno) -iris (-lima) (-panfrost) (-vc4) -virgl (-vivante)"

собирать Firefox с флагом «-clang»

У него и так -clang:

# emerge -pv firefox

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ~] www-client/firefox-75.0::gentoo [72.0.1::gentoo] USE="gmp-autoupdate screenshot system-av1* system-harfbuzz%* system-icu system-jpeg system-libevent system-libvpx* system-webp -bindist -clang -custom-cflags -custom-optimization -debug -eme-free -geckodriver -hardened -hwaccel -jack* -lto -pgo -pulseaudio* (-selinux) -startup-notification* -test -wayland* -wifi* (-system-sqlite%)" CPU_FLAGS_X86="-avx2" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur -uz -vi -xh -zh-CN -zh-TW" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Исходная версия Einstok_Fair, :

clang и так собран, но самое главное, у него нет никаких намёков на слово «bindgen» в списке USE-флагов: [code]

emerge -pv sys-devel/clang

These are the packages that would be merged, in order:

Calculating dependencies… done! [ebuild R ] sys-devel/clang-8.0.1:8::gentoo USE=«static-analyzer -debug -default-compiler-rt -default-libcxx -doc -test -xml* -z3» ABI_X86=«(64) -32* (-x32)» LLVM_TARGETS=«AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -WebAssembly -XCore» PYTHON_SINGLE_TARGET=«python2_7%*» PYTHON_TARGETS=«(-python2_7%*)» 14 595 KiB

Total: 1 package (1 reinstall), Size of downloads: 14 595 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

sys-devel/clang:9

(sys-devel/clang-9.0.1:9/9::gentoo, ebuild scheduled for merge) USE=«static-analyzer -debug -default-compiler-rt -default-libcxx -doc -test -xml» ABI_X86=«(64) -32 (-x32)» LLVM_TARGETS=«AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore» PYTHON_SINGLE_TARGET=«python3_6 -python2_7 -python3_7» conflicts with sys-devel/clang:9/9=[abi_x86_32(-),abi_x86_64(-),llvm_targets_AMDGPU(-)] required by (media-libs/mesa-19.3.1:0/0::gentoo, installed) USE=«X classic dri3 egl gallium gbm gles2 llvm opencl vaapi vdpau vulkan wayland xa xvmc -d3d9 -debug -gles1 -libglvnd -lm-sensors -osmesa -pax_kernel (-selinux) -test -unwind -valgrind -vulkan-overlay» ABI_X86=«32 (64) (-x32)» VIDEO_CARDS=«i915 i965 intel nouveau r100 r200 r300 r600 radeon radeonsi vmware (-freedreno) -iris (-lima) (-panfrost) (-vc4) -virgl (-vivante)» [/code]

собирать Firefox с флагом «-clang»

У него и так -clang: [code]

emerge -pv firefox

These are the packages that would be merged, in order:

Calculating dependencies… done! [ebuild U ~] www-client/firefox-75.0::gentoo [72.0.1::gentoo] USE=«gmp-autoupdate screenshot system-av1* system-harfbuzz%* system-icu system-jpeg system-libevent system-libvpx* system-webp -bindist -clang -custom-cflags -custom-optimization -debug -eme-free -geckodriver -hardened -hwaccel -jack* -lto -pgo -pulseaudio* (-selinux) -startup-notification* -test -wayland* -wifi* (-system-sqlite%)» CPU_FLAGS_X86=«-avx2» L10N=«-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur -uz -vi -xh -zh-CN -zh-TW» 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB [/code]