Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502568 - dev-libs/glib-2.38.2 should depend on >=app-text/docbook-xml-dtd-4.1.2 instead of app-text/docbook-xml-dtd:4.1.2
Summary: dev-libs/glib-2.38.2 should depend on >=app-text/docbook-xml-dtd-4.1.2 instea...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 22:06 UTC by Thomas Deutschmann (RETIRED)
Modified: 2014-02-27 20:04 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2014-02-26 22:06:14 UTC
Hi,

dev-libs/glib pulls in =app-text/docbook-xml-dtd:4.1.2 but this is not needed. The package builds fine with app-text/docbook-xml-dtd-4.5. So I propose to depend only on

  >=app-text/docbook-xml-dtd-4.1.2


Reproducible: Always
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2014-02-27 12:44:01 UTC
Hi,

please close this as invalid:

While reporting this bug I didn't really know the app-text/docbook-xml-dtd package and how it is used.

If a documentation in the source has set a DTD, the package needs the corresponding app-text/docbook-xml-dtd package (slot).

For example if you build a documentation with 4.2 DTD but you don't have app-text/docbook-xml-dtd:4.2 installed, you will see warnings like


warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
          "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
                                                                   ^

=> So my request is invalid, because when you grep through the dev-libs/glib-2.38.2 source code for DTDs you will find documentations with 4.1.2 DTD, for example "glib-2.38.2/gio/gdbus-2.0/codegen/codegen_docbook.py".

But you will also find many documentations with DTD 4.5 so I would say that a requirement for app-text/docbook-xml-dtd:4.5 is missing.

However, if you don't have *any* app-text/docbook-xml-dtd package installed, dev-libs/glib will build without any error or warning. So it seems like that the package doesn't build documentation and we don't have a need for app-text/docbook-xml-dtd at all...

But maybe another bug report for removing the app-text/docbook-xml-dtd dependency at all should be filled. :)

This bug request is however invalid. Please close it. Thanks.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-02-27 20:04:54 UTC
:)