Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 652998

Summary: sys-apps/util-linux-2.32-r3 and python-3.6
Product: Gentoo Linux Reporter: Jan Ziak (atomsymbol) <0xe2.0x9a.0x9b>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Jan Ziak (atomsymbol) 2018-04-12 08:58:02 UTC
Created attachment 527170 [details]
emerge --info

$ grep PYTHON /etc/portage/make.conf
PYTHON_TARGETS="pypy python2_7 python3_6"
#PYTHON_SINGLE_TARGET="python2_7"



$ emerge -pv --nodeps util-linux

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

!!! Problem resolving dependencies for sys-apps/util-linux

!!! The ebuild selected to satisfy "util-linux" has unmet requirements.
- sys-apps/util-linux-2.32-r3::gentoo USE="cramfs ncurses nls pam python readline static-libs suid udev unicode -build -caps -fdformat -kill (-selinux) -slang -systemd -test -tty-helpers" ABI_X86="32 (64) -x32" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( python_single_target_python3_5? ( python_targets_python3_5 ) )

  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_python3_6 ) 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 ) python_single_target_python3_6? ( python_targets_python3_6 ) )
Comment 1 Jan Ziak (atomsymbol) 2018-04-12 08:59:21 UTC
PYTHON_TARGETS="pypy python2_7 python3_5" works fine.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-12 09:04:55 UTC
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo

You don't have python3_6 installed.

Also, this is not a technical support site: use our forums, mailing lists or IRC channels for help resolving this issue. This is not a bug.
Comment 3 Jan Ziak (atomsymbol) 2018-04-12 09:35:10 UTC
(In reply to Jeroen Roovers from comment #2)
> dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
> 
> You don't have python3_6 installed.

I installed python:3.6. The result is the same: util-linux selects PYTHON_SINGLE_TARGET=python3_5 rather than PYTHON_SINGLE_TARGET=python3_6.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-12 10:12:55 UTC
This is still a support request, so it's INVALID. There is no bug here.
Comment 5 Jan Ziak (atomsymbol) 2018-04-12 10:23:02 UTC
(In reply to Jeroen Roovers from comment #4)
> This is still a support request, so it's INVALID. There is no bug here.

Have you tried to reproduce the issue? Are you able to reproduce it or not?

If you are unable to reproduce it and emerge sys-apps/util-linux is selecting PYTHON_SINGLE_TARGET=python3_6 on your machine then I agree the issue is a support request and there is no bug here. Otherwise, I disagree the issue is a support request and there is a bug here.
Comment 6 Jan Ziak (atomsymbol) 2018-04-12 10:34:04 UTC
(In reply to Jeroen Roovers from comment #4)
> This is still a support request, so it's INVALID. There is no bug here.

I will try to use the forums.
Comment 7 tt_1 2018-04-13 11:53:42 UTC
This is not a bug in portage tree or the ebuilds, it is possible to use python-3.6 with util-linux, but it can be a bit painfull to sort out all the other dependencies. Certainly you should hit the forums or the irc channel to ask for some assistance.