Bug 2158837

Summary: LuaLaTeX breakage with TeXLive 2022
Product: [Fedora] Fedora Reporter: Jerry James <loganjerry>
Component: texlive-baseAssignee: Tom "spot" Callaway <spotrh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mjg, orion, spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-08 16:08:21 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 Jerry James 2023-01-06 18:10:27 UTC
Description of problem:
The pvs-sbcl package started failing to build from source when TeXLive 2022 was introduced:

This is LuaHBTeX, Version 1.15.0 (TeX Live 2022) 
 restricted system commands enabled.
(./language.tex
LaTeX2e <2022-06-01> patch level 5
luaotfload | load : FATAL ERROR
luaotfload | load :   × Failed to load "luaotfload" module "database".
luaotfload | load :   × Error message:
luaotfload | load :     × "...texmf-dist/tex/luatex/luaotfload/luaotfload-database.lua:204: module 'lua-uni-case' not found:".
luaotfload | load :     × "no field package.preload['lua-uni-case']".
luaotfload | load :     × "[kpse lua searcher] file not found: 'lua-uni-case'".
stack traceback:
	.../texlive/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:200: in upvalue 'loadmodule'
	.../texlive/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:275: in local 'initialize'
	.../texlive/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:330: in field 'main'
	[\directlua]:1: in main chunk
Latexmk: If appropriate, the -f option can be used to get latexmk
  to try to force complete processing.
Latexmk: Getting log file 'language.log'
Latexmk: Examining 'language.fls'
Latexmk: Examining 'language.log'
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 255
      Refer to 'language.log' and/or above output for details
make: Leaving directory '/builddir/build/BUILD/PVS-pvs7.1/doc/language'
make: *** [Makefile:39: language.pdf] Error 12

Version-Release number of selected component (if applicable):
texlive-luaotfload-svn64616-55.fc38

How reproducible:
Always

Steps to Reproduce:
1. Do a Rawhide mock build of the pvs-sbcl package
2.
3.

Actual results:
Documentation build fails due to a missing lua file needed by luaotfload.

Expected results:
Successful documentation build.

Additional info:

Comment 1 Orion Poplawski 2023-01-07 15:56:31 UTC
This also seems to be affecting BibTool

Comment 2 Michael J Gruber 2023-01-07 16:30:35 UTC
`texlive-lua-uni-algos.noarch` is probably what is missing. The question is: which package should require it? Probably `texlive-luaotfload`.

Comment 3 Michael J Gruber 2023-01-07 16:35:37 UTC
... and `texlive-lua-uni-algos.noarch` should require `texlive-unicode-data`, it seems.

Comment 4 Tom "spot" Callaway 2023-01-08 16:08:21 UTC
This should be fixed in texlive-2022-63.fc38 and texlive-base-20220321-56.fc38. Special thanks to Michael J Gruber for chasing missing deps two levels deep. :)