install-tl change of behavior for setting TEXMFHOME ?

Vít Novotný witiko at gmail.com
Mon Jun 20 15:53:59 CEST 2022


Hello,

here is an issue that I noticed today and seems related: Sometime between
the last Sunday and yesterday, TeX Live ceased to index
/usr/local/texlive/texmf-local/tex/generic in kpathsea. Here is a
demonstration of the issue using the historic TeX Live 2021 Docker image:

# docker run --rm -it texlive/texlive:TL2021-historic
(entering docker container)
# mkdir -p /usr/local/texlive/texmf-local/tex/generic/foo
# touch /usr/local/texlive/texmf-local/tex/generic/foo/bar.tex
# texhash
texhash: Updating /usr/local/texlive/2021/texmf-config/ls-R...
texhash: Updating /usr/local/texlive/2021/texmf-dist/ls-R...
texhash: Updating /usr/local/texlive/2021/texmf-var/ls-R...
texhash: Updating /usr/local/texlive/texmf-local/ls-R...
texhash: Done.
# kpsewhich bar.tex
/usr/local/texlive/texmf-local/tex/generic/foo/bar.tex


# docker run --rm -it texlive/texlive:latest
(entering docker container)
# mkdir -p /usr/local/texlive/texmf-local/tex/generic/foo
# touch /usr/local/texlive/texmf-local/tex/generic/foo/bar.tex
# texhash
texhash: Updating /usr/local/texlive/2022/texmf-config/ls-R...
texhash: Updating /usr/local/texlive/2022/texmf-dist/ls-R...
texhash: Updating /usr/local/texlive/2022/texmf-local/ls-R...
texhash: Updating /usr/local/texlive/2022/texmf-var/ls-R...
texhash: Done.
# kpsewhich bar.tex
(no results)


The TeX Live 2022 Docker image exhibited the same behavior as the TeX Live
2021 Docker image until yesterday's weekly update of the Docker image. Is
this a bug or the intended behavior from now on? It is currently breaking the
continuous integration of the Markdown package
<https://github.com/witiko/markdown/actions/runs/2526661788>.

Best,
Vit

ne 19. 6. 2022 v 23:09 odesílatel Karl Berry <karl at freefriends.org> napsal:

>     Has install-tl changed behavior recently (e.g., past two weeks) in
>     terms of how TEXMF configurations are set?
>
> Not intentionally, but we (Norbert and I) have been playing with the
> directory-setting code, so indeed, a bug like this seems probable.
>
>     Could someone point me to a change log?
>
> Unfortunately we don't keep a separate ChangeLog file for this, but our
> commit log msgs are here (or on the github mirror, if you prefer):
> https://tug.org/svn/texlive/trunk/Master/install-tl?view=log
> https://github.com/TeX-Live/texlive-source/commits
>
>     I'm not sure, but I think the output in this case (even when the
>     script was run with sudo) used to be: /home/<my user name>/texmf.
>
> I do seem to recall having a special case so that root's home dir was
> not used. What is the value of your HOME envvar after sudo?
>
> Thanks,
> Karl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20220620/85f6afe6/attachment.html>


More information about the tex-live mailing list.