Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190646 - net-im/ekiga-2.0.7 fails stating pwlib built without ldap support despite ldap USE flag is on
Summary: net-im/ekiga-2.0.7 fails stating pwlib built without ldap support despite lda...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-29 14:31 UTC by Attila Tóth
Modified: 2008-02-13 01:37 UTC (History)
0 users

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


Attachments
Config log (build.log,8.24 KB, text/plain)
2007-08-29 15:11 UTC, Attila Tóth
Details
config.log (config.log,42.44 KB, text/plain)
2007-08-29 16:11 UTC, Attila Tóth
Details
configure.in (configure.in,19.41 KB, text/plain)
2007-08-29 16:11 UTC, Attila Tóth
Details
ptbuildopts.h (ptbuildopts.h,17.15 KB, text/plain)
2007-08-29 16:12 UTC, Attila Tóth
Details
ldap_open test always true (pwlib_ldap_open_check_trick.diff,922 bytes, patch)
2007-09-03 15:25 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2007-08-29 14:31:34 UTC
checking for PWLib version... 1.10.5
checking for OpenLDAP support in PWLIB... no
configure: error: Sorry but the PWLib version you are using doesn't support LDAP


emerge --info:
---
Portage 2.1.2.12 (hardened/x86/2.6, gcc-3.4.6, glibc-2.5-r4, 2.6.20-hardened-r2 i686)
=================================================================
System uname: 2.6.20-hardened-r2 i686 AMD Athlon(TM) MP 1600+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 29 Aug 2007 12:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=athlon-mp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -mtune=athlon-mp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu/ http://gentoo.inode.at/"
LANG="hu_HU"
LC_ALL="hu_HU"
LINGUAS="hu en"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 Xaw3d a52 aac aalib acl acpi aiglx alsa amr amrnb amrwb aotuv apache2 asf audiofile bash-completion bcmath bdf berkdb bidi binfilter bitmap-fonts bittorrent blas bluetooth branding browserplugin bzip2 cairo caps cdda cddb cdparanoia cdr cdrom cgi chardet checkpath cli contentcache cracklib crypt css ctype cups curl curlwrappers d dba dbm dbus device-mapper dga dhcp dia disassembler discard-path disk-partition divx divx4linux djbfft djvu dlloader dmi dri dts dv dvd dvdnav dvdr dvdread dvi eds encode enscript evo exif expat extensions fam fame fastcgi ffmpeg fftw finger firefox flac flash flatfile follow-xff fontconfig foomaticdb force-cgi-redirect fortran fpx ftp gd gdl gif gimp gimpprint gmedia gmp gnet gnome gopher gphoto2 gpm graphviz gs gsm gstreamer gtk gtk2 gtkhtml h323 hal hardened hub iconv idea idn iksemel imagemagick imap imlib inifile inkjar inode irda jabber java java-internal javascript jingle jpeg jpeg2k ladspa lapack latin1 lcms libburn libcaca libnotify libplot lm_sensors logitech-mouse lzo lzw mad matroska mbox mcal md5sum memlimit mhash midi mikmod milter ming mjpeg mmap mmx mmxext mng mode-owner motif mozbranding mozcalendar mp2 mp3 mp4 mpeg mpeg1 mpeg2 mplayer musepack mysql mysqli nautilus ncurses network nls nopop3d nptl nptlonly nsplugin ntfs oav odbc odk ogg oggvorbis onaccess openexr opengl overload pam pam_chroot pam_console pam_timestamp pango pccts pcmcia pcntl pcre pda pdf pdo-external pear perl php pic plotutils png pnm posix postscript ppds python quicktime quotas rar rc5 readline real realmedia reflection reiserfs replytolist rle rtc samba sasl scanner scenarios screen sdl sensord session sftplogging sid sieve skins slang smp sms sndfile soap sockets sound sox speex spell spf srt sse ssl subtitles suhosin svg syslog sysvipc t1lib tagwriting tcl tcltk tcpd tetex tga theora threads tiff tk tlen tokenizer toolbar tools totem transcode truetype truetype-fonts type1-fonts udev underscores unicode urandom usb userlocales v4l v4l2 vcd vidix virus-scan visualization vlm vorbis wavplay wifi win32codecs wma wmf wmp wxwindows x264 x86 xattr xforms xine xml xml2 xmlreader xmlrpc xmlwriter xorg xpm xsl xv xvid yahoo zip zlib zvbi" ALSA_CARDS="cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse acecad" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu en" USERLAND="GNU" VIDEO_CARDS="radeon v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Although:
---
dev-libs/pwlib-1.10.5  USE="alsa ldap sasl sdl ssl v4l v4l2 xml -debug -ieee1394 -ipv6 -oss"

atoth ~ # ldd /usr/lib/libpt_linux_x86_r.so
        linux-gate.so.1 =>  (0x4d968000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4d602000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x4d5bc000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x4d44d000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x4d427000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x4d3b4000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x4d3a2000)
        libdl.so.2 => /lib/libdl.so.2 (0x4d39d000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 (0x4d26a000)
        libm.so.6 => /lib/libm.so.6 (0x4d246000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcc_s.so.1 (0x4d23c000)
        libc.so.6 => /lib/libc.so.6 (0x4d114000)
        /lib/ld-linux.so.2 (0x13415000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x4cffd000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x4cfeb000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x4cfe2000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x4cfd8000)
        libaa.so.1 => /usr/lib/libaa.so.1 (0x4cfbb000)
        libcaca.so.0 => /usr/lib/libcaca.so.0 (0x4cfaf000)
        libcucul.so.0 => /usr/lib/libcucul.so.0 (0x4cf2e000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x4cf2a000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x4cf23000)
        libslang-utf8.so.1 => /usr/lib/libslang-utf8.so.1 (0x4ce9a000)
        libgpm.so.1 => /lib/libgpm.so.1 (0x4ce93000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x4ce39000)
atoth ~ #

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-29 14:36:32 UTC
Attach the config.log here, please.
Comment 2 Attila Tóth 2007-08-29 15:11:12 UTC
Created attachment 129538 [details]
Config log

Here goes the requested log file.
Comment 3 Attila Tóth 2007-08-29 15:12:09 UTC
(In reply to comment #1)
> Attach the config.log here, please.
> 

Here it is.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-08-29 15:28:46 UTC
> /var/tmp/portage/net-im/ekiga-2.0.7/work/ekiga-2.0.7/config.log

^^^ This is the log I wanted attached.
Comment 5 Attila Tóth 2007-08-29 16:11:20 UTC
Created attachment 129551 [details]
config.log
Comment 6 Attila Tóth 2007-08-29 16:11:41 UTC
Created attachment 129555 [details]
configure.in
Comment 7 Attila Tóth 2007-08-29 16:12:21 UTC
Created attachment 129556 [details]
ptbuildopts.h
Comment 8 Attila Tóth 2007-08-29 16:14:27 UTC
(In reply to comment #4)
> > /var/tmp/portage/net-im/ekiga-2.0.7/work/ekiga-2.0.7/config.log
> 
> ^^^ This is the log I wanted attached.
> 

Sorry for the inconvenience. I've also attached the configure.in, which checks for LDAP in ptbuildopts.h

I don't know if ekiga or pwlib causes the problem.

Please don't hesitate to ask for more details.

Regards,
Dw.
Comment 9 Attila Tóth 2007-09-03 15:21:22 UTC
It seems, that the pwlib doesn't compile with ldap, because the ldap_open test fails during configuration. It seems, that ldap_open became deprecated long-long time ago: http://www.mail-archive.com/garnome-list@gnome.org/msg02086.html. Pwlib doesn't use ldap_open otherwise. It would be time to get rid of this test and find another function to test the usability of openldap.
Comment 10 Attila Tóth 2007-09-03 15:25:32 UTC
Created attachment 129924 [details, diff]
ldap_open test always true

This nasty patch forces ldap_open test to be true, therefore enables pwlib to compile with ldap support. However the final solution would be to change the behavior of configure upstream.

Regards,
Dw.
Comment 11 Attila Tóth 2007-09-03 15:28:19 UTC
The attached patch is redundant, but works for me.

Regarsd,
Dw.
Comment 12 Attila Tóth 2007-09-24 14:18:17 UTC
I've run into this problem again and I this bug didn't show up in the search, cos it's treated as RESOLVED. So I open it again for others and me.

Dw.
Comment 13 Attila Tóth 2008-02-13 01:37:14 UTC
Recent versions of pwlib and ekiga no longer have this issue, so it's time to close this bug.