Bug 641534 - A regex in the script texi2dvi incompatible with the latest version of egrep
Summary: A regex in the script texi2dvi incompatible with the latest version of egrep
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: texinfo
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-09 03:55 UTC by Suvayu
Modified: 2010-10-27 22:46 UTC (History)
3 users (show)

Fixed In Version: texinfo-4.13a-11.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-27 22:46:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Suvayu 2010-10-09 03:55:47 UTC
Description of problem:
The script /usr/bin/texinfo2dvi from the sub-package (texinfo-tex) uses a regex (line # 1686) which is incompatible with the latest version of egrep distributed with Fedora 13 (GNU grep 2.6.3 from grep-2.6.3-1.fc13). This leads to the the script failing when run in locales other than "C".

Version-Release number of selected component (if applicable):
texinfo-4.13a-10.fc13.src.rpm

How reproducible:
Always

Steps to Reproduce:
1. Create a basic TeX file
2. Run `texi2dvi -p -b -c -V texfile.tex'
3. The script will exit with an error
  
Actual results:
Script fails

Expected results:
Script successfully runs latex/pdflatex to generate desired document.

Additional info:
This is a know issue which is caused by a stricter checking by the new version of egrep. The regex in question actually checks for the full path of the file (including drive letters for windows systems). With the latest version of egrep this check results in an error message like this,

$ echo "$filename" | egrep '^(/|[A-z]:/)'
egrep: Invalid range end

This has been discussed and fixed upstream.[1] This change also breaks the latex to pdf export in the HEAD version of org-mode (GNU Emacs package).[2]

It would be really helpful if this could be fixed in the Fedora release of texinfo. Maybe as a Fedora patch if there is no new release of texinfo in the near future?

Thanks a lot.

Footnotes:
[1] http://lists.gnu.org/archive/html/bug-texinfo/2010-03/msg00031.html
    http://lists.gnu.org/archive/html/bug-texinfo/2010-10/msg00013.html
[2] http://thread.gmane.org/gmane.emacs.orgmode/30520

Comment 1 Fedora Update System 2010-10-11 13:35:25 UTC
texinfo-4.13a-11.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/texinfo-4.13a-11.fc13

Comment 2 Fedora Update System 2010-10-11 19:23:29 UTC
texinfo-4.13a-11.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update texinfo'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/texinfo-4.13a-11.fc13

Comment 3 Fedora Update System 2010-10-27 22:45:57 UTC
texinfo-4.13a-11.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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