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

Bug 82933

Summary: compressing /usr/share/info/dir file breaks emacs's info mode
Product: Portage Development Reporter: tim <t1m>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: minor CC: emacs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description tim 2005-02-22 03:11:24 UTC
emerge compresses the file /usr/share/info/dir to dir.gz.

the info mode of emacs requires the uncompressed dir file to display the info files in /usr/share/info

(at least on my machine)

Reproducible: Always
Steps to Reproduce:
1. emacs M+x info (doesn't work)
2. gzcat /usr/share/info/dir.gz >/usr/share/info/dir
3. emacs M+x info (works)
4. emerge -u world
5. = 1.



Expected Results:  
emerge shouldn't compress the dir file
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2005-02-25 00:34:46 UTC
Is this an emacs bug or should portage not be doing this?
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-10-16 08:22:14 UTC
NEEDINFO 
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2005-10-29 12:01:33 UTC
Emacs (and probably XEmacs and SXEmacs) doesn't support dir.gz.
Comment 4 SpanKY gentoo-dev 2005-10-30 00:32:16 UTC
well, no package should install /usr/share/info/dir{,.gz} which means this is
portage territory
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-04-06 04:46:17 UTC
which portage version do you encounter this problem with? I can't reproduce it with 2.1 and the code doesn't look like it would gzip the dir file. 
Comment 6 tim 2006-04-06 05:13:26 UTC
actually, i can't reproduce this problem with a new installation of gentoo on another machine ... 
resolving as WORKSFORME now