On 05/15/11 02:05 PM, Alan Coopersmith wrote:
I'm working on integrating pkglint checks into the X build, and
have fixed almost all of the warnings and errors, leaving just
these three, when run with -l pointing to the just built xnv-devel
repo and -r pointing to the solaris /dev repo on ipkg.us:
WARNING pkglint.manifest004 last name component manual in package name
clashes across pkg://solaris/library/java/manual
pkg://solaris/runtime/perl-584/manual
pkg://solaris/system/library/iconv/utf-8/manual pkg://solaris/system/manual
pkg://solaris/system/test/sunvts/manual
WARNING pkglint.manifest004 last name component documentation in package
name clashes across pkg://solaris/database/sqlite-3/documentation
pkg://solaris/library/apr-13/documentation
pkg://solaris/library/apr-util-13/documentation
pkg://solaris/library/fastcgi/documentation
pkg://solaris/runtime/erlang/documentation
pkg://solaris/system/management/snmp/net-snmp/documentation
pkg://solaris/web/php-52/documentation
pkg://solaris/web/server/apache-22/documentation
WARNING pkglint.manifest004 last name component demo in package name
clashes across pkg://solaris/library/java/demo pkg://xnv-devel/x11/demo
The first two are entirely problems in the reference repo - there's nothing
I can do in the repo being linted to solve them - shouldn't they only be
printed for cases like the last when one of the packages from the linted
repo is involved? Is there any way to silence those without losing warnings
when one of the xnv-devel packages actually clashes?
FWIW, that particular warning is of little or no value most of the
time. It's interesting when you first pick a package name, but once the
decision has been made, there is no point in seeing it again. You
should be able to turn the 'naming' check by adding:
[pkglint]
pkglint.exclude: pkg.lint.pkglint_manifest.PkgManifestChecker.naming
into your pkglintrc. I have been considering adding that to the
pkglintrc that the userland build uses.
-Norm
PS.
if defect 17777 (it would be nice if pkglint could suppress
specific messages for specific actions) were resolved, we might be able
to turn this off on the specific packages for which we have determined
this to be acceptable.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss