[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1052652: ghostscript: eps2write fails on test file



Package: ghostscript
Version: 10.02.0~dfsg-2
Severity: important

Dear Maintainer,

upgrading ghostscript from 10.01.2~dfsg-1 to 10.02.0~dfsg-2 triggers a
regression in the testsuite of fig2dev.

I now stripped down the first test failure (testcase 17) to the
following problem:

Running
gs -dSAFER -sDEVICE=eps2write -sPageList=1 -o line.eps line.pdf
on 10.01.2~dfsg-1 (and older) versions works as expected, but fails
with the following output on 10.02.0~dfsg-2:

$ gs -dSAFER -sDEVICE=eps2write -sPageList=1 -o line.eps line.pdf
GPL Ghostscript 10.02.0 (2023-09-13)
Copyright (C) 2023 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
Error: /undefined in --runpdf--
Operand stack:   --nostringval--   1   (   **** Error: PDF interpreter encountered an error processing the file.\n)
Execution stack:   %interp_exit   .runexec2   --nostringval--   runpdf   --nostringval--   2   %stopped_push   --nostringval--   runpdf   runpdf   false   1   %stopped_push   1944   1   3   %oparray_pop   1943   1   3   %oparray_pop   1928   1   3   %oparray_pop   1929   1   3   %oparray_pop   runpdf
Dictionary stack:   --dict:752/1123(ro)(G)--   --dict:0/20(G)--   --dict:86/200(L)--   --dict:7/10(L)--
Current allocation mode is local
GPL Ghostscript 10.02.0: Unrecoverable error, exit code 1

Since I'm not deep enough in PostScript, I do not understand what this
error means nor how to fix it.

By trial-and-error I found out, that removing the option
"-sPageList=1" avoids the error, but this may result in other side
effects in fig2dev, since the above commend only wants to convert the
first page of the document.

Greetings
Roland

Attachment: line.pdf
Description: Adobe PDF document


Reply to: