Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587108 - dev-util/pkgcheck: test for too long messages/arguments in elog, einfo, ewarn, and eerror
Summary: dev-util/pkgcheck: test for too long messages/arguments in elog, einfo, ewarn...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PkgCore (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: PkgCore project
URL: https://devmanual.gentoo.org/ebuild-w...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-26 00:55 UTC by Jonas Stein
Modified: 2022-10-15 01:17 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 Jonas Stein gentoo-dev 2016-06-26 00:55:42 UTC
/usr/portage/net-misc/stargazer$ cat stargazer-2.408.ebuild | grep einfo | cut -f2 -d'"' | awk '{ print length($0); }'

revealed that this package has too long messages. (see bug report #587104) 
This could be checked by repoman for all messages without variables. 
Further one can assume, that each ${..} will require >=1 char. 



Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:30 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.