Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940173 - prefix' eclass/toolchain.eclass throws errors
Summary: prefix' eclass/toolchain.eclass throws errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-23 17:08 UTC by hsk17
Modified: 2024-09-23 18:25 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 hsk17 2024-09-23 17:08:09 UTC
seems, a sync of prefix' eclass/toolchain.eclass with gx86 is needed.

due to changes wrt TOOLCHAIN_HAS_TESTS variable and the import of python-any-r1

e.g. "equery l -p gnat-gpl":

 * ERROR: dev-lang/gnat-gpl-2021-r5::gentoo_prefix failed (depend phase):
 *   PYTHON_COMPAT not declared.
 * 
 * Call stack:
 *                 ebuild.sh, line 632:  Called source '/opt/prefix/var/db/repos/gentoo/dev-lang/gnat-gpl/gnat-gpl-2021-r5.ebuild'
 *   gnat-gpl-2021-r5.ebuild, line  38:  Called inherit 'toolchain-funcs' 'toolchain'
 *                 ebuild.sh, line 312:  Called __qa_source '/opt/prefix/var/db/repos/gentoo/eclass/toolchain.eclass'
 *                 ebuild.sh, line 123:  Called source '/opt/prefix/var/db/repos/gentoo/eclass/toolchain.eclass'
 *          toolchain.eclass, line  25:  Called inherit 'edo' 'flag-o-matic' 'gnuconfig' 'libtool' 'multilib' 'pax-utils' 'python-any-r1' 'toolchain-funcs' 'prefix'
 *                 ebuild.sh, line 312:  Called __qa_source '/opt/prefix/var/db/repos/gentoo/eclass/python-any-r1.eclass'
 *                 ebuild.sh, line 123:  Called source '/opt/prefix/var/db/repos/gentoo/eclass/python-any-r1.eclass'
 *      python-any-r1.eclass, line 201:  Called _python_any_set_globals
 *      python-any-r1.eclass, line 173:  Called _python_set_impls
 *    python-utils-r1.eclass, line 125:  Called die
 * The specific snippet of code:
 *                      die 'PYTHON_COMPAT not declared.'

(i came across this while doing some "equery depgraph" commands that
started to throw error messages)

btw:  another change to gx86' toolchain.eclass some days ago
did add sys-devel/binutils to gcc's dependencies.
after a snapshot update, "emerge --noreplace sys-devel/binutils"
could be omitted again from bootstrap-prefix.sh, cf. bug 936629,
#c5 3rd paragraph, #c8, #c9.
Comment 1 Larry the Git Cow gentoo-dev 2024-09-23 18:25:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=cdc0d0a0b1ead1a98ab409b9a4eea1fdc28799f9

commit cdc0d0a0b1ead1a98ab409b9a4eea1fdc28799f9
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2024-09-23 18:24:41 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2024-09-23 18:24:41 +0000

    eclass/toolchain: sync with gx86
    
    Closes: https://bugs.gentoo.org/940173
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 eclass/toolchain.eclass | 121 +++++++++++++++++++++++-------------------------
 1 file changed, 59 insertions(+), 62 deletions(-)