Subject: Re: pkg/29789
To: None <email@example.com>
From: Mouseless Keyboard <firstname.lastname@example.org>
Date: 03/26/2005 15:46:07
I hope I get this in the right direction..
For those of you, who need docbook-xml and docbook-xsl, I have no idea
what's wrong with that, but I'd like to tell you how you can get it
working for the moment.
It's best to start this procedure with docbook-xsl and continue with
Go into the package directory and install the package.
Do not clean, since you need to edit the file "./work/.pkgdb/+INSTALL"
as well as "./work/.pkgdb/+DEINSTALL".
Search for xmlcatmgr, you'll find a few lines like:
# Register SGML/XML catalog entries.
XML_ENTRIES=' nextCatalog /usr/pkg/share/xsl/docbook/catalog --'
Edit the variables XMLCATMGR, SGML_CATALOG, XML_CATALOG with prefixing
/usr/pkg, so that the variables look like
Save the file, run pkg_delete -f docbook-xsl (or docbook-xml) and run
make reinstall from the top of the package-dir.
The packages should install properly now and you may continue to
update textproc/gtk-doc for example.
I hope this helps.
On Fri, 25 Mar 2005 16:08:01 +0000 (UTC), "Julio M. Merino Vidal"
> The following reply was made to PR pkg/29789; it has been noted by GNATS.
> From: "Julio M. Merino Vidal" <email@example.com>
> To: firstname.lastname@example.org
> Cc: email@example.com, firstname.lastname@example.org,
> email@example.com, Chris Gilbert <firstname.lastname@example.org>
> Subject: Re: pkg/29789
> Date: Fri, 25 Mar 2005 16:39:29 +0100
> On Fri, 2005-03-25 at 13:05 +0000, email@example.com wrote:
> > Synopsis: docbook-xml fails to install, causing other packages to also
> > State-Changed-From-To: closed->open
> > State-Changed-By: firstname.lastname@example.org
> > State-Changed-When: Fri, 25 Mar 2005 13:05:01 +0000
> > State-Changed-Why:
> > indy# make clean
> > ===> Cleaning for docbook-xml-4.2nb6
> > indy# make install
> > ===> Checking for vulnerabilities in docbook-xml-4.2nb6
> > => Checksum SHA1 OK for docbook-xml-4.2.zip.
> > => Checksum RMD160 OK for docbook-xml-4.2.zip.
> > work.indy -> /extra/obj/pkgsrc/textproc/docbook-xml/work.indy
> > ===> Extracting for docbook-xml-4.2nb6
> > ===> Required installed package unzip-[0-9]*: unzip-5.52nb1 found
> > ===> Patching for docbook-xml-4.2nb6
> > ===> Applying pkgsrc patches for docbook-xml-4.2nb6
> > ===> Overriding tools for docbook-xml-4.2nb6
> > ===> Configuring for docbook-xml-4.2nb6
> > ===> Installing for docbook-xml-4.2nb6
> > install -d -o root -g wheel -m 755 /usr/pkg/share/xml/docbook
> > install -d -o root -g wheel -m 755 /usr/pkg/share/xml/docbook/ent
> > (cd /extra/obj/pkgsrc/textproc/docbook-xml/work.indy; install -c -o root
> -g wheel -m444 calstblx.dtd dbcentx.mod dbgenent.mod dbhierx.mod
> dbnotnx.mod dbpoolx.mod docbookx.dtd soextblx.dtd
> > (cd /extra/obj/pkgsrc/textproc/docbook-xml/work.indy/ent; install -c -o
> root -g wheel -m 444 *.ent /usr/pkg/share/xml/docbook/ent)
> > (cd /extra/obj/pkgsrc/textproc/docbook-xml/work.indy; install -c -o
> root -g wheel -m 444 README /usr/pkg/share/xml/docbook)
> > install -c -o root -g wheel -m 444
> > /extra/obj/pkgsrc/textproc/docbook-xml/work.indy/.pkgdb/+INSTALL:
> /bin/xmlcatmgr: not found
> > ===> Registering installation for docbook-xml-4.2nb6
> > indy# grep NetBSD ../xmlcatmgr/catalogs.mk
> > # $NetBSD: catalogs.mk,v 1.9 2005/03/24 22:42:59 jlam Exp $
> > Still broken with v1.9 of catalogs.mk.
> Oops, sorry. I did some tests first with docbook-xml, basically trying
> 'make show-var VARNAME=XMLCATMGR PKG_PHASE=configure' and saw the
> incorrect result. But after a while, I ended up in the libxml2
> directory, where the same command produces the expected, correct output.
> I didn't notice that I was in the wrong directory at the end, so I got
> the impression that it was fixed.
> > I believe the cause maybe related to the use of NO_BUILD in the Makefile,
> which bsd.wrappers.mk uses to decide it shouldn't include
> Very probable.
> Julio M. Merino Vidal <email@example.com>
> The NetBSD Project - http://www.NetBSD.org/