Summary: | app-doc/kicad-doc-7.0.X has issues with USE="pdf" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Miroslav Šulc <fordfrog> |
Component: | Current packages | Assignee: | Zoltan Puskas <zoltan> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | jon.roadleybattin, kripton, proxy-maint, rossi.f, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 697450 | ||
Bug Blocks: |
Description
Miroslav Šulc
2021-11-25 15:38:31 UTC
Same problem here. Looks like a missing dependency, plus possibly some adjustment to the cmake script. From https://lists.launchpad.net/kicad-developers/msg45138.html, I understand that dev-ruby/asciidoctor is a missing dependency, however installing this did not make the build work. I will have a look at this later to see if I can find out more! (In reply to Paul Jewell from comment #1) > Same problem here. Looks like a missing dependency, plus possibly some > adjustment to the cmake script. From > https://lists.launchpad.net/kicad-developers/msg45138.html, I understand > that dev-ruby/asciidoctor is a missing dependency, however installing this > did not make the build work. I will have a look at this later to see if I > can find out more! Ah, I meant to check the asciidoctor thing. I'm sorry, I thought had. Please do investigate if you can, but I can try look later on. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65ae6bff344129414304ca53d486a4c16afd50d commit b65ae6bff344129414304ca53d486a4c16afd50d Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-26 10:44:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-26 10:45:14 +0000 app-doc/kicad-doc: change IUSE default to +html, not +pdf in 6.0.0_rc1 ... because we can't build +pdf right now due to an unpackaged dep. Bug: https://bugs.gentoo.org/827290 Signed-off-by: Sam James <sam@gentoo.org> app-doc/kicad-doc/kicad-doc-6.0.0_rc1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d24980ccc61f80db91c0bb56947e6a33753e7ef commit 6d24980ccc61f80db91c0bb56947e6a33753e7ef Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-26 10:44:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-26 10:45:13 +0000 profiles/base: mask kicad-doc[pdf] Needs an unpackaged dependency (asciidoctor-pdf). Bug: https://bugs.gentoo.org/827290 Signed-off-by: Sam James <sam@gentoo.org> profiles/base/package.use.mask | 5 +++++ 1 file changed, 5 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d93ecfa213b7752e06d02dd1f14da7be82e764eb commit d93ecfa213b7752e06d02dd1f14da7be82e764eb Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-26 10:43:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-26 10:45:12 +0000 app-doc/kicad-doc: BDEPEND on asciidoctor for 6.0.0_rc1 Bug: https://bugs.gentoo.org/827290 Signed-off-by: Sam James <sam@gentoo.org> app-doc/kicad-doc/kicad-doc-6.0.0_rc1.ebuild | 2 ++ 1 file changed, 2 insertions(+) Actually it should be possible to produce PDFs by using another backend. Even if the default backend is asciidoctorpdf, it's simply enough to add -DPDF_GENERATOR="DBLATEX" to the cmake options for kicad-doc. This will solve this bug now and avoid waiting for #697450 (In reply to Fabio Rossi from comment #4) > Actually it should be possible to produce PDFs by using another backend. > Even if the default backend is asciidoctorpdf, it's simply enough to add > -DPDF_GENERATOR="DBLATEX" to the cmake options for kicad-doc. This will > solve this bug now and avoid waiting for #697450 Thanks for the tip! Sadly, it fails to build for me as reported at https://gitlab.com/kicad/services/kicad-doc/-/issues/808. (In reply to Sam James from comment #5) > (In reply to Fabio Rossi from comment #4) > > Actually it should be possible to produce PDFs by using another backend. > > Even if the default backend is asciidoctorpdf, it's simply enough to add > > -DPDF_GENERATOR="DBLATEX" to the cmake options for kicad-doc. This will > > solve this bug now and avoid waiting for #697450 > > Thanks for the tip! Sadly, it fails to build for me as reported at > https://gitlab.com/kicad/services/kicad-doc/-/issues/808. Oh, I see. I forgot to say I am working with a personal kicad-doc-9999.ebuild and it works, I can build the PDFs. As we have kicad-9999 in portage maybe it make sense to follow upstream also on the doc side. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=469197fae79659e03789e6c58e57597a9ecda82c commit 469197fae79659e03789e6c58e57597a9ecda82c Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-27 01:16:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-27 01:19:06 +0000 app-doc/kicad-doc: use asciidoc, use ${PF} for docs - Use asciidoc for now (not clear if upstream will continue to allow it though) - ${PF} should work now with a corresponding change in kicad (https://gitlab.com/kicad/code/kicad/-/commit/c5e77e9739424837540469780cef3ffb66eadbf3) Bug: https://bugs.gentoo.org/827290 Bug: https://bugs.gentoo.org/830024 Signed-off-by: Sam James <sam@gentoo.org> .../{kicad-doc-6.0.0.ebuild => kicad-doc-6.0.0-r1.ebuild} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) sci-electronics/kicad-6.x is gone, please close as obsolete. Reopen if the bug also happens on 7.x Issue still exists, though currently PDF build is disabled in the ebuild. We need to introduce asciidoctor-pdf into the tree, which would enable building the PDF documentation again. |