Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1134160 - texinfo-5.1: @enumerate does not support start numbers ≥ 10
texinfo-5.1: @enumerate does not support start numbers ≥ 10
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: texinfo (Show other bugs)
7.2
All Linux
unspecified Severity unspecified
: rc
: ---
Assigned To: Vitezslav Crhonek
Jan Kepler
:
Depends On:
Blocks: 1465906
  Show dependency treegraph
 
Reported: 2014-08-26 22:42 EDT by Jackie Huang
Modified: 2018-04-10 10:44 EDT (History)
4 users (show)

See Also:
Fixed In Version: texinfo-5.1-5.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-10 10:44:11 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0823 None None None 2018-04-10 10:44 EDT

  None (edit)
Description Jackie Huang 2014-08-26 22:42:07 EDT
Description of problem:
when a document contains an @enumerate block
with start number ≥ 10, like:
 
    @enumerate 10
    @item Ten
    @item Eleven
    @end enumerate
 
makeinfo fails with “bad argument to @enumerate” error.


Version-Release number of selected component (if applicable):
texinfo-5.1-4.el7.x86_64
texinfo-5.1-1.fc19.x86_64

How reproducible:
Always.

Steps to Reproduce:
1.
$ cat <<EOF >> test.texi
> @enumerate 10
> @item Ten
> @item Eleven
> @end enumerate
> EOF

2.
$ makeinfo -o test.info test.texi
test.texi:1: bad argument to @enumerate


Actual results:
error: "test.texi:1: bad argument to @enumerate"

Expected results:
no error

Additional info:

It has been fixed upstream:
Revision: 5270
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5270
Author:   pertusus
Date:     2013-07-29 20:02:23 +0000 (Mon, 29 Jul 2013)
Log Message:
-----------
        * tp/Common.pm (enumerate_item_representation), Texinfo/Parser.pm:
        handle correctly @enumerate specification greater than 10.  Report
        from Dmitry Shachnev.
Comment 3 Orion Poplawski 2016-11-02 18:46:34 EDT
I think we're hitting this when trying to build python3-sphinx 1.2.3 for EPEL.
Comment 4 Orion Poplawski 2016-11-02 18:47:08 EDT
nose.proxy.AssertionError: makeinfo exited with return code 1
-------------------- >> begin captured stdout << ---------------------
b''
b'SphinxTests.texi:746: warning: @itemize has text but no @item\nSphinxTests.texi:863: warning: @geindex missing argument\nSphinxTests.texi:864: warning: @geindex missing argument\nSphinxTests.texi:2684: bad argument to @enumerate\n'

--------------------- >> end captured stdout << ----------------------
Comment 9 errata-xmlrpc 2018-04-10 10:44:11 EDT
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://access.redhat.com/errata/RHBA-2018:0823

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