Hello, De Maxim Cournoyer le 14/10/2023 à 18:06: > > I tried to explore this but I see no reason why the ls-R files would be > > ignored and I don't know how to explore this further. I do want to > > contribute > > to a solution, because right now texlive is practically unusable in Guix. > > Have you tried tracing execution with strace? Maybe try 'strace -e > file -f -s800 $texlive-cmd' and confirm whether the ls-R file gets used; > if it does, you could then introspect said file to see if it provides > what is being looked up or not.
I did try strace, that is how I observed that apparently all installed files are stated (with newfstatat) several times in each compilation. The ls-R file is actually read: $ grep /ls-R log 28308 access("/run/current-system/profile/share/texmf-dist/../texmf-dist/ls-R", R_OK) = 0 28308 newfstatat(AT_FDCWD, "/run/current-system/profile/share/texmf-dist/../texmf-dist/ls-R", {st_mode=S_IFREG|0444, st_size=4053996, ...}, 0) = 0 28308 openat(AT_FDCWD, "/run/current-system/profile/share/texmf-dist/../texmf-dist/ls-R", O_RDONLY) = 3 but aparently its contents are not taken into account. -- Emmanuel