Bug#562497: texlive-font-utils: epstopdf --filter: Cannot open standard input
Package: texlive-font-utils
Version: 2009-5
Severity: important
Tags: patch
I tried to use the "epstopdf --filter" which should read an EPS file
from stdin and write a PDF to stdout. With the lenny version from
texlive-extra-utils 2007.dfsg.2-4+lenny1 this worked without
problems, but with the current version from sid I get the following
error message:
$ epstopdf --filter < x.eps > x.pdf
epstopdf ($Id: epstopdf.pl 15843 2009-10-19 23:14:41Z karl $) 2.11
!!! Error: Cannot open standard input
As far as I can see, the --filter option seems to be completely broken
at the moment, which triggered Bug #562364 in transfig :-(
I compared the code and found out that there was a minimal change in
the input handling, which seems to cause this problem. The attached
patch reverts this change and solves the problem to me.
I hope that someone can solve this problem soon, otherwise I have to
implement a workaround using a temp file for the above mentioned
transfig bug, which I'd like to avoid.
Ciao
Roland
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages texlive-font-utils depends on:
ii dpkg 1.15.5.5 Debian package management system
ii tex-common 2.03 common infrastructure for building
ii texlive-base 2009-5 TeX Live: Essential programs and f
ii texlive-binaries 2009-4 Binaries for TeX Live
ii texlive-common 2009-5 TeX Live: Base component
texlive-font-utils recommends no packages.
Versions of packages texlive-font-utils suggests:
pn psutils <none> (no description available)
pn t1utils <none> (no description available)
Versions of packages tex-common depends on:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii dpkg 1.15.5.5 Debian package management system
ii ucf 3.0025 Update Configuration File: preserv
Versions of packages texlive-font-utils is related to:
pn tetex-base <none> (no description available)
pn tetex-bin <none> (no description available)
pn tetex-extra <none> (no description available)
--- epstopdf~ 2009-12-24 23:48:27.000000000 +0100
+++ epstopdf 2009-12-24 23:48:41.000000000 +0100
@@ -367,7 +367,7 @@
### emacs-page
### open input file
-open(IN, '<', $InputFilename) or error "Cannot open",
+open(IN, "<$InputFilename") or error "Cannot open",
($::opt_filter) ? "standard input" : "\"$InputFilename\": $!";
binmode IN;
Reply to: