Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2009 13:38:17 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        =?ISO-8859-1?Q?Fr=E9d=E9ric?= Perrin <frederic.perrin@resel.fr>
Cc:        gnome@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   Re: Failure when upgrading policy kit
Message-ID:  <1241285897.33649.98.camel@shumai.marcuscom.com>
In-Reply-To: <86k55eh4wb.fsf@chameau.maisel.enst-bretagne.fr>
References:  <86eivo7pwd.fsf@chameau.maisel.enst-bretagne.fr> <1240189164.1356.31.camel@shumai.marcuscom.com> <86k55eh4wb.fsf@chameau.maisel.enst-bretagne.fr>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@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@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAkn8hQgACgkQb2iPiv4Uz4cDJACeO98hOqeKXs3hw2y88+CV7kt9
l2wAnAzV1leP8KG+eOZnu1RGHKMBSgAp
=gIcw
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1241285897.33649.98.camel>