Summary: | dev-util/gtk-doc-am-1.15 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | lyle2.0 |
Component: | [OLD] Unspecified | Assignee: | Gentoo SGML project <sgml> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | arttuv69, gnome |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config.log file
/etc/xml/catalog /etc/xml/docbook |
Description
lyle2.0
2010-11-16 18:36:11 UTC
Created attachment 254537 [details]
config.log file
Attached config.log.
configure:12979: checking for DocBook XML DTD V4.3 in XML catalog configure:12982: $XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.3//EN" >&2 No entry for PUBLIC -//OASIS//DTD DocBook XML V4.3//EN configure:12985: $? = 4 configure:12990: result: not found configure:12992: error: could not find DocBook XML DTD V4.3 in XML catalog So let's do that manually: $ xmlcatalog --noout /etc/xml/catalog "-//OASIS//DTD DocBook XML V4.3//EN" file:///usr/share/sgml/docbook/xml-dtd-4.3/docbookx.dtd Works for me. So we continue: qfile ... app-text/docbook-xml-dtd (/usr/share/sgml/docbook/xml-dtd-4.3/docbookx.dtd) gtk-doc-am propery DEPENDs on app-text/docbook-xml-dtd:4.3 so I don't see how it could be missing on your system. > $ xmlcatalog --noout /etc/xml/catalog "-//OASIS//DTD DocBook XML V4.3//EN" > file:///usr/share/sgml/docbook/xml-dtd-4.3/docbookx.dtd That gives me: No entry for PUBLIC -//OASIS//DTD DocBook XML V4.3//EN No entry for SYSTEM file:///usr/share/sgml/docbook/xml-dtd-4.3/docbookx.dtd No entry for URI file:///usr/share/sgml/docbook/xml-dtd-4.3/docbookx.dtd > Works for me. So we continue: > qfile ... > app-text/docbook-xml-dtd (/usr/share/sgml/docbook/xml-dtd-4.3/docbookx.dtd) Same results here. I *do* have a /usr/share/sgml/docbook/xml-dtd-4.3/docbookx.dtd file, and if it helps here's the version info from it: $Id: docbookx.dtd,v 1.21 2004/03/31 10:59:14 nwalsh Exp $ What do you have in /etc/xml/catalog and /etc/xml/docbook? Created attachment 254839 [details]
/etc/xml/catalog
Attached /etc/xml/catalog
Created attachment 254841 [details]
/etc/xml/docbook
Attached /etc/xml/docbook
Something seems to have emptied your XML DTD catalog. It only contains an empty catalog element. I don't know if there is an easier way to get the catalog contents back than to re-emerge the packages which provide dtds so that they get re-registered in the catalog. Following might help: qlist -CLIS docbook-x | xargs -r emerge -1 This should re-emerge the docbook xml packages you have installed, and (looking at my box) you will still be missing at least glade and scrollkeeper entries (if you use them), so you might want to emerge -1 them as well. I have no idea what could empty the catalog in this way. Maybe libxml2 or some other library which might be used to access the catalog file doesn't work right with your -O3? Maybe you've hit a weird bug in sgml-catalog.eclass or one of the scripts it calls? (In reply to comment #7) > qlist -CLIS docbook-x | xargs -r emerge -1 That seems to have resolved it. Your guess is better than mine as far as what might have emptied the catalog. Thanks a lot for your help! from what concerns gnome, -O3 cflag is not supported. However if you can reproduce the problem with -O2, we would be happy to know as it might also help with the infamous bug #128952. closing per previous comments. |