Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2009 15:07:46 +0200
From:      =?utf-8?Q?Fr=C3=A9d=C3=A9ric_Perrin?= <frederic.perrin@resel.fr>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>, gnome@FreeBSD.org
Cc:        freebsd-ports@freebsd.org
Subject:   Failure when upgrading policy kit
Message-ID:  <86eivo7pwd.fsf@chameau.maisel.enst-bretagne.fr>

next in thread | raw e-mail | index | archive | help
Hello,

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.

The (I think) relevant package versions that I have are the following :

docbook-4.1_3                       =3D   up-to-date with port
libxml2-2.7.3                       =3D   up-to-date with port
libxslt-1.1.24_2                    =3D   up-to-date with port
sdocbook-xml-1.1,1                  =3D   up-to-date with port
policykit-0.9_2                     <   needs updating (port has 0.9_4)

Also :
% ls -l /usr/local/share/xsl/docbook/manpages/docbook.xsl
-rw-r--r--  1 root  wheel  14763 24 f=C3=A9v 12:51 /usr/local/share/xsl/doc=
book/manpages/docbook.xsl

The version that fails to rebuild correctly is :
# $FreeBSD: ports/sysutils/policykit/Makefile,v 1.18 2009/03/30 00:17:16 ma=
rcus Exp $
#   $MCom: ports/sysutils/policykit/Makefile,v 1.22 2008/08/21 21:53:00 mez=
z Exp $

(By the way, is that the right place to send a problem with ports, or
should I try send-pr ? The handbook says to try contacting the
maintainer.)

The trace that I get is the following :

[Runs fine...]
cc -O2 -fno-strict-aliasing -march=3Dpentium4 -Wall -Wchar-subscripts -Wmis=
sing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-comp=
are -Wformat -Wformat-security -Wl,--as-needed -o .libs/polkitd polkitd-pol=
kit-daemon.o polkitd-main.o  -L/usr/local/lib /usr/local/lib/libdbus-glib-1=
.so /usr/local/lib/libgobject-2.0.so ../src/polkit/.libs/libpolkit.so ../sr=
c/polkit-dbus/.libs/libpolkit-dbus.so ../src/polkit-grant/.libs/libpolkit-g=
rant.so /usr/local/lib/libglib-2.0.so -licui18n /usr/local/lib/libintl.so /=
usr/local/lib/libiconv.so /usr/local/lib/libpcre.so /usr/local/lib/libdbus-=
1.so -pthread /usr/ports/sysutils/policykit/work/PolicyKit-0.9/src/polkit/.=
libs/libpolkit.so /usr/local/lib/libexpat.so  -Wl,--rpath -Wl,/usr/local/lib
creating polkitd
gmake[3]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0=
.9/polkitd'
gmake[2]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0=
.9/polkitd'
Making all in doc
gmake[2]: Entering directory `/usr/ports/sysutils/policykit/work/PolicyKit-=
0.9/doc'
Making all in man
gmake[3]: Entering directory `/usr/ports/sysutils/policykit/work/PolicyKit-=
0.9/doc/man'
/usr/local/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/c=
urrent/manpages/docbook.xsl polkit-auth.xml
I/O error : Attempt to load network entity http://docbook.sourceforge.net/r=
elease/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/rel=
ease/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/do=
cbook.xsl
gmake[3]: *** [polkit-auth.1] Error 4
gmake[3]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0=
.9/doc/man'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0=
.9/doc'

Other, unanswered reports :

[1] Error building policykit, Frank frank_s at bellsouth.net, Sat Feb 21
05:35:05 PST 2009.
<http://lists.freebsd.org/pipermail/freebsd-ports/2009-February/053211.html>;

[2] policykit build failure, Eitan Adler eitanadlerlist at gmail.com,
Thu Mar 12 17:47:56 PDT 2009
<http://lists.freebsd.org/pipermail/freebsd-ports/2009-March/053594.html>;

Regards,
--=20
Fred



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