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

Bug#313456: tetex-base: package configuration fails because of initex error



On 08.11.05 Marcin Owsiany (porridge@debian.org) wrote:
> On Mon, Nov 07, 2005 at 06:21:18PM +0100, Frank Küster wrote:

Hi,

> > So what can we do to further debug this?  You could do the
> > following: Save the attached file as /usr/local/sbin/fmtutil and
> > then run the necessary commands to trigger the bug - "dpkg
> > --configure -a" in the simplest case, or "apt-get install
> > tetex-bin", or whatever, but redirect the stdout and stderr to a
> > file (or copy it there), like this:
> > 
> > dpkg --configure -a 2>&1 | tee debug.log
> > 
> > There should be plenty of output, which is also in debug.log - please
> > send us this file.
> 
> This didn't work, for two reasons:
>  - you hardcode the path to fmtutil in the postinst
>  - you explicitly set PATH in the postinst not to include
> 
Yes, this is not really a good design, AFAIK. Policy 6.1. Dunno why
we do it.

>    /usr/local/*bin
> 
> However, since it's sufficient to run dpkg --postinst, I just
> edited my /usr/bin/fmtutil to include the -x in she-bang line, and
> got the attached output (typescript-with-custom-fmtutil-try-2).
> (Ran twice, the second time with LANG=C LC_ALL=C, because I wanted
> to test whether the locale affects the error).
> 
> Awaiting further instructions.
> 
Error: `pdftex -ini -translate-file=il2-pl -jobname=pdfmex-pl
-progname=pdfmex-pl pdfmex.ini' failed
Error: `pdfetex -ini -translate-file=il2-pl -jobname=pdfemex-pl
-progname=pdfemex-pl *pdfemex.ini' failed

You probably have uncommented the two lines for the polish
localization of TeX in your /etc/texmf/fmt.d/00tetex.cnf:

pdfmex-pl       pdftex          mexconf.tex     nls=pdftex-pl,il2-pl pdfmex.ini
pdfemex-pl              pdfetex         mexconf.tex nls=pdfetex-pl,il2-pl *pdfemex.ini

. When commenting them in and simply calling "update-fmtutil; fmtutil --missing"
fmtutil should stop with the error message:

fmtutil: attempting to create localized format using pool=pdftex-pl and tcx=il2-pl.
running `pdftex -ini  -translate-file=il2-pl -jobname=pdfmex-pl -progname=pdfmex-pl pdfmex.ini' ...
! pdftex.pool doesn't match; tangle me again (or fix the path).
Error: `pdftex -ini -translate-file=il2-pl -jobname=pdfmex-pl -progname=pdfmex-pl pdfmex.ini' failed

fmtutil: attempting to create localized format using pool=pdfetex-pl and tcx=il2-pl.
running `pdfetex -ini  -translate-file=il2-pl -jobname=pdfemex-pl -progname=pdfemex-pl *pdfemex.ini' ...
! pdfetex.pool doesn't match; tangle me again (or fix the path).
Error: `pdfetex -ini -translate-file=il2-pl -jobname=pdfemex-pl -progname=pdfemex-pl *pdfemex.ini' failed

(dunno, why it does not appear, when simply calling the command above
at the command line). Anyway. this is a bug we submitted to upstream
(TE). I'm not sure, if he has fixed it in teTeX 3.0, cause I could
not find it in the Changelog.

1. Simply not building the formats should solve your problem.
2. You could give teTeX 3.0 (from unstable) a try and report back, if
   the problem is solved there.

Especially the latter would be great.

Well, and very sorry for not noticing the earlier. The failing error
message was already visible in your initial logs.

Regards,
  Hilmar
-- 
sigmentation fault



Reply to: