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.
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.
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.
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.
Yep, I did as you suggested, and then tried emerge scrollkeeper and it was all good. Thanks for your help Mike.
No problem, should be fixed in new GRP.