Subject: pkg/29789: textproc/docbook-xml fails to install correctly
To: None <,,>
From: Chris Gilbert <>
List: pkgsrc-bugs
Date: 03/25/2005 01:12:00
>Number:         29789
>Category:       pkg
>Synopsis:       docbook-xml fails to install, causing other packages to also fail.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 25 01:12:00 +0000 2005
>Originator:     Chris Gilbert <>
>Release:        NetBSD 2.0.1
System: NetBSD 2.0.1 NetBSD 2.0.1 (INDY) #2: Sat Mar 12 22:10:26 GMT 2005 i386
Architecture: i386
Machine: i386
	After the switch to always use BUILDLINK3, it appears that docbook-xml fails to install correctly:
===> 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 /usr/pkg/share/xml/docbook)
(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/catalog.xml /usr/pkg/share/xml/docbook/catalog
/extra/obj/pkgsrc/textproc/docbook-xml/work.indy/.pkgdb/+INSTALL: /bin/xmlcatmgr: not found

Note the last line, /bin/xmlcatmgr not found.

More digging shows that BUILDLINK_PREFIX.xmlcatmgr isn't setup correctly, so XMLCATMGR isn't set correctly. IE:
> make show-var VARNAME=XMLCATMGR
> make show-var VARNAME=BUILDLINK_PREFIX.xmlcatmgr


This eventually causes other packages to fail, eg gtk-doc, as they can't find xml related catalogues.

	make install in pkgsrc/textproc/docbook-xml
	Not sure, I think mk/buildlink3/ isn't getting included, so BUILDLINK_PREFIX isn't setup.