pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29789



The following reply was made to PR pkg/29789; it has been noted by GNATS.

From: Mouseless Keyboard <mouseless%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/29789
Date: Sat, 26 Mar 2005 15:46:07 +0100

 Hey,
 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
 docbook-xml.
 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.                                           
 
 #                                                                              
 
                                                                                
 
 XMLCATMGR='/bin/xmlcatmgr'
 SGML_CATALOG='/share/sgml/catalog'
 XML_CATALOG='/share/xml/catalog'
 SGML_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
 
 XMLCATMGR='/usr/pkg/bin/xmlcatmgr'
 SGML_CATALOG='/usr/pkg/share/sgml/catalog'
 XML_CATALOG='/usr/pkg/share/xml/catalog'
 
 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.
 
 Regards, Eddy.
 
 
 On Fri, 25 Mar 2005 16:08:01 +0000 (UTC), "Julio M. Merino Vidal"
 <jmmv84%gmail.com@localhost> wrote:
 > The following reply was made to PR pkg/29789; it has been noted by GNATS.
 > 
 > From: "Julio M. Merino Vidal" <jmmv84%gmail.com@localhost>
 > To: chris%netbsd.org@localhost
 > Cc: pkg-manager%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost,
 >      gnats-admin%netbsd.org@localhost, Chris Gilbert 
 > <chris%dokein.co.uk@localhost>
 > Subject: Re: pkg/29789
 > Date: Fri, 25 Mar 2005 16:39:29 +0100
 > 
 >  On Fri, 2005-03-25 at 13:05 +0000, chris%netbsd.org@localhost wrote:
 >  > Synopsis: docbook-xml fails to install, causing other packages to also
 > fail.
 >  > 
 >  > State-Changed-From-To: closed->open
 >  > State-Changed-By: chris%netbsd.org@localhost
 >  > 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
 > /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
 >  > ===> 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
 > bsd.buildlink3.mk.
 >  
 >  Very probable.
 >  
 >  -- 
 >  Julio M. Merino Vidal <jmmv84%gmail.com@localhost>
 >  http://www.livejournal.com/users/jmmv/
 >  The NetBSD Project - http://www.NetBSD.org/
 >  
 >
 



Home | Main Index | Thread Index | Old Index