Bug 1564522 - Calls gs with -dDELAYBIND which is no longer supported
Summary: Calls gs with -dDELAYBIND which is no longer supported
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pstoedit
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sebastian Kisela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-06 13:52 UTC by Florian Festi
Modified: 2018-07-25 08:27 UTC (History)
2 users (show)

Fixed In Version: 3.73-1.fc29.x86_64
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-25 08:27:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Example postscript file (82.71 KB, application/postscript)
2018-04-06 13:52 UTC, Florian Festi
no flags Details

Description Florian Festi 2018-04-06 13:52:51 UTC
Created attachment 1418172 [details]
Example postscript file

Description of problem:

Looks like ghostscript (gs) dropped support for the DELAYBIND param. Unfortunately pstoedit is still using it when calling /usr/bin/gs internally.

Version-Release number of selected component (if applicable):

pstoedit-3.70-8.fc27.x86_64
ghostscript-9.22-3.fc27.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Create post script file (Example here is part of a surrounding tool chain)
2. /usr/bin/pstoedit -flat 0.1 -f dxf:-mm /tmp/tmpf7jn7w5g /tmp/tmp1qh31dxi

Actual results:

pstoedit: version 3.70 / DLL interface 108 (built: Aug  4 2017 - release build - g++ 7.1.1 20170718 (Red Hat 7.1.1-6) - 64-bit) : Copyright (C) 1993 - 2014 Wolfgang Glunz

 *** WARNING - the DELAYBIND command has been deprecated, and will be
               removed in the next version. For now you can restore
               the behaviour by using -dREALLYDEALYBIND but if you
               require continued use of this command you should contact
               the Ghostscript developers. Commercial customers of
               Artifex should email their support contact, free users
               are encouraged to talk to us on the #ghostscript IRC
               channel on irc.freenode.net.

Unrecoverable error: undefined in DELAYBIND
PostScript/PDF Interpreter finished. Return status 65280 executed command : /usr/bin/gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS "/tmp/psinYz8amP"
The interpreter seems to have failed, cannot proceed !

Expected results:
Getting the ps file translated into DXF.

Additional info:

This used to work with previously. I suspect the update to  ghostscript 9.22 to be the culprit. Nevertheless this needs probably to be fixed in pstoedit to for in the future.

There is a Debian bug for the same issue https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880650

Comment 1 Sebastian Kisela 2018-04-10 09:56:38 UTC
Hi Florian,

thanks for the detailed report!

According to upstream changelog [1] this will be fixed in the next release, but the tarball has not yet been provided.

Also ghostscript is bringing back the DELAYBIND option according to its git log.

I believe this will be fixed soon.



[1] http://www.calvina.de/pstoedit/changelog.htm
[2] https://www.ghostscript.com/doc/9.23/History9.htm#Version9.22

Comment 2 Sebastian Kisela 2018-04-13 07:19:45 UTC
For now it might be enough to use ghostscript-9.23 from rawhide(or f28), where -DELAYBIND option is added back, thus the pstoedit mentioned call will success.


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