Cannot compile curent master (because of doc) (Bug #937)


Added by Yann Salmon 26 days ago. Updated 20 days ago.


Status:New Start date:09/30/2024
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Cloning the master branch from git and running make gives the following error :

'auto-multiple-choice.en.tex' successfully built
perl -pi -e "s,b'<:',<:,g ; s,b':>',:>,g " auto-multiple-choice.en.tex
rsvg-convert -f pdf img_src/important.svg -o img_pdf/important.pdf
Environment variable $SOURCE_DATE_EPOCH: cannot parse integer from empty string
make[2]: *** [Makefile:55 : img_pdf/important.pdf] Erreur 1

If I run rsvg-convert -f pdf img_src/important.svg -o img_pdf/important.pdf (and for the other svg files), this error is eschewed, but I later get an error while compilong the documentation (because of some Japanese font, it seems) :

(/opt/yann/texlive/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg))
kpathsea: Running mktextfm IPAexMincho/OT
/opt/yann/texlive/texmf-dist/web2c/mktexnam: Could not map source abbreviation O for OT.
/opt/yann/texlive/texmf-dist/web2c/mktexnam: Need to update /opt/yann/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input OT
This is METAFONT, Version 2.71828182 (TeX Live 2024) (preloaded base=mf)

kpathsea: Running mktexmf OT
! I can't find file `OT'.
<*> \mode:=ljfour; mag:=1; ; nonstopmode; input OT

Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; ; nonstopmode; input OT

Transcript written on mfput.log.
grep: OT.log: Aucun fichier ou dossier de ce nom
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input OT' failed to make OT.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Package fontspec Error: 
(fontspec)                The font "IPAexMincho" cannot be found; this may
(fontspec)                be but usually is not a fontspec bug. Either there
(fontspec)                is a typo in the font name/file, the font is not
(fontspec)                installed (correctly), or there is a bug in the
(fontspec)                underlying font loading engine (XeTeX/luaotfload).

For immediate help type H <return>.
 ...                                              

l.37   \setCJKsansfont
                      {IPAexGothic}%
No pages of output.
Transcript written on auto-multiple-choice.en.log.

BTW, is there a way to compile AMC without the doc ?


History

Updated by Michaël Cadilhac 21 days ago

I've never been able to compile the doc. I just remove `doc` from the Makefile:

diff --git a/Makefile b/Makefile
index b68395ef..4a565c6d 100644
--- a/Makefile
+++ b/Makefile
@@ -115,7 +115,7 @@ endif
 ifeq ($(PRECOMP_ARCHIVE),)
 all:
        $(MAKE) $(FROM_IN)
-       $(MAKE) $(BINARIES) $(MAIN_LOGO).xpm $(MAIN_LOGO).svgz doc I18N
+       $(MAKE) $(BINARIES) $(MAIN_LOGO).xpm $(MAIN_LOGO).svgz I18N
        chmod a+x auto-multiple-choice
 else
 all: all_precomp

Updated by Michaël Cadilhac 21 days ago

Correction: With the most recent master, doc compiles without a hitch (Arch Linux).

Updated by Alexis Bienvenüe 20 days ago

Environment variable $SOURCE_DATE_EPOCH: cannot parse integer from empty string

Did you run make version_files before build?

Also available in: Atom PDF