Bug 917974 - Texinfo 5 regression, with patch
Summary: Texinfo 5 regression, with patch
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: texinfo
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 914392
TreeView+ depends on / blocked
 
Reported: 2013-03-05 08:24 UTC by Mat Booth
Modified: 2013-03-05 14:09 UTC (History)
2 users (show)

Fixed In Version: texinfo-5.0-3.fc19
Clone Of:
Environment:
Last Closed: 2013-03-05 14:08:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patrice's patch. (873 bytes, patch)
2013-03-05 08:24 UTC, Mat Booth
no flags Details | Diff

Description Mat Booth 2013-03-05 08:24:50 UTC
Created attachment 705327 [details]
Patrice's patch.

Using texinfo-5.0-2.fc19.x86_64

When building the manual for the pp3 package, the call to makeinfo fails with the following message:

$ makeinfo --html --enable-encoding --no-split  pp3.texi
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
You found a bug: context rawpreformatted instead of line or def

Additional informations:
last location: pp3.texi:537
context_stack: (_root rawpreformatted rawpreformatted line rawpreformatted)
current: (misc_line_arg) :   contents(3)
 <- @cindex
Died at /usr/share/texinfo/Texinfo/Parser.pm line 1667.


Steps to Reproduce:
1. Install texinfo-5.0-2.fc19.x86_64
2. Create a "test.texi" file containing, on a single line:
@cindex @tex
3. Run "makeinfo --html --enable-encoding --no-split  test.texi"

This works fine with Texinfo 4, of course.

I have discussed this upstream: http://lists.gnu.org/archive/html/help-texinfo/2013-03/msg00001.html

And it appears that it is a bug in texinfo. I have attached a patch to fix the problem written by Patrice Dumas (pertusus). It has already been committed by Patrice in upstream's SVN r5220: http://svn.savannah.gnu.org/viewvc/trunk/tp/Texinfo/Parser.pm?root=texinfo&r1=5220&r2=5219&pathrev=5220

Comment 1 Vitezslav Crhonek 2013-03-05 14:09:39 UTC
Thanks for report. Should be fixed in texinfo-5.0-3.fc19.


Note You need to log in before you can comment on or make changes to this bug.