Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32624 - ebuild compile options for mutt fubar reading files
Summary: ebuild compile options for mutt fubar reading files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-03 07:13 UTC by robert jorgenson
Modified: 2004-02-12 05:20 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 robert jorgenson 2003-11-03 07:13:35 UTC
mutt-1.5.4-r1 when compiled with the opts in the ebuild causes mutt to not be
able to append files for some reason to emails, for isntance when replying to an
email it cant quote the text, it cant include a signature file, things like
that. If i take the same package and compile it from scratch with all the
default options, it works fine, no patches applied or anything. Here is a diff
of the config.cache's of the two installs

#/usr/local/mutt-1.5.4: diff
/var/tmp/portage/mutt-1.5.4-r1/work/mutt-1.5.4/config.cache
/usr/local/mutt-1.5.4/config.cache 
19,20d18
< ac_cv_func_RAND_egd=${ac_cv_func_RAND_egd=yes}
< ac_cv_func_RAND_status=${ac_cv_func_RAND_status=yes}
39d36
< ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
44d40
< ac_cv_func_gethostent=${ac_cv_func_gethostent=yes}
65a62
> ac_cv_func_regcomp=${ac_cv_func_regcomp=yes}
70d66
< ac_cv_func_setsockopt=${ac_cv_func_setsockopt=yes}
113d108
< ac_cv_lib_crypto_X509_new=${ac_cv_lib_crypto_X509_new=yes}
118d112
< ac_cv_lib_ssl_SSL_new=${ac_cv_lib_ssl_SSL_new=yes}
155,157c149,150
< mutt_cv_docdir=${mutt_cv_docdir=/usr/share/doc/mutt-1.5.4-r1}
< mutt_cv_external_dotlock=${mutt_cv_external_dotlock=yes}
< mutt_cv_fcntl=${mutt_cv_fcntl=no}
---
> mutt_cv_docdir=${mutt_cv_docdir=/usr/local/doc/mutt}
> mutt_cv_fcntl=${mutt_cv_fcntl=yes}
161a155
> mutt_cv_mailpath=${mutt_cv_mailpath=/var/mail}
163,164c157,159
< mutt_cv_prefix=${mutt_cv_prefix=/usr}
< mutt_cv_regex=${mutt_cv_regex=yes}
---
> mutt_cv_prefix=${mutt_cv_prefix=/usr/local}
> mutt_cv_regex=${mutt_cv_regex=no}
> mutt_cv_regex_broken=${mutt_cv_regex_broken=no}
171a167
> mutt_cv_worldwrite=${mutt_cv_worldwrite=yes}

> = a line that is in the compile that works
< = a line that is in the compile that does not work

If you need me to do any further testing to get more answeres let me know but
this is all I could come up with.

Reproducible: Always
Steps to Reproduce:
1. emerge mutt
2.
3.

Actual Results:  
Mutt cant append signtures or quoted text to emails

Expected Results:  
mutt should be able to append quoted text and signatures to emails

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 apm avi encode gif jpeg mad mpeg ncurses nls png quicktime truetype
xml2 xmms xv zlib gtkhtml alsa berkdb readline aalib bonobo svga tcltk java
guile ruby mysql X sdl tcpd libwww ssl perl python esd imlib oggvorbis gtk
opengl mozilla cdr apache2 dvd fbcon ipv6 jikes maildir mmx moznocompose
moznoirc moznomail samba usb v4l vim-with-x -oss -crypt -cups -foomaticdb -gpm
-libg++ -mikmod -motif -pdflib -spell -gdbm -slang -arts -pam -gnome -qt -kde"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-05 15:54:48 UTC
i can't reproduce this at all, on current 1.5.4* or 1.5.5*.
can you still reproduce this bug?

please diff config.cache with 'diff -u' if this persists for you.
Comment 2 robert jorgenson 2004-01-05 20:43:14 UTC
This is deffinately still reproducable for me, here is diff -u of the two config.cache

#/usr/local/mutt-1.5.4: diff -u config.cache /var/tmp/portage/mutt-1.5.4-r1/work/mutt-1.5.4/config.cache 
--- config.cache        2003-11-03 06:41:38.000000000 -0700
+++ /var/tmp/portage/mutt-1.5.4-r1/work/mutt-1.5.4/config.cache 2004-01-05 21:38:46.000000000 -0700
@@ -16,6 +16,8 @@
 ac_cv_c_const=${ac_cv_c_const=yes}
 ac_cv_c_inline=${ac_cv_c_inline=inline}
 ac_cv_decl_sys_siglist=${ac_cv_decl_sys_siglist=yes}
+ac_cv_func_RAND_egd=${ac_cv_func_RAND_egd=yes}
+ac_cv_func_RAND_status=${ac_cv_func_RAND_status=yes}
 ac_cv_func___argz_count=${ac_cv_func___argz_count=yes}
 ac_cv_func___argz_next=${ac_cv_func___argz_next=yes}
 ac_cv_func___argz_stringify=${ac_cv_func___argz_stringify=yes}
@@ -34,10 +36,12 @@
 ac_cv_func_fgetpos=${ac_cv_func_fgetpos=yes}
 ac_cv_func_fgets_unlocked=${ac_cv_func_fgets_unlocked=yes}
 ac_cv_func_ftruncate=${ac_cv_func_ftruncate=yes}
+ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
 ac_cv_func_getcwd=${ac_cv_func_getcwd=yes}
 ac_cv_func_getegid=${ac_cv_func_getegid=yes}
 ac_cv_func_geteuid=${ac_cv_func_geteuid=yes}
 ac_cv_func_getgid=${ac_cv_func_getgid=yes}
+ac_cv_func_gethostent=${ac_cv_func_gethostent=yes}
 ac_cv_func_getopt=${ac_cv_func_getopt=yes}
 ac_cv_func_getpagesize=${ac_cv_func_getpagesize=yes}
 ac_cv_func_getsid=${ac_cv_func_getsid=yes}
@@ -59,11 +63,11 @@
 ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
 ac_cv_func_munmap=${ac_cv_func_munmap=yes}
 ac_cv_func_putenv=${ac_cv_func_putenv=yes}
-ac_cv_func_regcomp=${ac_cv_func_regcomp=yes}
 ac_cv_func_setegid=${ac_cv_func_setegid=yes}
 ac_cv_func_setenv=${ac_cv_func_setenv=yes}
 ac_cv_func_setlocale=${ac_cv_func_setlocale=yes}
 ac_cv_func_setrlimit=${ac_cv_func_setrlimit=yes}
+ac_cv_func_setsockopt=${ac_cv_func_setsockopt=yes}
 ac_cv_func_snprintf=${ac_cv_func_snprintf=yes}
 ac_cv_func_srand48=${ac_cv_func_srand48=yes}
 ac_cv_func_stpcpy=${ac_cv_func_stpcpy=yes}
@@ -106,10 +110,12 @@
 ac_cv_header_wchar_h=${ac_cv_header_wchar_h=yes}
 ac_cv_header_wctype_h=${ac_cv_header_wctype_h=yes}
 ac_cv_lib_cposix_strerror=${ac_cv_lib_cposix_strerror=no}
+ac_cv_lib_crypto_X509_new=${ac_cv_lib_crypto_X509_new=yes}
 ac_cv_lib_idn_idna_to_ascii_from_utf8=${ac_cv_lib_idn_idna_to_ascii_from_utf8=no}
 ac_cv_lib_ncurses_initscr=${ac_cv_lib_ncurses_initscr=yes}
 ac_cv_lib_ncurses_waddnwstr=${ac_cv_lib_ncurses_waddnwstr=no}
 ac_cv_lib_ncursesw_waddnwstr=${ac_cv_lib_ncursesw_waddnwstr=no}
+ac_cv_lib_ssl_SSL_new=${ac_cv_lib_ssl_SSL_new=yes}
 ac_cv_path_DBX=${ac_cv_path_DBX=no}
 ac_cv_path_GDB=${ac_cv_path_GDB=/usr/bin/gdb}
 ac_cv_path_GMSGFMT=${ac_cv_path_GMSGFMT=/usr/bin/msgfmt}
@@ -146,17 +152,16 @@
 cf_cv_ncurses_header=${cf_cv_ncurses_header=ncurses.h}
 gt_cv_func_gnugettext1_libc=${gt_cv_func_gnugettext1_libc=yes}
 mutt_cv_curses=${mutt_cv_curses=/usr}
-mutt_cv_docdir=${mutt_cv_docdir=/usr/local/doc/mutt}
-mutt_cv_fcntl=${mutt_cv_fcntl=yes}
+mutt_cv_docdir=${mutt_cv_docdir=/usr/share/doc/mutt-1.5.4-r1}
+mutt_cv_external_dotlock=${mutt_cv_external_dotlock=yes}
+mutt_cv_fcntl=${mutt_cv_fcntl=no}
 mutt_cv_iconv_good=${mutt_cv_iconv_good=yes}
 mutt_cv_iconv_nontrans=${mutt_cv_iconv_nontrans=no}
 mutt_cv_langinfo_codeset=${mutt_cv_langinfo_codeset=yes}
 mutt_cv_langinfo_yesexpr=${mutt_cv_langinfo_yesexpr=yes}
-mutt_cv_mailpath=${mutt_cv_mailpath=/var/mail}
 mutt_cv_mbstate_t=${mutt_cv_mbstate_t=yes}
-mutt_cv_prefix=${mutt_cv_prefix=/usr/local}
-mutt_cv_regex=${mutt_cv_regex=no}
-mutt_cv_regex_broken=${mutt_cv_regex_broken=no}
+mutt_cv_prefix=${mutt_cv_prefix=/usr}
+mutt_cv_regex=${mutt_cv_regex=yes}
 mutt_cv_setgid=${mutt_cv_setgid=no}
 mutt_cv_snprintf=${mutt_cv_snprintf=no}
 mutt_cv_version=${mutt_cv_version=1.5.4}
@@ -164,7 +169,6 @@
 mutt_cv_wc_funcs=${mutt_cv_wc_funcs=yes}
 mutt_cv_wchar_t=${mutt_cv_wchar_t=yes}
 mutt_cv_wint_t=${mutt_cv_wint_t=yes}
-mutt_cv_worldwrite=${mutt_cv_worldwrite=yes}
 nls_cv_force_use_gnu_gettext=${nls_cv_force_use_gnu_gettext=no}
 nls_cv_header_intl=${nls_cv_header_intl=}
 nls_cv_header_libgt=${nls_cv_header_libgt=}
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-05 20:55:02 UTC
does 1.5.5* exhibit the bug for you as well?
could you provide a testcase that says exactly where mutt crashes or fails to do what it should?
Comment 4 robert jorgenson 2004-01-09 04:17:02 UTC
Yes I have the same problems with 1.5.5.1, ive been unable to find anyone else with this problem, but ive had it on multiple gentoo machines. I cant think of anything that could make it act this way between the gentoo way of installing it and a from scratch install. I even tried rolling my own ebuild to build it but that did not work either. I'm absolutely lost on this bug.
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-02-11 12:50:29 UTC
Since nobody else has this problem I'm closing WORKSFORME until you can debug far enough to provide a patch.  :-(

If it's any consolation, I've just added USE=vanilla support to the mutt-1.5.6 ebuild so you can easily install without any of the patches.
Comment 6 robert jorgenson 2004-02-12 05:20:46 UTC
Well, as it turns out 1.5.6 without the vanilla use flag seems to be working fine. Although not sure if its a feature change or a bug or what but the alternates variable is no longer recognied by mutt.