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

Bug#265611: tetex-extra and fmtutil



jimmy@g-tec.co.at wrote:

> On Sun, Aug 15, 2004 at 11:41:32PM +0200, Hilmar Preusse wrote:
>> On 15.08.04 Andreas Gredler (jimmy@g-tec.co.at) wrote:
>> 
>> Hi,
>> 
>> > I'm writing you this personal mail because I don't want to discuss
>> > everything on the bug list(Long bug reports are hard to read, IMO)

Which is a good way to have your issues resolved much more slowly, and
for shutting out other people from valuable information. It also made it
harder to me to find your original bug report.

>> > What should I look for in /etc/texmf? VARTEXMF is not set there and
>> > I do not understand why I should look for it there. That file isn't
>> > sourced in the postinst script. Am I missing something?
>> > 
>> /usr/bin/fmtutil
>> 
>>   # if no cnf_file from command-line, look it up with kpsewhich:
>>   test -z "$cnf_file" && cnf_file=`kpsewhich --format='web2c files' $cnf`
>>   test -f "$cnf_file" || abort "config file \$cnf' not found"
>
> That's the information I was looking for in the man page :-(

You're welcome to submit a patch. Indeed I would suggest to add links to
the web2c and kpathsea info files, which of course contain this
information.

>> fmtutil wants to see fmtutil.cnf either to be given on command line or
>> to be found by kpsewhich. To make the latter possible the dir
>> /var/lib/texmf/ must be part of TEXMF (set in texmf.cnf). What does
>> egrep "^VARTEXMF|^TEXMF" /etc/texmf/texmf.cnf tell you?
>
> TEXMFMAIN = /usr/share/texmf
> TEXMFLOCAL = /usr/local/share/texmf
> TEXMFOLDLOCAL = /usr/local/lib/texmf
> TEXMF = {$HOMETEXMF,$TEXMFLOCAL,$TEXMFOLDLOCAL,!!$TEXMFMAIN}
> TEXMFDBS = $TEXMF;$VARTEXFONTS
> TEXMFCNF =
> {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c};$TETEXDIR;/usr/share/texmf/web2c;/usr/share/texmf/web2c

VARTEXMF is not there.

>> egrep "^VARTEXMF|^TEXMF" /etc/texmf/texmf.d/05TeXMF.cnf ?
>
> TEXMFMAIN = /usr/share/texmf
> TEXMFLOCAL = /usr/local/share/texmf
> TEXMFOLDLOCAL = /usr/local/lib/texmf
> VARTEXMF = /var/lib/texmf
> TEXMF =
> {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFOLDLOCAL,!!$VARTEXMF,!!$TEXMFMAIN}
> TEXMFDBS = $TEXMF;$VARTEXFONTS

Here, VARTEXMF is there. It seems that update-texmf has not been called
during upgrade of tetex-bin, which is strange. Did you get any error
messages when tetex-bin was last upgraded? What happens if you do 

dpkg-reconfigure tetex-bin

>> I consider the following scenario: texmf.cnf is built from different
>> files sitting in /etc/texmf/texmf.d. 05TeXMF.cnf was changed in
>> tetex-bin 2.0.2-17. VARTEXMF was defined and taken as part of TEXMF.
>> Hence the files in /var/lib/texmf/web2c are found. Possibly you have
>> changed once 05TeXMF.cnf manually, but didn't define VARTEXMF. When
>> you updated your tetex-bin you were probably asked, whether you want
>> to use the maintainers version or keep your own (the latter answer is
>> the default). You took the default answer, VARTEXMF is not defined in
>> texmf.cnf and fmtutil.cnf is not found.
>
> I'm sure that I took the default answer, but I'm also rather sure that I
> never made any changes by hand.

In this case, there wouldn't have been any questions.

> Because I had the same problem with tetex-base, which was solved after
> the next upgrade, I took a look in the newer postinst script.
> IMO they solved this problem by NOT calling fmtutil and updmap. All

they are we.

> calls to updmap are commented out. And on my system fmtutil is not
> called because:
>
> if [ -e $TEXINIT_P -a -e $TEXLINKS_P -a -r /usr/share/texmf/web2c/fmtutil.cnf ] \
[...]
> And /usr/share/texmf/web2c/fmtutil.cnf doesn't exist so the if will return false.

Didn't I say something about "drastic change" and VARTEXMF? That's
another one. This has to be /var/lib/texmf/web2c/fmtutil.cnf now - or
perhaps even better, some kpsewhich call.

>> P.S.: I have the other teTeX maintainers in Cc.
>
> So you're one of them(I couldn't find out who are the maintainers, that's why
> I'm asking this stupid question)?

$ apt-cache show tetex-extra | egrep '^Maintainer|^Source'
Maintainer: teTeX maintainers <debian-tetex-maint@lists.debian.org>
Source: tetex-base

No one knows which people are actually subscribed to the list, but
there's a couple of active and very active people - the maintainers. And
of course there's the "Uploaders" field of the control file: It contains
the Debian Developers among the maintainers, and some ex-maintainers
(probably still subscribed, but hardly active nowadays).

Regards, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: