Failure when upgrading policy kit

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


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                       =   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
maintainer.)

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/libdbus-glib-1.so /usr/local/lib/libgobject-2.0.so ../src/polkit/.libs/libpolkit.so ../src/polkit-dbus/.libs/libpolkit-dbus.so ../src/polkit-grant/.libs/libpolkit-grant.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/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
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,
-- 
Fred


More information about the freebsd-ports mailing list