Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869182 - has_version breaks during Python target migrations ("portageq: this Python implementation (python3.9) is not supported by the script.") for sys-apps/portage (breaks e.g. install-qa-check.d)
Summary: has_version breaks during Python target migrations ("portageq: this Python im...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Whiteboard: Happens with -ipc at least
Depends on:
Reported: 2022-09-08 13:05 UTC by Petr Bahula
Modified: 2022-09-19 03:53 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Petr Bahula 2022-09-08 13:05:55 UTC
After update system when I emerge our old packages I got:

 * Final size of build directory: 212 KiB
 * Final size of installed tree:  100 KiB
 * ERROR: artisys-lib/art_cmdlineBase-220708072255::artisys_no_corba failed:
 *   nonfatal() not supported in this EAPI
 * Call stack:
 *, line 637:  Called install_qa_check
 *, line 132:  Called source 'install_symlink_html_docs'
 *            60python-pyc, line 118:  Called python_pyc_check
 *            60python-pyc, line  22:  Called nonfatal 'install_hooks' '/usr/portage/metadata/install-qa-check.d/60python-pyc'
 *, line  94:  Called die
 * The specific snippet of code:
 *              die "$FUNCNAME() not supported in this EAPI"

After comment out line 22 in '/usr/portage/metadata/install-qa-check.d/60python-pyc'

       nonfatal has_version ">=dev-python/gpep517-8" || return

all work.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-09-08 13:52:45 UTC Comment hidden (obsolete)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-08 20:04:19 UTC Comment hidden (obsolete)
Comment 3 Larry the Git Cow gentoo-dev 2022-09-19 03:52:07 UTC
The bug has been referenced in the following commit(s):

commit 4d9b14a0bc5b66b1397efc0ada1a791f5b0adadd
Author:     Sam James <>
AuthorDate: 2022-09-19 03:50:46 +0000
Commit:     Sam James <>
CommitDate: 2022-09-19 03:51:51 +0000

    metadata/install-qa-check.d: don't use nonfatal on older EAPIs in 60python-pyc
    Fixes: c310e44692ad91777c71394dda97cd1f33f72589
    Signed-off-by: Sam James <>

 metadata/install-qa-check.d/60python-pyc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)