Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

today's update breaks fonts in texlive #28051

Closed
dkwo opened this issue Jan 20, 2021 · 12 comments
Closed

today's update breaks fonts in texlive #28051

dkwo opened this issue Jan 20, 2021 · 12 comments
Labels
bug Something isn't working

Comments

@dkwo
Copy link
Contributor

dkwo commented Jan 20, 2021

$ xuname
Void 5.10.8_1 x86_64-musl GenuineIntel uptodate hold rrnDFFF

Since today's update, this fails for me

\documentclass{article}
\usepackage{amsmath,amssymb}

\begin{document}
$\mathfrak k$
\end{document}

with

$ pdflatex test
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/VoidLinux) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2020-10-01> patch level 2
L3 programming layer <2020-12-03> xparse <2020-03-03>
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) (./test.aux)
(/usr/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd)
(/usr/share/texmf-dist/tex/latex/amsfonts/ueuf.fd) [1

pdfTeX warning: pdflatex (file pdftex.map): cannot open font map file
] (./test.aux) ) </usr/share/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.
pk>
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 eufm10
gsftopk: fatal: map file `psfonts.map' not found.
mktexpk: don't know how to create bitmap font for eufm10.
mktexpk: perhaps eufm10 is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.

!pdfTeX error: pdflatex (file eufm10): Font eufm10 at 600 not found
 ==> Fatal error occurred, no output PDF file produced!
@ericonr
Copy link
Member

ericonr commented Jan 20, 2021

@fosslinux @Chocimier

@ericonr ericonr added the bug Something isn't working label Jan 20, 2021
@ifreund
Copy link
Contributor

ifreund commented Jan 20, 2021

I get the following trying to output beamer slides from pandoc after the update:

pandoc --from markdown+task_lists -t beamer \
        -V theme=metropolis \
        -o slides.pdf slides.md
Error producing PDF.
! pdfTeX error (font expansion): auto expansion is only possible with scalable 
fonts.
<argument> ...shipout:D \box_use:N \l_shipout_box 
                                                  
l.206 \end{frame}

This worked before the update with no changes.

@ahesford
Copy link
Member

I see the same issue as @dkwo when compiling well-formed LaTeX documents.

@ahesford
Copy link
Member

During the upgrade, the following error was printed for each texlive-* package that was configured:

fmtutil [ERROR]: running `aleph -ini   -jobname=lamed -progname=lamed *lambda.ini </dev/null' return status: 1

Downgrading texlive-core to 2020.55416_2 (and the texlive-most meta) instead prints

fmtutil [ERROR]: running `pdftex -ini   -jobname=pdflatex-dev -progname=pdflatex-dev -translate-file=cp227.tcx *pdflatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `xetex -ini   -jobname=xelatex-dev -progname=xelatex-dev -etex xelatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luahbtex -ini   -jobname=lualatex-dev -progname=lualatex-dev lualatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luatex -ini   -jobname=dvilualatex-dev -progname=dvilualatex-dev dvilualatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini   -jobname=latex-dev -progname=latex-dev -translate-file=cp227.tcx *latex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict

but allows me to compile the aforementioned document again.

@fosslinux
Copy link
Contributor

Wuh woh... I'll look into it.

@fosslinux
Copy link
Contributor

This was an error with my testing setup that I overlooked. I will fix the error once gcc10 builds are over.

In the meantime, please run the following commands to fix it, fixed it for me in a clean Void install:

sed -i 's:`kpsewhich -var-value=TEXMFROOT`:"/usr/share/texmf-dist":' /usr/sbin/updmap
updmap-sys --syncwithtrees
updmap-sys

FWIW, the fix for this is to patch updmap in texlive and to add updmap to the trigger... (hooray, even longer times for the trigger :|).

Sorry about that!

@q66
Copy link
Contributor

q66 commented Jan 21, 2021

confirming that fixes it

@ahesford
Copy link
Member

Seems to work for me as well, but does not eliminate the fmtutil error that I noted earlier.

@fosslinux
Copy link
Contributor

fosslinux commented Jan 21, 2021

I have been unable to reproduce that fmtutil error. Can you please provide a list of all installed texlive- packages and the output of aleph -ini -jobname=lamed -progname=lamed *lambda.ini </dev/null.

I believe this error is harmless.

@ahesford
Copy link
Member

I doubt the aleph error is related to this issue and I agree that it's harmless, but it is new with these texlive updates.

  • Ouput from fmtutil-sys run as in the XBPS trigger, but without --quiet: fmtutil-sys.log
  • Output of the failed aleph run mentioend in fmtutil-sys output: lamed.log
  • List of installed TeXLive packages: tlpkgs.txt

@fosslinux fosslinux mentioned this issue Jan 21, 2021
3 tasks
@ahesford
Copy link
Member

Closed in af51134

@Begasus

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants