Bug 1020194

Summary: m4: documentation not browesable with Emacs
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: m4Assignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: tromey, vcrhonek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: m4-1.4.16-8.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-03 10:32:09 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:

Description Florian Weimer 2013-10-17 09:09:45 UTC
Description of problem:

For some reason, the Emacs Info browser cannot locate the m4 documentation, although I can see files in /usr/share/info.

I haven't seen this with any other package-provided documentation, so I'll pretend it's m4's fault. :)

Version-Release number of selected component (if applicable):

m4-1.4.16-7.fc19.x86_64

How reproducible:

Always.

Steps to Reproduce:
1. Press `C-h i' in Emacs.
2. m4 documentation is not listed.

Comment 1 Tom Tromey 2013-11-08 19:11:22 UTC
The files are installed but they are not linked into
/usr/share/info/dir.  Ordinarily this linking is done by install-info.

From m4.spec:

%post                                                                           
if [ -f %{_infodir}/m4.info ]; then # --excludedocs?                            
    /sbin/install-info %{_infodir}/m4.info %{_infodir}/dir || :                 
fi                                                                              
                                                                                
%preun                                                                          
if [ "$1" = 0 ]; then                                                           
    if [ -f %{_infodir}/m4.info ]; then # --excludedocs?                        
        /sbin/install-info --delete %{_infodir}/m4.info %{_infodir}/dir || :    
    fi                                                                          
fi                                                                              


The bug here is that "m4.info" is not installed -- it is compressed
first:

barimba. rpm -qil m4 |fgrep .info
/usr/share/info/m4.info-1.gz
/usr/share/info/m4.info-2.gz
/usr/share/info/m4.info.gz


While you're there... I think the m4.info files aren't so large
that they require splitting.  IMO it's better to install a single
"m4.info.gz".

Comment 2 Fedora Update System 2013-11-12 11:58:35 UTC
m4-1.4.16-10.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/m4-1.4.16-10.fc20

Comment 3 Fedora Update System 2013-11-12 12:06:39 UTC
m4-1.4.16-8.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/m4-1.4.16-8.fc19

Comment 4 Vitezslav Crhonek 2013-11-12 12:14:02 UTC
Thanks for the report Florian.

> While you're there... I think the m4.info files aren't so large
> that they require splitting.  IMO it's better to install a single
> "m4.info.gz".

Tom, I don't disagree with you, but the split is done by upstream and I don't want to differ when it's not necessary.

Comment 5 Fedora Update System 2013-11-13 02:31:16 UTC
Package m4-1.4.16-8.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing m4-1.4.16-8.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-21221/m4-1.4.16-8.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-11-19 21:54:15 UTC
m4-1.4.16-10.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-12-03 10:32:09 UTC
m4-1.4.16-8.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.