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

Bug#392195: tetex-bin: Lots of access to nonexistent /share/* files



0> In article <[🔎] 86ac4168us.fsf@alhambra.kuesterei.ch>,
0> Frank Küster <URL:mailto:frank@kuesterei.ch> ("fant") wrote:

fant> /etc/cron.daily/tetex-bin running mktexlsr.
fant>
fant> I think the following command will also trigger it:
fant>
fant> kpsewhich --expand-var='$TEXMF'
fant>
fant> Is that right?  If yes, then run
fant>
fant> kpsewhich --debug=127 --expand-var='$TEXMF' 2>kpsewhich.log
fant>
fant> and send us the resulting file.

Yes, I get one attempt on each of /share/texmf-local and /share/texmf
by running that (I assume it gets called many times during the
install).

/--------[ kpsewhich.log ]
| kdebug:fopen(/usr/bin/kpsewhich, r) => 0x804d090
| kdebug:fclose(0x804d090) => 0
| kdebug:Search path for cnf files (from compile-time paths.h)
| kdebug:  = /usr/bin:/usr:/:/usr/bin/share/texmf-local/web2c:/usr/share/texmf-local/web2c://share/texmf-local/web2c:/usr/bin/texmf-local/web2c:/usr/texmf-local/web2c://texmf-local/web2c:/usr/bin/share/texmf/web2c:/usr/share/texmf/web2c://share/texmf/web2c:/usr/bin/texmf/web2c:/usr/texmf/web2c://texmf/web2c::/usr/share/texmf/web2c:/usr/share/texmf/web2c
| kdebug:  before expansion = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c}:$TETEXDIR:/usr/share/texmf/web2c:/usr/share/texmf/web2c
| kdebug:  application override path = (none)
| kdebug:  application config file path = (none)
| kdebug:  texmf.cnf path = (none)
| kdebug:  compile-time path = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c}:$TETEXDIR:/usr/share/texmf/web2c:/usr/share/texmf/web2c
| kdebug:  default suffixes = .cnf
| kdebug:  other suffixes = (none)
| kdebug:  search only with suffix = 0
| kdebug:  numeric format value = 8
| kdebug:  runtime generation program = (none)
| kdebug:  runtime generation command = (none)
| kdebug:  program enabled = 0
| kdebug:  program enable level = 0
| kdebug:start search(file=texmf.cnf, must_exist=1, find_all=1, path=/usr/bin:/usr:/:/usr/bin/share/texmf-local/web2c:/usr/share/texmf-local/web2c://share/texmf-local/web2c:/usr/bin/texmf-local/web2c:/usr/texmf-local/web2c://texmf-local/web2c:/usr/bin/share/texmf/web2c:/usr/share/texmf/web2c://share/texmf/web2c:/usr/bin/texmf/web2c:/usr/texmf/web2c://texmf/web2c::/usr/share/texmf/web2c:/usr/share/texmf/web2c).
| kdebug:kpse_normalize_path (/usr/bin) => 1
| kdebug:kpse_normalize_path (/usr/bin) => 1
| kdebug:path element /usr/bin => /usr/bin/
| kdebug:kpse_normalize_path (/usr/bin/texmf.cnf) => 1
| kdebug:kpse_normalize_path (/usr) => 1
| kdebug:kpse_normalize_path (/usr) => 1
| kdebug:path element /usr => /usr/
| kdebug:kpse_normalize_path (/usr/texmf.cnf) => 1
| kdebug:kpse_normalize_path (/) => 1
| kdebug:kpse_normalize_path (/) => 1
| kdebug:path element / => /
| kdebug:kpse_normalize_path (/texmf.cnf) => 1
| kdebug:kpse_normalize_path (/usr/bin/share/texmf-local/web2c) => 1
| kdebug:kpse_normalize_path (/usr/bin/share/texmf-local/web2c) => 1
| kdebug:path element /usr/bin/share/texmf-local/web2c =>
| kdebug:kpse_normalize_path (/usr/share/texmf-local/web2c) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf-local/web2c) => 1
| kdebug:path element /usr/share/texmf-local/web2c =>
| kdebug:kpse_normalize_path (//share/texmf-local/web2c) => 2
| kdebug:kpse_normalize_path (//share/texmf-local/web2c) => 2
| kdebug:path element //share/texmf-local/web2c =>
| kdebug:kpse_normalize_path (/usr/bin/texmf-local/web2c) => 1
| kdebug:kpse_normalize_path (/usr/bin/texmf-local/web2c) => 1
| kdebug:path element /usr/bin/texmf-local/web2c =>
| kdebug:kpse_normalize_path (/usr/texmf-local/web2c) => 1
| kdebug:kpse_normalize_path (/usr/texmf-local/web2c) => 1
| kdebug:path element /usr/texmf-local/web2c =>
| kdebug:kpse_normalize_path (//texmf-local/web2c) => 2
| kdebug:kpse_normalize_path (//texmf-local/web2c) => 2
| kdebug:path element //texmf-local/web2c =>
| kdebug:kpse_normalize_path (/usr/bin/share/texmf/web2c) => 1
| kdebug:kpse_normalize_path (/usr/bin/share/texmf/web2c) => 1
| kdebug:path element /usr/bin/share/texmf/web2c =>
| kdebug:kpse_normalize_path (/usr/share/texmf/web2c) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf/web2c) => 1
| kdebug:path element /usr/share/texmf/web2c => /usr/share/texmf/web2c/
| kdebug:kpse_normalize_path (/usr/share/texmf/web2c/texmf.cnf) => 1
| kdebug:kpse_normalize_path (//share/texmf/web2c) => 2
| kdebug:kpse_normalize_path (//share/texmf/web2c) => 2
| kdebug:path element //share/texmf/web2c =>
| kdebug:kpse_normalize_path (/usr/bin/texmf/web2c) => 1
| kdebug:kpse_normalize_path (/usr/bin/texmf/web2c) => 1
| kdebug:path element /usr/bin/texmf/web2c =>
| kdebug:kpse_normalize_path (/usr/texmf/web2c) => 1
| kdebug:kpse_normalize_path (/usr/texmf/web2c) => 1
| kdebug:path element /usr/texmf/web2c =>
| kdebug:kpse_normalize_path (//texmf/web2c) => 2
| kdebug:kpse_normalize_path (//texmf/web2c) => 2
| kdebug:path element //texmf/web2c =>
| kdebug:kpse_normalize_path () => 0
| kdebug:kpse_normalize_path (/usr/share/texmf/web2c) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf/web2c/texmf.cnf) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf/web2c) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf/web2c/texmf.cnf) => 1
| kdebug:fopen(/usr/share/texmf/web2c/texmf.cnf, r) => 0x804e878
| kdebug:fclose(0x804e878) => 0
| kdebug:fopen(/usr/share/texmf/web2c/texmf.cnf, r) => 0x804e878
| kdebug:fclose(0x804e878) => 0
| kdebug:fopen(/usr/share/texmf/web2c/texmf.cnf, r) => 0x804e878
| kdebug:fclose(0x804e878) => 0
| kdebug:hash_lookup(TEXMFDBS.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFDBS) => $TEXMFHOME:$TEXMFSYSVAR:$TEXMFLOCAL:$TEXMFMAIN:$VARTEXFONTS:$TEXMFDIST $TEXMFHOME:$TEXMFSYSVAR:$TEXMFLOCAL:$TEXMFMAIN:$VARTEXFONTS:$TEXMFDIST $TEXMFHOME:$TEXMFSYSVAR:$TEXMFLOCAL:$TEXMFMAIN:$VARTEXFONTS:$TEXMFDIST
| kdebug:hash_lookup(TEXMFHOME.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFHOME) => $HOME/texmf $HOME/texmf $HOME/texmf
| kdebug:hash_lookup(TEXMFSYSVAR.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFSYSVAR) => /var/lib/texmf /var/lib/texmf /var/lib/texmf
| kdebug:hash_lookup(TEXMFLOCAL.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFLOCAL) => /usr/local/share/texmf /usr/local/share/texmf /usr/local/share/texmf
| kdebug:hash_lookup(TEXMFMAIN.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFMAIN) => /usr/share/texmf /usr/share/texmf /usr/share/texmf
| kdebug:hash_lookup(VARTEXFONTS.kpsewhich) => (nil)
| kdebug:hash_lookup(VARTEXFONTS) => /tmp/texfonts /tmp/texfonts /tmp/texfonts
| kdebug:hash_lookup(TEXMFDIST.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFDIST) => /usr/share/texmf-{texlive,tetex} /usr/share/texmf-{texlive,tetex} /usr/share/texmf-{texlive,tetex}
| kdebug:Search path for ls-R files (from texmf.cnf)
| kdebug:  = /root/texmf:/var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/tmp/texfonts:/usr/share/texmf-texlive:/usr/share/texmf-tetex
| kdebug:  before expansion = $TEXMFHOME:$TEXMFSYSVAR:$TEXMFLOCAL:$TEXMFMAIN:$VARTEXFONTS:$TEXMFDIST
| kdebug:  application override path = (none)
| kdebug:  application config file path = (none)
| kdebug:  texmf.cnf path = $TEXMFHOME:$TEXMFSYSVAR:$TEXMFLOCAL:$TEXMFMAIN:$VARTEXFONTS:$TEXMFDIST
| kdebug:  compile-time path = /usr/share/texmf:/var/spool/texmf
| kdebug:  default suffixes = ls-R ls-r
| kdebug:  other suffixes = (none)
| kdebug:  search only with suffix = 0
| kdebug:  numeric format value = 9
| kdebug:  runtime generation program = (none)
| kdebug:  runtime generation command = (none)
| kdebug:  program enabled = 0
| kdebug:  program enable level = 0
| kdebug:start search(files=[ls-R ls-r], must_exist=1, find_all=1, path=/root/texmf:/var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/tmp/texfonts:/usr/share/texmf-texlive:/usr/share/texmf-tetex).
| kdebug:kpse_normalize_path (/root/texmf) => 1
| kdebug:kpse_normalize_path (/root/texmf) => 1
| kdebug:path element /root/texmf =>
| kdebug:kpse_normalize_path (/var/lib/texmf) => 1
| kdebug:kpse_normalize_path (/var/lib/texmf) => 1
| kdebug:path element /var/lib/texmf => /var/lib/texmf/
| kdebug:kpse_normalize_path (/var/lib/texmf/ls-R) => 1
| kdebug:kpse_normalize_path (/var/lib/texmf/ls-r) => 1
| kdebug:kpse_normalize_path (/usr/local/share/texmf) => 1
| kdebug:kpse_normalize_path (/usr/local/share/texmf) => 1
| kdebug:path element /usr/local/share/texmf =>
| kdebug:kpse_normalize_path (/usr/share/texmf) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf) => 1
| kdebug:path element /usr/share/texmf => /usr/share/texmf/
| kdebug:kpse_normalize_path (/usr/share/texmf/ls-R) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf/ls-r) => 1
| kdebug:kpse_normalize_path (/tmp/texfonts) => 1
| kdebug:kpse_normalize_path (/tmp/texfonts) => 1
| kdebug:path element /tmp/texfonts =>
| kdebug:kpse_normalize_path (/usr/share/texmf-texlive) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf-texlive) => 1
| kdebug:path element /usr/share/texmf-texlive =>
| kdebug:kpse_normalize_path (/usr/share/texmf-tetex) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf-tetex) => 1
| kdebug:path element /usr/share/texmf-tetex => /usr/share/texmf-tetex/
| kdebug:kpse_normalize_path (/usr/share/texmf-tetex/ls-R) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf-tetex/ls-r) => 1
| kdebug:search([ls-R ls-r]) =>kdebug:hash_lookup(TEXMFLOG.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFLOG) => (nil)
| kdebug:variable: TEXMFLOG = (nil)
|  /var/lib/texmf/ls-R /usr/share/texmf/ls-R /usr/share/texmf-tetex/ls-R
| kdebug:fopen(/var/lib/texmf/ls-R, r) => 0x8068af0
| kdebug:fclose(0x8068af0) => 0
| kdebug:/var/lib/texmf/ls-R: 120 entries in 43 directories (0 hidden).
| kdebug:ls-R hash table:15991 buckets, 92 nonempty (0%); 120 entries, average chain 1.3.
| kdebug:fopen(/usr/share/texmf/ls-R, r) => 0x8068b18
| kdebug:fclose(0x8068b18) => 0
| kdebug:/usr/share/texmf/ls-R: 2666 entries in 117 directories (0 hidden).
| kdebug:ls-R hash table:15991 buckets, 1761 nonempty (11%); 2786 entries, average chain 1.6.
| kdebug:fopen(/usr/share/texmf-tetex/ls-R, r) => 0x8068b18
| kdebug:fclose(0x8068b18) => 0
| kdebug:/usr/share/texmf-tetex/ls-R: 14178 entries in 1009 directories (0 hidden).
| kdebug:ls-R hash table:15991 buckets, 9317 nonempty (58%); 16964 entries, average chain 1.8.
| kdebug:start search(file=aliases, must_exist=1, find_all=1, path=/root/texmf:/var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/tmp/texfonts:/usr/share/texmf-texlive:/usr/share/texmf-tetex).
| kdebug:kpse_normalize_path (/root/texmf) => 1
| kdebug:kpse_normalize_path (/var/lib/texmf) => 1
| kdebug:kpse_normalize_path (/var/lib/texmf/aliases) => 1
| kdebug:kpse_normalize_path (/usr/local/share/texmf) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf/aliases) => 1
| kdebug:kpse_normalize_path (/tmp/texfonts) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf-texlive) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf-tetex) => 1
| kdebug:kpse_normalize_path (/usr/share/texmf-tetex/aliases) => 1
| kdebug:search(aliases) => /usr/share/texmf-tetex/aliases
| kdebug:fopen(/usr/share/texmf-tetex/aliases, r) => 0x81078a8
| kdebug:/usr/share/texmf-tetex/aliases: 127 aliases.
| kdebug:alias hash table:1009 buckets, 112 nonempty (11%); 127 entries, average chain 1.1.
| kdebug:fclose(0x81078a8) => 0
| kdebug:hash_lookup(TEXMF.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMF) => {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST} {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST} {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST}
| kdebug:hash_lookup(TEXMFCONFIG.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFCONFIG) => $HOME/.texmf-config $HOME/.texmf-config $HOME/.texmf-config
| kdebug:hash_lookup(TEXMFVAR.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFVAR) => $HOME/.texmf-var $HOME/.texmf-var $HOME/.texmf-var
| kdebug:hash_lookup(TEXMFHOME.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFHOME) => $HOME/texmf $HOME/texmf $HOME/texmf
| kdebug:hash_lookup(TEXMFSYSCONFIG.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFSYSCONFIG) => /etc/texmf /etc/texmf /etc/texmf
| kdebug:hash_lookup(TEXMFSYSVAR.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFSYSVAR) => /var/lib/texmf /var/lib/texmf /var/lib/texmf
| kdebug:hash_lookup(TEXMFLOCAL.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFLOCAL) => /usr/local/share/texmf /usr/local/share/texmf /usr/local/share/texmf
| kdebug:hash_lookup(TEXMFMAIN.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFMAIN) => /usr/share/texmf /usr/share/texmf /usr/share/texmf
| kdebug:hash_lookup(TEXMFDIST.kpsewhich) => (nil)
| kdebug:hash_lookup(TEXMFDIST) => /usr/share/texmf-{texlive,tetex} /usr/share/texmf-{texlive,tetex} /usr/share/texmf-{texlive,tetex}
\--------



Reply to: