Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149682 - openldap-2.3.27 fails on compiling smbk5pwd.c
Summary: openldap-2.3.27 fails on compiling smbk5pwd.c
Status: RESOLVED DUPLICATE of bug 135238
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-30 21:47 UTC by Kevin O'Gorman
Modified: 2006-09-30 23:06 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 O'Gorman 2006-09-30 21:47:23 UTC
I'm unable to compile this.  Emerge -au openldap indicates this package
has no dependencies, so I'm baffled.

First, emerge --info, then the tail of a typescript

treat ~ # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r8-kosmanor i686)
=================================================================
System uname: 2.6.17-gentoo-r8-kosmanor i686 Intel(R) XEON(TM) CPU 1.80GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 08:50:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /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/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://fido.online.kz/gentoo/pub http://gentoo.inf.elte.hu/ ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://gentoo.scphost.com"
LINGUAS=""
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acl acpi adns aim alsa apache2 apm arts ati audiofile avi bash-completion bcmath berkdb bitmap-fonts bzip2 cairo calendar caps cdr cli crypt cscope ctype cups dbm dbus dbx dlloader doc dri dvd dvdr eds elibc_glibc emacs emboss encode esd ethereal exif fam fastcgi firefox flatfile foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile hal icq imagemagik imap imlib input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 isdnlog java joystick jpeg jpeg2k junit kde kdeenablefinal kerberos kernel_linux ldap libg++ libwww mad mbox mcal mikmod mime mmap mmx motif mp3 mpeg mpi msession mysql ncurses nis nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl pic png posix postgres ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba sdl session snmp sockets spell spl sse ssl svga sysvipc tcltk tcpd tetex tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_fglrx video_cards_mach64 video_cards_r128 video_cards_radeon video_cards_vesa video_cards_vga vorbis win32codecs xml xml2 xmms xorg xpm xv yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS



============================================================================
============================================================================
============================================================================
.....  and the failure is:
 * 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 -O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx -DDO_SAMBA -DDO_KRB5 -I../../../include -I../../../servers/slapd   -c smbk5pwd.c
mkdir .libs
 gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx -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: 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
smbk5pwd.c:294: confused by earlier errors, bailing out
make: *** [smbk5pwd.lo] Error 1

!!! ERROR: net-nds/openldap-2.3.27 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openldap-2.3.27.ebuild, line 320:   Called die

!!! failed to compile smbk5pwd module
!!! If you need support, post the topmost build error, and the call stack if relevant.

treat ~ #
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-30 23:06:22 UTC
bug-wranglers@gentoo.org

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