[Bug 195538] sysutils/polkit fails while building man target and reports recursion in catalog and being unable to load an external entity

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 15 16:09:05 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195538

Mikhail Teterin <mi at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hrs at FreeBSD.org

--- Comment #4 from Mikhail Teterin <mi at FreeBSD.org> ---
(In reply to Mikhail Teterin from comment #3)
> No, I do not know, why it does not fail at ALL times,

Ok, now I do. Before going to the Internet for referenced resource, the tools
will try to find it locally. For that, it consults your
${LOCALBASE}/share/xml/catalog, which normally is just a shim for
${LOCALBASE}/share/xml/catalog.ports

If either of those files are somehow corrupt AND accessing the necessary file
over the Internet is prohibited (which it normally is), the error will occur.

In my case here a filesystem corruption (or some other problem) left
catalog.ports EMPTY... Something else may be the reason in your case.

> nor do I know, how to fix it.

Ok, catalog.ports can be restored with something like:

xmlcatmgr -c /usr/local/share/xml/catalog.ports create xml

(Obtained from
https://forums.freebsd.org/threads/fixes-for-missing-xml-sgml-catalogs.43109/)

The ports-infrastructure really ought to handle such cases better, but with the
current portmgr@'s emphasis on pre-built binary packages, tinkerers building
from source are on their own.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list