[Pkg-electronics-devel] Bug#892161: kicad: FTBFS asciidoc / dblatex fail
Dimitri John Ledkov
xnox at ubuntu.com
Tue Mar 6 10:09:37 UTC 2018
Package: kicad
Version: 4.0.7+dfsg1-1
Severity: important
Dear Maintainer,
kicad started to fail to build from source in both debian and
ubuntu. It appears that there might be in-compatibility between
asciidoc/dblatex/kicad-docs.
The build log is not very helpful:
Scanning dependencies of target kicad_pdf_id
make[4]: Leaving directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
make -f src/kicad/CMakeFiles/kicad_pdf_id.dir/build.make src/kicad/CMakeFiles/kicad_pdf_id.dir/build
make[4]: Entering directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
cd /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/gerbview && /usr/bin/a2x --xsltproc-opts=--nonet --no-xmllint -f pdf -a lang=en --dblatex-opts -P\ latex.output.revhistory=0\ -P\ doc.publisher.show=0\ -s\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/CMakeSupport/pdf-cover-dblatex.sty\ -b\ xetex\ -p\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/gerbview/../../xsl/dblatex-pdf-ja.xsl\ -b\ xetex\ -p\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/gerbview/../../xsl/dblatex-pdf-ru.xsl\ -o\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/gerbview/en/gerbview.pdf /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/gerbview/en/gerbview.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 /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/CMakeSupport/pdf-cover-dblatex.sty -b xetex -p /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/gerbview/../../xsl/dblatex-pdf-ja.xsl -b xetex -p /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/gerbview/../../xsl/dblatex-pdf-ru.xsl -o /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/gerbview/en/gerbview.pdf "/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/gerbview/en/gerbview.xml" returned non-zero exit status 1
make[4]: *** [src/gerbview/CMakeFiles/gerbview_pdf_en.dir/build.make:60: src/gerbview/CMakeFiles/gerbview_pdf_en] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
make[3]: *** [CMakeFiles/Makefile2:9116: src/gerbview/CMakeFiles/gerbview_pdf_en.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
make[4]: Entering directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
cd /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/gerbview && /usr/bin/a2x --xsltproc-opts=--nonet --no-xmllint -f pdf -a lang=ru --dblatex-opts -P\ latex.output.revhistory=0\ -P\ doc.publisher.show=0\ -s\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/CMakeSupport/pdf-cover-dblatex.sty\ -b\ xetex\ -p\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/gerbview/../../xsl/dblatex-pdf-ja.xsl\ -b\ xetex\ -p\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/gerbview/../../xsl/dblatex-pdf-ru.xsl\ -o\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/gerbview/ru/gerbview.pdf /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/gerbview/ru/gerbview.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 /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/CMakeSupport/pdf-cover-dblatex.sty -b xetex -p /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/gerbview/../../xsl/dblatex-pdf-ja.xsl -b xetex -p /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/gerbview/../../xsl/dblatex-pdf-ru.xsl -o /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/gerbview/ru/gerbview.pdf "/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/gerbview/ru/gerbview.xml" returned non-zero exit status 1
make[4]: *** [src/gerbview/CMakeFiles/gerbview_pdf_ru.dir/build.make:60: src/gerbview/CMakeFiles/gerbview_pdf_ru] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
make[3]: *** [CMakeFiles/Makefile2:9003: src/gerbview/CMakeFiles/gerbview_pdf_ru.dir/all] Error 2
make[4]: Entering directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
cd /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/kicad && /usr/bin/a2x --xsltproc-opts=--nonet --no-xmllint -f pdf -a lang=id --dblatex-opts -P\ latex.output.revhistory=0\ -P\ doc.publisher.show=0\ -s\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/CMakeSupport/pdf-cover-dblatex.sty\ -o\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/kicad/id/kicad.pdf /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/kicad/id/kicad.adoc
make[4]: Leaving directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
make[3]: Entering directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
Built target kicad_pdf_id
make[3]: Leaving directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
make[4]: Entering directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
cd /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/getting_started_in_kicad && /usr/bin/a2x --xsltproc-opts=--nonet --no-xmllint -f pdf -a lang=en --dblatex-opts -P\ latex.output.revhistory=0\ -P\ doc.publisher.show=0\ -s\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/CMakeSupport/pdf-cover-dblatex.sty\ -b\ xetex\ -p\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/getting_started_in_kicad/../../xsl/dblatex-pdf-ja.xsl\ -b\ xetex\ -p\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/getting_started_in_kicad/../../xsl/dblatex-pdf-ru.xsl\ -o\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/getting_started_in_kicad/en/getting_started_in_kicad.pdf /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/getting_started_in_kicad/en/getting_started_in_kicad.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 /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/CMakeSupport/pdf-cover-dblatex.sty -b xetex -p /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/getting_started_in_kicad/../../xsl/dblatex-pdf-ja.xsl -b xetex -p /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/getting_started_in_kicad/../../xsl/dblatex-pdf-ru.xsl -o /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/getting_started_in_kicad/en/getting_started_in_kicad.pdf "/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/getting_started_in_kicad/en/getting_started_in_kicad.xml" returned non-zero exit status 1
make[4]: *** [src/getting_started_in_kicad/CMakeFiles/getting_started_in_kicad_pdf_en.dir/build.make:60: src/getting_started_in_kicad/CMakeFiles/getting_started_in_kicad_pdf_en] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
make[3]: *** [CMakeFiles/Makefile2:9260: src/getting_started_in_kicad/CMakeFiles/getting_started_in_kicad_pdf_en.dir/all] Error 2
make[4]: Entering directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
cd /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/getting_started_in_kicad && /usr/bin/a2x --xsltproc-opts=--nonet --no-xmllint -f pdf -a lang=ru --dblatex-opts -P\ latex.output.revhistory=0\ -P\ doc.publisher.show=0\ -s\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/CMakeSupport/pdf-cover-dblatex.sty\ -b\ xetex\ -p\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/getting_started_in_kicad/../../xsl/dblatex-pdf-ja.xsl\ -b\ xetex\ -p\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/getting_started_in_kicad/../../xsl/dblatex-pdf-ru.xsl\ -o\ /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/getting_started_in_kicad/ru/getting_started_in_kicad.pdf /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/getting_started_in_kicad/ru/getting_started_in_kicad.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 /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/CMakeSupport/pdf-cover-dblatex.sty -b xetex -p /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/getting_started_in_kicad/../../xsl/dblatex-pdf-ja.xsl -b xetex -p /<<BUILDDIR>>/kicad-4.0.7+dfsg1/doc/src/getting_started_in_kicad/../../xsl/dblatex-pdf-ru.xsl -o /<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/getting_started_in_kicad/ru/getting_started_in_kicad.pdf "/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc/src/getting_started_in_kicad/ru/getting_started_in_kicad.xml" returned non-zero exit status 1
make[4]: *** [src/getting_started_in_kicad/CMakeFiles/getting_started_in_kicad_pdf_ru.dir/build.make:60: src/getting_started_in_kicad/CMakeFiles/getting_started_in_kicad_pdf_ru] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/kicad-4.0.7+dfsg1/debian/build/doc'
make[3]: *** [CMakeFiles/Makefile2:9892: src/getting_started_in_kicad/CMakeFiles/getting_started_in_kicad_pdf_ru.dir/all] Error 2
Not including the full log, as it is 10MB big and thus I do not believe it is at all helpful.
This is currently reproducible with $ sbuild -A -d unstable kicad_4.0.7+dfsg1-1
Regards,
Dimitri.
More information about the Pkg-electronics-devel
mailing list