Bug#352569: fmtutil: Error. Apparent jadetex involvement. packages left unconfigured.

2006-02-13 Thread Frank Küster
Ross Boylan [EMAIL PROTECTED] wrote:

 On Sun, Feb 12, 2006 at 09:40:52PM +0100, Frank Küster wrote:
 Ross Boylan [EMAIL PROTECTED] wrote:
 
  This is a summary of all `failed' messages and warnings:
  `etex -ini  -jobname=jadetex -progname=jadetex latex jadetex.ini' failed
  `pdfetex -ini  -jobname=pdfjadetex -progname=pdfjadetex pdflatex 
  pdfjadetex.ini' failed
 
  fmtutil failed. Output has been stored in
  /tmp/tetex.postinst.XX1fljEc
 [...]
  fmtutil: running `etex -ini   -jobname=jadetex -progname=jadetex latex 
  jadetex.ini' ...
  This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX)
  (Fatal format file error; I'm stymied)

It's the same problem already discussed earlier:  fmtutil generates the
formats in a temporary directory, but the ones in /var/lib/texmf are
still in the path, and before the newly generated ones.

I don't even remember in which bug we discussed it (probably it was in
connection with jadetex), but does anybody remember any serious
arguments against the quick-and-dirty solution of removing the old
formats in /var/lib/texmf/web2c?

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




Bug#352569: fmtutil: Error. Apparent jadetex involvement. packages left unconfigured.

2006-02-13 Thread Norbert Preining
On Mon, 13 Feb 2006, Frank Küster wrote:
   `pdfetex -ini  -jobname=pdfjadetex -progname=pdfjadetex pdflatex 
   pdfjadetex.ini' failed
 
 It's the same problem already discussed earlier:  fmtutil generates the
 formats in a temporary directory, but the ones in /var/lib/texmf are
 still in the path, and before the newly generated ones.
 
 I don't even remember in which bug we discussed it (probably it was in
 connection with jadetex), but does anybody remember any serious
 arguments against the quick-and-dirty solution of removing the old
 formats in /var/lib/texmf/web2c?

Prior to calling 
fmtutil-sys --all
I would say that this is ok.

BTW: Same bug is present an filed against texlive.

Best wishes

Norbert

---
Dr. Norbert Preining preining AT logic DOT at Università di Siena
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
SLUMBAY (n.)
The cigarette end someone discovers in the mouthful of lager they have
just swigged from a can at the end of party.
--- Douglas Adams, The Meaning of Liff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#352569: fmtutil: Error. Apparent jadetex involvement. packages left unconfigured.

2006-02-13 Thread Norbert Preining
On Mon, 13 Feb 2006, Frank Küster wrote:
   `etex -ini  -jobname=jadetex -progname=jadetex latex jadetex.ini' failed
   `pdfetex -ini  -jobname=pdfjadetex -progname=pdfjadetex pdflatex 
   pdfjadetex.ini' failed
  
 
 I don't even remember in which bug we discussed it (probably it was in
 connection with jadetex), but does anybody remember any serious
 arguments against the quick-and-dirty solution of removing the old
 formats in /var/lib/texmf/web2c?

Another suggestion: Only remove the latex and pdflatex format files.
This really is only a problem with jadetex as it uses the latex format
in its initialization.

Best wishes

Norbert

---
Dr. Norbert Preining preining AT logic DOT at Università di Siena
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
MELTON CONSTABLE (n.)
A patent anti-wrinkle cream which policemen wear to keep themselves
looking young.
--- Douglas Adams, The Meaning of Liff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#352569: fmtutil: Error. Apparent jadetex involvement. packages left unconfigured.

2006-02-13 Thread Norbert Preining
On Mon, 13 Feb 2006, Norbert Preining wrote:
  I don't even remember in which bug we discussed it (probably it was in
  connection with jadetex), but does anybody remember any serious
  arguments against the quick-and-dirty solution of removing the old
  formats in /var/lib/texmf/web2c?
 
 Another suggestion: Only remove the latex and pdflatex format files.
 This really is only a problem with jadetex as it uses the latex format
 in its initialization.

texlive packages now call
rm -f /var/lib/texmf/{latex,pdflatex}.{fmt,log}
before calling fmtutil-sys --all.

Best wishes

Norbert

---
Dr. Norbert Preining preining AT logic DOT at Università di Siena
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
SPOFFORTH (vb.)
To tidy up a room before the cleaning lady arrives.
--- Douglas Adams, The Meaning of Liff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#352569: fmtutil: Error. Apparent jadetex involvement. packages left unconfigured.

2006-02-12 Thread Frank Küster
Ross Boylan [EMAIL PROTECTED] wrote:

 This is a summary of all `failed' messages and warnings:
 `etex -ini  -jobname=jadetex -progname=jadetex latex jadetex.ini' failed
 `pdfetex -ini  -jobname=pdfjadetex -progname=pdfjadetex pdflatex 
 pdfjadetex.ini' failed

 fmtutil failed. Output has been stored in
 /tmp/tetex.postinst.XX1fljEc
[...]
 fmtutil: running `etex -ini   -jobname=jadetex -progname=jadetex latex 
 jadetex.ini' ...
 This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX)
 (Fatal format file error; I'm stymied)

This is strange, since this should read the same format file as latex
before, and therefore has no reason to fail.

What is the output of the following command, called as root (or exactly,
after getting root the same way you used for updating):

kpsewhich --progname=jadetex --format=texpool pdfetex.pool   

If it is *not* /usr/share/texmf/web2c/pdfetex.pool, we know what causes
the problem.  If it gives this file as output, please save the attached
file as /usr/local/bin/fmtutil-sys, make it executable and check
whether it is actually called (using which fmtutil-sys, you may need
to open a new shell for that to work).

Then call 

fmtutil-sys --byfmt=jadetex 21 | tee jadetex.log

and send us the resulting file jadetex.log.

Regards, Frank#!/bin/sh

# fmtutil-sys: Thomas Esser, public domain.

# wrapper script for fmtutil with TEXMFVAR and TEXMFCONFIG set to
#   TEXMFSYSVAR / TEXMFSYSCONFIG

test -f /bin/ksh  test -z $RUNNING_KSH \
   { UNAMES=`uname -s`; test x$UNAMES = xULTRIX; } 2/dev/null \
   { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+$@}; }
unset RUNNING_KSH

test -f /bin/bsh  test -z $RUNNING_BSH \
   { UNAMES=`uname -s`; test x$UNAMES = xAIX; } 2/dev/null \
   { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+$@}; }
unset RUNNING_BSH

# hack around a bug in zsh:
test -n ${ZSH_VERSION+set}  alias -g '${1+$@}'='$@'

v=`kpsewhich -var-value TEXMFSYSVAR`
c=`kpsewhich -var-value TEXMFSYSCONFIG`

TEXMFVAR=$v
TEXMFCONFIG=$c
RUNNING_AS_SYS=true
export TEXMFVAR TEXMFCONFIG RUNNING_AS_SYS

case $argv0 in
  mktexfmt|*/mktexfmt)
exec sh -x mktexfmt ${1+$@} ;;
  *)
exec sh -x fmtutil ${1+$@} ;;
esac

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


Bug#352569: fmtutil: Error. Apparent jadetex involvement. packages left unconfigured.

2006-02-12 Thread Frank Küster
Ross Boylan [EMAIL PROTECTED] wrote:

 Any info on whether my tetex system is safe to use, and work-arounds
 if it is not, would be great.  Thanks.

I'm pretty sure that everything but jadetex is fine.  But safe it is,
anyway - it will never destroy any input files, will it?

More to the problem follows.

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




Bug#352569: fmtutil: Error. Apparent jadetex involvement. packages left unconfigured.

2006-02-12 Thread Ross Boylan
On Sun, Feb 12, 2006 at 09:40:52PM +0100, Frank Küster wrote:
 Ross Boylan [EMAIL PROTECTED] wrote:
 
  This is a summary of all `failed' messages and warnings:
  `etex -ini  -jobname=jadetex -progname=jadetex latex jadetex.ini' failed
  `pdfetex -ini  -jobname=pdfjadetex -progname=pdfjadetex pdflatex 
  pdfjadetex.ini' failed
 
  fmtutil failed. Output has been stored in
  /tmp/tetex.postinst.XX1fljEc
 [...]
  fmtutil: running `etex -ini   -jobname=jadetex -progname=jadetex latex 
  jadetex.ini' ...
  This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX)
  (Fatal format file error; I'm stymied)
 
 This is strange, since this should read the same format file as latex
 before, and therefore has no reason to fail.
 
 What is the output of the following command, called as root (or exactly,
 after getting root the same way you used for updating):
 
 kpsewhich --progname=jadetex --format=texpool pdfetex.pool   
 
# kpsewhich --progname=jadetex --format=texpool pdfetex.pool
/usr/share/texmf/web2c/pdfetex.pool
So that's OK.

 If it is *not* /usr/share/texmf/web2c/pdfetex.pool, we know what causes
 the problem.  If it gives this file as output, please save the attached
 file as /usr/local/bin/fmtutil-sys, make it executable and check
 whether it is actually called (using which fmtutil-sys, you may need
 to open a new shell for that to work).
Done.
 
 Then call 
 
 fmtutil-sys --byfmt=jadetex 21 | tee jadetex.log
 
 and send us the resulting file jadetex.log.
 
I've attached jadetex.log.
+ test -f /bin/ksh
+ unset RUNNING_KSH
+ test -f /bin/bsh
+ unset RUNNING_BSH
+ test -n ''
+ argv0=fmtutil
+ export argv0
++ basename fmtutil
+ progname=fmtutil
+ version=1105809354
+ cnf=fmtutil.cnf
++ id -u
+ '[' 0 -eq 0 ']'
+ '[' --byfmt=jadetex = --root-home ']'
+ '[' -z true ']'
+ main --byfmt=jadetex
+ destdir=
+ cnf_file=
+ cmd=
+ needsCleanup=false
+ need_find_hyphenfile=false
+ cfgparam=
+ cfgmaint=
+ tmpdir=/tmp/fmtutil.5506
+ verboseFlag=true
+ mktexfmtMode=false
+ case $argv0 in
+ case $1 in
+ cmd=byfmt
++ echo --byfmt=jadetex
++ sed s/--byfmt=//
+ arg=jadetex
+ shift
+ test 0 -gt 0
+ case $1 in
+ break
+ case $cmd in
+ test -n ''
+ test -n ''
+ test -z ''
++ tcfmgr --cmd find --file fmtutil.cnf
++ initTexmfMain
++ case $MT_TEXMFMAIN in
+++ kpsewhich --var-value=TEXMFMAIN
++ MT_TEXMFMAIN=/usr/share/texmf
++ export MT_TEXMFMAIN
++ /usr/share/texmf/texconfig/tcfmgr --cmd find --file fmtutil.cnf
+ cnf_file=/var/lib/texmf/web2c/fmtutil.cnf
+ test -f /var/lib/texmf/web2c/fmtutil.cnf
+ case $cmd in
+ test -n ''
+ test -z ''
++ kpsewhich -var-value=TEXMFVAR
+ : /var/lib/texmf
+ destdir=/var/lib/texmf/web2c
+ test -d /var/lib/texmf/web2c
+ test -d /var/lib/texmf/web2c
+ test -w /var/lib/texmf/web2c
++ pwd
+ thisdir=/usr/local/rootlog
+ : /usr/local/rootlog
+ export KPSE_DOT
+ TEXINPUTS=/tmp/fmtutil.5506:
+ export TEXINPUTS
+ setupTmpDir
+ false
+ trap cleanup 1 2 3 7 13 15
+ needsCleanup=true
+ umask 077
+ mkdir /tmp/fmtutil.5506
+ cd /tmp/fmtutil.5506
+ case $destdir in
+ case $cnf_file in
+ cache_vars
++ kpsewhich '--expand-var=$VARTEXFONTS'
++ sed 's%^!!%%'
+ : /var/cache/fonts
++ kpsewhich '--format=web2c files' mktexnam
+ : /usr/share/texmf/web2c/mktexnam
++ kpsewhich '--format=web2c files' mktexnam.opt
+ : /usr/share/texmf/web2c/mktexnam.opt
++ kpsewhich '--format=web2c files' mktexdir
+ : /usr/share/texmf/web2c/mktexdir
++ kpsewhich '--format=web2c files' mktexdir.opt
+ : /usr/share/texmf/web2c/mktexdir.opt
++ kpsewhich '--format=web2c files' mktexupd
+ : /usr/share/texmf/web2c/mktexupd
++ kpsewhich '--format=web2c files' mktex.cnf
+ : /usr/share/texmf-tetex/web2c/mktex.cnf
++ kpsewhich '--format=web2c files' mktex.opt
+ : /usr/share/texmf/web2c/mktex.opt
+ export MT_VARTEXFONTS MT_MKTEXNAM MT_MKTEXNAM_OPT MT_MKTEXDIR
+ export MT_MKTEXDIR_OPT MT_MKTEXUPD MT_MKTEX_CNF MT_MKTEX_OPT
+ init_log_failure
+ log_failure_msg=
+ has_errors=false
+ case $cmd in
+ create_one_format jadetex
+ fmtname=jadetex
+ find_info_for_name jadetex
+ format=jadetex
++ egrep '^jadetex( |   )' /var/lib/texmf/web2c/fmtutil.cnf
++ sed q
+ set x jadetex etex language.dat 'latex' jadetex.ini
+ shift
+ test 5 = 0
+ parse_line jadetex etex language.dat 'latex' jadetex.ini
+ case $1 in
+ disabled=false
+ format=jadetex
+ engine=etex
+ hyphenation=language.dat
+ shift
+ shift
+ shift
+ pool=
+ tcx=
+ case $1 in
+ texargs='latex jadetex.ini'
+ eval 'lastarg=$2'
++ lastarg=jadetex.ini
++ echo jadetex.ini
++ sed 's%^\*%%'
+ inifile=jadetex.ini
+ case $engine in
+ fmtfile=jadetex.fmt
+ kpsefmt=tex
+ kpsewhich -progname=jadetex -format=tex jadetex.ini
+ run_initex
+ rm -f '*.pool'
+ poolfile=
+ tcxflag=
+ test -n ''
+ test -n ''
+ localpool=false
+ jobswitch=-jobname=jadetex
+ case $format in
+ prgswitch=-progname=jadetex
+ rm -f jadetex.fmt
+ verboseMsg 'fmtutil: running `etex -ini   -jobname=jadetex -progname=jadetex 
latex jadetex.ini'\'' ...'
+ true
+ verbose echo 'fmtutil: running `etex -ini   -jobname=jadetex 
-progname=jadetex latex