* [ISSUE] texlive-ConTeXt is broken
@ 2021-02-13 11:44 4ricci
2021-04-20 4:01 ` ericonr
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: 4ricci @ 2021-02-13 11:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]
New issue by 4ricci on void-packages repository
https://github.com/void-linux/void-packages/issues/28727
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* xuname:
Void 5.10.15_1 x86_64 GenuineIntel uptodate rrFFFFFFFFFFFFFFFFF
* package:
`texlive-ConTeXt-20200406_7`
### Expected behavior
`context --version` (from the texlive-ConTeXt package) should print something like this (obtained with the texlive-bin package):
```
mtx-context | ConTeXt Process Management 1.03
mtx-context |
mtx-context | main context file: /opt/texlive/2020/texmf-dist/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2020.03.10 14:44
mtx-context | main context file: /opt/texlive/2020/texmf-dist/tex/context/base/mkiv/context.mkxl
mtx-context | current version: 2020.03.10 14:44
```
### Actual behavior
If `texlive-LuaTeX` is not installed, it prints:
```
/usr/bin/env: ‘texlua’: No such file or directory
```
If `texlive-LuaTeX` is installed, it prints:
```
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
```
^ 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
` (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
end of thread, other threads:[~2022-05-03 9:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).