* Re: texlive-ConTeXt is broken
2021-02-13 11:44 [ISSUE] texlive-ConTeXt is broken 4ricci
@ 2021-04-20 4:01 ` ericonr
2021-09-16 3:23 ` applesud
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-04-20 4:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 977 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/28727#issuecomment-822956208
Comment:
```
texlive-core-2020.57066_1 /usr/share/texmf-dist/scripts/context/lua/context.lua
texlive-core-2020.57066_1 /usr/share/texmf-dist/scripts/context/lua/mtx-context.lua
```
It does things very weirdly:
```
5965 open("/bin/mtx-t-context.lua", O_RDONLY) = -1 ENOENT (Arquivo ou diretório inexistente)
5965 getcwd("/home/ericonr", 4096) = 14
5965 getcwd("/home/ericonr", 4096) = 14
5965 stat("context.lua", 0x7ffda61ea580) = -1 ENOENT (Arquivo ou diretório inexistente)
5965 stat("./context.lua", 0x7ffda61ea580) = -1 ENOENT (Arquivo ou diretório inexistente)
5965 stat("context.lua", 0x7ffda61ea580) = -1 ENOENT (Arquivo ou diretório inexistente)
[... other attempts at weird paths ...]
```
So it would seem to be missing some information on how to locate those scripts, since they definitely exist.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: texlive-ConTeXt is broken
2021-02-13 11:44 [ISSUE] texlive-ConTeXt is broken 4ricci
2021-04-20 4:01 ` ericonr
@ 2021-09-16 3:23 ` applesud
2021-09-16 6:07 ` applesud
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: applesud @ 2021-09-16 3:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]
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 `./`.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: texlive-ConTeXt is broken
2021-02-13 11:44 [ISSUE] texlive-ConTeXt is broken 4ricci
2021-04-20 4:01 ` ericonr
2021-09-16 3:23 ` applesud
@ 2021-09-16 6:07 ` applesud
2022-05-03 2:14 ` github-actions
2022-05-03 9:37 ` 4ricci
4 siblings, 0 replies; 6+ messages in thread
From: applesud @ 2021-09-16 6:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]
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 `.`.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: texlive-ConTeXt is broken
2021-02-13 11:44 [ISSUE] texlive-ConTeXt is broken 4ricci
` (2 preceding siblings ...)
2021-09-16 6:07 ` applesud
@ 2022-05-03 2:14 ` github-actions
2022-05-03 9:37 ` 4ricci
4 siblings, 0 replies; 6+ messages in thread
From: github-actions @ 2022-05-03 2:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/issues/28727#issuecomment-1115549760
Comment:
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: texlive-ConTeXt is broken
2021-02-13 11:44 [ISSUE] texlive-ConTeXt is broken 4ricci
` (3 preceding siblings ...)
2022-05-03 2:14 ` github-actions
@ 2022-05-03 9:37 ` 4ricci
4 siblings, 0 replies; 6+ messages in thread
From: 4ricci @ 2022-05-03 9:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 178 bytes --]
New comment by 4ricci on void-packages repository
https://github.com/void-linux/void-packages/issues/28727#issuecomment-1115908774
Comment:
Same thing with version 20210325_3.
^ permalink raw reply [flat|nested] 6+ messages in thread