Gnumeric fails to build on AMD64 due to missing docbook-xml-dtd dependency Emerging docbook-xml-dtd, then emerging gnumeric again succeeds. More info here: https://forums.gentoo.org/viewtopic-p-8161340.html?sid=80168fc8c7458529e5fbdb29128c1cf6 The moderator concluded a bug should be opened, but I didn't see one. Apologies if I'm wrong, as this is my first gentoo bug report. Let me know if this isn't as easily reproducible as it seems, and more information is needed from me. ---------------------------------------------------- Build error I encountered before installing docbook: Error: Could not parse document: ..//C/gnumeric.xml:51: I/O warning : failed to load external entity "file:///usr/share/sgml/docbook/xml-dtd-4.5/ent/isopub.ent" %isopub; ^ ..//C/gnumeric.xml:56: I/O warning : failed to load external entity "file:///usr/share/sgml/docbook/xml-dtd-4.5/ent/isonum.ent" %isonum; ^ ..//C/gnumeric.xml:61: I/O warning : failed to load external entity "file:///usr/share/sgml/docbook/xml-dtd-4.5/ent/isogrk1.ent" %isogrk1; ^
Created attachment 522460 [details, diff] patch adding DEPEND on >=app-text/docbook-xml-dtd-4.5-r1:4.5 Gnumeric was failing to compile, even though I already had some versions of docbook.xml.dtd installed: # equery list *docbook-xml-dtd* * Searching for *docbook-xml-dtd* ... [IP-] [ ] app-text/docbook-xml-dtd-4.1.2-r6:4.1.2 [IP-] [ ] app-text/docbook-xml-dtd-4.2-r2:4.2 [IP-] [ ] app-text/docbook-xml-dtd-4.3-r1:4.3 [IP-] [ ] app-text/docbook-xml-dtd-4.4-r2:4.4 But it succeeded when I installed docbook-xml-dtd-4.5r1. So I added a DEPEND for =>app-text/docbook-xml-dtd-4.5-r1:4.5. I'm not sure if the greater than is correct, or if this will be a static requirement. I don't know enough about the package to guess. Running this ebuild in a test overlay pulls in the right docbook-xml-dtd and installs properly.
Hi all, I ran into the same issue. The solution works for me, too. Kind regards, Seb
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc99c2058fa2a623d10d11928d6eb531dfa966f commit dfc99c2058fa2a623d10d11928d6eb531dfa966f Author: Gilles Dartiguelongue <eva@gentoo.org> AuthorDate: 2018-11-17 17:18:21 +0000 Commit: Gilles Dartiguelongue <eva@gentoo.org> CommitDate: 2018-11-17 17:21:53 +0000 app-office/gnumeric: add missing DTD to DEPEND Delete unneeded SRC_URI. Make sure gobject-introspection can be installed for all supported python versions. Closes: https://bugs.gentoo.org/649390 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org> app-office/gnumeric/gnumeric-1.12.43.ebuild | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-)