Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102902 - header cache in mutt stopped working
Summary: header cache in mutt stopped working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-17 14:44 UTC by Robert Svoboda
Modified: 2005-08-18 04:57 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 Svoboda 2005-08-17 14:44:55 UTC
After update to mutt  1.5.9i (mail-client/mutt-1.5.9) header cache stopped working with message:
header_cache: unknown variable

I can see that patch is included - mutt -v shows that mutt-cvs-header-cache.29 is included

I believe that problem is in compile option -USE_HCACHE (mutt -v shows this)

Reproducible: Always
Steps to Reproduce:
1. Have set header_cache="/path/to/chache" in muttrc
2. start mutt
3. see error message
Actual Results:  
Error in /home/robo/.mutt/muttrc, line 141: header_cache: unknown variable
source: errors in /home/robo/.mutt/muttrc
Press any key to continue...

Expected Results:  
start without error and use header cache

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-suspend2-r3 i686)
=================================================================
System uname: 2.6.12-suspend2-r3 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.12.0_pre5
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -fomit-frame-pointer -fforce-addr -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium3 -fomit-frame-pointer -fforce-addr -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks noinfo sandbox sfperms strict"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.inode.at/ http://gentoo.mirror.sdv.fr http://
ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm avi bash-completion bitmap-fonts cdr crypt curl directfb dvd 
dvdread emboss encode fam flac fortran freetype gd gphoto2 gpm gstreamer gtk gtk2 imagemagick 
imap imlib ipv6 java jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl ogg 
oggvorbis opengl oss pdflib perl png python qt quicktime readline rtc ruby samba sdl slang snmp sse 
ssl svga threads tiff truetype truetype-fonts type1-fonts usb vorbis xft xinerama xml2 xmms xv zlib 
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2005-08-17 14:56:45 UTC
In 1.5.9 there were problems with headercache and berkdb when more than one
berkdb version was installed. As a consequence headercache with berkdb backend
was disabled.

If you want to use headercache in 1.5.9 you must add gdbm to your USE flags (and
recompile again).

Alternatively you can try 1.5.10 which supports berkdb as backend for
headercache again. It will hit the rsync mirrors soon.
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2005-08-17 15:31:50 UTC
tove is exactly right
Comment 3 Robert Svoboda 2005-08-18 04:33:48 UTC
I have 1.5.10 installed and still header_cache is not working

$ mutt -v
...
...-USE_HCACHE...
...
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2005-08-18 04:46:45 UTC
If 'berkdb' or 'gdbm' is in USE, headercache should be used.

What does `emerge -pv mutt` say?
Comment 5 Robert Svoboda 2005-08-18 04:57:55 UTC
Ooops, sorry previously I probably emerged mutt like this USE="berkdb" emerge 
mutt
now it's clear berkdb was missing 
everything works again

thanks