Summary: | =sys-apps/portage-2.2.20.1 tries to rebuild packages with PYTHON_TARGETS="python3_4" with no dev-lang/python:3.4 installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey S. Starikoff <Ikonta> |
Component: | [OLD] Core system | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | dev-portage |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sergey S. Starikoff
2015-08-13 17:35:15 UTC
--with-bdeps=y missed No. Re-check on my another system (although with active python3_3) shows similiar result: # emerge -uDN --with-bdeps=y world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/file-5.22::gentoo USE="zlib -python -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_4* -python3_3*" 0 KiB [ebuild R ] dev-libs/boost-1.56.0-r1:0/1.56.0::gentoo USE="nls threads -context -debug -doc -icu -mpi -python -static-libs -tools" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_4* -python3_3*" 0 KiB [ebuild R ] dev-libs/libnl-3.2.25:3::gentoo USE="-python -static-libs -utils" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_4* -python3_3*" 0 KiB [ebuild U ] sys-power/iasl-20140828::gentoo [20130117-r1::gentoo] USE="{-test}" 1 391 KiB [ebuild U ] virtual/perl-Parse-CPAN-Meta-1.441.400-r1::gentoo [1.441.400::gentoo] 0 KiB [ebuild U ] virtual/perl-CPAN-Meta-YAML-0.12.0-r1::gentoo [0.12.0::gentoo] 0 KiB [ebuild U ] virtual/perl-version-0.990.900-r2::gentoo [0.990.900-r1::gentoo] 0 KiB [ebuild U ] virtual/perl-ExtUtils-Manifest-1.630.0-r2::gentoo [1.630.0-r1::gentoo] 0 KiB [ebuild U ] virtual/perl-ExtUtils-CBuilder-0.280.217-r2::gentoo [0.280.217-r1::gentoo] 0 KiB [ebuild R ] sys-libs/libcap-ng-0.7.7::gentoo USE="-python -static-libs" PYTHON_TARGETS="python2_7 python3_4* -python3_3*" 0 KiB [ebuild R ] sys-apps/kmod-20::gentoo USE="tools zlib -debug -doc -lzma -python -static-libs" PYTHON_TARGETS="python2_7 python3_4* -python3_3*" 0 KiB [ebuild rR ] dev-libs/libixion-0.9.0:0/0.10::gentoo USE="-static-libs" PYTHON_TARGETS="python2_7" 0 KiB [ebuild U ] dev-java/javatoolkit-0.3.0-r9::gentoo [0.3.0-r6::gentoo] PYTHON_TARGETS="python2_7%*" 0 KiB [ebuild NS ] dev-lang/python-3.4.1:3.4::gentoo [2.7.9-r1:2.7::gentoo, 3.3.5-r1:3.3::gentoo] USE="gdbm ncurses readline sqlite ssl threads xml -build -examples -hardened -ipv6 -tk -wininst" 13 806 KiB [ebuild R ] dev-libs/libxml2-2.9.2-r1:2::gentoo USE="icu python readline -debug -examples -ipv6 -lzma -static-libs {-test}" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 python3_4* -python3_3*" 0 KiB [ebuild R ] sys-apps/portage-2.2.20.1::gentoo USE="(ipc) -build -doc -epydoc (-selinux) -xattr" LINGUAS="ru" PYTHON_TARGETS="python2_7 python3_4* (-pypy) -python3_3*" 0 KiB … All of the packages being merged before dev-lang/python:3.4 have *optional* python support, and you have the python USE flag disabled. Therefore, the ebuilds do not actually depend on any version of python. The rebuilds are being triggered by --newuse, which rebuilds for any USE flag change. Ideally, portage would ignore the python_targets use flags in such a situation, but it is probably not worth the effort to implement that in any sane manner. Marking WONTFIX, but copying the portage devs; if they want to take this on as a feature request, they are welcome to take this bug and reopen it. (In reply to Mike Gilbert from comment #3) > Ideally, portage would ignore the python_targets use flags in such a > situation, but it is probably not worth the effort to implement that in any > sane manner. > > Marking WONTFIX, but copying the portage devs; if they want to take this on > as a feature request, they are welcome to take this bug and reopen it. If the relevant ebuilds used REQUIRED_USE as suggested in bug 532014, then it wouldn't be an issue. However, the idea was rejected since that would require people to use package.use to disable the python_targets_* flags for those packages when USE=python is not enabled. Users can still do that, but the ebuilds don't have REQUIRED_USE to enforce it. So, I'd suggest that users use package.use to disable the python_targets_* flags for those packages if the rebuilds matter to them. |