Bug 993255

Summary: texexec error out with /usr/share/texlive/texmf-dist/scripts/context/ruby/base/switch.rb:501: invalid multibyte escape: /\xFF/ (SyntaxError)
Product: [Fedora] Fedora Reporter: Rajeesh <rajeeshknambiar>
Component: texliveAssignee: Jindrich Novy <novyjindrich>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: novyjindrich, pertusus, rajeeshknambiar, than
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: texlive-2013-3.20131021_r31961.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-10 08:02:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rajeesh 2013-08-05 17:37:19 UTC
Description of problem:
Upgraded Fedora 18 (i686) system to Fedora 19 (i686) texlive packages. 'texexec' does not run anymore. Running 'texexec testfile.tex' errors out with following messages:
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:51:in `require': /usr/share/texlive/texmf-dist/scripts/context/ruby/base/switch.rb:501: invalid multibyte escape: /\xFF/ (SyntaxError)
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:51:in `require'
        from /usr/share/texlive/texmf-dist/scripts/context/ruby/texexec.rb:11:in `<main>'

Version-Release number of selected component (if applicable):
texlive-context-bin-svn29741.0-0.1.20130608_r30832.fc19.noarch
texlive-context-svn30044.0-0.1.fc19.noarch
texlive-2013-0.1.20130608_r30832.fc19.i686
rubygems-2.0.5-100.fc19.noarch
ruby-2.0.0.247-14.fc19.i686

How reproducible:
Always

Steps to Reproduce:
1. Run 'texexec testfile.tex'
2.
3.

Actual results:
texexec errors out

Expected results:
testfile.tex is compiled and pdf is created

Additional info:
/usr/bin/texexec seems to be missing path variables export compared to /usr/bin/context (adding them doesn't make any difference though).

export TEXMF=/usr/share/texlive/texmf-dist;
export TEXMFCNF=/usr/share/texlive/texmf-dist/web2c;
export TEXMFCACHE=/var/lib/texmf;

Comment 1 Fedora Update System 2013-10-17 10:54:49 UTC
texlive-2013-1.20131014_r31898.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/texlive-2013-1.20131014_r31898.fc20

Comment 2 Fedora Update System 2013-10-17 10:57:36 UTC
texlive-2013-1.20131014_r31898.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/texlive-2013-1.20131014_r31898.fc19

Comment 3 Fedora Update System 2013-10-17 20:25:28 UTC
Package texlive-2013-1.20131014_r31898.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing texlive-2013-1.20131014_r31898.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-19153/texlive-2013-1.20131014_r31898.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-11-10 08:02:40 UTC
texlive-2013-3.20131021_r31961.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.