Hi, I'm currently unable to build the tagged version 5.1.0 of kicad-doc.
I did some bisecting and the last good version where I can build the kicad-doc tree is 5ed4c47dc143e3d465aec43f539924e12bda2da2. This is four commits before the 5.1.0 tag. If I try to build a5002028be57a74c955510d908e6587d516eecb3 the build is failing no matter what I try if I want have all supported languages. So basically I do cd $(source_of_kicad-doc) mkdir build && cd build cmake .. VERBOSE=1 make -j6 # as I have a six core machine The build is breaking with the following error even if I build the source only with one core! > cd /home/carsten/gitprojects/kicad-upstream/kicad-doc/build/src/eeschema && > /usr/bin/a2x --xsltproc-opts=--nonet --no-xmllint -f pdf -a lang=ja > --dblatex-opts -P\ latex.output.revhistory=0\ -P\ doc.publisher.show=0\ -s\ > /home/carsten/gitprojects/kicad-upstream/kicad-doc/CMakeSupport/pdf-cover-dblatex.sty\ > -b\ xetex\ -p\ > /home/carsten/gitprojects/kicad-upstream/kicad-doc/src/eeschema/../../xsl/dblatex-pdf-ja.xsl\ > -o\ > /home/carsten/gitprojects/kicad-upstream/kicad-doc/build/src/eeschema/ja/eeschema.pdf > > /home/carsten/gitprojects/kicad-upstream/kicad-doc/build/src/eeschema/ja/eeschema.adoc > a2x: ERROR: "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" > -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" -P latex.output.revhistory=0 > -P doc.publisher.show=0 -s > /home/carsten/gitprojects/kicad-upstream/kicad-doc/CMakeSupport/pdf-cover-dblatex.sty > -b xetex -p > /home/carsten/gitprojects/kicad-upstream/kicad-doc/src/eeschema/../../xsl/dblatex-pdf-ja.xsl > -o > /home/carsten/gitprojects/kicad-upstream/kicad-doc/build/src/eeschema/pl/eeschema.pdf > > "/home/carsten/gitprojects/kicad-upstream/kicad-doc/build/src/eeschema/pl/eeschema.xml" > returned non-zero exit status 1 To sort it a bit for readability ... > "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" \ > -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" \ > -P latex.output.revhistory=0 \ > -P doc.publisher.show=0 \ > -s > /home/carsten/gitprojects/kicad-upstream/kicad-doc/CMakeSupport/pdf-cover-dblatex.sty > -b xetex \ > -p > /home/carsten/gitprojects/kicad-upstream/kicad-doc/src/eeschema/../../xsl/dblatex-pdf-ja.xsl > \ > -o > /home/carsten/gitprojects/kicad-upstream/kicad-doc/build/src/eeschema/pl/eeschema.pdf > \ > "/home/carsten/gitprojects/kicad-upstream/kicad-doc/build/src/eeschema/pl/eeschema.xml" The build is *successful* if I configure to build only the Polish parts. cmake .. -DLANGUAGES=pl make -j6 ... Scanning dependencies of target pcbnew [ 98%] Built target pcbnew [100%] Built target eeschema_epub_pl Scanning dependencies of target eeschema [100%] Built target eeschema If you look careful into the above error message you will notice that dblatex is using some XSL schema for Japanese! This is because a2x is using "lang=ja" I guess. Why the hell the build is configured for using this language here? For sure this can't work. So if I look into the generated file (build)src/eeschema/CMakeFiles/eeschema_pdf_pl.dir/build.make I can clearly see the build here is configured build some Japanese stuff. Why is this changing after commit a5002028? And even more confusing, building the current head I see the same, but now reversed! Now the system says it is configuring/building the Japanese version of eeschema but is using the Polish files. Anyone any idea or can reproduce this? If I revert a5002028 the build is working, but this can't be the root of the issue is this commit is clearly only about PO file changes. I'm running Debian Testing as usual. -- Regards Carsten Schoenert -- Mailing list: https://launchpad.net/~kicad-doc-devs Post to : kicad-doc-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-doc-devs More help : https://help.launchpad.net/ListHelp