Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 144485

Summary: dev-libs/cyrus-sasl-2.1.21-r2l does not compile with mysql flag
Product: Gentoo Linux Reporter: Shoan Motwani <shoan>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Shoan Motwani 2006-08-19 21:27:18 UTC
# ACCEPT_KEYWORDS="~x86" emerge cyrus-sasl -pv

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

Calculating dependencies... done!
[ebuild   R   ] dev-libs/cyrus-sasl-2.1.21-r2  USE="authdaemond* crypt mysql pam ssl -berkdb -gdbm -java -kerberos -ldap -ntlm_unsupported_patch -postgres -sample -srp -urandom" 0 kB 


# ACCEPT_KEYWORDS="~x86" emerge cyrus-sasl    
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-libs/cyrus-sasl-2.1.21-r2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking cyrus-sasl-2.1.21.tar.gz ;-)
......
checking DB library to use... none
configure: WARNING: Disabling SASL authentication database support
...

The compiled sasl version doesn't do mysql auth.


--------------------------------------------
Emerge Info
--------------------------------------------
Gentoo Base System version 1.6.13
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12.6-xen i686)
=================================================================
System uname: 2.6.12.6-xen i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
dev-lang/python:     2.3.5-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/gcc-config: 1.3.12-r2
sys-devel/libtool:   1.4.3-r3, 1.5.18-r1
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig 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 3dnow alsa apm arts avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-20 00:46:23 UTC
Eh? The summary is horribly misleading and USE=mysql doesn't have anything in common w/ SASL DB (which the message you've posted is talking about). You need either gdbm or berkdb in your use flags to use have SASL DB support.
Comment 2 Shoan Motwani 2006-08-20 05:12:07 UTC
(In reply to comment #1)
> Eh? The summary is horribly misleading and USE=mysql doesn't have anything in
> common w/ SASL DB (which the message you've posted is talking about). You need
> either gdbm or berkdb in your use flags to use have SASL DB support.
> 

I am would like to be able to authenticate against a mysql backend. I assumed that USE=mysql would emerge sasl with mysql auth support. But it doesn't. This is evident from the configure output. 

However it doesn't seem to do that. I was suspecting that there might be  missing dependency there.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-20 05:15:30 UTC
(In reply to comment #2)
> I am would like to be able to authenticate against a mysql backend. I assumed
> that USE=mysql would emerge sasl with mysql auth support. But it doesn't. This
> is evident from the configure output. 

No, it isn't evident at all. SASL DB != MySQL, it's a completely different thing.