New comment by applesud on void-packages repository https://github.com/void-linux/void-packages/issues/28727#issuecomment-920545662 Comment: Hi! Did anyone ever figure out a workaround for this? I'm not sure, but it looks like it's something to do with the variable `SELFAUTOPARENT`. The Void Package seems to try to hard code it out: ``` sed -i -e 's:^\(TEXMFROOT *= *\)$SELFAUTOPARENT$:\1/usr/share:g' ``` But ConTeXt seems to use it. It seems to be set to `/` when I run `kpsewhich`, but when I run `mtxrun --variables`, it seems to resolve to `./`. **Edit:** I just looked into this a bit more, and apparently `SELFAUTOPARENT` is just 2 directories up from the location of `kpsewhich` (or some other executable that serves a similar role, I'm not sure). In a manually installed texlive disribution, this would end up being the texlive root directory. However, void puts `kpsewhich` in `/usr/bin`, so `SELFAUTOPARENT` is would be set to `/`. But, separately to that, there seems to be bug in ConTeXt's `file.collapsepath` which causes it to collapse `/usr/bin/../..` into `.`.