[opensuse-packaging] E: krb5 64bit-portability-issue ldap_principal2.c:687
HI! 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: https://build.opensuse.org/package/live_build_log/home:stroeder:branches:net... How to deal with that? Simply disable this check? If yes, how? Ciao, Michael.
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. :-) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
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.
participants (2)
-
Jan Engelhardt
-
Michael Ströder