From: Ricardo Wurmus <rekado@elephly.net>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: 39101@debbugs.gnu.org
Subject: bug#39101: asymptote build fails: Math formula deleted: Insufficient symbol fonts.
Date: Wed, 05 May 2021 15:53:29 +0200 [thread overview]
Message-ID: <87fsz1s2w6.fsf@elephly.net> (raw)
In-Reply-To: <87r20467sd.fsf@ambrevar.xyz>
[-- Attachment #1: Type: text/plain, Size: 1578 bytes --]
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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: foo.diff --]
[-- Type: text/x-patch, Size: 661 bytes --]
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
[-- Attachment #3: Type: text/plain, Size: 22 bytes --]
Thanks!
--
Ricardo
next prev parent reply other threads:[~2021-05-05 13:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-12 14:58 bug#39101: asymptote build fails: Math formula deleted: Insufficient symbol fonts Pierre Neidhardt
2021-05-05 13:53 ` Ricardo Wurmus [this message]
2021-05-05 14:07 ` Pierre Neidhardt
2021-06-05 7:27 ` Ricardo Wurmus
2021-06-05 7:30 ` Pierre Neidhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fsz1s2w6.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=39101@debbugs.gnu.org \
--cc=mail@ambrevar.xyz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.