Bug 1192538
| Summary: | texinfo not reading all of /usr/share/info content | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | gpagnoni | |
| Component: | emacs | Assignee: | Petr Hracek <phracek> | |
| Status: | CLOSED ERRATA | QA Contact: | Marek Haicman <mhaicman> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 7.0 | CC: | hartsjc, ksrot, ovasik, vanhoof, vcrhonek | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | emacs-24.3-14.el7 | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
Info is not reading whole content of /usr/share/info
Consequence:
Some info files are missing by command `info`. Emacs info is missing.
Fix:
Emacs installs info files correctly.
Result:
All info menus are available again including emacs menu.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1193309 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-19 13:52:58 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: | ||||
| Bug Depends On: | 1223033 | |||
| Bug Blocks: | 1133060, 1193309 | |||
|
Description
gpagnoni
2015-02-13 16:15:19 UTC
Info doesn't read /usr/share/info content. When invoked without arguments, it shows content of /usr/share/info/dir file (show top-level dir menu). /sbin/install-info is used to update info/dir entries and packages have to call this command in post install scripts in order to make changes in the menu. E.g. # /sbin/install-info /usr/share/info/emacs.info.gz /usr/share/info/dir adds * Emacs: (emacs). The extensible self-documenting text editor. entry into the menu. The problem is in emacs-common post install script. It calls install-info with /usr/share/info/efaq-w32.info.gz which doesn't exist and the update of /usr/share/info/dir fails bacause of it. Thank you for the `info' :-) I'll just add manually the relevant info file to the dir file via install-info, for the time being. best giuseppe This was report to fedora in bz 1062792 # rpm -q emacs-common emacs-common-24.3-11.el7.x86_64 # rpm -q --scripts emacs-common | grep -A3 postinstall postinstall scriptlet (using /bin/sh): for f in ada-mode auth autotype bovine calc <snip> widget wisent woman; do /sbin/install-info /usr/share/info/$f /usr/share/info/dir 2> /dev/null || : done Example showing fir instance in above for loop where $f fails, but $f.info.gz works: # f=ada-mode ; /sbin/install-info /usr/share/info/$f /usr/share/info/dir install-info: No such file or directory for /usr/share/info/ada-mode # f=ada-mode ; /sbin/install-info /usr/share/info/$f.info.gz /usr/share/info/dir --- Assuming we can get an ACK for this on RHEL 7.2, will request z-stream for RHEL 7.1 Thanks for the bug, I will check why efaq-w32 was not removed from the list. Strange I have installed RHEL-7 server with emacs Package versions are: [root@localhost yum.repos.d]# rpm -q emacs-common emacs-common-24.3-11.el7.x86_64 [root@localhost yum.repos.d]# rpm -ql emacs-common | grep efaq /usr/share/info/efaq.info.gz [root@localhost yum.repos.d]# Where did you find efaq-w32.info.gz? But you are right, emacs.info is not visible in menu. (In reply to Petr Hracek from comment #10) > Strange I have installed RHEL-7 server with emacs > > Package versions are: > [root@localhost yum.repos.d]# rpm -q emacs-common > emacs-common-24.3-11.el7.x86_64 > [root@localhost yum.repos.d]# rpm -ql emacs-common | grep efaq > /usr/share/info/efaq.info.gz > [root@localhost yum.repos.d]# > > Where did you find efaq-w32.info.gz? That was from a RHEL 7.1 HTB system, wanted to make sure issue wasn't already fixed in RHEL 7.1 [root@rhel7-1 ~]# rpm -qf /usr/share/info/efaq.info.gz emacs-common-24.3-11.el7.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2434.html |