Failure when upgrading policy kit

Joe Marcus Clarke marcus at FreeBSD.org
Sat May 2 17:38:00 UTC 2009


On Tue, 2009-04-21 at 08:55 +0200, Frédéric Perrin wrote:
> Le Lundi 20 à 2:59, Joe Marcus Clarke a écrit :
> > On Sun, 2009-04-19 at 15:07 +0200, Frédéric Perrin wrote:
> >> For some time now, policykit does not upgrade properly. This has already
> >> been reported a couple of times --see [1], [2]. It fails at the same
> >> time as the other reports, when running xsltproc. Removing the -nonet
> >> option from the xsltproc invokation allows the build to proceed.
> >>
> >> /usr/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
> >
> > Can you access this URL from your build environment?
> 
> Yes, I can ; and sure enough, if I remove the -nonet option, I can see
> xsltproc fetching the file on the Internet. Looking a bit further, if I
> don't give the URL, but the local path to docbook.xsl, I get :
> 
> fred at chameau:/tmp/PolicyKit-0.9/doc/man% xsltproc /usr/local/share/xsl/docbook/manpages/docbook.xsl polkit-auth.xml
> warning: failed to load external entity "/usr/local/share/xsl/docbook/html/docbook.xsl"
> compilation error: file /usr/local/share/xsl/docbook/manpages/docbook.xsl line 9 element import
> xsl:import : unable to load /usr/local/share/xsl/docbook/html/docbook.xsl
> warning: failed to load external entity "/usr/local/share/xsl/docbook/html/manifest.xsl"
> 
> My /usr/local/share/xsl hierarchy is almost empty. I'll look further as
> to why it is so ; it seems like my docbook installation is b0rked. But
> once again, seeing that other people reported it, this doesn't seem like
> a very rare occurence.

It's not, but it's always a local problem.  Reinstalling all docbook*
ports generally fixes it.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090502/592343dd/attachment.pgp


More information about the freebsd-ports mailing list