Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 758404 - dev-util/lldb-9.0.1-r1 can't compile with default PYTHON_TARGETS
Summary: dev-util/lldb-9.0.1-r1 can't compile with default PYTHON_TARGETS
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-12-04 14:29 UTC by Christophe PEREZ
Modified: 2021-01-01 19:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2020-12-04 14:29:08 UTC
I can't update world because of :
# emerge -DauUN world

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

Calculating dependencies... done!

!!! The ebuild selected to satisfy "=dev-util/lldb-9*" has unmet requirements.
- dev-util/lldb-9.0.1-r1::gentoo USE="ncurses python -libedit -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_6 -python3_7"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_6 python_single_target_python3_7 )

(dependency required by "dev-util/idea-community-2020.2.2.202.7319.50::gentoo" [installed])
(dependency required by "@dev-android" [set])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


$ emerge --info | grep -o "PYTHON_TARGETS=\"[^\"]*\""
PYTHON_TARGETS="python2_7 python3_8"
Comment 1 foufou33 2020-12-04 21:12:03 UTC
it seems that PYTHON_SINGLE_TARGET was updated in 
/usr/portage/profiles/base/make.defaults to python3_8?
Comment 2 Christophe PEREZ 2020-12-04 21:15:03 UTC
(In reply to foufou33 from comment #1)
> it seems that PYTHON_SINGLE_TARGET was updated in 
> /usr/portage/profiles/base/make.defaults to python3_8?

Is it a real question ?
Comment 3 foufou33 2020-12-05 00:40:44 UTC
I noticed the same over here.

Actually no, If compare  /usr/portage/profiles/base/make.defaults from a machine that was synced few days ago to one that I synced few hours ago  PYTHON_SINGLE_TARGET  definitely changed  from python3_7 to python3_8 
dev-util/lldb-9.0.1-r1::gentoo seems to require either python3_7 or python3_6

A workaround is to add  python_single_target_python3_7 to USE for that particular package  (one way or an other)
Comment 4 mercuriete 2020-12-07 13:51:33 UTC
I can confirm this problem

I need idea-community and its pulling lldb-9
https://bugs.gentoo.org/735756


I did a workaround with this line:


PYTHON_COMPAT=( python3_{6..9} )

and it WORK_FOR_ME


I will open a new PR on github with the change.
Comment 5 mercuriete 2020-12-08 15:18:08 UTC
I did a PR that works for me.

https://github.com/gentoo/gentoo/pull/18565


I dont know if this is correct or not but It works for me.

Thanks for your work.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-12-10 08:52:58 UTC
LLVM < 10 is not supported.  The packages requiring it will be last rited shortly.
Comment 7 mercuriete 2021-01-01 19:47:24 UTC
thanks for the work.

just for people hitting this problem...

https://bugs.gentoo.org/735756

you need to update idea-community to..

idea-community-2020.3.0.203.5981.155-r1

or later


fixed by 

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0901302bdd3b40f6012a96618e393d0bbeb8a632



command:

sudo emerge --oneshot --ask =idea-community-2020.3.0.203.5981.155-r1 --autounmask