Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112949 - evolution-data-server does not compile
Summary: evolution-data-server does not compile
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-18 12:17 UTC by lanewhoy
Modified: 2005-12-14 05:07 UTC (History)
1 user (show)

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 lanewhoy 2005-11-18 12:17:16 UTC
Attempts to upgrade evolution data server to
evolution-data-server-1.4.1.1

fails while compiling the sub-component e2k-global-catalog.c



Reproducible: Always
Steps to Reproduce:
1.Set use flags to:  X gtk2 alsa ssl pam vim -grub lilo -gif ipv6 maildir slp
sasl ldap tiff lcms wmf jbig -kde mozilla java pie gcj live network
2.emerge -u evolution-data-server
3.

Actual Results:  
Got errors on compile

Expected Results:  
evolution data server merged.

e2k-global-catalog.c: In function `finalize':
e2k-global-catalog.c:141: warning: implicit declaration of function `ldap_unbind'
e2k-global-catalog.c: In function `gc_ldap_result':
e2k-global-catalog.c:198: warning: implicit declaration of function `ldap_abandon'
e2k-global-catalog.c: In function `ntlm_bind':
e2k-global-catalog.c:250: warning: implicit declaration of function `ldap_ntlm_bind'
e2k-global-catalog.c:250: error: `LDAP_AUTH_NTLM_REQUEST' undeclared (first use
in this function)
e2k-global-catalog.c:250: error: (Each undeclared identifier is reported only once
e2k-global-catalog.c:250: error: for each function it appears in.)
e2k-global-catalog.c:264: warning: implicit declaration of function
`ldap_parse_ntlm_bind_result'
e2k-global-catalog.c:286: error: `LDAP_AUTH_NTLM_RESPONSE' undeclared (first use
in this function)
e2k-global-catalog.c: In function `get_ldap_connection':
e2k-global-catalog.c:348: warning: implicit declaration of function `ldap_init'
e2k-global-catalog.c:348: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c: In function `lookup_mta':
e2k-global-catalog.c:472: warning: implicit declaration of function
`ldap_get_values'
e2k-global-catalog.c:472: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c:488: warning: implicit declaration of function
`ldap_value_free'
e2k-global-catalog.c: In function `get_sid_values':
e2k-global-catalog.c:509: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c:525: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c: In function `get_mail_values':
e2k-global-catalog.c:548: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c:558: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c:559: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c:571: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c: In function `get_delegation_values':
e2k-global-catalog.c:590: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c:602: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c: In function `get_quota_values':
e2k-global-catalog.c:623: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c:638: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c:645: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c:652: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c: In function `get_account_control_values':
e2k-global-catalog.c:666: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c: In function `lookup_controlling_ad_server':
e2k-global-catalog.c:957: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c:984: warning: assignment makes pointer from integer without
a cast
e2k-global-catalog.c: In function `lookup_passwd_max_age':
e2k-global-catalog.c:1058: warning: assignment makes pointer from integer
without a cast
make[5]: *** [e2k-global-catalog.lo] Error 1
make[5]: Leaving directory
`/var/tmp/portage/evolution-data-server-1.4.1.1/work/evolution-data-server-1.4.1.1/servers/exchange/lib'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/var/tmp/portage/evolution-data-server-1.4.1.1/work/evolution-data-server-1.4.1.1/servers/exchange/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/evolution-data-server-1.4.1.1/work/evolution-data-server-1.4.1.1/servers/exchange'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/evolution-data-server-1.4.1.1/work/evolution-data-server-1.4.1.1/servers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/evolution-data-server-1.4.1.1/work/evolution-data-server-1.4.1.1'
make: *** [all] Error 2
Comment 1 lanewhoy 2005-12-02 09:28:29 UTC
evolution-data-server 1.4.2.1 fails with the same error as below.  Here are the
results from emerge info:

mrcoffee:~$ sudo emerge info evolution-data-server
Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14 i686)
=================================================================
System uname: 2.6.14 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.16
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs distlocks noauto notitles sandbox sfperms
strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://files.gentoo.gr
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.ankara.edu.tr/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.caliu.info/pub/gentoo/ ftp://ftp.du.se/pub/os/gentoo
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/"
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 audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups
curl eds emboss encode esd exif expat fam foomaticdb fortran gcj gd gdbm glut
gnome gpm gstreamer gtk gtk2 guile idn imagemagick imlib ipv6 java jbig jpeg
lcms ldap libg++ libwww lilo live lua mad maildir mhash mikmod mng motif mozilla
mp3 mpeg ncurses network nls ogg oggvorbis opengl oss pam pcre pdflib perl pie
png python qt quicktime readline recode sasl sdl slang slp spell ssl svga tcltk
tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vim vorbis wmf xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

Comment 2 foser (RETIRED) gentoo-dev 2005-12-02 10:13:06 UTC
seems related to ldap, what openldap version do you have installed ?
Comment 3 lanewhoy 2005-12-02 12:04:08 UTC
I have two versions of openldap installed
openldap-2.2.28-r1 installed via portage and
openldap-2.3.7 installed by hand in /usr/local
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-12-04 20:42:35 UTC
That seems likely to be the problem.  Could you paste the output of 
ldconfig -p | grep -i ldap
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-12-04 21:03:02 UTC
could you try to remove the copy in /usr/local, so it isn't used by GCC at all
(for the headers or the libs).
Comment 6 lanewhoy 2005-12-12 06:56:50 UTC
mrcoffee:~$ /sbin/ldconfig -p | grep -i ldap
        libprldap50.so (libc6) => /usr/lib/mozilla/libprldap50.so
        libldap50.so (libc6) => /usr/lib/mozilla/libldap50.so
        libldapjclnt9.so (libc6) => /home/oracle/ora920sv/lib/libldapjclnt9.so
        libldapdb.so.2 (libc6) => /usr/local/lib/sasl2/libldapdb.so.2
        libldapdb.so (libc6) => /usr/local/lib/sasl2/libldapdb.so
        libldap_r.so.2 (libc6) => /usr/lib/libldap_r.so.2
        libldap_r-2.3.so.0 (libc6) => /usr/local/lib/libldap_r-2.3.so.0
        libldap_r-2.2.so.7 (libc6) => /usr/local/lib/libldap_r-2.2.so.7
        libldap_r-2.2.so.7 (libc6) => /usr/lib/libldap_r-2.2.so.7
        libldap.so.2 (libc6) => /usr/lib/libldap.so.2
        libldap-2.3.so.0 (libc6) => /usr/local/lib/libldap-2.3.so.0
        libldap-2.2.so.7 (libc6) => /usr/local/lib/libldap-2.2.so.7
        libldap-2.2.so.7 (libc6) => /usr/lib/libldap-2.2.so.7
mrcoffee:~$ 
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-12-13 15:02:03 UTC
That's the problem.  Your ldap libs in /usr/local/ are coming before the correct
ones in /usr/lib.  You'll need to remove them.
Comment 8 lanewhoy 2005-12-14 05:07:17 UTC
Removing the ldap libs in /usr/local/lib and the ldap includes in
/usr/local/include did the trick.  I was able to update the evolution data
server, then evolution and openoffice.  Thanks.