Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947047 - dev-util/pkgcheck-0.10.33 - profile-formats=profile-default-eapi unsupported
Summary: dev-util/pkgcheck-0.10.33 - profile-formats=profile-default-eapi unsupported
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PkgCore (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PkgCore project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-27 20:39 UTC by Enne Eziarc
Modified: 2024-12-27 20:39 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 Enne Eziarc 2024-12-27 20:39:09 UTC
tl;dr:
"""
 $ cat profiles/eapi
8
 $ pkgcheck scan --checks=ProfilesCheck --exit error,warning; echo $?
0
 $ rg profile metadata/layout.conf
6:profile-formats = portage-2 profile-default-eapi
8:profile_eapi_when_unspecified = 8
 $ rm -f profiles/eapi
 $ pkgcheck scan --checks=ProfilesCheck
profiles
  ProfileError: 'package.unmask', line 1: parsing error: invalid package atom: '>=foo-bar/baz-0.0.1:0': slot dependencies aren't allowed in EAPI 0
"""

I've no strong feelings on getting this added to pkgcore, I just saw it and wondered if it would work and it didn't. The profiles/eapi file seems to do exactly the same thing with less typing, and nothing in the overlay QA reports is trying to use it. Maybe removing it from portage is the better move? pkgcheck could point people to the better option in the meantime.

I also double-checked in portage's own code about that hyphen/underscore inconsistency in case I'd typed it wrong or misread the manpage. The origin is bug 532670 if anyone's curious.