Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140223 - mail-client/mutt-1.5.11-r2: no SSL support even though USE=ssl and USE=gnutls is set
Summary: mail-client/mutt-1.5.11-r2: no SSL support even though USE=ssl and USE=gnutls...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Fernando J. Pereda (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-13 05:57 UTC by Sascha Silbe
Modified: 2006-09-10 03:51 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 Sascha Silbe 2006-07-13 05:57:50 UTC
mail-client/mutt-1.5.11-r2 is compiled without SSL support, even though USE flags ssl and gnutls are both set:

[ebuild   R   ] mail-client/mutt-1.5.11-r2  USE="berkdb crypt gdbm gnutls idn imap mbox nls smime ssl -buffysize -cjk -debug -gpgme -nntp -pop -sasl -vanilla" 0 kB 

sascha.silbe@copper:~$ mutt -v
Mutt 1.5.11 (2005-09-15)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.6.16.14-infra (i686) [using ncurses 5.5] [using libidn 0.5.15 (compiled with 0.5.15)]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
-USE_FCNTL  +USE_FLOCK   -USE_INODESORT   
-USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  +USE_GNUTLS  -USE_SASL  
-HAVE_REGCOMP  +USE_GNU_REGEX  +COMPRESSED  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +HAVE_GETADDRINFO  +USE_HCACHE  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc/mutt"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <mutt-dev@mutt.org>.
To report a bug, please use the flea(1) utility.

patch-1.5.6.dw.pgp-timeout.1
patch-1.5.6.dw.mbox-hook.1
rr.compressed
patch-1.5.4.lpr.collapse_flagged Lukas P. Ruf <lukas.ruf@lpr.ch>
patch-1.5.10.tt.assumed_charset.1
sascha.silbe@copper:~$ mutt
Error in /home/sascha.silbe/.muttrc, line 138: ssl_usesystemcerts: unknown variable
Error in /home/sascha.silbe/.muttrc, line 139: ssl_client_cert: unknown variable
source: errors in /home/sascha.silbe/.muttrc


I've also tried USE=sasl, made no difference.
Comment 1 Sascha Silbe 2006-07-20 05:09:55 UTC
It seems USE=gnutls is to blame. After rebuilding mutt with USE=-gnutls, it works fine.
Other ebuilds exhibit similar problems with USE=gnutls, see bug #140676 as an example.
Since the description for this USE flag only says "Adds support for net-libs/gnutls", I expected to get exactly the same or even more features than with USE=-gnutls, not less.
So either the evaluation logic should be changed or the description (e.g. "Use GnuTLS instead of OpenSSL for SSL support. Warning: Might break things!").

Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2006-09-10 03:49:59 UTC
USE="ssl" and USE="gnutls" are exclusive in mutt. It doesn't break things, it just uses a different library to do SSL stuff.

- ferdy
Comment 3 Fernando J. Pereda (RETIRED) gentoo-dev 2006-09-10 03:51:25 UTC
We could, however, issue a warning... but I definitely see no point.

- ferdy