Bug#1065633: openldap: FTBFS on hppa - implicit declaration of function ‘kadm5_s_init_with_password_ctx’

John David Anglin dave at parisc-linux.org
Thu Mar 7 17:41:56 GMT 2024


Source: openldap
Version: 2.5.13+dfsg-5+b4
Severity: normal
Tags: ftbfs

Dear Maintainer,

See:
https://buildd.debian.org/status/fetch.php?pkg=openldap&arch=hppa&ver=2.5.13%2Bdfsg-5%2Bb4&stamp=1709830559&raw=0

smbk5pwd.c: In function ‘smbk5pwd_modules_init’:
smbk5pwd.c:917:23: error: implicit declaration of function ‘kadm5_s_init_with_password_ctx’; did you mean ‘kadm5_init_with_password_ctx’? [-Werror=implicit-function-declaration]
  917 |                 ret = kadm5_s_init_with_password_ctx( context,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       kadm5_init_with_password_ctx
smbk5pwd.c:924:25: warning: ‘krb5_get_error_string’ is deprecated [-Wdeprecated-declarations]
  924 |                         err_str = krb5_get_error_string( context );
      |                         ^~~~~~~
In file included from /usr/include/heimdal/krb5.h:967,
                 from smbk5pwd.c:45:
/usr/include/heimdal/krb5-protos.h:4188:1: note: declared here
 4188 | krb5_get_error_string (krb5_context /*context*/)
      | ^~~~~~~~~~~~~~~~~~~~~
smbk5pwd.c:926:33: warning: ‘krb5_get_err_text’ is deprecated [-Wdeprecated-declarations]
  926 |                                 err_msg = (char *)krb5_get_err_text( context, ret );
      |                                 ^~~~~~~
/usr/include/heimdal/krb5-protos.h:4152:1: note: declared here
 4152 | krb5_get_err_text (
      | ^~~~~~~~~~~~~~~~~
smbk5pwd.c:931:33: warning: ‘krb5_free_error_string’ is deprecated [-Wdeprecated-declarations]
  931 |                                 krb5_free_error_string( context, err_str );
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/heimdal/krb5-protos.h:3721:1: note: declared here
 3721 | krb5_free_error_string (
      | ^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [Makefile:54: smbk5pwd.lo] Error 1

Regards,
Dave Anglin

-- System Information:
Debian Release: trixie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.1.80+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)


More information about the Pkg-openldap-devel mailing list