Since about two weeks, the emacs-vcs-24.0.9999.ebuild installs broken (or maybe only wrongly named) info files. For each documentation file X, there's one X.gz.info and one X.gz.info.bz2 in /usr/share/info/emacs-24, for example, there are: emacs-1.gz.info emacs-1.gz.info.bz2 ... emacs-8.gz.info emacs-8.gz.info.bz2 When trying to access one of those files via the info index in Emacs 24, I get an error "Info-find-file: Info file emacs does not exist". With emacs-23 (and thus in /usr/share/info/emacs-23), the documentation files are all named X.info.bz2 and they are accessible. Looking at the ebuild, there's a line that moves all installed info files i to i.info. Thereafter, the info files are compressed. So it seems the makefile of emacs 24 already gzips the info files resulting in i.gz. So the move should instead do "mv {i} `basename {i} .gz`.info.gz" and omit the bz2 compression...
The build system should not compress on its own. Do you have USE=gzip-el set?
A look in the ChangeLog reveals: 2010-06-11 Glenn Morris <rgm@gnu.org> * configure.in (--without-compress-info): New option. (GZIP_INFO): New output variable. Added this to the live ebuild. Please test.
> Added this to the live ebuild. Please test. The info files work again. But still it's a littlebit strange. Now I have files like these in /usr/share/info/emacs-24/. emacs-1.gz.info emacs-1.info.bz2 emacs-2.gz.info emacs-2.info.bz2 As you can see, now every info file is there as gz.info and info.bz2.
(In reply to comment #3) > The info files work again. But still it's a littlebit strange. Now I have > files like these in /usr/share/info/emacs-24/. > > emacs-1.gz.info > emacs-1.info.bz2 > emacs-2.gz.info > emacs-2.info.bz2 Could you check if they do belong to app-editors/emacs-vcs with "equery b <filename>" command? I don't have those doubled files here. > As you can see, now every info file is there as gz.info and info.bz2. >
> > The info files work again. But still it's a littlebit strange. Now I have > > files like these in /usr/share/info/emacs-24/. > > > > emacs-1.gz.info > > emacs-1.info.bz2 > > emacs-2.gz.info > > emacs-2.info.bz2 > > Could you check if they do belong to app-editors/emacs-vcs with "equery b > <filename>" command? I don't have those doubled files here. Good hint. The foobar.gz.info files belong to no ebuild, so I guess they are relicts of the old ebuild. Currently, I don't have time to emerge emacs-vcs-24.0.9999 again, but I guess if they don't appear at your machine, they won't appear hear, too. I'll check this evening and report back then.
Some tool (you ran Emacs' info mode as root) must have unpacked them and those are the leftovers. You have USE=gzip-el enabled?
(In reply to comment #6) > Some tool (you ran Emacs' info mode as root) must have unpacked them and those > are the leftovers. No, I ran Emacs' info as normal user only. And they were not really unpacked, but gzipped instead of bzipped, with the gz extension before the info extension. > You have USE=gzip-el enabled? Yes, I do.
(In reply to comment #7) > (In reply to comment #6) > > Some tool (you ran Emacs' info mode as root) must have unpacked them and those > > are the leftovers. > > No, I ran Emacs' info as normal user only. And they were not really unpacked, > but gzipped instead of bzipped, with the gz extension before the info > extension. Does not matter anymore. :)
(In reply to comment #5) > > Could you check if they do belong to app-editors/emacs-vcs with "equery b > > <filename>" command? I don't have those doubled files here. > > Good hint. The foobar.gz.info files belong to no ebuild, so I guess they are > relicts of the old ebuild. > > Currently, I don't have time to emerge emacs-vcs-24.0.9999 again, but I guess > if they don't appear at your machine, they won't appear hear, too. I'll check > this evening and report back then. Yeah, the *.gz.info files were only leftovers and are not installed by the current ebuild version. Feel free to close the bug. Thanks for taking care of this issue!