Mailinglist Archive: opensuse-buildservice (266 mails)

< Previous Next >
Re: [opensuse-buildservice] E: cyrus-imapd no-return-in-nonvoid-function auth_krb.c:389
  • From: Richard Bos <rbos@xxxxxxxxxxxx>
  • Date: Tue, 18 Nov 2008 12:44:42 +0100
  • Message-id: <200811181244.42740.rbos@xxxxxxxxxxxx>
Op Tuesday 18 November 2008 00:17:20 schreef Richard Bos:

Op Monday 17 November 2008 00:56:51 schreef Ruediger Oertel:
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:

--- 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;

I believe, that I have found the culprit. It is probably caused by the
huge cyrus-imapd-2.3.11-autocreate-0.10-0.diff patch that by openSUSE to
cyrus-imapd (over 2350 lines!). The patch introduces the following code:

--- cyrus-imapd-2.3.13.autocreate/lib/auth_krb.c 2008-11-13
23:23:16.000000000 +0100
+++ cyrus-imapd-2.3.13.void/lib/auth_krb.c 2008-11-17
23:05:00.000000000 +0100
@@ -384,6 +384,7 @@
struct auth_state *auth_state __attribute__((unused)))
fatal("Authentication mechanism (krb) not compiled in",
EC_CONFIG); + return NULL;

This code adds several lines to the file lib/auth_krb.c and hence the
unexpected line number. When the patches file is checked the line number
refers to the above code. The BS is unfortenately blocked for factory, so
I can't say for sure, that the patch above it the one that solves the build
check error.

This is indeed the solution for the problem.

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >