Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913237 - guru: lots of sourcing failures w/ eutils.eclass EAPI 7 change
Summary: guru: lots of sourcing failures w/ eutils.eclass EAPI 7 change
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-30 04:20 UTC by Scott Furry
Modified: 2023-08-30 06:32 UTC (History)
1 user (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 2023-08-30 04:20:58 UTC
During a system update, multiple category dev-r ebuilds were reported citing an EAPI error during parsing as part of eix-sync. Example error message:

```
[2] "guru" /var/db/repos/guru (cache: parse|ebuild*3.0.24#metadata-md5#metadata-flat#assign)
     Reading category  34|178 ( 19): dev-R... * ERROR: dev-R/AsioHeaders-1.22.1.1::guru failed (depend phase):
 *   eutils: EAPI 7 not supported
 * 
 * Call stack:
 *                     ebuild.sh, line 628:  Called source '/var/db/repos/guru/dev-R/AsioHeaders/AsioHeaders-1.22.1.1.ebuild'
 *   AsioHeaders-1.22.1.1.ebuild, line   6:  Called inherit 'R-packages'
 *                     ebuild.sh, line 308:  Called __qa_source '/var/db/repos/guru/eclass/R-packages.eclass'
 *                     ebuild.sh, line 123:  Called source '/var/db/repos/guru/eclass/R-packages.eclass'
 *             R-packages.eclass, line  23:  Called inherit 'edo' 'eutils' 'optfeature' 'toolchain-funcs'
 *                     ebuild.sh, line 308:  Called __qa_source '/var/db/repos/gentoo/eclass/eutils.eclass'
 *                     ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/eutils.eclass'
 *                 eutils.eclass, line  18:  Called die
 * The specific snippet of code:
 *   	*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 * 
 * If you need support, post the output of `emerge --info '=dev-R/AsioHeaders-1.22.1.1::guru'`,
 * the complete build log and the output of `emerge -pqv '=dev-R/AsioHeaders-1.22.1.1::guru'`.
 * Working directory: '/usr/lib/python3.11/site-packages'
 * S: '/AsioHeaders-1.22.1.1'

ebuild failed with status 1
     Reading category  34|178 ( 19): dev-R...
cannot properly execute /var/db/repos/guru/dev-R/AsioHeaders/AsioHeaders-1.22.1.1.ebuild
```

It appears gentoo infrastructure has changed minimal EAPI value allowed. EAPI=7 no long viable.

Reproducible: Always
Comment 1 Scott Furry 2023-08-30 04:23:51 UTC
Single dev-db package also reporting same EAPI error was encountered.

dev-db/dbeaver-bin

```
     Reading category  38|178 ( 21): dev-db... * ERROR: dev-db/dbeaver-bin-23.0.0::guru failed (depend phase):
 *   eutils: EAPI 7 not supported
 * 
 * Call stack:
 *                   ebuild.sh, line 628:  Called source '/var/db/repos/guru/dev-db/dbeaver-bin/dbeaver-bin-23.0.0.ebuild'
 *   dbeaver-bin-23.0.0.ebuild, line   5:  Called inherit 'desktop' 'eutils' 'xdg'
 *                   ebuild.sh, line 308:  Called __qa_source '/var/db/repos/gentoo/eclass/eutils.eclass'
 *                   ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/eutils.eclass'
 *               eutils.eclass, line  18:  Called die
 * The specific snippet of code:
 *   	*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 * 
 * If you need support, post the output of `emerge --info '=dev-db/dbeaver-bin-23.0.0::guru'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/dbeaver-bin-23.0.0::guru'`.
 * Working directory: '/usr/lib/python3.11/site-packages'
 * S: '/dbeaver-bin-23.0.0'

ebuild failed with status 1
     Reading category  38|178 ( 21): dev-db...
cannot properly execute /var/db/repos/guru/dev-db/dbeaver-bin/dbeaver-bin-23.0.0.ebuild
     Reading category 178|178 (100) Finished           
```
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-30 04:25:47 UTC
It's all over the place because lots of ::guru ebuilds need to stop using eutils.eclass with EAPI 7. No need for an exhaustive list.
Comment 3 Scott Furry 2023-08-30 06:32:48 UTC
Confirmed fixed - clean parsing.
Thank you.