Failed to upgrade sdocbook-xml and docbook-xml...

Joe Marcus Clarke marcus at marcuscom.com
Tue Jul 1 12:06:41 PDT 2003


On Tue, 2003-07-01 at 14:32, Joe Marcus Clarke wrote:
> On Tue, 2003-07-01 at 14:18, Jeremy Messenger wrote:
> > On Tue, 01 Jul 2003 22:26:42 +0900 (JST), Hiroki Sato <hrs at eos.ocn.ne.jp> 
> > wrote:
> > 
> > > Jeremy Messenger <mezz7 at cox.net> wrote
> > > in <oprrmtbft48ckrg5 at smtp.central.cox.net>:
> > >
> > > mezz7> They both keep get the same error, here's error message:
> > > mezz7> mezz7> =====================================
> > > mezz7> ===>   Generating temporary packing list
> > > mezz7> /usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports 
> > > add mezz7> CATALOG /usr/local/share/xml/sdocbook/catalog
> > > mezz7> xmlcatmgr: catalog /usr/local/share/sgml/catalog.ports does not 
> > > exist
> > > mezz7> *** Error code 1
> > > mezz7>  Stop in /usr/ports/textproc/sdocbook-xml.
> > > mezz7> *** Error code 1
> > > mezz7>  Stop in /usr/ports/textproc/sdocbook-xml.
> > > mezz7> ** Command failed [exit code 1]: /usr/bin/script -qa mezz7> 
> > > /tmp/portupgrade50466.0 make reinstall
> > > mezz7> egrep: /var/db/pkg/sdocbook-xml-4.1.2.5/+CONTENTS: No such file or 
> > > mezz7> directory
> > > mezz7> =====================================
> > > mezz7> mezz7> Any hint?
> > >
> > > Hmmm, this is strange.  During installation of xmlcatmgr port,
> > > ${PREFIX}/share/sgml/catalog.ports should be created.
> > >
> > > Could you tell me how you upgraded the ports precisely?
> > 
> > Yeah, I did the CVSup'ed, pkgdb -F and portupgrade -ra, that's it.. I can 
> > try to remove and reinstall them by manual.
> 
> I ran into the same problems on -CURRENT.  I had to create
> catalog[.ports] files with <?xml version="1.0" ?> to get things to
> work.  But, even after doing that, the catalog files remained empty. 
> Strange thing was, my -STABLE machine did just fine.

UPDATE: Pav Lucistnik spotted the problem.  You need to change ${ENV} to
${SETENV} in the xmlcatmgr Makefile, then rebuild that port, and all
ports that depend on it.  That will solve the problem.  Thanks, Pav!

Joe

> 
> Joe
> 
> > 
> > Cheers,
> > Mezz
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030701/88aeeae4/attachment.bin


More information about the freebsd-ports mailing list