Bug 1062792

Summary: info files not installed
Product: [Fedora] Fedora Reporter: Tom Horsley <horsley1953>
Component: emacsAssignee: Petr Hracek <phracek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: greenrd, jonathan.underwood, pakanek, phracek
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: emacs-24.3-16.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-23 04:36:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom Horsley 2014-02-08 01:06:18 UTC
Description of problem:

I see the emacs-common postinstall script appears to run install-info to install all the emacs info files, but none of them seem to actually be installed.

Perhaps the command

/sbin/install-info /usr/share/info/$f /usr/share/info/dir 2> /dev/null

should really read

/sbin/install-info /usr/share/info/$f.info.gz /usr/share/info/dir 2> /dev/null

?

At least when I used the info.gz suffix manually, it worked.

Version-Release number of selected component (if applicable):
emacs-common-24.3-13.fc20.x86_64

How reproducible:
every time I try to read info files for emacs

Steps to Reproduce:
1.install emacs
2.get no info file links in dir
3.

Actual results:
no info dir entries

Expected results:
info dir entries

Additional info:

Comment 1 Petr Hracek 2014-02-12 09:06:49 UTC
I built up emacs-common and found all info files:
phracek@kiasportyw: ~/work/Fedora/emacs (master %)$ rpm -qpl /var/lib/mock/fedora-rawhide-x86_64/result/emacs-common-24.3-14.fc21.x86_64.rpm 
/etc/skel/.emacs
/usr/bin/ebrowse
/usr/bin/emacsclient
....
/usr/share/info/ada-mode.info.gz
/usr/share/info/auth.info.gz
/usr/share/info/autotype.info.gz
/usr/share/info/bovine.info.gz
/usr/share/info/calc.info.gz
/usr/share/info/ccmode.info.gz
/usr/share/info/cl.info.gz
/usr/share/info/dbus.info.gz
/usr/share/info/dired-x.info.gz
/usr/share/info/ebrowse.info.gz
/usr/share/info/ede.info.gz
/usr/share/info/ediff.info.gz
/usr/share/info/edt.info.gz
/usr/share/info/efaq.info.gz
/usr/share/info/eieio.info.gz
/usr/share/info/eintr.info.gz
/usr/share/info/elisp.info.gz
/usr/share/info/emacs-gnutls.info.gz
/usr/share/info/emacs-mime.info.gz
/usr/share/info/emacs.info.gz
/usr/share/info/epa.info.gz
/usr/share/info/erc.info.gz
/usr/share/info/ert.info.gz
/usr/share/info/eshell.info.gz
/usr/share/info/eudc.info.gz
/usr/share/info/flymake.info.gz
/usr/share/info/forms.info.gz
/usr/share/info/gnus.info.gz
/usr/share/info/htmlfontify.info.gz
/usr/share/info/idlwave.info.gz
/usr/share/info/info.gz
/usr/share/info/mairix-el.info.gz
/usr/share/info/message.info.gz
/usr/share/info/mh-e.info.gz
/usr/share/info/newsticker.info.gz
/usr/share/info/nxml-mode.info.gz
/usr/share/info/org.info.gz
/usr/share/info/pcl-cvs.info.gz
/usr/share/info/pgg.info.gz
/usr/share/info/rcirc.info.gz
/usr/share/info/reftex.info.gz
/usr/share/info/remember.info.gz
/usr/share/info/sasl.info.gz
/usr/share/info/sc.info.gz
/usr/share/info/semantic.info.gz
/usr/share/info/ses.info.gz
/usr/share/info/sieve.info.gz
/usr/share/info/smtpmail.info.gz
/usr/share/info/speedbar.info.gz
/usr/share/info/srecode.info.gz
/usr/share/info/tramp.info.gz
/usr/share/info/url.info.gz
/usr/share/info/vip.info.gz
/usr/share/info/viper.info.gz
/usr/share/info/widget.info.gz
/usr/share/info/wisent.info.gz
/usr/share/info/woman.info.gz
/usr/share/man/man1/ebrowse.1.gz
/usr/share/man/man1/emacs.1.gz
/usr/share/man/man1/emacsclient.1.gz
/usr/share/man/man1/etags.emacs.1.gz
/usr/share/man/man1/gctags.1.gz
/usr/share/man/man1/grep-changelog.1.gz
phracek@kiasportyw: ~/work/Fedora/emacs (master %)$ 

I saw all info files.
info.info.gz has conflicts with info.info.gz file from info package
phracek@kiasportyw: ~/work/Fedora/emacs (master %)$ rpm -qf /usr/share/info/info.info.gz 
info-5.1-4.fc20.x86_64
phracek@kiasportyw: ~/work/Fedora/emacs (master %)$ 

There was already discussion about that and therefore info.gz is installed by emacs and info.info.gz is installed by info package.

Comment 2 Tom Horsley 2014-02-12 12:13:21 UTC
Did you read the description at all? The files may be on disk, but they are not installed in the info 'dir' file by the postinstall script. Try running 'info' and search for the emacs manual in the info dir on a fresh f20 with emacs installed.

Comment 3 Miroslav Puda 2014-02-15 18:48:46 UTC
Hello, I have same problem.

This is all I have in info Top directory for Emacs:

...
* Menu:

Emacs
* flycheck: (flycheck.info).    On the fly syntax checking (aka "flymake done 
                                  right").
* Haskell Mode: (haskell-mode). Haskell Development Environment for Emacs(en)
* IDN Library: (libidn)Emacs API.
                                Emacs API for IDN functions.

Archiving:
...

(flycheck installed from Emacs package system, haskell-mode from yum)

There is no link to Emacs info page (both in Emacs info mode and info program). I can open Emacs info manual using "M-x info-emacs-manual" function and from that I can go back to info Top directory but links to Emacs info pages are still missing.

Comment 4 Miroslav Puda 2014-02-15 21:54:03 UTC
I've used:
# cd /usr/share/info && for f in `ls *.gz`; do /sbin/install-info $f dir; done

(after making backup of /usr/share/info/dir)

Comment 5 Petr Hracek 2014-04-18 11:56:07 UTC
scm-commit for this bug (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140414/1226866.html) -> switch to MODIFIED

Comment 6 Fedora Update System 2014-04-18 13:46:31 UTC
emacs-24.3-16.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/emacs-24.3-16.fc20

Comment 7 Fedora Update System 2014-04-20 01:24:10 UTC
Package emacs-24.3-16.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing emacs-24.3-16.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-5360/emacs-24.3-16.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-04-23 04:36:31 UTC
emacs-24.3-16.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.