[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#240231: tetex-bin: mktextfm fails to create font



Frank Küster <frank@debian.org> schrieb:

> Gianluca Della Vedova <gianluca.dellavedova@unimib.it> schrieb:
>
>> $which mktexmf
>> mktexmf is /usr/bin/mktexmf
>> $readlink -f  /usr/bin/mktexmf
>> /usr/bin/mktexmf
>> $kpsewhich --format='web2c files' mktex.opt
>> /usr/share/texmf/web2c/mktex.opt
>> $readlink -f `kpsewhich --format='web2c files' mktex.opt`
>> /var/lib/texmf/web2c/mktex.opt
>
> That's exactly the files we distribute. It doesn't help - can you please
> post the contents of both?

No, that wasn't wrong. I misinterpreted the output you sent.

Could you repeat it with set -x, but without set -e? The problem with
set -e is

sauterroot=`kpsewhich b-$rootname.mf 2>/dev/null`
if test -n "$sauterroot"; then

We never get to the test, at least not if kpsewhich doesn't find what
was queried. But that problem occurred only in your debugging attempt -
without set -e it would call test and simply find out that $sauterroot
is empty. 

And I was confused because I forgot the trap - I only searched for the
next command line, "rc=1", _after_ the error. But in fact it is just the
command that is executed just before the "emergency exit" triggered by
"set -e".

In summary: Please do it again, with "set -x" only.

Ciao, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: