Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572670 - readme.gentoo.eclass shows spam about its deprecation
Summary: readme.gentoo.eclass shows spam about its deprecation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-23 10:26 UTC by Patrick Lauer
Modified: 2016-01-24 13:39 UTC (History)
3 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 Patrick Lauer gentoo-dev 2016-01-23 10:26:44 UTC
# emerge -auNDv @world

These are the packages that would be merged, in order:

Calculating dependencies \ * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 - * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 | * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 \ * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 - * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 / * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 - * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 - * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 / * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 | * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 / * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 \ * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 | * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 \ * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 / * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 | * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 / * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
 - * This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
... done!

And I have no idea what is causing that. Aargh :D
Comment 1 Arfrever Frehtes Taifersar Arahesis 2016-01-23 17:48:18 UTC
The problem is that deprecation warning in readme.gentoo.eclass is missing reference to specific ebuild:

  eqawarn "This eclass is DEPRECATED. Please use readme.gentoo-r1 instead."

I suggest to add the following line before line mentioned above:

  eqawarn "'${EBUILD}':"

Then full path to affected ebuild will be printed.

(It is better than ${CATEGORY}/${PF} because including only ${CATEGORY}/${PF} would not inform in which repository affected ebuild is, and ${PORTAGE_REPO_NAME} is Portage-specific.)
Comment 2 Arfrever Frehtes Taifersar Arahesis 2016-01-23 17:52:28 UTC
And better change "This eclass" into "readme.gentoo eclass" in that deprecation warning.
Comment 3 Pacho Ramos gentoo-dev 2016-01-24 13:15:05 UTC
$ grep -r eqaw readme.gentoo*
$

:/, where are that warnings coming from?
Comment 4 Pacho Ramos gentoo-dev 2016-01-24 13:39:57 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749e93b266cdf120c2b369c5c457e9008384356e

Looks like it was solved there