[Pkg-samba-maint] Bug#726347: samba: FTBFS on hppa: undefined krb5 references

John David Anglin dave.anglin at bell.net
Mon Oct 14 20:43:04 UTC 2013

Package: samba
Version: 4.0.10+dfsg-2
Severity: normal

Build fails here:

[2671/3070] Linking default/source4/dsdb/samdb/ldb_modules/libdsdb-module.so
default/source3/libads/kerberos_57.o: In function `smb_krb5_get_ntstatus_from_krb5_error_init_creds_opt':
/home/dave/debian/samba/samba-4.0.10+dfsg/bin/../source3/libads/kerberos.c:126: undefined reference to `krb5_get_init_creds_opt_get_error'
default/source3/libads/kerberos_57.o: In function `kerberos_kinit_password_ext':
/home/dave/debian/samba/samba-4.0.10+dfsg/bin/../source3/libads/kerberos.c:216: undefined reference to `krb5_get_init_creds_opt_set_pac_request'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/home/dave/debian/samba/samba-4.0.10+dfsg/bin'
Build failed:  -> task failed (err #1): 
        {task: cc_link gse_krb5_16.o,gse_16.o,kerberos_57.o,ads_status_57.o,cldap_68.o,unexpected_111.o,namecache_111.o,nmblib_111.o,namequery_111.o,conncache_111.o,sitename_cache_111.o -> libgse.so}
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/home/dave/debian/samba/samba-4.0.10+dfsg'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command 'cd samba-4.0.10+dfsg && dpkg-buildpackage -b -uc' failed.
Fetched 15.3 MB in 14s (1,078 kB/s)
E: Child process failed

I see following warning:
[1761/3070] Compiling source3/libads/ads_status.c
../source3/libads/kerberos.c: In function ‘smb_krb5_get_ntstatus_from_krb5_error
../source3/libads/kerberos.c:126:2: warning: ‘krb5_get_init_creds_opt_get_error’
 is deprecated (declared at /usr/include/heimdal/krb5-protos.h:2293) [-Wdeprecat

It looks like build conflicts heimdal-multidev.

-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.12.0-rc4+ (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser           3.113+nmu3
ii  dpkg              1.17.1
ii  libacl1           2.2.51-8
ii  libattr1          1:2.4.46-8
ii  libc6             2.17-93
ii  libcap2           1:2.22-1.2
ii  libcomerr2        1.42.8-1
ii  libcups2          1.6.3-1
ii  libgssapi-krb5-2  1.11.3+dfsg-3
ii  libk5crypto3      1.11.3+dfsg-3
ii  libkrb5-3         1.11.3+dfsg-3
ii  libldap-2.4-2     2.4.31-1
ii  libpam-modules    1.1.3-9
ii  libpam-runtime    1.1.3-9
ii  libpam0g          1.1.3-9
ii  libpopt0          1.16-7
ii  libtalloc2        2.0.8-0.1
ii  libtdb1           1.2.12-1
ii  libtevent0        0.9.19-1
ii  libwbclient0      2:3.6.19-1
ii  lsb-base          4.1+Debian12
ii  procps            1:3.3.4-2
ii  samba-common      2:3.6.19-1
ii  sysv-rc           2.88dsf-43
ii  update-inetd      4.43
ii  zlib1g            1:1.2.7.dfsg-13

Versions of packages samba recommends:
ii  logrotate  3.8.3-5
ii  tdb-tools  1.2.12-1

Versions of packages samba suggests:
ii  ctdb                              1.12+git20120201-3
pn  ldb-tools                         <none>
ii  openbsd-inetd [inet-superserver]  0.20091229-2
pn  smbldap-tools                     <none>
ii  winbind                           2:3.6.19-1

-- debconf information:
  samba/run_mode: daemons
  samba/generate_smbpasswd: true

More information about the Pkg-samba-maint mailing list