fixing kpathsea

N. Andrew Walsh n.andrew.walsh at gmail.com
Fri Nov 15 12:02:23 CET 2019


Hi Norbert,

On Fri, Nov 15, 2019 at 11:53 AM Norbert Preining <preining at logic.at> wrote:

> Ahh, and all I ask you if always done as root, right??? Just to make sure
>

yes, always as root, via 'su'.

'kpsewhich -debug -1 -all texmf.cnf' returns:
----------------------------------------------
# kpsewhich -debug -1 -all texmf.cnf

kdebug:Search path for cnf files (from TEXMFCNF environment variable)
kdebug:  =
/[$HOME]/tex-local/texlive/2017/texmf-dist/web2c:/usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c
kdebug:  before expansion =
/[$HOME]/tex-local/texlive/2017/texmf-dist/web2c:
kdebug:  application override path = (none)
kdebug:  application config file path = (none)
kdebug:  texmf.cnf path = (none)
kdebug:  compile-time path =
{$SELFAUTOLOC,$SELFAUTOLOC/share/texmf-local/web2c,$SELFAUTOLOC/share/texmf-dist/web2c,$SELFAUTOLOC/share/texmf/web2c,$SELFAUTOLOC/texmf-local/web2c,$SELFAUTOLOC/texmf-dist/web2c,$SELFAUTOLOC/texmf/web2c,$SELFAUTODIR,$SELFAUTODIR/share/texmf-local/web2c,$SELFAUTODIR/share/texmf-dist/web2c,$SELFAUTODIR/share/texmf/web2c,$SELFAUTODIR/texmf-local/web2c,$SELFAUTODIR/texmf-dist/web2c,$SELFAUTODIR/texmf/web2c,$SELFAUTOGRANDPARENT/texmf-local/web2c,$SELFAUTOPARENT,$SELFAUTOPARENT/share/texmf-local/web2c,$SELFAUTOPARENT/share/texmf-dist/web2c,$SELFAUTOPARENT/share/texmf/web2c,$SELFAUTOPARENT/texmf-local/web2c,$SELFAUTOPARENT/texmf-dist/web2c,$SELFAUTOPARENT/texmf/web2c}
kdebug:  environment variables = TEXMFCNF
kdebug:  default suffixes = .cnf
kdebug:  other suffixes = (none)
kdebug:  search only with suffix = 0
kdebug:  runtime generation program = (none)
kdebug:  runtime generation command = (none)
kdebug:  program enabled = 0
kdebug:  program enable level = 0
kdebug:  open files in binary mode = 0
kdebug:  numeric format value = 8
kdebug:kpse_find_file: searching for texmf.cnf of type cnf (from TEXMFCNF
environment variable)
kdebug:start search(xname=texmf.cnf, must_exist=1, find_all=1,
path=/[$HOME]/tex-local/texlive/2017/texmf-dist/web2c:/usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c).
kdebug: path_search(file=texmf.cnf, must_exist=1, find_all=1,
path=/[$HOME]/tex-local/texlive/2017/texmf-dist/web2c:/usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c)
kdebug:path element /[$HOME]/tex-local/texlive/2017/texmf-dist/web2c =>
/[$HOME]/tex-local/texlive/2017/texmf-dist/web2c/
kdebug:  dir_list_search(file=texmf.cnf, find_all=1, casefold=no)
kdebug:path element /usr/bin => /usr/bin/
kdebug:  dir_list_search(file=texmf.cnf, find_all=1, casefold=no)
kdebug:variable: texmf_casefold_search = (nil)
kdebug:path element /usr/bin/share/texmf-local/web2c =>
kdebug:path element /usr/bin/share/texmf-dist/web2c =>
kdebug:path element /usr/bin/share/texmf/web2c =>
kdebug:path element /usr/bin/texmf-local/web2c =>
kdebug:path element /usr/bin/texmf-dist/web2c =>
kdebug:path element /usr/bin/texmf/web2c =>
kdebug:path element /usr => /usr/
kdebug:  dir_list_search(file=texmf.cnf, find_all=1, casefold=no)
kdebug:variable: texmf_casefold_search = (nil)
kdebug:path element /usr/share/texmf-local/web2c =>
kdebug:path element /usr/share/texmf-dist/web2c =>
/usr/share/texmf-dist/web2c/
kdebug:  dir_list_search(file=texmf.cnf, find_all=1, casefold=no)
kdebug:path element /usr/share/texmf/web2c =>
kdebug:path element /usr/texmf-local/web2c =>
kdebug:path element /usr/texmf-dist/web2c =>
kdebug:path element /usr/texmf/web2c =>
kdebug:kpse_normalize_path (//texmf-local/web2c) => 0
kdebug:path element /texmf-local/web2c =>
kdebug:path element / => /
kdebug:  dir_list_search(file=texmf.cnf, find_all=1, casefold=no)
kdebug:variable: texmf_casefold_search = (nil)
kdebug:kpse_normalize_path (//share/texmf-local/web2c) => 0
kdebug:path element /share/texmf-local/web2c =>
kdebug:kpse_normalize_path (//share/texmf-dist/web2c) => 0
kdebug:path element /share/texmf-dist/web2c =>
kdebug:kpse_normalize_path (//share/texmf/web2c) => 0
kdebug:path element /share/texmf/web2c =>
kdebug:kpse_normalize_path (//texmf-local/web2c) => 0
kdebug:kpse_normalize_path (//texmf-dist/web2c) => 0
kdebug:path element /texmf-dist/web2c =>
kdebug:kpse_normalize_path (//texmf/web2c) => 0
kdebug:path element /texmf/web2c =>
kdebug:Search path for ls-R files (from texmf.cnf)
kdebug:  = //texmf-local://texmf-config://texmf-var://texmf-dist
kdebug:  before expansion =
{!!$TEXMFLOCAL,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFDIST}
kdebug:  application override path = (none)
kdebug:  application config file path = (none)
kdebug:  texmf.cnf path =
{!!$TEXMFLOCAL,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFDIST}
kdebug:  compile-time path = /nonesuch
kdebug:  environment variables = TEXMFDBS
kdebug:  default suffixes = ls-R ls-r
kdebug:  other suffixes = (none)
kdebug:  search only with suffix = 0
kdebug:  runtime generation program = (none)
kdebug:  runtime generation command = (none)
kdebug:  program enabled = 0
kdebug:  program enable level = 0
kdebug:  open files in binary mode = 0
kdebug:  numeric format value = 9
kdebug:start generic search(files=[ls-r ls-R], must_exist=1, find_all=1,
path=//texmf-local://texmf-config://texmf-var://texmf-dist)
kdebug:kpse_normalize_path (//texmf-local) => 0
kdebug:path element /texmf-local =>
kdebug:kpse_normalize_path (//texmf-config) => 0
kdebug:path element /texmf-config =>
kdebug:kpse_normalize_path (//texmf-var) => 0
kdebug:path element /texmf-var =>
kdebug:kpse_normalize_path (//texmf-dist) => 0
kdebug:path element /texmf-dist =>
kdebug:returning from generic search([ls-r ls-R]) =>kdebug:variable:
TEXMFLOG = (nil)

kdebug:start search(xname=aliases, must_exist=1, find_all=1,
path=//texmf-local://texmf-config://texmf-var://texmf-dist).
kdebug: path_search(file=aliases, must_exist=1, find_all=1,
path=//texmf-local://texmf-config://texmf-var://texmf-dist)
kdebug:kpse_normalize_path (//texmf-local) => 0
kdebug:kpse_normalize_path (//texmf-config) => 0
kdebug:kpse_normalize_path (//texmf-var) => 0
kdebug:kpse_normalize_path (//texmf-dist) => 0
kdebug:returning from search(aliases) =>
kdebug:variable: try_std_extension_first = t
kdebug:start generic search(files=[texmf.cnf], must_exist=0, find_all=1,
path=/[$HOME]/tex-local/texlive/2017/texmf-dist/web2c:/usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c)
kdebug:  dir_list_search_list(files=[texmf.cnf], find_all=1, casefold=no)
kdebug:  dir_list_search_list(files=[texmf.cnf], find_all=1, casefold=no)
kdebug:variable: texmf_casefold_search = 1
kdebug:variable: texmf_casefold_search = 1
kdebug:variable: texmf_casefold_search = 1
kdebug:variable: texmf_casefold_search = 1
kdebug:  dir_list_search_list(files=[texmf.cnf], find_all=1, casefold=yes)
kdebug:   casefold_readable_file(texmf.cnf) in /usr/bin => (nil)
kdebug:  dir_list_search_list(files=[texmf.cnf], find_all=1, casefold=no)
kdebug:variable: texmf_casefold_search = 1
kdebug:variable: texmf_casefold_search = 1
kdebug:variable: texmf_casefold_search = 1
kdebug:variable: texmf_casefold_search = 1
kdebug:  dir_list_search_list(files=[texmf.cnf], find_all=1, casefold=yes)
kdebug:   casefold_readable_file(texmf.cnf) in /usr => (nil)
kdebug:  dir_list_search_list(files=[texmf.cnf], find_all=1, casefold=no)
kdebug:kpse_normalize_path (//texmf-local/web2c) => 0
kdebug:  dir_list_search_list(files=[texmf.cnf], find_all=1, casefold=no)
kdebug:variable: texmf_casefold_search = 1
kdebug:variable: texmf_casefold_search = 1
kdebug:variable: texmf_casefold_search = 1
kdebug:variable: texmf_casefold_search = 1
kdebug:  dir_list_search_list(files=[texmf.cnf], find_all=1, casefold=yes)
kdebug:   casefold_readable_file(texmf.cnf) in / => (nil)
kdebug:kpse_normalize_path (//share/texmf-local/web2c) => 0
kdebug:kpse_normalize_path (//share/texmf-dist/web2c) => 0
kdebug:kpse_normalize_path (//share/texmf/web2c) => 0
kdebug:kpse_normalize_path (//texmf-local/web2c) => 0
kdebug:kpse_normalize_path (//texmf-dist/web2c) => 0
kdebug:kpse_normalize_path (//texmf/web2c) => 0
kdebug:returning from generic search([texmf.cnf]) =>
/[$HOME]/tex-local/texlive/2017/texmf-dist/web2c/texmf.cnf
/usr/share/texmf-dist/web2c/texmf.cnf
/[$HOME]/tex-local/texlive/2017/texmf-dist/web2c/texmf.cnf
/usr/share/texmf-dist/web2c/texmf.cnf

-----------------------------------------
does that help clarify anything?

Cheers,

A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20191115/24e93c07/attachment.html>


More information about the tex-live mailing list