Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720754 - app-arch/rpm-4.14.1 starts emerge with python3.7 but then fails immediately as it's not supported
Summary: app-arch/rpm-4.14.1 starts emerge with python3.7 but then fails immediately a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-03 02:34 UTC by alex Mezey
Modified: 2020-05-03 02:44 UTC (History)
0 users

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 alex Mezey 2020-05-03 02:34:36 UTC
during my emerge world app-arch/rpm-4.14.1 stopped emerging immediately with this message:
* No Python implementation selected for the build. Please set
* the PYTHON_SINGLE_TARGET variable in your make.conf to one
* of the following values:
* 
* python2_7 python3_6


Reproducible: Always

Steps to Reproduce:
1.PYTHON_SINGLE_TARGET set to 3.7 (in my case by default)
2.emerge app-arch/rpm-4.14.1::gentoo
3.
Actual Results:  
stops emerging with the message above

Expected Results:  
complain before emerge starts to set use flags

It might be a portage bug as the ebuild contains this line:

PYTHON_COMPAT=( python2_7 python3_6 )
Comment 1 alex Mezey 2020-05-03 02:41:24 UTC
my portage version is 2.3.89-r3
Comment 2 Larry the Git Cow gentoo-dev 2020-05-03 02:44:41 UTC
The bug has been closed via the following commit(s):

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

commit bd7ed43b52f382e6dd7efa4ffd7e1fcc8b46fcdb
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-05-03 02:44:25 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-05-03 02:44:25 +0000

    app-arch/rpm: don't call python-any-r1_pkg_setup when python is disabled
    
    Closes: https://bugs.gentoo.org/720754
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 app-arch/rpm/rpm-4.14.1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)