In man make phase build fails because: 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" Reproducible: Always Steps to Reproduce: emerge policykit Actual Results: Making all in man make[3]: Entering directory `/var/tmp/portage/sys-auth/policykit-0.9/work/PolicyKit-0.9/doc/man' /usr/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[3]: Leaving directory `/var/tmp/portage/sys-auth/policykit-0.9/work/PolicyKit-0.9/doc/man' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-auth/policykit-0.9/work/PolicyKit-0.9/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-auth/policykit-0.9/work/PolicyKit-0.9' make: *** [all] Error 2
Created attachment 184216 [details, diff] docbook.xsl path change With patch applied policykit installs. Though I have no idea if this approach is correct.
Och... another build-system that tries to access WWW... Reassigning to freedesktop herd.
this patch is wrong. If you have app-text/docbook-xsl-stylesheets installed (it is in DEPEND so you should have it), this call should be catched by the docbook "cache". Please paste the output of: egrep "xsl" /etc/xml/catalog
(In reply to comment #3) > Please paste the output of: > egrep "xsl" /etc/xml/catalog There was no catalog file on this system. I realized its because app-text/docbook-xsl-stylesheets package was (as almost every other package on this system) installed using paludis-0.34.0_alpha2 which seems to skip pkg_postinst phase. After issuing "ebuild /usr/portage/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.74.0.ebuild postinst" command, catalog file appeared. Also policykit builds fine now. Thanks for the hint. I wonder if paludis was/is "incomplete" or the docbook-xsl-stylesheets ebuild is somehow incorrect.
maybe the implemented the thing about trusted command execution or something like that. Anyway not running pkg_postinst commands is bond to create a lot of problems so you should probably contact paludis guys so they can fix it.