Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160639 - openldap circular dependency with USE="sasl ldap"
Summary: openldap circular dependency with USE="sasl ldap"
Status: RESOLVED DUPLICATE of bug 32394
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: 2007-01-07 08:41 UTC by Jeremy Kitchen
Modified: 2007-01-07 09:34 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 Jeremy Kitchen 2007-01-07 08:41:47 UTC
I just modified my /etc/make.conf to include 'sasl' in my USE flags.  running a pretend emerge gives me this:

edge ~ # emerge --newuse -pv postfix
>>> --newuse implies --update... adding --update to options.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-nds/openldap-2.3.27-r3  USE="berkdb crypt gdbm ipv6 perl readline sasl* ssl tcpd -debug -kerberos -minimal -odbc -overlays -samba (-selinux) -slp -smbkrb5passwd" 0 kB
[ebuild  N    ] dev-libs/cyrus-sasl-2.1.22-r1  USE="berkdb crypt gdbm ldap mysql pam ssl -authdaemond -java -kerberos -ntlm_unsupported_patch -postgres -sample -srp -urandom" 1,571 kB
[ebuild   R   ] mail-mta/postfix-2.2.10  USE="ipv6 ldap mailwrapper mysql pam sasl* ssl -cdb -hardened -mbox -nis -postgres (-selinux) -vda" 0 kB

the openldap portion of the merge fails with:
configure: error: Could not locate Cyrus SASL

however.. if I attempt to --newuse emerge openldap by itself, it brings cyrus in...

edge openldap # emerge --newuse -pv openldap
>>> --newuse implies --update... adding --update to options.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-libs/cyrus-sasl-2.1.22-r1  USE="berkdb crypt gdbm ldap mysql pam ssl -authdaemond -java -kerberos -ntlm_unsupported_patch -postgres -sample -srp -urandom" 0 kB
[ebuild   R   ] net-nds/openldap-2.3.27-r3  USE="berkdb crypt gdbm ipv6 perl readline sasl* ssl tcpd -debug -kerberos -minimal -odbc -overlays -samba (-selinux) -slp -smbkrb5passwd" 0 kB


it would appear that something is causing cyrus-sasl not to be built before openldap.  I checked the ebuild and I see:
RDEPEND="sys-libs/ncurses
...
    sasl? ( dev-libs/cyrus-sasl )


edge ~ # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1/server, gcc-3.4.4, glibc-2.4-r4, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.6
Last Sync: Sun, 07 Jan 2007 08:00:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 berkdb bitmap-fonts cli cracklib crypt ctype dbus dlloader doc dri elibc_glibc examples fortran gdbm iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux ldap libg++ maildir mailwrapper modperl mysql ncurses nls nptl nptlonly offensive pam pcre perl png ppds pppd python readline reflection ruby sasl session snmp soap spl sqlite sqlite3 ssl tcpd threads truetype truetype-fonts type1-fonts udev unicode userland_GNU vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xml xml2 xmlrpc xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

let me know if you need any additional information! :)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-07 09:34:02 UTC

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