#19784: policykit 0.9 fails while making doc -------------------------------+-------------------------------------------- Reporter: jim@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: policykit -------------------------------+-------------------------------------------- Comment(by jim@…): I did experience a build error. It looked like: {{{
sudo port install policykit ---> Building policykit Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/PolicyKit-0.9" && make all " returned error 2 Command output: make all-recursive Making all in data make[2]: Nothing to be done for `all'. Making all in src Making all in kit make[3]: Nothing to be done for `all'. Making all in polkit make[3]: Nothing to be done for `all'. Making all in polkit-dbus make[3]: Nothing to be done for `all'. Making all in polkit-grant make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in polkitd make all-am make[3]: Nothing to be done for `all-am'. Making all in doc Making all in man /opt/local/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl polkit-auth.xml I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl make[3]: *** [polkit-auth.1] Error 4 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: Status 1 encountered during processing. }}} Fetching the file via curl worked, so I patched as attached. If there's a good way to detect/repair the breakage, it'd be nice if we hint it to the user. I'll attach my /opt/local/etc/xml/catalog for examination. -- Ticket URL: <http://trac.macports.org/ticket/19784#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS