Bug 2279243
| Summary: | ConTeXt broken since LuaTeX upgrade to `svn66984` | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Max Chernoff <fedora> |
| Component: | texlive-base | Assignee: | Tom "spot" Callaway <spotrh> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 42 | CC: | maximilian.timmerkamp+rhbz, spotrh, than, v.plessky |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | texlive-base-20230311-78.fc39 texlive-base-20230311-82.fc40 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-05-15 15:17:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Max Chernoff
2024-05-06 04:53:25 UTC
Thanks for the bug report. I'll work on getting this fixed. This is the perennial challenge with updating TeXLive, any changes to base seem to have a major impact on the components, and any component changes tend to ripple outward as well. With regard to the pinned mirror, in the recent past, using the mirror redirector has lead to wildly inconsistent results where some mirrors are out of date, and we have ended up with components that seem to be current, but are subtly incompatible with each other. That particular mirror is/was good at being current. FEDORA-2024-7280d9f003 (texlive-base-20230311-78.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-7280d9f003 FEDORA-2024-91e106cbc7 (texlive-base-20230311-82.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-91e106cbc7 FEDORA-2024-7280d9f003 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7280d9f003` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7280d9f003 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-91e106cbc7 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-91e106cbc7` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-91e106cbc7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-7280d9f003 (texlive-base-20230311-78.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2024-91e106cbc7 (texlive-base-20230311-82.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. I have texlive installation on Fedora 41, and this problem is present here.
$ context --version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file: /usr/share/texlive/texmf-dist/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2023.03.10 12:15
mtx-context | main context file: /usr/share/texlive/texmf-dist/tex/context/base/mkxl/context.mkxl
mtx-context | current version: 2023.03.10 12:15
$ luatex --version
This is LuaTeX, Version 1.17.0 (TeX Live 2023)
Development id: 7581
$ context --luatex --nofile
resolvers | globbing | confusing filename, name: 'CHANGES', lower: 'changes', already: 'Changes'
resolvers | globbing | confusing filename, name: 'CHANGES', lower: 'changes', already: 'Changes'
resolvers | globbing | confusing filename, name: 'Copying', lower: 'copying', already: 'COPYING'
resolvers | globbing | confusing filename, name: 'CHANGES', lower: 'changes', already: 'Changes'
resolvers | globbing | confusing filename, name: 'CHANGES', lower: 'changes', already: 'Changes'
resolvers | globbing | confusing filename, name: 'CHANGES', lower: 'changes', already: 'Changes'
resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog'
resolvers | globbing | confusing filename, name: 'CHANGES', lower: 'changes', already: 'Changes'
resolvers | globbing | confusing filename, name: 'ChangeLog.md', lower: 'changelog.md', already: 'CHANGELOG.md'
resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog'
resolvers | globbing | confusing filename, name: 'CHANGES', lower: 'changes', already: 'Changes'
resolvers | globbing | confusing filename, name: 'CHANGES', lower: 'changes', already: 'Changes'
resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog'
resolvers | globbing | confusing filename, name: 'CHANGES', lower: 'changes', already: 'Changes'
resolvers | globbing | confusing filename, name: 'CHANGES', lower: 'changes', already: 'Changes'
resolvers | globbing | confusing filename, name: 'Changelog', lower: 'changelog', already: 'ChangeLog'
resolvers | globbing | confusing filename, name: 'CHANGES', lower: 'changes', already: 'Changes'
mtx-context | warning: no format found, forcing remake (commandline driven)
resolvers | resolving | configuration files already identified
resolvers | resolving | loading configuration file '/usr/share/texlive/texmf-dist/web2c/texmfcnf.lua'
resolvers | resolving |
resolvers | resolving | locating list of '/usr/share/texlive/texmf-dist' (runtime) (tree:////usr/share/texlive/texmf-dist)
resolvers | methods | resolving, method 'locators', how 'uri', handler 'tree', argument 'tree:////usr/share/texlive/texmf-dist'
resolvers | trees | locator '/usr/share/texlive/texmf-dist' found
resolvers | resolving | hash '/usr/share/texlive/texmf-dist' appended
resolvers | resolving |
resolvers | methods | resolving, method 'generators', how 'uri', handler 'file', argument '/usr/share/texlive/texmf-dist'
resolvers | expansions | using cached scan of path '/usr/share/texlive/texmf-dist', branch '/usr/share/texlive/texmf-dist'
resolvers | methods | resolving, method 'generators', how 'uri', handler 'file', argument '/usr/share/texlive/texmf-dist'
resolvers | expansions | using cached scan of path '/usr/share/texlive/texmf-dist', branch '/usr/share/texlive/texmf-dist'
resolvers | resolving |
resolvers | resolving | not saving runtime tree '/usr/share/texlive/texmf-dist'
resolvers | resolving | not saving runtime tree '/usr/share/texlive/texmf-dist'
resolvers | resolving | using given filetype 'tex'
resolvers | methods | resolving, method 'concatinators', how 'tag', tag 'default'
resolvers | methods | resolving, method 'concatinators', how 'tag', tag 'default'
resolvers | resolving | remembering file 'cont-en.mkiv' using hash 'tex::cont-en.mkiv'
resolvers | formats | using tex source file '/usr/share/texlive/texmf-dist/tex/context/base/mkiv/cont-en.mkiv'
resolvers | formats | using lua stub file '/usr/share/texlive/texmf-dist/tex/context/base/mkiv/luat-cod.lua'
resolvers | formats | changing to format path '/home/vadim/.cache/texlive/luatex-cache/context/c8ffba5311d077c16376bba44d5fa793/formats/luatex'
resolvers | formats | executing runner 'make luatex format': /usr/bin/luatex --ini --lua=/usr/share/texlive/texmf-dist/tex/context/base/mkiv/luat-cod.lua /usr/share/texlive/texmf-dist/tex/context/base/mkiv/cont-en.mkiv
This is LuaTeX, Version 1.17.0 (TeX Live 2023) (INITEX)
system commands enabled.
(/usr/share/texlive/texmf-dist/tex/context/base/mkiv/cont-en.mkiv (/usr/share/texlive/texmf-dist/tex/context/base/mkiv/context.mkiv (/usr/share/texlive/texmf-dist/tex/context/base/mkiv/syst-ini.mkiv) (/usr/share/texlive/texmf-dist/tex/context/base/mkiv/norm-ctx.mkiv) (/usr/share/texlive/texmf-dist/tex/context/base/mkiv/syst-pln.mkiv) (/usr/share/texlive/texmf-dist/tex/context/base/mkiv/syst-mes.mkiv) (/usr/share/texlive/texmf-dist/tex/context/base/mkiv/luat-cod.mkiv<+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/luat-cod.lua>) (/usr/share/texlive/texmf-dist/tex/context/base/mkiv/luat-bas.mkiv loading: ConTeXt Lua Macros / Basic Lua Libraries<+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-bit32.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-lua.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-macro.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-sandbox.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-package.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-lpeg.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-function.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-string.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-table.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-boolean.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-number.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-math.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-io.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-os.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-file.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-gzip.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-md5.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-sha.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-dir.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-unicode.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-url.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-set.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/l-macro-imp-optimize.lua>) (/usr/share/texlive/texmf-dist/tex/context/base/mkiv/luat-lib.mkiv loading: ConTeXt Lua Macros / Libraries<+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-str.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-tab.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-fil.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-sac.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-sto.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-pck.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-prs.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-fmt.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-dim.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/trac-set.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/luat-log.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/trac-inf.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-lua.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-deb.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-tpl.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-seq.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-sta.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-sbx.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-soc-imp-reset.lua><+ /usr/share/texlive/texmf-dist/tex/context/base/mkiv/util-soc-imp-socket.lua>...e/texlive/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:180: module 'socket.core' not found:
no field package.preload['socket.core']
no file '/usr/local/share/lua/5.3/socket/core.lua'
no file '/usr/local/share/lua/5.3/socket/core/init.lua'
no file '/usr/local/lib/lua/5.3/socket/core.lua'
no file '/usr/local/lib/lua/5.3/socket/core/init.lua'
no file './socket/core.lua'
no file './socket/core/init.lua'
no file '/usr/local/lib/lua/5.3/socket/core.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './socket/core.so'
no file '/usr/local/lib/lua/5.3/socket.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './socket.so'
stack traceback:
[C]: in upvalue 'requiem'
...e/texlive/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:180: in function 'require'
...texmf-dist/tex/context/base/mkiv/util-soc-imp-socket.lua:8: in local 'data'
...re/texlive/texmf-dist/tex/context/base/mkiv/luat-cod.lua:192: in field 'luafilechunk'
...re/texlive/texmf-dist/tex/context/base/mkiv/luat-cod.lua:73: in function 'lua.registercode'
[\directlua]:1: in main chunk.
\registerctxluafile #1#2->\ctxlua {lua.registercode("#1","#2")}
l.40 \registerctxluafile{util-soc-imp-socket} {}
?
Looks like [`1bf99ed`](https://src.fedoraproject.org/rpms/texlive-base/c/1bf99ed7e31a02bde2c1ffd3cb962288d204c7ba?branch=f39) was only applied to `f39` and `f40`, so I guess that should be ported to `f41` (and `rawhide` too, unless that will be updated to TeX Live 2024 soonish). Hi everyone, I recently ran into this problem on Fedora 41, and after an upgrade to Fedora 42, also on Fedora 42. However, on Fedora 42, I get a vastly different error message if I do not apply the patch mentioned above. While `context --luatex --nofile` does not result in an error regarding socket.core any more, compiling an actual document aborts with the message `fatal error : unable to load bytecode register 544, maybe wipe the cache first`. Wiping the cache did not seem to work. But patching mtxrun.lua resolves this error. Since the error message is quite different, I'm not sure the issue is related, but I believe so. Anyhow, the patch mentioned above is obviously still missing in Fedora 42. (In reply to Max Timmerkamp from comment #10) > I recently ran into this problem on Fedora 41, and after an upgrade to > Fedora 42, also on Fedora 42. However, on Fedora 42, I get a vastly > different error message if I do not apply the patch mentioned above. While > `context --luatex --nofile` does not result in an error regarding > socket.core any more, compiling an actual document aborts with the message > `fatal error : unable to load bytecode register 544, maybe wipe the cache > first`. Wiping the cache did not seem to work. But patching mtxrun.lua > resolves this error. Since the error message is quite different, I'm not > sure the issue is related, but I believe so. Anyhow, the patch mentioned > above is obviously still missing in Fedora 42. I don't get the `fatal error : unable to load bytecode register 544` error, but I do still get the socket error with Fedora 42. |