--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: gs-common: dumphint-script does not work and is missing man page
- From: Helge Kreutzmann <kreutzm@itp.uni-hannover.de>
- Date: Sun, 22 May 2005 15:05:04 +0200
- Message-id: <20050522130503.GC7622@itp.uni-hannover.de>
Package: gs-common
Version: 0.3.7
Severity: minor
I stumbled over "dumphint". Given that it has not man page (which it
should, c.f. Debian Policy), I wanted to write a man page. However, on
every pdf-file I tried (created by a variety of different programms)
it fails to work. For example, when I use a small drawing created by
xfig, I get:
helge@thirtyto:~$ dumphint /tmp/ifer-l.pdf
Error: /undefinedfilename in (dumphint.ps)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- --nostringval--
Dictionary stack:
--dict:1050/1123(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.01: Unrecoverable error, exit code 1
And the error seems to be the same every time I call dumphint.
When I reverse the last two arguments, i.e.,
gs -q -dNODISPLAY -dSAFER -dDELAYSAFER -- /tmp/ifer-l.pdf "dumphint.ps"
then gs suceeds:
helge@thirtyto:~$ echo $?
0
However, there is no output (file, stdout) at all. Running under strace,
I see that *all* files are opened O_RDONLY, hence nothing will be
written.
So either dumphint needs to be documented (if you give me some
information, I can write you a man page) and possibly fixed (as the
current syntax as suggested by the help output simply does not work)
or if nothing else requires
it, it should be removed. If it only has some internal use, then it
should IMHO not be in a user visible namespace (i.e., not in the
default path).
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.8
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages gs-common depends on:
ii debconf 1.4.30.13 Debian configuration management sy
ii debianutils 2.8.4 Miscellaneous utilities specific t
ii defoma 0.11.8-0.1 Debian Font Manager -- automatic f
ii gs 8.01-5 Transitional package
ii gs-gpl [gs] 8.01-5 The GPL Ghostscript PostScript int
ii gsfonts 8.14+v8.11+urw-0.2 Fonts for the Ghostscript interpre
-- no debconf information
--
Dr. Helge Kreutzmann, Dipl.-Phys. Helge.Kreutzmann@itp.uni-hannover.de
gpg signed mail preferred
64bit GNU powered http://www.itp.uni-hannover.de/~kreutzm
Help keep free software "libre": http://www.ffii.de/
--- End Message ---