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...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard: Happens with -ipc at least
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-08 13:05 UTC by Petr Bahula
Modified: 2023-12-02 22:56 UTC (History)
4 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 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:
 *       misc-functions.sh, line 637:  Called install_qa_check
 *       misc-functions.sh, 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'
 *   isolated-functions.sh, 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):

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

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

    metadata/install-qa-check.d: don't use nonfatal on older EAPIs in 60python-pyc
    
    Bug: https://bugs.gentoo.org/869182
    Fixes: c310e44692ad91777c71394dda97cd1f33f72589
    Signed-off-by: Sam James <sam@gentoo.org>

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