Failure when upgrading policy kit

Frédéric Perrin frederic.perrin at
Sun Apr 19 13:30:06 UTC 2009


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                       =   up-to-date with port
libxml2-2.7.3                       =   up-to-date with port
libxslt-1.1.24_2                    =   up-to-date with port
sdocbook-xml-1.1,1                  =   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év 12:51 /usr/local/share/xsl/docbook/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 marcus Exp $
#   $MCom: ports/sysutils/policykit/Makefile,v 1.22 2008/08/21 21:53:00 mezz 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

The trace that I get is the following :

[Runs fine...]
cc -O2 -fno-strict-aliasing -march=pentium4 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -Wl,--as-needed -o .libs/polkitd polkitd-polkit-daemon.o polkitd-main.o  -L/usr/local/lib /usr/local/lib/ /usr/local/lib/ ../src/polkit/.libs/ ../src/polkit-dbus/.libs/ ../src/polkit-grant/.libs/ /usr/local/lib/ -licui18n /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ -pthread /usr/ports/sysutils/policykit/work/PolicyKit-0.9/src/polkit/.libs/ /usr/local/lib/  -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 polkit-auth.xml
I/O error : Attempt to load network entity
warning: failed to load external entity ""
cannot parse
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, Sat Feb 21
05:35:05 PST 2009.

[2] policykit build failure, Eitan Adler eitanadlerlist at,
Thu Mar 12 17:47:56 PDT 2009


More information about the freebsd-ports mailing list