Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261546 - sys-auth/policykit-0.9 man creation fails because of docbook.xsl unreachable
Summary: sys-auth/policykit-0.9 man creation fails because of docbook.xsl unreachable
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-07 11:24 UTC by tao
Modified: 2009-03-09 15:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
docbook.xsl path change (policykit-0.9-xsl-path.patch,399 bytes, patch)
2009-03-07 11:32 UTC, tao
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tao 2009-03-07 11:24:54 UTC
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
Comment 1 tao 2009-03-07 11:32:47 UTC
Created attachment 184216 [details, diff]
docbook.xsl path change

With patch applied policykit installs. Though I have no idea if this approach is correct.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-07 11:38:34 UTC
Och... another build-system that tries to access WWW...

Reassigning to freedesktop herd.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-07 11:54:48 UTC
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
Comment 4 tao 2009-03-09 15:33:48 UTC
(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.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-09 15:45:05 UTC
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.