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

Bug#334613: tetex-bin: fmtutil-sys fails during package package setup



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

> The other part is that fmtutil seems to act this way:
>
> a) create a temporary directory
> b) create all formats in this directory
> c) move the formats to /var/lib/texmf/web2c
>
> If in b) there is a latex.fmt not only in the temporary directory, but
> also in /var/lib/texmf/web2c, it seems to take that one.  I still need
> to verify this.

In fact it was way more tricky.  Erasing the old formats helped
somewhat, but revealed an other issue.  In fmtutil-sys, we set progname
to fmtutil-sys, and *export* it.  On the other hand, formats are created
with lines like

pdfetex -progname=jadetex ...

and this progname switch propagates to the environment.  Therefore, if
"etex -progname=jadetex ... jadetex.ini" finds that latex.fmt does not
exist and calls fmtutil --byfmt=jadetex, progname is already set, and
the whole thing fails.

This is now tested once in a no-longer-clean chroot, and checked into
SVN on svn.debian.org.  If anybody has time to build packages, check
upgrades from sarge or etch (with jadetex installed), that would be
great, since I won't have time on Thursday.

If somebody even uploads the package, even better; although there are
some other DDs reading debian-tetex-maint, an NMU would be welcome.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Reply to: