Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135662 - openldap-2.3.24-r2 fails to compile with USE flag kerberos and with mit-krb5-1.4.3 installed
Summary: openldap-2.3.24-r2 fails to compile with USE flag kerberos and with mit-krb5-...
Status: RESOLVED DUPLICATE of bug 135238
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-05 10:46 UTC by Kevin
Modified: 2006-06-05 10:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin 2006-06-05 10:46:55 UTC
Applicable error messages during merge pasted below.

It compiles fine when I remove the kerberos USE flag.

I suspect it would compile fine if I used heimdal or an older mit-krb5 installation although I didn't try this.  I'm guessing that the mit kerberos software has changed in recent times and where it (perhaps) previously used the include file, "kadm5/admin.h", it no longer does so (I don't find such a file anywhere on my system) and has moved the definitions that used to be in that include file to somewhere else.

Perhaps, therefore, this is a bug that should be filed upstream, but I thought I'd start here.

==================================
<snip>
make[1]: Leaving directory `/var/tmp/portage/openldap-2.3.24-r2/work/openldap-2.3.24/doc'
 
 * Building contributed dsaschema
dsaschema.c: In function `dsaschema_read_config':
dsaschema.c:156: warning: `savelineno' might be used uninitialized in this function
dsaschema.c: In function `init_module':
dsaschema.c:265: warning: `rc' might be used uninitialized in this function
 * Building contributed pw-kerberos
 * Building contributed pw-netscape
 * Building contributed smbk5pwd
../../../libtool --mode=compile gcc -Os -mcpu=i686 -pipe -DDO_SAMBA -DDO_KRB5 -I../../../include -I../../../servers/slapd   -c smbk5pwd.c
mkdir .libs
 gcc -Os -mcpu=i686 -pipe -DDO_SAMBA -DDO_KRB5 -I../../../include -I../../../servers/slapd -c smbk5pwd.c  -fPIC -DPIC -o .libs/smbk5pwd.o
smbk5pwd.c:45:25: kadm5/admin.h: No such file or directory
smbk5pwd.c:46:17: hdb.h: No such file or directory
smbk5pwd.c:56: error: syntax error before "conf"
smbk5pwd.c:56: warning: data definition has no type or storage class
smbk5pwd.c:57: error: syntax error before '*' token
smbk5pwd.c:57: warning: data definition has no type or storage class
smbk5pwd.c: In function `k5key_chk':
smbk5pwd.c:275: error: `krb5_salt' undeclared (first use in this function)
smbk5pwd.c:275: error: (Each undeclared identifier is reported only once
smbk5pwd.c:275: error: for each function it appears in.)
smbk5pwd.c:275: error: syntax error before "salt"
smbk5pwd.c:276: error: `hdb_entry' undeclared (first use in this function)
smbk5pwd.c:291: error: `Key' undeclared (first use in this function)
smbk5pwd.c:291: error: syntax error before "ekey"
smbk5pwd.c:296: error: `ent' undeclared (first use in this function)
smbk5pwd.c:299: error: `salt' undeclared (first use in this function)
smbk5pwd.c:306: error: `ekey' undeclared (first use in this function)
smbk5pwd.c:308: error: `l' undeclared (first use in this function)
smbk5pwd.c:309: error: request for member `master_key_set' in something not a structure or union
smbk5pwd.c:317: error: structure has no member named `keyvalue'
smbk5pwd.c:318: error: structure has no member named `keyvalue'
smbk5pwd.c:294: error: break statement not within loop or switch
smbk5pwd.c:298: error: break statement not within loop or switch
smbk5pwd.c:303: error: break statement not within loop or switch
smbk5pwd.c: At top level:
smbk5pwd.c:323: error: syntax error before "while"
smbk5pwd.c:324: error: syntax error before numeric constant
smbk5pwd.c:324: warning: data definition has no type or storage class
smbk5pwd.c: In function `smbk5pwd_exop_passwd':
smbk5pwd.c:363: error: `hdb_entry' undeclared (first use in this function)
smbk5pwd.c:363: error: syntax error before "ent"
smbk5pwd.c:375: error: `ent' undeclared (first use in this function)
smbk5pwd.c:405: error: `Key' undeclared (first use in this function)
smbk5pwd.c: In function `smbk5pwd_modules_init':
smbk5pwd.c:789: error: syntax error before '*' token
smbk5pwd.c:829: error: `KADM5_ADMIN_SERVICE' undeclared (first use in this function)
smbk5pwd.c:835: warning: assignment makes pointer from integer without a cast
make: *** [smbk5pwd.lo] Error 1

!!! ERROR: net-nds/openldap-2.3.24-r2 failed.
!!! Function src_compile, Line 320, Exitcode 2
!!! failed to compile smbk5pwd module
!!! If you need support, post the topmost build error, NOT this status message.

emerge --info below:

Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Celeron(R) CPU 2.53GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-Os -mcpu=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzip2 cli crypt cups curl doc dri eds emboss encode examples expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib iproute2 ipv6 isdnlog jpeg kde kerberos krb4 lcms ldap ldapsam libclamav libg++ libwww mad mikmod mng motif mp3 mpeg mysql ncurses nls ntlm_unsupported_patch oav ogg oggvorbis opengl oss overlays pam pcre pdflib perl png pppd python qt quicktime quotas readline reflection ruby samba sample sasl scanner sdl session slp snmp spell spl srp ssl swat syslog tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis winbind xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-05 10:49:08 UTC

*** This bug has been marked as a duplicate of 135238 ***