Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31155 - Emerge scrollkeeper failed complaining of missing docbook-dtd412-xml which is handled by the app-text/docbook-xml-dtd ebuild
Summary: Emerge scrollkeeper failed complaining of missing docbook-dtd412-xml which is...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 15:09 UTC by Dan Sketcher
Modified: 2003-10-15 04:42 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 Dan Sketcher 2003-10-14 15:09:19 UTC
So, when attempting the emerge of app-text/scrollkeeper-0.3.12 the build failed
because of a missing dependency that should have been provided by
app-text/docbook-xml-dtd-4.1.2-r4 (both current versions in x86 at time of
writing). docbook-xml-dtd is a listed dependency of scrollkeeper.

It would seem that he emerge of docbook-xml-dtd is broken, as it did not
populate the /etc/xml/catalog file. As per the given URL of the forum
discussion, this could be 'fixed' by overwriting the empty /etc/xml/catalog with
 /etc/xml/docbook. 

Reproducible: Always
Steps to Reproduce:




Once the /etc/xml/catalog file was replaced, the scrollkeeper emerge was fixed.
However, i can no longer replicate the errors from the end of the
docbook-xml-dtd emerge.
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-10-14 19:04:02 UTC
were you using GRP ? was /etx/xml/catalog an _completely_ blank file before
? the libxml2 included in the 1.4 GRP had this bug, where libxml2 didnt create
the catalog in /etc/xml/catalog so some other package could try to write
to a non-existent catalog, but that's been fixed in portage and GRP versions
after that. 

the docbook-xml-dtd ebuild is not broken, it adds to the catalog if it exists,
(take a look in pkg_postinst), and it populates /etc/xml/catalog fine for
me. if anything it was another package at fault, but as you've fixed it we
cant look into it some more.

copying docbook->catalog is neither an option, nor a solution. docbook isnt
the only thing that uses xml/catalogs.
Comment 2 Dan Sketcher 2003-10-14 20:56:35 UTC
Yes I did use GRP, but not for Gnome. I don't know if libxml2 installed during
my setup but I can only assume so.

/etc/xml/catalog contained only a line break. When I retried emerging (a
few times) docbook-xml-dtd it did not add content to the file. 

Seeing as i have now copied docbook to catalog should I delete catalog and
reemerge libxml2?

Thanks for having a look at this.

Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2003-10-14 21:12:39 UTC
Yep, the empty /etc/xml/catalog is the GRP problem. The best solution is
to rm /etc/xml/catalog, and then emerge libxml2 docbook-xml-dtd docbook-xsl-stylesheets.
That should create a valid catalog, then add the dtd and xsl entries, so
give that a try.
Comment 4 Dan Sketcher 2003-10-15 03:48:06 UTC
Yep, I did as you suggested, and then tried emerge scrollkeeper and it was
all good.

Thanks for your help Mike.
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2003-10-15 04:42:47 UTC
No problem, should be fixed in new GRP.