Hi, 

On Fri, Apr 13, 2007 at 05:20:26PM +0200, Frank Küster wrote:
> Bruce MacDonald <[EMAIL PROTECTED]> 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.

The context package was installed as a dependency when I upgraded. I
don't use context so hadn't looked at it before it came in as a
dependency from texlive. I can remove it by removing the texlive
metapackage. My system is ordinary debian unstable; has been going for
about three years.
> 
> 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: 

plain.mem is a link to a nonexistent mpost.mem

$ ls -l /var/lib/texmf/web2c/plain.mem
lrwxrwxrwx 1 root root 9 Mar 18  2004 /var/lib/texmf/web2c/plain.mem -> 
mpost.mem

> 
> > 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

Yes; here are the directory contents:

$ ls -l /var/lib/texmf/web2c
total 12736
-rw-r--r-- 1 root root  344826 Apr 11 16:57 aleph.fmt
-rw-r--r-- 1 root root    2575 Apr 11 16:57 aleph.log
-rw-r--r-- 1 root root 5308859 Apr 11 16:57 cont-en.fmt
-rw-r--r-- 1 root root   37267 Apr 11 16:57 cont-en.log
-rw-r--r-- 1 root root    9958 Oct  5  2005 elatex.log
-rw-r--r-- 1 root root  290175 Apr 11 16:57 etex.fmt
-rw-r--r-- 1 root root    3790 Apr 11 16:57 etex.log
-rw-r--r-- 1 root root    5387 Apr 14 00:29 fmtutil.cnf
-rw-r--r-- 1 root root 1980573 Apr 11 16:57 latex.fmt
-rw-r--r-- 1 root root   15789 Apr 11 16:57 latex.log
drwxr-xr-x 2 root root    4096 Apr 13 16:07 metafont/
-rw-r--r-- 1 root root    1389 Apr 14 00:29 metafun.log
-rw-r--r-- 1 root root  481444 Apr 14 00:29 metafun.mem
drwxr-xr-x 2 root root    4096 Apr 13 16:07 metapost/
-rw-r--r-- 1 root root  155116 Apr 11 16:57 mf.base
-rw-r--r-- 1 root root     797 Apr 11 16:57 mf.log
lrwxrwxrwx 1 root root       7 Mar 19  2004 mf-nowin.base -> mf.base
-rw-r--r-- 1 root root     738 Mar 18  2004 mfw.log
-rw-r--r-- 1 root root  225950 Apr 11 16:57 mptopdf.fmt
-rw-r--r-- 1 root root    3739 Apr 11 16:57 mptopdf.log
-rw-r--r-- 1 root root 1189914 Apr 11 16:57 omega.fmt
-rw-r--r-- 1 root root    3176 Apr 11 16:57 omega.log
-rw-r--r-- 1 root root    9981 Oct  5  2005 pdfelatex.log
lrwxrwxrwx 1 root root       6 Apr 13 14:26 pdfetex -> pdftex/
-rw-r--r-- 1 root root  290209 Apr 11 16:57 pdfetex.fmt
-rw-r--r-- 1 root root    3802 Apr 11 16:57 pdfetex.log
-rw-r--r-- 1 root root 1980608 Apr 11 16:57 pdflatex.fmt
-rw-r--r-- 1 root root   15801 Apr 11 16:57 pdflatex.log
drwxr-xr-x 2 root root    4096 Apr 14 00:29 pdftex/
-rw-r--r-- 1 root root  260771 Apr 11 16:57 pdftex.fmt
-rw-r--r-- 1 root root    2608 Apr 11 16:57 pdftex.log
lrwxrwxrwx 1 root root       7 Mar 18  2004 plain.base -> mf.base
lrwxrwxrwx 1 root root       9 Mar 18  2004 plain.mem -> mpost.mem
drwxr-xr-x 2 root root    4096 Apr 13 16:07 tex/
-rw-r--r-- 1 root root  247167 Apr 11 16:57 tex.fmt
-rw-r--r-- 1 root root    2496 Apr 11 16:57 tex.log
-rw-r--r-- 1 root root    8529 Apr 14 00:29 updmap.cfg
-rw-r--r-- 1 root root    8507 Apr 13 23:00 updmap.log
-rw-r--r-- 1 root root   14713 Apr 11 16:58 updmap-sys.log

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

The result is:

TEXFORMATS = .;$TEXMF/web2c/{$engine,}//
MFBASES = .;$TEXMF/web2c/{$engine,}//
MPMEMS = .;$TEXMF/web2c/{$engine,}//

> 
> > /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.

Sorry I have no understanding of this; I'll try get some.

Regards, Bruce

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

Reply via email to