Red Hat Bugzilla – Bug 1134160
texinfo-5.1: @enumerate does not support start numbers ≥ 10
Last modified: 2018-04-10 10:44:17 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.
I think we're hitting this when trying to build python3-sphinx 1.2.3 for EPEL.
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 << ----------------------
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