Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328471 - app-editors/emacs-vcs-24.0.9999: Doubly compressed info documentation
Summary: app-editors/emacs-vcs-24.0.9999: Doubly compressed info documentation
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 20:50 UTC by Tassilo Horn
Modified: 2010-07-20 08:34 UTC (History)
0 users

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 Tassilo Horn 2010-07-15 20:50:38 UTC
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...
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2010-07-18 14:29:31 UTC
The build system should not compress on its own.  Do you have USE=gzip-el set?
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2010-07-18 15:42:59 UTC
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.
Comment 3 Tassilo Horn 2010-07-18 18:42:34 UTC
> 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.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2010-07-19 06:30:51 UTC
(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.
> 

Comment 5 Tassilo Horn 2010-07-19 07:48:11 UTC
> > 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.
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2010-07-19 08:06:17 UTC
Some tool (you ran Emacs' info mode as root) must have unpacked them and those are the leftovers.  You have USE=gzip-el enabled?
Comment 7 Tassilo Horn 2010-07-19 08:26:10 UTC
(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.
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2010-07-19 08:41:11 UTC
(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. :)
Comment 9 Tassilo Horn 2010-07-19 18:42:37 UTC
(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!