Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 957122 - Multiple Pacakages Cause Unsupported EAPI Errors During Emerge Parsing
Summary: Multiple Pacakages Cause Unsupported EAPI Errors During Emerge Parsing
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
: 957125 957163 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-06-04 09:31 UTC by Scott Furry
Modified: 2025-06-09 06:05 UTC (History)
7 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 Scott Furry 2025-06-04 09:31:26 UTC
During syncing of repository, multiple packages in GURU were reported with the same error. Emerge reports packages contained an unsupported EAPI value in ebuild files.

Typical Error:
-----
 * ERROR: app-backup/b2-4.0.1::guru failed (depend phase):
 *   distutils-r1: EAPI 7 not supported
 * 
 * Call stack:
 *             ebuild.sh, line 625:  Called source '/var/db/repos/guru/app-backup/b2/b2-4.0.1.ebuild'
 *       b2-4.0.1.ebuild, line  10:  Called inherit 'distutils-r1' 'pypi'
 *             ebuild.sh, line 310:  Called __qa_source '/var/db/repos/gentoo/eclass/distutils-r1.eclass'
 *             ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/distutils-r1.eclass'
 *   distutils-r1.eclass, line 221:  Called die
 * The specific snippet of code:
 *   	*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 * 
 * If you need support, post the output of `emerge --info '=app-backup/b2-4.0.1::guru'`,
 * the complete build log and the output of `emerge -pqv '=app-backup/b2-4.0.1::guru'`.
 * Working directory: '/usr/lib/python3.13/site-packages'
-----

Affected ebuilds:
app-backup/b2-4.0.1::guru
app-backup/b2-4.3.2::guru
dev-python/iOSbackup-0.9.925::guru
dev-python/phx-class-registry-4.1.0-r1::guru
dev-python/pymorphy3-1.2.0::guru
dev-python/pymorphy3-dicts-ru-2.4.417150.4580142::guru
dev-python/pymorphy3-dicts-uk-2.4.1.1.1663094765::guru
dev-python/pyqtdarktheme-2.1.0::guru
games-util/minigalaxy-1.3.2::guru
gui-apps/nwg-icon-picker-0.1.1-r1::guru
gui-apps/nwg-icon-picker-0.1.1::guru
gui-apps/nwg-icon-picker-9999::guru


Reproducible: Always

Steps to Reproduce:
Error Reports were consistent across all identified packages during emerge execution.
Comment 1 Viorel Munteanu gentoo-dev 2025-06-04 12:16:43 UTC
*** Bug 957125 has been marked as a duplicate of this bug. ***
Comment 2 Lucio Sauer 2025-06-04 13:00:52 UTC
> games-util/minigalaxy-1.3.2::guru
This one fails, because legacy mode for DISTUTILS_USE_PEP517 was dropped in
https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/distutils-r1.eclass?id=7972a9082e7d43371ff10f54004ef3806fb16231, not because of the EAPI.

Build issues caused by the lack of a (proper) PEP517 build for this package are tracked at https://bugs.gentoo.org/927563.
Comment 3 Lucio Sauer 2025-06-04 13:04:19 UTC
commit 99e357fdb995235a9fbecc59b7579148218f411b
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2025-06-04 14:10:47 +0200
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2025-06-04 14:10:47 +0200

    dev-python/phx-class-registry: update to EAPI 8

    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 dev-python/phx-class-registry/phx-class-registry-4.1.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 4 Lucio Sauer 2025-06-04 13:04:45 UTC
commit 8db88f73cf8046927b4a37f592a4c11a3ed5bd83
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2025-06-04 14:18:12 +0200
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2025-06-04 14:18:12 +0200

    app-backup/b2: update to EAPI 8
    
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 app-backup/b2/b2-4.0.1.ebuild | 4 ++--
 app-backup/b2/b2-4.3.2.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 5 Lucio Sauer 2025-06-04 13:05:07 UTC
commit b282b8ecf82052f0b11614833f0732980b666a84
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2025-06-04 14:21:06 +0200
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2025-06-04 14:21:06 +0200

    dev-python/iOSbackup: update to EAPI 8
    
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 dev-python/iOSbackup/iOSbackup-0.9.925.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 6 Lucio Sauer 2025-06-04 13:05:15 UTC
commit 947e214b746dc81e702866d951f9025a5ede4911
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2025-06-04 14:23:52 +0200
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2025-06-04 14:23:52 +0200

    dev-python/pymorphy3-dicts-ru: update to EAPI 8
    
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 .../pymorphy3-dicts-ru/pymorphy3-dicts-ru-2.4.417150.4580142.ebuild   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 7 Lucio Sauer 2025-06-04 13:05:25 UTC
commit c9716166a459837a233b2fc53053f786fee8df8f
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2025-06-04 14:24:56 +0200
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2025-06-04 14:24:56 +0200

    dev-python/pymorphy3: update to EAPI 8
    
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 dev-python/pymorphy3/pymorphy3-1.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 8 Lucio Sauer 2025-06-04 13:05:35 UTC
commit 8a7dee6c7cf866b34afff441021e891a2743a995
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2025-06-04 14:26:30 +0200
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2025-06-04 14:26:47 +0200

    dev-python/pymorphy3-dicts-uk: update to EAPI 8
    
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 .../pymorphy3-dicts-uk/pymorphy3-dicts-uk-2.4.1.1.1663094765.ebuild   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 9 Lucio Sauer 2025-06-04 13:05:53 UTC
commit f63e217cf998ef4f952858d9dbd78822c1adf7b7
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2025-06-04 14:27:38 +0200
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2025-06-04 14:27:38 +0200

    dev-python/pyqtdarktheme: update to EAPI 8
    
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 dev-python/pyqtdarktheme/pyqtdarktheme-2.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 10 Lucio Sauer 2025-06-04 13:06:01 UTC
commit f9795e917d5a5bd65d9887f45aabfa3f1f9ea847
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2025-06-04 14:30:17 +0200
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2025-06-04 14:30:17 +0200

    gui-apps/nwg-icon-picker: update to EAPI 8
    
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 gui-apps/nwg-icon-picker/nwg-icon-picker-0.1.1-r1.ebuild | 2 +-
 gui-apps/nwg-icon-picker/nwg-icon-picker-0.1.1.ebuild    | 4 ++--
 gui-apps/nwg-icon-picker/nwg-icon-picker-9999.ebuild     | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
Comment 11 Paweł Metelski 2025-06-04 14:41:24 UTC
I have commented out "guru" section in my /etc/portage/repos.conf/eselect-repo.conf and will await repo maintainer to provide ETC or other resolution here.
Comment 12 Scott Furry 2025-06-04 18:43:57 UTC
Mistake was made in lumping multiple ebuild issues under single "EAPI error".

After multiple commits (see prior comments) all but one package has been corrected. Error message indicates, as noted previously, unknown DISTUTILS_USE_PEP517 usage in ebuild.

Remaining uncorrected package:
- games-util/minigalaxy-1.3.2

Efforts to correct problem appreciated.
Comment 13 Larry the Git Cow gentoo-dev 2025-06-05 04:39:56 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=610820003576787afe4dfbbf78a496455daee6ad

commit 610820003576787afe4dfbbf78a496455daee6ad
Author:     Vivian Heisz (vhz) <demize@unstable.systems>
AuthorDate: 2025-06-05 02:11:45 +0000
Commit:     Vivian Heisz (vhz) <demize@unstable.systems>
CommitDate: 2025-06-05 02:19:47 +0000

    profiles: mask games-util/minigalaxy for removal
    
    Bug: https://bugs.gentoo.org/921916
    Bug: https://bugs.gentoo.org/927563
    Bug: https://bugs.gentoo.org/957122
    Bug: https://bugs.gentoo.org/921890
    Signed-off-by: Vivian Heisz (vhz) <demize@unstable.systems>

 profiles/package.mask | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b8ce29749b016765e45d9c6f8ea52372ec6381ac

commit b8ce29749b016765e45d9c6f8ea52372ec6381ac
Author:     Vivian Heisz (vhz) <demize@unstable.systems>
AuthorDate: 2025-06-05 02:02:42 +0000
Commit:     Vivian Heisz (vhz) <demize@unstable.systems>
CommitDate: 2025-06-05 02:19:47 +0000

    games-util/minigalaxy: fix build after egacy mode removed
    
    After https://github.com/gentoo/gentoo/commit/7972a9082e7d43371ff10f54004ef3806fb16231,
    this package no longer builds (and the ebuild was
    considered corrupt). This uses setup.py directly to build
    the package. It appears to install correctly this way,
    though I don't personally use the package to test fully.
    
    This also restricts the tests, which appear to have been
    failing for some time.
    
    Bug: https://bugs.gentoo.org/921916
    Bug: https://bugs.gentoo.org/927563
    Bug: https://bugs.gentoo.org/957122
    Signed-off-by: Vivian Heisz (vhz) <demize@unstable.systems>

 ...axy-1.3.2.ebuild => minigalaxy-1.3.2-r1.ebuild} | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)
Comment 14 Lucio Sauer 2025-06-05 04:45:43 UTC
(In reply to Paweł Metelski from comment #11)
> I have commented out "guru" section in my
> /etc/portage/repos.conf/eselect-repo.conf and will await repo maintainer to
> provide ETC or other resolution here.

The issues are fixed as of https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=610820003576787afe4dfbbf78a496455daee6ad.
Comment 15 Lucio Sauer 2025-06-05 04:47:56 UTC
(In reply to Lucio Sauer from comment #14)
> (In reply to Paweł Metelski from comment #11)
> > I have commented out "guru" section in my
> > /etc/portage/repos.conf/eselect-repo.conf and will await repo maintainer to
> > provide ETC or other resolution here.
> 
> The issues are fixed as of
> https://gitweb.gentoo.org/repo/proj/guru.git/commit/
> ?id=610820003576787afe4dfbbf78a496455daee6ad.

Sorry, wrong commit. This is it:
https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b8ce29749b016765e45d9c6f8ea52372ec6381ac
Comment 16 Viorel Munteanu gentoo-dev 2025-06-05 11:24:16 UTC
*** Bug 957163 has been marked as a duplicate of this bug. ***
Comment 17 Viorel Munteanu gentoo-dev 2025-06-05 11:26:00 UTC
I think this was fixed, I just tried and had no problem
Comment 18 Yusef Aslam 2025-06-05 13:46:57 UTC
(In reply to Viorel Munteanu from comment #17)
> I think this was fixed, I just tried and had no problem

Same for me. Just tried again and the problem is gone.
Comment 19 Larry the Git Cow gentoo-dev 2025-06-09 06:05:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=321b61ec8a7947ef46d419e4d1fb0902094cc14d

commit 321b61ec8a7947ef46d419e4d1fb0902094cc14d
Author:     Nicolas PARLANT <nicolas.parlant@parhuet.fr>
AuthorDate: 2025-06-05 19:26:41 +0000
Commit:     Nicolas PARLANT <nicolas.parlant@parhuet.fr>
CommitDate: 2025-06-08 20:43:57 +0000

    games-util/minigalaxy: install with only functions from portage
    
    use functions from portage and python-single-r1 instead edo
    
    Bug: https://bugs.gentoo.org/957122
    Closes: https://bugs.gentoo.org/921890
    Closes: https://bugs.gentoo.org/927563
    Closes: https://bugs.gentoo.org/921916
    Closes: #330
    Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>

 games-util/minigalaxy/minigalaxy-1.3.2-r3.ebuild | 87 ++++++++++++++++++++++++
 1 file changed, 87 insertions(+)