Mailinglist Archive: opensuse-packaging (106 mails)

< Previous Next >
Re: [opensuse-packaging] E: krb5 64bit-portability-issue ldap_principal2.c:687
Jan Engelhardt wrote:

On Tuesday 2015-12-08 22:37, Michael Ströder wrote:

Building krb5-1.14 fails with the following message:

[ 235s] E: krb5 64bit-portability-issue ldap_principal2.c:687

It seems the RPMs were written:

How to deal with that? Simply disable this check? If yes, how?

Just fix the code.

[ 154s] ldap_principal2.c:687:49: warning: passing argument 3 of
'krb5_prepend_error_message' makes pointer from integer without a cast
[-Wint-conversion]
[ 154s] k5_prependmsg(context, ost, st, _("'%s' not
found"),
[ 154s] ^
[ 154s] In file included from ../../../../include/krb5.h:8:0,
[ 154s] from ../../../../include/k5-int.h:162,
[ 154s] from kdb_ldap.h:35,
[ 154s] from ldap_main.h:34,
[ 154s] from ldap_principal2.c:35:
[ 154s] ../../../../include/krb5/krb5.h:7857:1: note: expected 'const char
*' but argument is of type 'krb5_error_code {aka int}'

Don't pass arguments of wrong type, don't invoke undefined behavior,
and maybe you can pass start and collect $200. :-)

This has to be fixed upstream:

http://krbdev.mit.edu/rt/Ticket/Display.html?id=8301

Ciao, Michael.

< Previous Next >