Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277508 - openldap 2.4.16 being built with --disable-slapd?
Summary: openldap 2.4.16 being built with --disable-slapd?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-12 14:37 UTC by Dylan Taft
Modified: 2009-09-30 15:08 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 Dylan Taft 2009-07-12 14:37:34 UTC
Here's a cutout from the log
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-nds/openldap-2.4.16/work/openldap-2.4.16 ...
 * econf: updating openldap-2.4.16/contrib/ldapc++/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating openldap-2.4.16/contrib/ldapc++/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating openldap-2.4.16/contrib/slapd-modules/nssov/nss-ldapd/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating openldap-2.4.16/contrib/slapd-modules/nssov/nss-ldapd/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating openldap-2.4.16/build/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating openldap-2.4.16/build/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libexecdir=/usr/lib/openldap --disable-slapd $
Configuring ^[[1mOpenLDAP 2.4.16-Release^[[m ...
checking build system type... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking target system type... i486-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking configure arguments... configure: WARNING: slapd disabled, ignoring --enable-monitor argument

my use flags
USE="-kde kerberos overlays webkit -qt3 qt-static threads canon anthy unicode mono vorbis ffmpeg -pulseaudio pdo mysql fastcgi php json real dri2 -oss x264 -ldap -ppds cupsddk -arts bzip2 xinerama scanner server tcl mmx mmx2 mmxext sse sse3 3dnowext 3dnow 3dnow2 a52 mad aac faad accessibility cups python alsa xscreensaver pam gtk jpeg opengl hal dbus acpi xorg gtk X udev acl png mp3 ssse3 quicktime win32codecs truetype cpudetection midi sse2 tk ftp xmlreader xmlrpc xmlwriter cgi postgres soap sockets zip sasl"

This is the only place where I can see where this might happen..?
strange ebuild code:
                use overlays && myconf="${myconf} --enable-overlays=mod"
        else
                myconf="${myconf} --disable-slapd --disable-bdb --disable-hdb"
                myconf="${myconf} --disable-overlays"
        fi





Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-12 14:50:46 UTC
Please post the output of 

  emerge -qpv openldap
Comment 2 Dylan Taft 2009-07-12 18:18:38 UTC
[ebuild  N    ] net-nds/openldap-2.4.16  USE="berkdb crypt ipv6 kerberos minimal perl sasl ssl tcpd -debug -experimental -gnutls -icu -iodbc -odbc -overlays -samba (-selinux) -slp -smbkrb5passwd -syslog" 
Comment 3 Dylan Taft 2009-07-12 18:20:39 UTC
Added -minimal to my use flags, it's compiling with slapd now.
Is that normal for minimal to set on by default?
Comment 4 Rafał Mużyło 2009-07-12 18:57:00 UTC
Not really, but you've probably set it in a different place.
Check 'emerge --info' first, then see if you don't have it set
in a different place.
Comment 5 Dylan Taft 2009-07-12 19:04:55 UTC
emerge --info | grep 'minimal'
Returns nothing

What the heck? 
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-13 06:54:35 UTC
(In reply to comment #3)
> Is that normal for minimal to set on by default?

It depends on the profile you're using. The desktop profiles usually don't need to install a ldap-server. See also /usr/portage/profiles/targets/desktop/package.use
Comment 7 Dylan Taft 2009-07-13 12:02:37 UTC
(In reply to comment #6)
> (In reply to comment #3)
> > Is that normal for minimal to set on by default?
> 
> It depends on the profile you're using. The desktop profiles usually don't need
> to install a ldap-server. See also
> /usr/portage/profiles/targets/desktop/package.use
> 

Thanks, that's it.