On Dec 23, 10 16:15:10 +0300, Ilya Chernykh wrote:
On Thursday 23 December 2010 16:12:14 Ludwig Nussel wrote:
I cannot disable an rpmlint check. It says "no-return-in-nonvoid-function". I added an rpmlint file with content [...] Is it a bug in OBS?
No, it's a bug in your package. You are supposed to fix the cause of the problem by patching the sources of the package. Ie add a proper return statement at the place the check tells you.
So this message is impossible to disable?
Impossible, I am afraid. In addition to rpmlint, the SUSE BuildService also runs several post-build-checks, which also can trigger warnings or abort the build with errors. Often it is not obvious, if an error message came from rpmlint or from post-build-checks. Anything you do in your .rpmlintrc will only affect rpmlint. If someone finds a way how to disarm fatal errors from the post-build-checks, please add this info to http://en.opensuse.org/openSUSE:Packaging_checks#Disarming_Fatal_Errors Maybe it is *intentionally* impossible, ... should the wiki say that more clearly? Merry Christmas, cheers, JW- -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de back to ascii! __/ _---|____________\/ \ | 0911 74053-508 __/ (____/ /\ (/) | _____________________________/ _/ \_ vim:set sw=2 wm=8 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) SuSE. Supporting Linux since 1992. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org