Bug#412107: texlive-base-bin: a2ping spits out alarming error although all is well
Package: texlive-base-bin
Version: 2005.dfsg.2-10
Severity: normal
File: /usr/bin/a2ping
Hi Peter,
I just discovered a2ping, which seems to be a good alternative to
epstopdf. However, I found some small glitches
$ a2ping bilder/5.3M-FCS-tauD.{eps,pdf}
Name "main::opt_extra" used only once: possible typo at /usr/bin/a2ping line 546.
Name "main::opt_help" used only once: possible typo at /usr/bin/a2ping line 534.
ESP Ghostscript 815.03: Unrecoverable error, exit code 1
Hm, this looks fatal - but in fact it's just a false alarm. Let's check
the details:
$ a2ping -v bilder/5.3M-FCS-tauD.{eps,pdf}
Name "main::opt_extra" used only once: possible typo at /usr/bin/a2ping line 546.
Name "main::opt_help" used only once: possible typo at /usr/bin/a2ping line 534.
a2ping.pl 2.77p, 2004-04-28 -- Written by <pts@fazekas.hu> from April 2003.
This is free software, GNU GPL >=2.0. There is NO WARRANTY.
(epstopdf 2.7 Copyright 1998-2001 by Sebastian Rahtz et al.)
* Strongest BoundingBox comment: %%HiResBoundingBox:
* Doing --PaperSize unchanged
* Output filename: bilder/5.3M-FCS-tauD.pdf
* Output FileFormat: PDF
* Ghostscript ps2pdf command: gs -dSAFER
* Compression: zip
* Input filename: bilder/5.3M-FCS-tauD.eps
* Scanning header for BoundingBox
* Applying BoundingBox from ADSC T-: 88 4 588 313
* Applying HiResBoundingBox from ADSC T-H: 88 4 588 313
* Final BoundingBox: 88 4 588 313
* Ghostscript ps2pdf pipe: gs -dSAFER -q -dBATCH -sDEVICE=pdfwrite -sOutputFile=bilder/5.3M-FCS-tauD.pdf -
* Ghostscript dup pipe: gs -dSAFER -dNODISPLAY -dBATCH -sFN=bilder/5.3M-FCS-tauD.pdf -q /tmp/a2ping_pl-17045-81116080-p.tgs
ESP Ghostscript 815.03: Unrecoverable error, exit code 1
* warning: gs failed to locate double /MediaBox
* Done OK, created PDF file bilder/5.3M-FCS-tauD.pdf (4974 bytes)
Aha, in fact nothing went wrong. I don't know the purpose of this
intermediate call, but it seems that at least its stderr should be
discarded.
- my $offset=`$gs2`;
+ my $offset=`$gs2 2>/dev/null`;
Furthermore, $opt_help and $opt_extra should either be used or removed...
Regards, Frank
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing'), (99, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages texlive-base-bin depends on:
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.6.ds1-11 GNU C Library: Shared libraries
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii libpoppler0c2 0.4.5-5.1 PDF rendering library
ii libx11-6 2:1.0.3-5 X11 client-side library
ii libxaw7 1:1.0.2-4 X11 Athena Widget library
ii libxmu6 1:1.0.2-2 X11 miscellaneous utility library
ii libxpm4 1:3.5.5-2 X11 pixmap library
ii libxt6 1:1.0.2-2 X11 toolkit intrinsics library
ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap
ii texlive-common 2005.dfsg.3-1 TeX Live: Base component
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages texlive-base-bin recommends:
ii perl-tk 1:804.027-7 Perl module providing the Tk graph
Versions of packages tex-common depends on:
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii ucf 2.0018.1 Update Configuration File: preserv
Versions of packages texlive-base-bin is related to:
pn tetex-base <none> (no description available)
pn tetex-bin <none> (no description available)
pn tetex-extra <none> (no description available)
-- debconf information:
tex-common/check_texmf_wrong:
tex-common/check_texmf_missing:
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: