Bug 641534

Summary: A regex in the script texi2dvi incompatible with the latest version of egrep
Product: [Fedora] Fedora Reporter: Suvayu <fatkasuvayu>
Component: texinfoAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: fatkasuvayu, pertusus, vcrhonek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: texinfo-4.13a-11.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-27 22:46:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.