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

Re: pdflatex stymied after update to tetex-extra 2.0.2a-2



On 12.08.04 Osamu Aoki (osamu@debian.org) wrote:
> On Tue, Aug 10, 2004 at 07:25:38PM +0200, Hilmar Preusse wrote:
> > On 06.08.04 Osamu Aoki (osamu@debian.org) wrote:

Hello, 

> > > Transcript written on pdflatex.log.
> > > rm: cannot remove `/var/lib/texmf/web2c/pdflatex.log': Permission denied
> > > mv: cannot move `pdflatex.log' to `/var/lib/texmf/web2c/pdflatex.log': Permission denied
> > > rm: cannot remove `/var/lib/texmf/web2c/pdflatex.efmt': Permission denied
> > > mv: cannot move `pdflatex.efmt' to `/var/lib/texmf/web2c/pdflatex.efmt': Permission denied
> > > /usr/share/texmf/web2c/mktexupd: /var/lib/texmf/ls-R unwritable.
> > > I can't find the format file `pdflatex.efmt'!
> > > debiandoc2latexpdf: ERROR: hackdi.pdf could not be generated properly
> > > debiandoc2pdf: ERROR: hackdi.pdf could not be generated properly
> > > make: *** [hackdi.pdf] Error 1
> > > 
> > > Why user process try to write into such a directory in default
> > > install and create so much strange failure.
> > > 
> > Normally it has to be created during postinst. Unfortunately that
> > wasn't done. Please check if it could be #263840.
> > 
> > > I can still build debian-reference source to pdf which use the same
> > > tools.
> > > 
> > Sorry, I can't believe that. Using LaTeX on two different sources
> > should fail on both if the LaTeX format file is not built. Maybe
> > you're using plain TeX in one case?
> 
> Actually, it is both latex.
> 
> My build script for DR has been improved by someone else :)
> 
> This hack in Makefile:
> 
> export TEXMFCNF=texmf:
> ...
> # generate LaTeX format file with all necessary languages preloaded
> 
> # even if language.dat is in . it isn't found without setting TEXINPUTS
> # (. is always in path, so I do not understand this!)
> 
> latex.fmt: texmf/language.dat
>         TEXINPUTS=$$(pwd)/texmf/:$$(kpsetool -n tex -p tex) \
>         fmtutil --byfmt latex --fmtdir .
> 
> pdflatex.fmt: texmf/language.dat
>         TEXINPUTS=$$(pwd)/texmf/:$$(kpsetool -n pdftex -p tex) \
>         fmtutil --byfmt pdflatex --fmtdir .
> 
> # required by thumbpdf (called from debiandoc2latexpdf)
> pdftex.fmt: texmf/language.dat
>         TEXINPUTS=$$(pwd)/texmf/:$$(kpsetool -n pdftex -p tex) \
>         fmtutil --byfmt pdftex --fmtdir .
> 
> 
> and rest of complicated build script makes those files to be created in
> the build area instead under /var or /etc.
> 
> I will check more how :)
> 
As stated above the formats are created in . . So I don't know, why
you get the error message, that they couldn't be moved to /var. Is
this really the same story?

> For more, check out the source by:
> 
>  $ apt-get source debian-reference
> 
Will have a look at that.

Regards,
  Hilmar
-- 
New York is real.  The rest is done with mirrors.
  http://hilmarpreusse.forum-rheinland.de/



Reply to: