<<< Date Index >>>     <<< Thread Index >>>

bug#1515: marked as done (mutt-1.5.4i: --enable-pop and --with-sasl2 not compatible)



Your message dated Wed, 12 Nov 2003 12:50:48 +0100
with message-id <20031112115048.GA31899@xxxxxxxxxxxxxxxxxxxxxxxxxx>
and subject line (no subject)
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Herr der Kaefer
(administrator, GUUG bugs database)

--------------------------------------
Received: (at submit) by bugs.guug.de; 28 Mar 2003 05:47:27 +0000
>From duvall@xxxxxxxxxxxxxxxxxx Fri Mar 28 06:47:27 2003
Received: from lorien.emufarm.org ([66.93.131.57])
        by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
        id 18ymhx-0001U6-00
        for <submit@xxxxxxxxxxxx>; Fri, 28 Mar 2003 06:47:17 +0100
Received: from lorien.emufarm.org (localhost [127.0.0.1])
        by lorien.emufarm.org (8.12.7/8.12.7) with ESMTP id h2S5n5PH026917;
        Thu, 27 Mar 2003 21:49:05 -0800
Received: (from duvall@localhost)
        by lorien.emufarm.org (8.12.7/8.12.7/Submit) id h2S5n5UD026916;
        Thu, 27 Mar 2003 21:49:05 -0800
Date: Thu, 27 Mar 2003 21:49:05 -0800
Message-Id: <200303280549.h2S5n5UD026916@xxxxxxxxxxxxxxxxxx>
From: duvall@xxxxxxxxxxx
Subject: mutt-1.5.4i: --enable-pop and --with-sasl2 not compatible
To: submit@xxxxxxxxxxxx

Package: mutt
Version: 1.5.4i
Severity: normal

-- Please type your report below this line
When combining --enable-pop and --with-sasl2, the final link fails with the
following errors:

pop_auth.o(.text+0x512): In function `pop_auth_apop':
/tmp/mutt-1.5.4/pop_auth.c:209: undefined reference to `MD5Init'
pop_auth.o(.text+0x52d):/tmp/mutt-1.5.4/pop_auth.c:210: undefined reference to 
`MD5Update'
pop_auth.o(.text+0x583):/tmp/mutt-1.5.4/pop_auth.c:212: undefined reference to 
`MD5Update'
pop_auth.o(.text+0x59b):/tmp/mutt-1.5.4/pop_auth.c:214: undefined reference to 
`MD5Final'

This is because when --with-sasl2 (or --with-sasl) is given on the
configure commandline, need_md5 is set to no, which means that md5c.o is
not compiled and linked in.  However, pop_auth.c still references functions
in md5c.o, and so the link fails.

One simple solution is to remove the lines from configure.in that set
need_md5 to no; the build then finishes.

Another solution would be to use the _sasl_MD5* functions provided by the
sasl library instead.

-- System Information
System Version: Linux lorien.emufarm.org 2.4.21-pre5 #1 Sun Mar 9 16:47:10 PST 
2003 i686 unknown

-- Build environment information

SASL is cyrus-sasl, version 2.1.12, from gentoo portage.  The mutt version
below was built with patches applied, but the bug is exhibited without any
patches.  Note that it has pop and sasl enabled; it is built with the first
suggested fix above.

- gcc version information
gcc
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs
Configured with: /var/tmp/portage/gcc-3.2.2-r2/work/gcc-3.2.2/configure 
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include 
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man 
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared 
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib 
--enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix 
--enable-long-long --disable-checking --enable-cstdio=stdio 
--enable-clocale=generic --enable-__cxa_atexit 
--enable-version-specific-runtime-libs 
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3 
--with-local-prefix=/usr/local --enable-shared --disable-nls
Thread model: posix
gcc version 3.2.2 20030322 (Gentoo Linux 1.4 3.2.2-r2)

- CFLAGS
-Wall -pedantic -Wall -pedantic -mcpu=athlon-xp -O3 -pipe

-- Mutt Version Information

Mutt 1.5.4i (2003-03-19)
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.4.21-pre5 (i686) [using ncurses 5.3]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
+USE_POP  -USE_IMAP  -IMAP_EDIT_THREADS  -USE_GSS  +USE_SSL  +USE_SASL  
+USE_SASL2  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+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  +COMPRESSED  -HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  -HAVE_LIBIDN  +HAVE_GETSID  +HAVE_GETADDRINFO  
+USE_CACHE  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc/mutt"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.

1.5.4-me.hcache.1
patch-1.5.4.rr.compressed.1
patch-1.5.0.ats.date_conditional.1

---------------------------------------
Received: (at 1515-done) by bugs.guug.de; 12 Nov 2003 11:48:21 +0000
>From roessler+bounce@xxxxxxxxxxxxxxxxxx Wed Nov 12 12:48:19 2003
Received: from does-not-exist.info ([217.160.221.198] 
helo=kamino.does-not-exist.org)
        by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
        id 1AJtTv-0003Sb-00; Wed, 12 Nov 2003 12:48:19 +0100
Received: from voyager.does-not-exist.org (p3E9B9FD8.dip0.t-ipconnect.de 
[62.155.159.216])
        (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
        (No client certificate requested)
        by kamino.does-not-exist.org (Postfix) with ESMTP
        id AED7F3140D5; Wed, 12 Nov 2003 12:50:50 +0100 (CET)
Received: by voyager.does-not-exist.org (Postfix, from userid 500)
        id 659208110; Wed, 12 Nov 2003 12:50:48 +0100 (CET)
Date: Wed, 12 Nov 2003 12:50:48 +0100
From: Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>
To: 1515-done@xxxxxxxxxxxx, 1693-done@xxxxxxxxxxxx
Message-ID: <20031112115048.GA31899@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.5i
X-Spam-Status: No, hits=-108.0 required=5.0
        tests=AWL,BAYES_00,USER_AGENT_MUTT,USER_IN_WHITELIST
        autolearn=ham version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

fix committed to the CVS. Let's hope it doesn't break anything else.
-- 
Thomas Roessler                       <roessler@xxxxxxxxxxxxxxxxxx>