Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114881 - dev-libs/pwlib depends on net-nds/openldap, even with -ldap USE flag
Summary: dev-libs/pwlib depends on net-nds/openldap, even with -ldap USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 114950 134946 (view as bug list)
Depends on:
Blocks: 117152
  Show dependency tree
 
Reported: 2005-12-08 08:08 UTC by Sven Putteneers
Modified: 2006-05-30 12:17 UTC (History)
6 users (show)

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


Attachments
patch against pwlib-1.8.7.ebuild (but should work for other versions of the ebuild) (pwlib-1.8.7.ebuild.patch,561 bytes, patch)
2005-12-08 08:15 UTC, Sven Putteneers
Details | Diff
pwlib-1.8.7-r1.ebuild (pwlib-1.8.7-r1.ebuild,4.25 KB, text/plain)
2005-12-29 20:36 UTC, Alexey Maximov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Putteneers 2005-12-08 08:08:01 UTC
pwlib does not respect the ldap USE flag. It lists net-nds/openldap as an
unconditional RDEPEND.
pwlib compiles fine without net-nds/openldap installed though (its configure
picks up on the missing openldap and handles it).

Reproducible: Always
Steps to Reproduce:
1. echo net-nds/openldap >> /etc/portage/packages.mask
2. USE="-ldap" emerge --oneshot dev-libs/pwlib
Actual Results:  
emerge fails with !!! All ebuilds that could satisfy "net-nds/openldap" have
been masked.

Expected Results:  
merge pwlib without openldap support

Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r3 i686)
=================================================================
System uname: 2.6.14-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.0_pre11
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.2.3-r2, 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-r1
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="-march=pentium3 -mtune=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -fvisibility-inlines-hidden -O3 -pipe
-fomit-frame-pointer"
DISTDIR="/mnt/temp/distfiles"
FEATURES="autoconfig distlocks prelink sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/temp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 64bit 7zip X X509 Xaw3d a52 aac aalib abook acpi aio alsa amr
apache2 ares asm async audiofile authfile avi bash-completion bcmath beep berkdb
bigger-fonts bitmap-fonts bl blas bmp bootsplash browserplugin buffysize
bundled-libs bzip2 c++ cap caps ccache cdda cddb cdio cdparanoia cdr chroot
clamav clanJavaScript clanVoice cle266 cli cpdflib cracklib crypt cscope csv
ctype cups curl curlwrappers cvsgraph dba dhcp dillo dio disablexmb discard-path
disk-cache distribution dlloader dlopen dnd double-precision dpms dri dts dv dvb
ecc edl eds effects encode enscript exif exim exiscan-acl expat extensions fam
fame fastcgi fbcon fbdev fbsplash ffmpeg figlet finger firefox flac flash
flatfile flood fontconfig foomaticdb force-cgi-redirect fortran fpx freetts
freetype ftp gcj gd gdbm gif gimp gimpprint gkrellm glibc glibc-compat20
glibc-omitfp glut glx gmail gmailtimestamps gmp gnuplot gnutls gopher gpgme gpm
graphviz gs gstreamer gtk gtk2 guile gvim hpn html http httpd ical iconv icq id3
idea idn iksemel image imagemagick imlib imlib2 innodb ipv6 jabber java
javascript jikes john jp2 jpeg jpeg2k keyscrub lame largeterminal lcms lesstif
libcaca libclamav libg++ libgd libsamplerate libvisual libwww live lm_sensors
lmtp logitech-mouse logrotate lynxkeymap lzo lzw mad maildir mailwrapper math
matroska mbrola md5sum mem-cache memlimit mhash mikmod mime mimencode ming mixer
mjpeg mmap mmx mng mode-owner motif mouse mozdevelop moznocompose moznoirc
moznomail mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mpeg4 mplayer msn musepack
mysql mzscheme ncurses netbeans network nfs nls nntp no-helpbrowser no-old-linux
no_wxgtk1 nocardbus nodoc nogg nomalloccheck nomusic nopop3d nosrc nozaptel nptl
nptlonly nsplugin ntlm nvidia offensive ogg oggvorbis on-the-fly-crypt openal
opengl openssh openssl oscar pam pam_chroot pam_timestamp parse-clocks pcntl
pcre pdf pdflib perl php physfs pic player plotutils plugin png pop posix ppds
print procmail python qt quicktime quotas rar readline real recode reiserfs rle
rpc rss rtc ruby samba scanner scp screen sdl semanticfix sendfile serial
session sftp sftplogging shaper shared shorten simplexml skey slang smime sms
sndfile soap sockets softquota speex spell spf spl srs sse sse-filters ssl
startup-notification stream stroke subp subversion svg svga svgz sysfs sysvipc
szip tcltk tcpd tcpmd5 tetex text theora threads tidy tiff timidity tokenizer
toolbar truetype truetype-fonts udev unicode urandom usb userlocales utf8
uudeview vcd vidix vim vim-pager vim-with-x virus-scan vorbis win32codecs
withsamplescripts wma123 wmf wxwindows xanim xface xgetdefault xinetd xml xml2
xmlrpc xmms xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo zip
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Sven Putteneers 2005-12-08 08:15:42 UTC
Created attachment 74312 [details, diff]
patch against pwlib-1.8.7.ebuild (but should work for other versions of the ebuild)

patch to make dependency on net-nds/openldap conditional on ldap USE flag
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-12-08 23:07:06 UTC
*** Bug 114950 has been marked as a duplicate of this bug. ***
Comment 3 Alexey Maximov 2005-12-29 20:36:30 UTC
Created attachment 75768 [details]
pwlib-1.8.7-r1.ebuild

NEW fixed ebuild with net-nds/openldap-2.3.12 support
Comment 4 Alexey Maximov 2005-12-29 20:37:15 UTC
now it compiles well, and tracks USE=ldap
Comment 5 Alexey Maximov 2005-12-29 20:37:50 UTC
PLEASE TEST IT AND ADD TO THE PORTAGE
Comment 6 Alexey Maximov 2005-12-29 20:38:14 UTC
PLEASE TEST IT AND ADD TO THE PORTAGE
Comment 7 Sven Putteneers 2006-01-26 06:33:21 UTC
*bump*

When will this be merged in Portage? It's getting tiresome to edit /usr/portage/dev-libs/pwlib/pwlib-1.8.7.ebuild every time after I sync, just to make emerge -DupvN world work...
Comment 8 Fernando Ribeiro 2006-03-22 04:44:59 UTC
Have this fixed?
Comment 9 Stefan Schweizer (RETIRED) gentoo-dev 2006-03-22 05:08:38 UTC
oh, yeah, did not notice I fixed this :)

thanks for reporting and sorry for the inconvenience, try to reach a developer on IRC next time or by direct mail instead of shouting on the bug please.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-05-30 12:00:24 UTC
*** Bug 134946 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-05-30 12:17:15 UTC
*** Bug 134946 has been marked as a duplicate of this bug. ***