| Summary: | XeLaTeX broken out-of-the-box, "I can't find the format file `xelatex.fmt'!" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | James <james> | ||||
| Component: | texlive | Assignee: | Than Ngo <than> | ||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 24 | CC: | asn, daw-redhatbugzilla, gregoire, info, jberan, mcatanzaro+wrong-account-do-not-cc, mstock, pertusus, ppisar, rvokal, sam, steko, than | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-08-08 11:39:44 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
As a workaround, install TeX Live 2011 from <http://fedoraproject.org/wiki/Features/TeXLive> Then reinstall package texlive-xetex. Worked for me. I upgraded to texlive 2011, which removed the "more than 5 years old" error, but even with Tiago's "yum reinstall texlive-xetex" I still get the error: $ xelatex xtemp This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) restricted \write18 enabled. kpathsea: Running mktexfmt xelatex.fmt I can't find the format file `xelatex.fmt'! This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I have the same problem with texlive-xetex-svn26330.0.9997.5-16.fc18.noarch in F18. It worked in F17. It does not work in F18. Stracing "fmtutils-sys --all" shows some interesting lines, like /bin/kpsewhich finds libkpathsea.so.6 in /builddir/build/BUILD/... Configuration is read: # fmtutil-sys --catcfg xelatex xetex language.dat -etex xelatex.ini xetex xetex language.def -etex xetex.ini But kpsewich cannot find xelatex.ini: # "kpsewhich" "-progname=xelatex" "-format=tex" "xelatex.ini" # echo $? 1 After installing texlive-latex: xelatex --output-driver="xdvipdfmx -V 5" oh2013-gulag.tex This is XeTeX, Version 3.1415926-2.5-0.9999 (TeX Live 2013/dev) restricted \write18 enabled. xelatex: fatal: Could not undump 1114113 8-byte item(s) from /usr/share/texlive/texmf-var/web2c/xetex/xelatex.fmt. /usr/share/texlive/texmf-dist/tex/latex/latexconfig/xelatex.ini is provided by texlive-latexconfig. Now fmtutil-sys --all does a lot of things, but prints warning: (/usr/share/texlive/texmf-dist/tex/latex/base/preload.cfg (/usr/share/texlive/texmf-dist/tex/latex/base/preload.ltx kpathsea: Running mktextfm cmex10 /usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation for cmex10. /usr/share/texlive/texmf/web2c/mktexnam: Need to update ? mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input cmex10 /bin/mktextfm: řádek 96: mf: příkaz nenalezen grep: cmex10.log: Adresář nebo soubor neexistuje mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input cmex10' failed to make cmex10.tfm. kpathsea: Appending font creation commands to missfont.log. [...] Beginning to dump on file xelatex.fmt (format=xelatex 2013.2.8) 69835 strings of total length 61230 44389 memory locations dumped; current usage is 264&42421 3256 multiletter control sequences \font\OMS/cmsy/m/n/7=nullfont \font\OMX/cmex/m/n/10=cmex10 ! Can't \dump a format with native fonts or font-mappings. <*> xelatex.ini ? ! Emergency stop. <*> xelatex.ini No pages of output. Transcript written on xelatex.log. Warning: `xetex -ini -jobname=xelatex -progname=xelatex -etex xelatex.ini' possibly failed. fmtutil: /usr/share/texlive/texmf-var/web2c/xetex/xelatex.fmt installed. I guess something is missing. And /usr/bin/mf is provided by texlive-metafont. After installing it, compilation format complains on missing fonts: kpathsea: Running mktexmf cmex10 ! I can't find file `cmex10'. <*> ...:=ljfour; mag:=1; nonstopmode; input cmex10 Please type another input file name ! Emergency stop. [...] Beginning to dump on file xelatex.fmt (format=xelatex 2013.2.8) 69835 strings of total length 61230 44389 memory locations dumped; current usage is 264&42421 3256 multiletter control sequences \font\OMS/cmsy/m/n/7=nullfont \font\OMX/cmex/m/n/10=cmex10 ! Can't \dump a format with native fonts or font-mappings. <*> xelatex.ini ? ! Emergency stop. <*> xelatex.ini The computer modern fonts are provided by texlive-cm. After installing it fmutils-sys --all passes. However using xelatex fails on missing encoding styles now: (/usr/share/texlive/texmf-dist/tex/latex/base/fixltx2e.sty) ************************************************* * LaTeX warning: "xparse/redefine-command" * * Redefining document command \oldstylenums with arg. spec. 'm' on line 107. ************************************************* ) (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty ! Package fontenc Error: Encoding file `eu1enc.def' not found. (fontenc) You might have misspelt the name of the encoding. The encoding definitions are provided by texlive-euenc. Then /usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg cannot find xetex.def. xetex.def is provided texlive-xetex-def. After installing these two packages, I'm able to translate my XeLaTeX document despite it complains on some missing files: ** WARNING ** Could not open config file "dvipdfmx.cfg". ** WARNING ** Failed to load AGL file "pdfglyphlist.txt"... ** WARNING ** Failed to load AGL file "glyphlist.txt"... Glyph lists are provided by texlive-glyphlist. Everything seems happy now in F19. Everyone OK for me to close this off? Unfortunately I am still seeing this error in F19. Installing texlive-euenc and texlive-xetex-def fixes the problem, but they should perhaps be added as dependencies? Agree with comment #12: texlive-euenc and texlive-xetex-def should probably be dependencies on texlive-xetex, as installing these (missing) packages fixes the missing .def files. I have same problem in F20. /usr/bin/mktexfmt: line 395: /usr/share/texlive/texmf-dist/texconfig/tcfmgr: No such file or directory fmtutil: config file `fmtutil.cnf' not found. I can't find the format file `xelatex.fmt'! Marcela, I have the same issue on F21. What package is needed to fix this? 'dnf install texlive-texconfig' fixes the issue from comment #14 for me. I've run into comment #8 today on f22. Would be nice to edit requires for texlive-xetex as suggested in comment #13. I confirm that the problem exists in F22 and the solution suggested in comment #13 works. The issue from comment #14 is still present in fedora 23. And the solution from comment #15 works partially: it fixes the immediate problem (missing /usr/share/texlive/texmf-dist/texconfig/tcfmgr) but then xelatex complains about not finding cmr10 (http://paste.fedoraproject.org/311922/12090145) I tried installing texlive-euenc and texlive-xetex-def, but the problem persists. Ok, I found the missing package: I also had to install texlive-cm. Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '24'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Created attachment 510282 [details] Simple sample file on which XeLaTeX bails. Description of problem: On a fresh, updated Fedora 15 install, XeLaTeX fails complaining about files more than 5 years old, and that it "can't find the format file `xelatex.fmt'!". $ xelatex xetexsample.tex This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6) %&-line parsing enabled. kpathsea: Running mktexfmt xelatex.fmt fmtutil: running `xetex -ini -jobname=xelatex -progname=xelatex -etex xelatex.ini' ... This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6) (INITEX) %&-line parsing enabled. entering extended mode (/usr/share/texmf/tex/latex/latexconfig/xelatex.ini (/usr/share/texmf/tex/generic/xetexconfig/unicode-letters.tex) (/usr/share/texmf/tex/latex/base/latex.ltx (/usr/share/texmf/tex/latex/base/texsys.cfg) ./texsys.aux found \@currdir set to: ./. Assuming \openin and \input have the same search path. Defining UNIX/DOS style filename parser. catcodes, registers, compatibility for TeX 2, parameters, !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! You are attempting to make a LaTeX format from a source file ! That is more than five years old. ! ! If you enter <return> to scroll past this message then the format ! will be built, but please consider obtaining newer source files ! before continuing to build LaTeX. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! LaTeX source files more than 5 years old!. l.545 ...aTeX source files more than 5 years old!} ? ! Emergency stop. l.545 ...aTeX source files more than 5 years old!} No pages of output. Transcript written on xelatex.log. Error: `xetex -ini -jobname=xelatex -progname=xelatex -etex xelatex.ini' failed ############################################################################### fmtutil: Error! Not all formats have been built successfully. Visit the log files in directory /home/james/.texlive2007/texmf-var/web2c for details. ############################################################################### This is a summary of all `failed' messages and warnings: `xetex -ini -jobname=xelatex -progname=xelatex -etex xelatex.ini' failed warning: kpathsea: mktexfmt output `This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6) (INITEX) %&-line parsing enabled. entering extended mode (/usr/share/texmf/tex/latex/latexconfig/xelatex.ini (/usr/share/texmf/tex/generic/xetexconfig/unicode-letters.tex) (/usr/share/texmf/tex/latex/base/latex.ltx (/usr/share/texmf/tex/latex/base/texsys.cfg) ./texsys.aux found \@currdir set to: ./. Assuming \openin and \input have the same search path. Defining UNIX/DOS style filename parser. catcodes, registers, compatibility for TeX 2, parameters, !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! You are attempting to make a LaTeX format from a source file ! That is more than five years old. ! ! If you enter <return> to scroll past this message then the format ! will be built, but please consider obtaining newer source files ! before continuing to build LaTeX. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! LaTeX source files more than 5 years old!. l.545 ...aTeX source files more than 5 years old!} ? ! Emergency stop. l.545 ...aTeX source files more than 5 years old!} No pages of output. Transcript written on xelatex.log.' instead of a filename. I can't find the format file `xelatex.fmt'! Offending sample TeX file attached. Version-Release number of selected component (if applicable): texlive-texmf-xetex-2007-37.fc15.noarch texlive-xetex-2007-62.fc15.x86_64 texlive-texmf-latex-2007-37.fc15.noarch texlive-latex-2007-62.fc15.x86_64 Additional info: This seems to be fixed in TeXLive 2010 and later --- consider pushing this to updates?