GNU bug report logs - #39101
asymptote build fails: Math formula deleted: Insufficient symbol fonts.

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Sun, 12 Jan 2020 14:59:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 39101 <at> debbugs.gnu.org
Subject: bug#39101: asymptote build fails: Math formula deleted: Insufficient symbol fonts.
Date: Wed, 05 May 2021 15:53:29 +0200
[Message part 1 (text/plain, inline)]
Hi Pierre,

> Asymptote only succeeds building randomly on Berlin.  On my 
> machine, it
> systematically fails with
[…]
> ! Math formula deleted: Insufficient symbol fonts.

Lars and I just ran into this problem with python-nbconvert after 
I changed it to use texlive-union.  It built just fine on our 
respective laptops, but it would fail on ci.guix.gnu.org and 
another build farm.

Because TeX is a mystery to me I resorted to running the failing 
xelatex invocation under strace on ci.guix.gnu.org and my laptop 
to see where they diverge.  LaTeX looks for fonts by reading the 
“share/texmf-dist/fonts/tfm/” directory in the texlive-union; on 
the different machines the order of directories differed.  On my 
laptop LaTeX would find the fonts provided by texlive-cm first; on 
the build farms it would find the fonts provided by 
texlive-amsfonts first.

The immediate problem here was that texlive-amsfonts accidentally 
produced too many fonts — not just those it should but also 
conversions of files from its own inputs, including those provided 
by texlive-cm.  So I added texlive-amsfonts/patched in commit 
9db67988242ad514fa900e840b1494bda6001d6b (we can’t change 
texlive-amsfonts on the “master” branch) and rebuilt 
python-nbconvert with that new texlive-union.  Now that there are 
no duplicate fonts, LaTeX won’t find the wrong font first and the 
build succeeded.

I’m suspecting that its the same problem with asymptote.

Could you please try this patch and report back?  It builds fine 
for me.

[foo.diff (text/x-patch, inline)]
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 7f59bae770..4b89ddafd1 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -224,7 +224,7 @@ colors, styles, options and details.")
        ("perl" ,perl)
        ("texinfo" ,texinfo)             ;For generating documentation
        ;; For the manual and the tests.
-       ("texlive" ,(texlive-union (list texlive-amsfonts
+       ("texlive" ,(texlive-union (list texlive-amsfonts/patched
                                         texlive-epsf
                                         texlive-etoolbox
                                         texlive-latex-base
[Message part 3 (text/plain, inline)]
Thanks!

-- 
Ricardo

This bug report was last modified 3 years and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.