Emerging docbook-sgml-utils fails Reproducible: Always Steps to Reproduce: 1.emerge docbook-sgml-utils 2. 3. Actual Results: ... jade:/etc/sgml/dsssl-docbook-stylesheets.cat:1:8:E: cannot open "/usr/share/sgml/docbook/dsssl-stylesheets-1.77/catalog" (No such file or directory) jade:/etc/sgml/dsssl-docbook-stylesheets.cat:1:8:E: cannot open "/usr/share/sgml/docbook/dsssl-stylesheets-1.77/catalog" (No such file or directory) jade:/etc/sgml/dsssl-docbook-stylesheets.cat:1:8:E: cannot open "/usr/share/sgml/docbook/dsssl-stylesheets-1.77/catalog" (No such file or directory) jade:/etc/sgml/dsssl-docbook-stylesheets.cat:1:8:E: cannot open "/usr/share/sgml/docbook/dsssl-stylesheets-1.77/catalog" (No such file or directory) make[2]: *** [api.html] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [backend-spec.html] Error 1 make[2]: Leaving directory `/var/tmp/portage/docbook-sgml-utils-0.6.14/work/docbook-utils-0.6.14/doc/HTML' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/docbook-sgml-utils-0.6.14/work/docbook-utils-0.6.14/doc' make: *** [all-recursive] Error 1 !!! ERROR: app-text/docbook-sgml-utils-0.6.14 failed. !!! Function src_compile, Line 556, Exitcode 2 !!! emake failed
It looks like you manually touched the catalogs, or something else broke them, but it's not really a problem with docbook-sgml-utils. What version of docbook-dsssl-stylesheets do you have in your system? Try emerging docbook-dsssl-stylesheets manually and then docbook-sgml-utils again. Also, please attach the output from "emerge info". Thanks.
Thanks for the answer :) I should have looked into the error message. I have docbook-dsssl-stylesheets version 1.79, so portage was unable to find them. I made a softlink to ..-1.79 from ..-1.77 and it compiled cleanly :) So, thanks for the support, but i think one of the packages should undergo a minor fix. Bye.
docbook-dsssl-stylesheets should install the files in the correct place and add the right catalog entry. Please remove the symbolic link you created and emerge docbook-dsssl-stylesheets again, and attach here the complete output from that so we can see what's going wrong. Thanks.
Created attachment 62341 [details] docbook-dsssl-stylesheets-1.79 complete output okay, here it is :) i still think that it lacks a creation of a symbolic link but that's just my opinion :) bye.
So everything is installed correctly. What symbolic link are you talking about? "to ..-1.79 from ..-1.77"? Note that when it's being upgraded, the catalog entry is modified in /etc/sgml/catalog and nothing has to be kept from the previous version (e.g. 1.77).
*** Bug 101297 has been marked as a duplicate of this bug. ***
I'd like to add that on my system, I'm getting this same error. Here is the current state of a few items of interest on my system: hydra ~ # l /etc/sgml catalog sgml-docbook-4.2.cat dsssl-docbook-stylesheets.cat sgml-docbook-4.3.cat openjade-1.3.2.cat sgml-docbook-4.4.cat sgml-docbook-3.0.cat sgml-docbook.cat sgml-docbook-3.1.cat sgml-ent.cat sgml-docbook-4.0.cat sgml.conf sgml-docbook-4.1.cat xml-simple-docbook-4.1.2.4.cat hydra ~ # cat /etc/sgml/catalog CATALOG "/etc/sgml/sgml-ent.cat" CATALOG "/etc/sgml/sgml-docbook.cat" CATALOG "/etc/sgml/sgml-docbook-4.2.cat" CATALOG "/etc/sgml/sgml-docbook-3.0.cat" CATALOG "/etc/sgml/sgml-docbook-3.1.cat" CATALOG "/etc/sgml/sgml-docbook-4.1.cat" CATALOG "/etc/sgml/sgml-docbook-4.0.cat" CATALOG "/etc/sgml/dsssl-docbook-stylesheets.cat" CATALOG "/etc/sgml/openjade-1.3.2.cat" CATALOG "/etc/sgml/sgml-docbook-4.3.cat" CATALOG "/etc/sgml/xml-simple-docbook-4.1.2.4.cat" CATALOG "/etc/sgml/sgml-docbook-4.4.cat" hydra ~ # cd /etc/sgml hydra sgml # grep 1.77 * dsssl-docbook-stylesheets.cat:CATALOG "/usr/share/sgml/docbook/dsssl-stylesheets-1.77/catalog" hydra sgml # grep 1.79 * dsssl-docbook-stylesheets.cat:CATALOG "/usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog" hydra sgml # l /usr/share/sgml/docbook db2X-customization/ sgml-dtd-4.0/ sgml-dtd-4.4/ xml-dtd-4.4/ dsssl-stylesheets-1.79/ sgml-dtd-4.1/ utils-0.6.14/ xml-simple-dtd-1.0/ sgml-dtd-3.0/ sgml-dtd-4.2/ xml-dtd-4.1.2/ xml-simple-dtd-4.1.2.4/ sgml-dtd-3.1/ sgml-dtd-4.3/ xml-dtd-4.3/ xsl-stylesheets-1.68.1/ hydra sgml # esearch docbook-dsssl [ Results for search key : docbook-dsssl ] [ Applications found : 1 ] * app-text/docbook-dsssl-stylesheets Latest version available: 1.79 Latest version installed: 1.79 Size of downloaded files: 271 kB Homepage: http://docbook.sourceforge.net/projects/dsssl/index.html Description: DSSSL Stylesheets for DocBook. License: as-is It seems to me that the auto-clean of 1.77 did not remove it's entry properly from dsssl-docbook-stylesheets.cat.