Package: ghostscript Version: 9.20~dfsg-3.2+deb9u5 After upgrade from ghostscript 9.20~dfsg-3.2+deb9u2 to 9.20~dfsg-3.2+deb9u5, pstoedit with the option "-psarg -r9600x9600" no longer works. The following commands can be used to reproduce the issue:
$ cat test.tex \documentclass{article} \begin{document} text \end{document} $ pdflatex test.tex &> /dev/null $ pstoedit -f plot-svg test.pdf test.svg -psarg -r9600x9600 pstoedit: version 3.70 / DLL interface 108 (built: Oct 11 2016 - release build - g++ 6.2.1 20161215 - 64-bit) : Copyright (C) 1993 - 2014 Wolfgang Glunz Error: /undefined in --setpagedevice-- Operand stack: false --dict:1/1(L)-- --nostringval-- --dict:75/148(ro)(L)-- --dict:1/1(L)-- --dict:5/76(L)-- --dict:5/76(L)-- HWResolution Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1998 1 3 %oparray_pop 1997 1 3 %oparray_pop 1981 1 3 %oparray_pop 1868 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1961 1 3 %oparray_pop --nostringval-- Dictionary stack: --dict:1213/1684(ro)(G)-- --dict:0/20(G)-- --dict:297/300(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 85493 GPL Ghostscript 9.20: Unrecoverable error, exit code 1 PostScript/PDF Interpreter finished. Return status 256 executed command : /usr/bin/gs -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS -r9600x9600 "/tmp/psinSrgqgy" The interpreter seems to have failed, cannot proceed ! $ gs -v GPL Ghostscript 9.20 (2016-09-26) Copyright (C) 2016 Artifex Software, Inc. All rights reserved. joe@lenny ~/test $ dpkg -l ghostscript Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===================================-======================-======================-============================================================================ ii ghostscript 9.20~dfsg-3.2+deb9u5 amd64 interpreter for the PostScript language and for PDF $ After downgrading, the pstoedit command works as expected: $ cat test.tex \documentclass{article} \begin{document} text \end{document} $ pdflatex test.tex &> /dev/null $ pstoedit -f plot-svg test.pdf test.svg -psarg -r9600x9600 pstoedit: version 3.70 / DLL interface 108 (built: Oct 11 2016 - release build - g++ 6.2.1 20161215 - 64-bit) : Copyright (C) 1993 - 2014 Wolfgang Glunz libplot: cannot retrieve font "JQDFPK+CMR10", using default "Helvetica" $ gs -v GPL Ghostscript 9.20 (2016-09-26) Copyright (C) 2016 Artifex Software, Inc. All rights reserved. $ dpkg -l ghostscript Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===================================-======================-======================-============================================================================ ii ghostscript 9.20~dfsg-3.2+deb9u2 amd64 interpreter for the PostScript language and for PDF $ Downgrade was performed with apt install ghostscript=9.20~dfsg-3.2+deb9u2 libgs9=9.20~dfsg-3.2+deb9u2 libgs9-common=9.20~dfsg-3.2+deb9u2 As pstoedit works normally after downgrading ghostscript, I assume it is a regression in ghostscript. Could this be related to the regression fix mentioned in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908300 ? This is on Debian 9 with pstoedit 3.70-3+b2.