Bug 1415301

Summary: repstopdf returning "Option forbidden in restricted mode: --device"
Product: [Fedora] Fedora Reporter: Daniel Bristot de Oliveira <daolivei>
Component: texliveAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 25CC: jan.vesely, tcallawa, than, TicoTimo, tom
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: texlive-2016-32.20160520.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-26 01:38:01 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 Daniel Bristot de Oliveira 2017-01-20 19:53:21 UTC
Description of problem:

repstopdf always return the following error:

$ repstopdf --outfile=img/001_what_is_rt-eps-converted-to.pdf img/001_what_is_rt.eps
epstopdf ($Id: epstopdf.pl 41287 2016-05-28 18:09:45Z karl $) 2.24
!!! Error: Option forbidden in restricted mode: --device

Version-Release number of selected component (if applicable):
texlive-epstopdf-svn41388-30.fc25.noarch

How reproducible:
Always

Steps to Reproduce:
1. Try to convert an eps to pdf - like, the most basic feature!

Actual results:
epstopdf ($Id: epstopdf.pl 41287 2016-05-28 18:09:45Z karl $) 2.24
!!! Error: Option forbidden in restricted mode: --device

Expected results:
Converting the eps to pdf.

Additional info:
The latest version works fine. I got it from here:
ftp://ctan.tug.org/tex-archive/support/epstopdf/epstopdf.pl
and substituted the file provided with the package.

Easy! that is the second time I file BZ against texlive, the first was not fixed...

Comment 1 Thomas Lake 2017-02-04 17:24:23 UTC
+1
Same problem, and updating the script to the one from CTAN works as a fix.

Comment 2 Tim Orling 2017-02-18 08:12:49 UTC
Specifically:
  replace /usr/share/texlive/texmf-dist/scripts/epstopdf/epstopdf.pl
  with http://mirrors.ctan.org/support/epstopdf/epstopdf.pl

Comment 3 Fedora Update System 2017-02-22 03:21:04 UTC
texlive-2016-32.20160520.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b10c075994

Comment 4 Fedora Update System 2017-02-22 21:09:08 UTC
texlive-2016-32.20160520.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b10c075994

Comment 5 Fedora Update System 2017-02-26 01:38:01 UTC
texlive-2016-32.20160520.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Jan Vesely 2017-02-27 20:59:05 UTC
*** Bug 1399818 has been marked as a duplicate of this bug. ***