On Sunday 16 November 2008 11:50:50 Richard Bos wrote:
Hi,
I'm getting the following buildoutput: ... running 02-check-gcc-output ... testing for serious compiler warnings (using /usr/lib/build/checks-data/check_gcc_output) (using /var/tmp/build-root-openSUSE_Factory-i586/.build.log)
I: Program returns random data in a function E: cyrus-imapd no-return-in-nonvoid-function auth_krb.c:389
Which is related to this piece of code: [...]
Is it possible to prevent the rpmlint error message? If so, what should be added to the code to prevent the error? The error results in a failed build and no packages :( looks like a wrong linenumber, I think it's this one:
openSUSE:Factory/cyrus-imapd/no-return-in-nonvoid-function.dif: --- lib/auth_krb.c 2008/05/07 12:20:53 1.1 +++ lib/auth_krb.c 2008/05/07 12:21:12 @@ -382,6 +382,7 @@ struct auth_state *auth_state __attribute__((unused))) { fatal("Authentication mechanism (krb) not compiled in", EC_CONFIG); + return NULL; } -- with kind regards (mit freundlichem Grinsen), Ruediger Oertel (ro@novell.com,ro@suse.de,bugfinder@t-online.de) ---------------------------------------------------------------------- Linux MacBookRudi 2.6.27.5-2-default #1 SMP 2008-11-11 15:15:33 +0100 x86_64 Key fingerprint = 17DC 6553 86A7 384B 53C5 CA5C 3CE4 F2E7 23F2 B417 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org