xmlcatmgr & docproj broken?
Sergei Kolobov
sergei at FreeBSD.org
Mon Dec 29 09:44:50 PST 2003
On 2003-12-30 at 01:33 +0900, Hiroki Sato wrote:
> Kenneth W Cochran <kwc at TheWorld.com> wrote
> in <200312291610.LAA13349885 at shell.TheWorld.com>:
>
> kwc> ===> Checking if textproc/dsssl-docbook-modular already installed
> kwc> /usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add CATALOG docbook/dsssl/modular/catalog
> kwc> xmlcatmgr: entry already exists
> kwc> *** Error code 1
> kwc>
> kwc> Stop in /usr/ports/textproc/dsssl-docbook-modular.
> kwc> ----------------------------------------
> kwc>
> kwc> Currently I'm unable to install this port, therefore also unable
> kwc> to install textproc/docproj.
> kwc> Any idea(s) what's wrong here? How to fix/workaround?
> kwc> Should I file a pr?
I cannot reproduce the problem here: I just upgraded xmlcatmgr to
version 1.2 on a box that had 1.1 installed previously.
I have seen similar problems in the past (i.e. before my recent commit
to upgrade xmlcatmgr to 1.2) where ${PREFIX}/share/xml/catalog existed,
but it wasn't a true XML catalog (i.e. created in pre-xmlcatmgr era).
In those cases, running portupgrade -fR docbook-* to force
rebuilding/reinstalling docbook ports and all dependencies helped.
YMMV, though.
> I think the cause is that while "add CATALOG" in the post-install
> target uses ${RELDIR}/catalog, in pkg-plist
> ${PREFIX}/share/sgml/${RELDIR}(%%DTDDIR%%) is used. It is probably
> a bug in the port skeleton, but removing a line
> CATALOG "docbook/dsssl/modular/catalog" in
> /usr/local/share/sgml/catalog.ports manually, you can avoid such a problem.
I cannot see any problem in the port's skeleton.
> Kuriyama-san, could you please fix %%DTDDIR%%? The pathnames
> should be consistent.
Please explain.
Sergei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20031229/fd9b66d8/attachment.bin
More information about the freebsd-ports
mailing list