Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2010 11:32:16 +0100
From:      Ralf Folkerts <ralf.folkerts@gmx.de>
To:        freebsd-ports@freebsd.org
Subject:   Build of sysutils/polkit, sysutils/policykit, docbook-410 Problem
Message-ID:  <4B5AD030.30705@gmx.de>

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

I just updated my Ports-Tree and tried to rebuild sysutils/policykit (to =

0.9_6) and sysutils/polkit (to 0.96_1) as per UPDATING.

However, I ran into a Problem, because both wanted to Install=20
docbook-410 4.1_4) which was installed and up-to-date already.

It seems, that policykit and polkit expect

policykit:
BUILD_DEPENDS=3D =20
${LOCALBASE}/share/sgml/docbook/4.1/catalog:${PORTSDIR}/textproc/docbook-=
410=20
\
                 xsltproc:${PORTSDIR}/textproc/libxslt \
                =20
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/=
docbook-xsl

polkit:
BUILD_DEPENDS+=3D=20
${LOCALBASE}/share/sgml/docbook/4.1/catalog:${PORTSDIR}/textproc/docbook-=
410=20
\
                 xsltproc:${PORTSDIR}/textproc/libxslt \
                =20
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/=
docbook-xsl

/usr/local/share/sgml/docbook/4.1/catalog, while docbook-410 (4.1_4)=20
installs

share/sgml/docbook/4.1/dtd/catalog

the catalog into the dtd Subdir.

The Result is... (it's the same for polkit)

[-su]beaster:~$cd /usr/ports/sysutils/policykit
[-su]beaster:policykit$make
=3D=3D=3D>  Extracting for policykit-0.9_6
=3D> MD5 Checksum OK for PolicyKit-0.9.tar.gz.
=3D> SHA256 Checksum OK for PolicyKit-0.9.tar.gz.
=3D=3D=3D>  Patching for policykit-0.9_6
=3D=3D=3D>  Applying FreeBSD patches for policykit-0.9_6
=3D=3D=3D>   policykit-0.9_6 depends on file:=20
/usr/local/share/sgml/docbook/4.1/catalog - not found
=3D=3D=3D>    Verifying install for /usr/local/share/sgml/docbook/4.1/cat=
alog=20
in /usr/ports/textproc/docbook-410
=3D=3D=3D>  Extracting for docbook-4.1_4
=3D> MD5 Checksum OK for docbk41.zip.
=3D> SHA256 Checksum OK for docbk41.zip.
=3D=3D=3D>   docbook-4.1_4 depends on file: /usr/local/bin/unzip - found
=3D=3D=3D>  Patching for docbook-4.1_4
=3D=3D=3D>  Configuring for docbook-4.1_4
=3D=3D=3D>  Installing for docbook-4.1_4
=3D=3D=3D>   docbook-4.1_4 depends on file:=20
/usr/local/share/sgml/iso8879/catalog - found
=3D=3D=3D>   docbook-4.1_4 depends on file: /usr/local/bin/xmlcatmgr - fo=
und
=3D=3D=3D>   Generating temporary packing list
=3D=3D=3D>  Checking if textproc/docbook-410 already installed
=3D=3D=3D>   docbook-4.1_4 is already installed
       You may wish to ``make deinstall'' and install this port again
       by ``make reinstall'' to upgrade it properly.
       If you really wish to overwrite the old port of textproc/docbook-4=
10
       without deleting it first, set the variable "FORCE_PKG_REGISTER"
       in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/textproc/docbook-410.
*** Error code 1

Stop in /usr/ports/sysutils/policykit.


I circumvented this by changing the BUILD_DEPENDS Makefiles for=20
policykit and polkit

from

${LOCALBASE}/share/sgml/docbook/4.1/catalog

to

${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog

However, as I have no clue who's correct (the pol.*kit Makefiles by=20
assuming "catalog" in /share/sgml/docbook/4.1/ or the docbook-410 who=20
installs into the dtd Subdir) it would be cool if someone could check=20
this...

Btw: This is on

FreeBSD 7.2-STABLE FreeBSD 7.2-STABLE #0: Fri Dec 11 22:19:58 CET 2009=20
/usr/obj/usr/src/sys/GENERIC  amd64

Cheers,
_ralf_





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