xelatex flakiness on Fedora 32; workarounds

I tried to typeset (compile) a simple letter using the "oldletter" LateX package using xelatex on Fedora 32, and got these error messages (and no pdf output):

mktexfmt [INFO]: writing formats under /home/home/.texlive2019/texmf-var/web2c
mktexfmt [INFO]: --- remaking xelatex with xetex
mktexfmt [WARNING]: inifile xelatex.ini for xelatex/xetex not found.
mktexfmt [INFO]: Not selected formats: 1
mktexfmt [INFO]: Failed to build: 1 (xetex/xelatex)
mktexfmt [INFO]: Total formats: 2
mktexfmt [INFO]: exiting with status 1
I can't find the format file `xelatex.fmt'!

I tried various random crap from "answers" sites, and eventually a general "yum update" changed the situation.  Not fixed, but changed.  Now I got:

This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./2021-11-25.ib.complaint.demand.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-04-06>
(/usr/share/texlive/texmf-dist/tex/latex/base/letter.cls
Document Class: letter 2014/09/29 v1.2z Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xdvipdfmx.def)))
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)))kpathsea:make_tex: Invalid filename `Linux Libertine O', contains ' '
 
! Package fontspec Error: The font "Linux Libertine O" cannot be found.
 
Eventually, after installing the packages linux-libertine-fonts and linux-libertine-biolinum-fonts (maybe just the former would have been sufficient), xelatex started producing proper output.

This is a bug in Fedora.  Installing texlive-xetex, which gave xelatex, should give a working xelatex.

Also, how are you supposed to know which part of the string from rpm -qf is the package name, and which part is other information?

rpm -qf `which xelatex`
texlive-xetex-20200327-21.fc32.x86_64

$ rpm -qf `which xelatex` --queryformat '%{NAME}'
texlive-xetex

How do you know that of "texlive-xetex-20200327-21.fc32.x86_64", the package name is "texlive-xetex"?

Comments

Popular posts from this blog

the persistent idiocy of "privileged ports" on Unix

hardly any suitcases or shopping trolleys have brakes

you are even more disgusting than before the pandemic, especially you disgusting bloated milky (non-Jap) ones