Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15416 - docbook-xml-dtd-4.1.2 needed by glib-2.2.0 (slots for docbook-xml-dtd?)
Summary: docbook-xml-dtd-4.1.2 needed by glib-2.2.0 (slots for docbook-xml-dtd?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-10 00:35 UTC by Quinn Harris
Modified: 2003-09-12 21:41 UTC (History)
1 user (show)

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 Quinn Harris 2003-02-10 00:35:49 UTC
with the doc use variable, glib-2.2.0 failed to compile because
docbook-xml-dtd-4.1.2 was not installed.  docbook-xml-dtd-4.1.2 was removed
because docbook-xml-dtd-4.2 was installed and portage assumed
docbook-xml-dtd-4.1.2 was an old unneeded version.

I think the docbook-xml-dtd will need to utilize slots like the docbook-sgml-dtd
to ensure both versions will remain installed.

It might also be a good idea to change the gtk-doc ebuild to require only the
4.1 version of docbook-xml-dtd.
Comment 1 Matthew Turk (RETIRED) gentoo-dev 2003-02-10 03:39:59 UTC
Ok, I've slotted the docbook-xml-dtd and committed it.  I'll talk to the GNOME people about 
the glib ebuild, before I commit it... 
Comment 2 Stephane Loeuillet 2003-09-08 04:32:14 UTC
in fact, "docbook-xml-dtd-4.1*" is hardcoded in several packages :

gnucash-1.8.5.ebuild:   =app-text/docbook-xml-dtd-4.1.2*
scrollkeeper-0.3.12.ebuild:  =app-text/docbook-xml-dtd-4.1.2*
gtk-doc-1.1.ebuild:       =app-text/docbook-xml-dtd-4.1*

so, what to do ? have both versions (4.1 and 4.2) or have only newer and change those requirements to >=docbook-xml-dtd-4.1 ?
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2003-09-11 03:24:00 UTC
the xml-dtd SLOT fixes take care of this perfectly, allowing both 4.1.* and 4.2 to coexist. of the applications you listed, both scrollkeeper and gtk-doc _need_ the 412 DTD (it's coded into their configure.in's) but i can't check gnucash.

glib-2 doesnt directly depend on any form of docbook, however it does indirectly if you have USE="doc" through gtk-doc.

any final comments before this is closed as satai's SLOT'ting fixes it?
Comment 4 Stephane Loeuillet 2003-09-12 20:57:55 UTC
for gnucash, it seems to be an indirect dependency
there is no trace of 'docbook-xml-dtd' in gnucash 1.8.5 source

Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2003-09-12 21:41:27 UTC
unless i'm mistaken gnucash is a gtk1/gnome1 application and shouldnt have anything to do with >=glib-2.2. on the topic which was the original of this thread: docbook-xml-dtd was not slotted, when some applications depend on the older version, and some on the newer version, that problem was fixed by satai by slotting the docbook-xml-dtd ebuilds.

if there's another, seperate problem, please open another bug, thanks.