Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662120 - app-misc/pax-utils-1.2.3-r1: No supported Python implementation in PYTHON_SINGLE_TARGET/PYTHON_TARGETS.
Summary: app-misc/pax-utils-1.2.3-r1: No supported Python implementation in PYTHON_SIN...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-25 15:40 UTC by Michał Górny
Modified: 2018-08-10 07:33 UTC (History)
3 users (show)

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


Attachments
app-misc:pax-utils-1.2.3-r1:20180725-101354.log (app-misc:pax-utils-1.2.3-r1:20180725-101354.log,2.10 KB, text/plain)
2018-07-25 15:40 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-25 15:40:14 UTC
Created attachment 541014 [details]
app-misc:pax-utils-1.2.3-r1:20180725-101354.log

Apparently the eclass is not being used according to documentation.

 * Package:    app-misc/pax-utils-1.2.3-r1
 * Repository: gentoo
 * Maintainer: slyfox@gentoo.org toolchain@gentoo.org
 * USE:        abi_x86_64 amd64 caps elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 seccomp userland_GNU
 * FEATURES:   distcc preserve-libs sandbox userpriv usersandbox
 * 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_4 python3_5 python3_6

[yeah, the message should be updated to indicate it's ebuild author's fault because REQUIRED_USE should have prevented that from happening]
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-07-25 18:47:50 UTC
python-single-r1 was added in

  commit 1651c6c3a70a1ee310ecb2ad1253683d8dc3c4d7
  Author: Doug Goldstein <cardoe@gentoo.org>
  Date:   Sun Feb 4 13:53:51 2018 -0600

    app-misc/pax-utils: fix python dependencies

    Bug: https://bugs.gentoo.org/639412

I'll let cardoe@ (CCed) to finish python support.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-10 05:48:05 UTC
Over two weeks have passed, and it's still broken.
Comment 3 Larry the Git Cow gentoo-dev 2018-08-10 07:33:59 UTC
The bug has been closed via the following commit(s):

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

commit 70b0582b4544e141f65146b3a3a348aab30b7346
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-08-10 07:31:45 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-08-10 07:33:51 +0000

    app-misc/pax-utils: drop PYTHON_TARGETS check for USE=-python
    
    Before the change dependency resolution passed successfully
    but pkg_setup() failed as:
    
    $ USE=-python PYTHON_TARGETS=python3_7 emerge -v1 app-misc/pax-utils
    
     * ERROR: app-misc/pax-utils-1.2.3-r1::gentoo failed (setup phase):
     *   Build target (python3_6) not in PYTHON_TARGETS.
    
    Move PYTHON_TARGETS checking under 'use python'.
    
    Closes: https://bugs.gentoo.org/662120
    Package-Manager: Portage-2.3.45, Repoman-2.3.10

 .../{pax-utils-1.2.3-r1.ebuild => pax-utils-1.2.3-r2.ebuild}        | 6 ++++++
 1 file changed, 6 insertions(+)