Failed to upgrade sdocbook-xml and docbook-xml...
Jeremy Messenger
mezz7 at cox.net
Tue Jul 1 12:16:35 PDT 2003
On 01 Jul 2003 15:06:28 -0400, Joe Marcus Clarke <marcus at marcuscom.com>
wrote:
> 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!
Thanks to both of you, that did it!
Cheers,
Mezz
> Joe
>
>>
>> Joe
>>
>> > > Cheers,
>> > Mezz
--
bsdforums.org 's moderator, mezz.
More information about the freebsd-ports
mailing list