Bug#221793: tetex-bin: xdvi fails on compressed files in read-only directory
On 20.11.03 Julian Gilbey (jdg@polya.uklinux.net) wrote:
> On Wed, Nov 19, 2003 at 10:56:28PM -0500, Chung-chieh Shan wrote:
Hello,
> >
> > The recent update to xdvi makes it impossible to use xdvi to view
> > a compressed dvi file in a read-only directory, such as LaTeX
> > package documentation.
>
> Works for me. Have you set TMPDIR to something weird?
>
<snip>
bash-2.05a$ mkdir t2
bash-2.05a$ gzip -9 l2kurz.dvi
bash-2.05a$ mv l2kurz.dvi.gz t2/
bash-2.05a$ chmod -w t2
bash-2.05a$ cp tmp/sarge/tetex/CVS/tetex-bin/debian/xdvi-pl .
bash-2.05a$ chmod 755 xdvi-pl
bash-2.05a$ ./xdvi-pl t2/l2kurz.dvi.gz
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+0/600 --dpi 600 tcss1000
mktexpk: Running gsftopk tcss1000 600
gsftopk(k) version 1.19gsftopk: fatal: tfm file `tcss1000' not found.
grep: tcss1000.log: No such file or directory
mktexpk: `gsftopk tcss1000 600' failed to make tcss1000.600pk.
kpathsea: Appending font creation commands to missfont.log.
xdvi.bin: can't find font tcss1000; using cmr10 instead at 600 dpi.
(This is something weird, but until now I was to lazy to solve it.)
bash-2.05a$ cd t2/
bash-2.05a$ ../xdvi-pl t2/l2kurz.dvi.gz
Error in tempfile() using tetexXXXXXX.dvi: Parent directory (.) is not writable
at ../xdvi-pl line 68
bash-2.05a$ echo $TMPDIR
bash-2.05a$
<snap>
Tested with perl 5.6.1 from Debian stable.
H.
--
sigmentation fault
Reply to: