As reported at https://bugs.debian.org/939794 the 98rc2 prerelease of Ghostscript fails to process files containing /./ in the path. The first two commands below succeeds, but the third - differing only in path containing /./ - fails. jonas@auryn:~/test$ gs -sDEVICE=pgmraw -dEPSCrop -r1200 -dNOPAUSE -dBATCH -dQUIET -sOutputFile=a.pgm ghostscript/examples/tiger.eps jonas@auryn:~/test$ gs -sDEVICE=pgmraw -dEPSCrop -r1200 -dNOPAUSE -dBATCH -dQUIET -sOutputFile=a.pgm ./ghostscript/examples/tiger.eps jonas@auryn:~/test$ gs -sDEVICE=pgmraw -dEPSCrop -r1200 -dNOPAUSE -dBATCH -dQUIET -sOutputFile=a.pgm ././ghostscript/examples/tiger.eps Error: /undefinedfilename in (././ghostscript/examples/tiger.eps) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push Dictionary stack: --dict:731/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)-- Current allocation mode is local Last OS error: Permission denied GPL Ghostscript RELEASE CANDIDATE 2 9.28: Unrecoverable error, exit code 1
Fixed in: https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0350a0ab