Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649390 - app-office/gnumeric should DEPEND on app-text/docbook-xml-dtd
Summary: app-office/gnumeric should DEPEND on app-text/docbook-xml-dtd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-02 18:03 UTC by mod
Modified: 2018-11-17 17:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch adding DEPEND on >=app-text/docbook-xml-dtd-4.5-r1:4.5 (gnumeric-1.12.35.ebuild.patch,293 bytes, patch)
2018-03-05 18:36 UTC, mod
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mod 2018-03-02 18:03:32 UTC
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;
            ^
Comment 1 mod 2018-03-05 18:36:07 UTC
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.
Comment 2 Sebastian 2018-04-28 07:26:46 UTC
Hi all,

I ran into the same issue. The solution works for me, too.

Kind regards,
Seb
Comment 3 Larry the Git Cow gentoo-dev 2018-11-17 17:22:10 UTC
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(-)