Skip to content

[Bug]: UnusedInherits: unused eclass: edo #773

@ceamac

Description

@ceamac

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Since edo is now defined in EAPI 9, it no longer needs an inherit edo. But the warning is also displayed for EAPI 8 ebuilds.

It happens both with pkgcheck scan and with pkgcheck scan --commits. It seems to be happening for all ebuilds that use edo.

Example:

$ pkgcheck scan 
...
app-emulation/virtualbox
...
  UnusedInherits: version 7.2.6-r1: unused eclass: edo

The ebuild is quite large, I won't paste it here.

$ grep -E '(EAPI|edo)' virtualbox-7.2.6-r1.ebuild 
EAPI=8
inherit desktop edo flag-o-matic java-pkg-opt-2 linux-info multilib optfeature pax-utils \
	edo ./configure "${myconf[@]}"

Expected Behavior

The warning should only appear for EAPI 9 ebuilds.

pkgcheck version

pkgcheck 0.10.39

pkgcore version

pkgcore 0.12.32

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions