[opensuse-packaging] RPMLINT > rpmlintrc
Hello Packagers, i'm try to build my skrooge. The osc builds to the End. But i've 5 Messages in RPM-Lint. One of them "kde4-skrooge.src:27: W: hardcoded-packager-tag Sascha" is not removable (I think). But for the other Messages i created an rpmlintrc-File. I includet it to my spec-File as Source. But RPMLINT don't agree my File. Can anyone help me? I attached the rpmlintrc-File and my spec File to this Message. If anyone would like to see it in my Repo: home:saigkill. In the BuildService Repo my Package called "Skroogle". It was an typing Error :-( I'm very happy to hear any tips ... -- Sincereley yours Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill
On Thursday 08 January 2009, Sascha 'saigkill' Manns wrote:
But for the other Messages i created an rpmlintrc-File. I includet it to my spec-File as Source. But RPMLINT don't agree my File.
I'm quite sure that the filter don't match because thats not the format that the warnings are printed. addFilter has to regexp match the warning that is printed to suppress it, e.g. addFilter("kde4-skrooge.*useless-explicit-requires") Greetings, Dirk -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Donnerstag 08 Januar 2009 23:42:01 Dirk Müller wrote:
On Thursday 08 January 2009, Sascha 'saigkill' Manns wrote:
But for the other Messages i created an rpmlintrc-File. I includet it to my spec-File as Source. But RPMLINT don't agree my File.
I'm quite sure that the filter don't match because thats not the format that the warnings are printed.
addFilter has to regexp match the warning that is printed to suppress it, e.g.
addFilter("kde4-skrooge.*useless-explicit-requires") Thank you all for contributing. :-) I've seen, that my regxp was not correct. Now the Package runs ... Thank you all...
-- Sincereley yours Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, 8 Jan 2009 13:41:37 +0100, you wrote:
But for the other Messages i created an rpmlintrc-File. I includet it to my spec-File as Source. But RPMLINT don't agree my File.
As Dirk already wrote, your rpmlintrc won't match. If you accept the collaboration request I sent you, you'll get (aamong other things) a rpmlintrc file that does match. BTW, warnings like those that message catalogs aren't marked %lang should not be suppressed but rather fixed in the sources. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Philipp Thomas wrote:
BTW, warnings like those that message catalogs aren't marked %lang should not be suppressed but rather fixed in the sources.
Actually no warnings should be suppressed at all IMO. They do not fail the build after all. There is a reason to disable errors but that can be achieved by modifying the badness score instead. That way the package doesn't fail but one can still see the error/warning in the log and have automated tools recognize it. A use case of that is e.g. to be able to judge whether a transition that required packaging changes in many packages is actually completed. Maybe we should introduce a unsuppressable warning that warns about the presence of a filter :-) cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Friday 09 January 2009, Ludwig Nussel wrote:
Maybe we should introduce a unsuppressable warning that warns about the presence of a filter :-)
my initial idea was to make warnings starting with "suse-policy" or with "suse-" unsuppressable. Greetings, Dirk -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Ludwig Nussel (ludwig.nussel@suse.de) [20090109 14:06]:
Philipp Thomas wrote:
Actually no warnings should be suppressed at all IMO.
If there are useless warnings (example: KDE4 packages should require %kde4_runtime_requires but that generates a "useless explicit requires"), I tend to suppress them at least until its fixed. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Freitag 09 Januar 2009 18:50:17 Philipp Thomas wrote:
* Ludwig Nussel (ludwig.nussel@suse.de) [20090109 14:06]:
Philipp Thomas wrote:
Actually no warnings should be suppressed at all IMO.
If there are useless warnings (example: KDE4 packages should require %kde4_runtime_requires but that generates a "useless explicit requires"), I tend to suppress them at least until its fixed.
Philipp Thanks for explaining :-) -- Sincereley yours
Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Friday 09 January 2009 13:57:17 Ludwig Nussel wrote:
Philipp Thomas wrote:
BTW, warnings like those that message catalogs aren't marked %lang should not be suppressed but rather fixed in the sources.
Actually no warnings should be suppressed at all IMO.
There is a big exception from that rule - in case we distribute a program without access to its source code (for example Sun/IBM Java). These packages contains some issues in binaries like executable stack, or something else which is unfixable for packager. So suppressing of this messages is useful because it's easier found a packaging bugs in shorter rpmlint output. But maybe autobuild team should create a whitelist of packages, which needs the rpmlintrc and disable this functionality for the rest of them by default (or only in openSUSE:.* projects). Regards Michal Vyskocil -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Michal Vyskocil wrote:
On Friday 09 January 2009 13:57:17 Ludwig Nussel wrote:
Philipp Thomas wrote:
BTW, warnings like those that message catalogs aren't marked %lang should not be suppressed but rather fixed in the sources.
Actually no warnings should be suppressed at all IMO.
There is a big exception from that rule - in case we distribute a program without access to its source code (for example Sun/IBM Java). These packages contains some issues in binaries like executable stack, or something else which is unfixable for packager. So suppressing of this messages is useful because it's easier found a packaging bugs in shorter rpmlint output.
Yet such information is valuable to know about a package. If a binary package doesn't fulfil our standards why lie about it? Of course flooding the log with stuff you can't fix anways isn't optimal either. Maybe a summary of ignored errors would satisfy both needs. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (6)
-
Dirk Müller
-
Ludwig Nussel
-
Michal Vyskocil
-
Philipp Thomas
-
Philipp Thomas
-
Sascha 'saigkill' Manns