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

Bug#418976: context configuration fails: no such file plain.mem



Bruce MacDonald <b.macdonald@auckland.ac.nz> wrote:

> Package: context
> Version: 2007.01.23-3
> Severity: normal
>
>
> When upgrading from tetex on unstable, which moves over to texlive,
> context would not configure. The error message is:
>
> /usr/share/texmf/scripts/context/ruby/base/tex.rb:553:in `mtime': No such file or directory - plain.mem (Errno::ENOENT)

So you didn't already have a context package installed, only the ConTeXt
from teTeX?  This upgrade "usually" works, so there's something special
on your system which our packages don't know about.

First of all, there is no file "plain.mem", and therefore tex.rb
shouldn't be looking for one.  The "plain mem" file which is reported
here: 

> from the log file:
>
> TeXExec | using search method 'kpsewhich'
> TeXExec | using existing database
> TeXExec | using mp engine mpost
> TeXExec | using mps format path /var/lib/texmf/web2c
> TeXExec | generating mps format metafun
> This is MetaPost, Version 0.993 (Web2C 7.5.6) (INIMP)
> (/usr/share/texmf/web2c/natural.tcx)
> (/usr/share/texmf/metapost/context/base/metafun.mp
> (/usr/share/texmf/metapost/context/base/mp-base.mp
> Preloading the plain mem file, version 0.63)

is actually just mp-base.mp, a copy of metapost's plain.mp.  Its format
dump is called mpost.mem, not plain.mem.

> TeXExec | 
> TeXExec | mps engine path: /var/lib/texmf/web2c
> TeXExec | 

I'm confused that metafun.mem ends up in /var/lib/texmf/web2c, not in
the pdftex subdir.  This is also the case on my system, however:

> TeXExec | tex: 11/04/2007 16:57:54 > /var/lib/texmf/web2c/aleph.fmt (344826)
> TeXExec | tex: 11/04/2007 16:57:56 > /var/lib/texmf/web2c/cont-en.fmt (5308859)
> TeXExec | tex: 11/04/2007 16:57:52 > /var/lib/texmf/web2c/etex.fmt (290175)
> TeXExec | tex: 11/04/2007 16:57:51 > /var/lib/texmf/web2c/tex.fmt (247167)
> TeXExec | tex: 11/04/2007 16:57:56 > /var/lib/texmf/web2c/mptopdf.fmt (225950)
> TeXExec | tex: 11/04/2007 16:57:53 > /var/lib/texmf/web2c/omega.fmt (1189914)
> TeXExec | tex: 11/04/2007 16:57:53 > /var/lib/texmf/web2c/pdfetex.fmt (290209)
> TeXExec | tex: 11/04/2007 16:57:52 > /var/lib/texmf/web2c/pdftex.fmt (260771)
> TeXExec | tex: 11/04/2007 16:57:52 > /var/lib/texmf/web2c/latex.fmt (1980573)
> TeXExec | tex: 11/04/2007 16:57:53 > /var/lib/texmf/web2c/pdflatex.fmt (1980608)
> TeXExec | mps: 13/04/2007 16:09:07 > /var/lib/texmf/web2c/metafun.mem (481444)

These files do not exist on my system, they are in the respective
subdirectories.  Are these files really there?  What's the output of

$ egrep '(^TEXFORMATS|^MFBASES|^MPMEMS)' /etc/texmf/texmf.cnf 

> /usr/share/texmf/scripts/context/ruby/base/tex.rb:553:in `mtime': No such file or directory - plain.mem (Errno::ENOENT)
> 	from /usr/share/texmf/scripts/context/ruby/base/tex.rb:553:in `filestate'
> 	from /usr/share/texmf/scripts/context/ruby/base/tex.rb:712:in `makeformats'
> 	from /usr/share/texmf/scripts/context/ruby/base/tex.rb:711:in `each'
> 	from /usr/share/texmf/scripts/context/ruby/base/tex.rb:711:in `makeformats'
> 	from /usr/share/texmf/scripts/context/ruby/base/tex.rb:706:in `each'
> 	from /usr/share/texmf/scripts/context/ruby/base/tex.rb:706:in `makeformats'
> 	from /usr/share/texmf/scripts/context/ruby/base/tex.rb:705:in `each'
> 	from /usr/share/texmf/scripts/context/ruby/base/tex.rb:705:in `makeformats'
> 	from /usr/share/texmf/scripts/context/ruby/texexec.rb:37:in `make'
> 	from /usr/share/texmf/scripts/context/ruby/base/switch.rb:133:in `send'
> 	from /usr/share/texmf/scripts/context/ruby/base/switch.rb:133:in `execute'
> 	from /usr/share/texmf/scripts/context/ruby/texexec.rb:772

I don't understand ruby and am really helpless here.

Regards, Frank
-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: