RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1134160 - texinfo-5.1: @enumerate does not support start numbers ≥ 10
Summary: texinfo-5.1: @enumerate does not support start numbers ≥ 10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: texinfo
Version: 7.2
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Vitezslav Crhonek
QA Contact: Jan Kepler
URL:
Whiteboard:
Depends On:
Blocks: 1465906
TreeView+ depends on / blocked
 
Reported: 2014-08-27 02:42 UTC by Jackie Huang
Modified: 2018-04-10 14:44 UTC (History)
4 users (show)

Fixed In Version: texinfo-5.1-5.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 14:44:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0823 0 None None None 2018-04-10 14:44:17 UTC

Description Jackie Huang 2014-08-27 02:42:07 UTC
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 22:46:34 UTC
I think we're hitting this when trying to build python3-sphinx 1.2.3 for EPEL.

Comment 4 Orion Poplawski 2016-11-02 22:47:08 UTC
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 14:44:11 UTC
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.