Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616748 - sys-apps/util-linux-2.29.2-r1 python single target constraint fails w python 2.7 and 3.6
Summary: sys-apps/util-linux-2.29.2-r1 python single target constraint fails w python ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-27 16:09 UTC by Jeff Kowalczyk
Modified: 2017-04-27 16:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,6.30 KB, text/plain)
2017-04-27 16:10 UTC, Jeff Kowalczyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2017-04-27 16:09:46 UTC
I have /etc/portage/make.conf set to use Python 2.7 and 3.6 

USE_PYTHON="2.7 3.6"
PYTHON_TARGETS="python2_7 python3_6"

Recent update to sys-apps/util-linux-2.29.2-r1 raises the following error about a missing python single version:

!!! The ebuild selected to satisfy "sys-apps/util-linux" has unmet requirements.

- sys-apps/util-linux-2.29.2-r1::gentoo USE="caps cramfs ncurses nls pam python
  readline suid udev unicode -build -fdformat -kill (-selinux) -slang
  -static-libs -systemd -test -tty-helpers" ABI_X86="64 -32 -x32"
  PYTHON_SINGLE_TARGET="python3_4 -python2_7 -python3_5"
  PYTHON_TARGETS="python2_7 -python3_4 -python3_5"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( python_single_target_python3_4? ( python_targets_python3_4 ) )

  The above constraints are a subset of the following complete expression:

    python? ( exactly-one-of ( python_single_target_python2_7
    python_single_target_python3_4 python_single_target_python3_5 )
    python_single_target_python2_7? ( python_targets_python2_7 )
    python_single_target_python3_4? ( python_targets_python3_4 )
    python_single_target_python3_5? ( python_targets_python3_5 ) )

(dependency required by "@system" [set])
(dependency required by "@world" [argument])
Comment 1 Jeff Kowalczyk 2017-04-27 16:10:02 UTC
Created attachment 471016 [details]
emerge --info
Comment 2 Ben Kohler gentoo-dev 2017-04-27 16:13:27 UTC
This isn't a bug, if you take python3_4 out of PYTHON_TARGETS, you need to adjust PYTHON_SINGLE_TARGET as well.  And FYI a lot of packages aren't going to allow python3_6 yet.