Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581600 - sys-apps/portage-9999: repoman misplaces unsupported EAPI message under SRC_URI.syntax warning
Summary: sys-apps/portage-9999: repoman misplaces unsupported EAPI message under SRC_U...
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-04-30 00:28 UTC by Coacher
Modified: 2022-07-12 03:18 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 Coacher 2016-04-30 00:28:59 UTC
Hello.

portage from master @ 83baf60.

$ pwd
/home/coacher/Work/overlay/app-misc/bar

$ cat bar-0.1.ebuild
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=666

DESCRIPTION="Bar"
HOMEPAGE="http://example.com"
SRC_URI="http://example.com"

LICENSE="HPND"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

$ repoman -x full
RepoMan scours the neighborhood...
  EAPI.unsupported [fatal]      1
   app-misc/bar/bar-0.1.ebuild
  SRC_URI.syntax [fatal]        1
   app-misc/bar-0.1.ebuild SRC_URI: getFetchMap(): 'app-misc/bar-0.1' has unsupported EAPI: '666'
Please fix these important QA issues first.
RepoMan sez: "Make your QA payment on time and you'll never see the likes of me."

As you can see my SRC_URI is valid, while EAPI is not. repoman's message however complains about SRC_URI as well.

Please fix.
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2016-04-30 16:47:00 UTC
I've worked on the package level checks loop.  I have a proposed patch available at [1].  I am not sure at this point is additional changes are needed or desired for some of the other early ebuild failures it detects.  I like the fact that it will continue to perform checks for some of the early failures rather than quit at the first sign of trouble.  The EAPI unsupported failure however can not continue as there are no rules that it can follow.

I have posted it up for review on the mail list [2]


[1] https://github.com/dol-sen/portage/commit/6ead9b76de648747ae72ac572768ca1f464ff23e

[2] https://archives.gentoo.org/gentoo-portage-dev/message/d5b4879cffcffa0cc0b7cab1ab808505
Comment 2 Zac Medico gentoo-dev 2017-01-23 20:12:01 UTC
I don't see a reference to this bug in the master branch yet.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:26 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.