Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2001 11:00:49 -0500
From:      Larry Rosenman <ler@airmail.net>
To:        Akinori MUSHA <knu@iDaemons.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portupgrade refuses to run...
Message-ID:  <20010822110049.A29615@ler-freebie.iadfw.net>
In-Reply-To: <86snek1441.wl@archon.local.idaemons.org>
References:  <20010822095557.A29201@ler-freebie.iadfw.net> <86snek1441.wl@archon.local.idaemons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Akinori MUSHA <knu@iDaemons.org> [010822 10:54]:
> At Wed, 22 Aug 2001 09:55:57 -0500,
> Larry Rosenman wrote:
> > I installed portupgrade this am, and it refuses to run:
> > 
> > ler-freebie# portupgrade -a
> > /usr/local/sbin/portupgrade:163:in `main': undefined method
> > `def_option' for #<OptionParser:0x80e796c> (NameError)
> >         from /usr/local/sbin/portupgrade:162:in `initialize'
> >         from /usr/local/sbin/portupgrade:162:in `new'
> >         from /usr/local/sbin/portupgrade:162:in `main'
> >         from /usr/local/sbin/portupgrade:1165
> > ler-freebie# 
> > 
> > 
> > I even upgraded to the latest ports/lang/ruby, and nothing doing. 
> 
> Probably you still have an old version of ruby-optparse installed.
> 
> After a due period (~3 month or so), I changed portupgrade to use the
> new version's usage.  Please install the latest version of
> ruby-optparse from your freshly cvsup'ed ports tree as follows:
> 
> 	cd /usr/ports/devel/ruby-optparse
> 	make clean all
> 	make install clean -DFORCE_PKG_REGISTER
> 
Did this...
> Then run pkgdepfix to fix up dependencies:
> 
> 	pkgdepfix -o
No luck:

ler-freebie# pkgdepfix -o
/usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:166:in `match?':
undefined method `fnmatch?' for File:Class (NameError)
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:191:in `glob'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:181:in `each'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:181:in `glob'
        from /usr/local/sbin/pkgdepfix:107:in `main'
        from /usr/local/sbin/pkgdepfix:107:in `loop'
        from /usr/local/sbin/pkgdepfix:107:in `main'
        from /usr/local/sbin/pkgdepfix:54:in `initialize'
        from /usr/local/sbin/pkgdepfix:54:in `new'
        from /usr/local/sbin/pkgdepfix:54:in `main'
        from /usr/local/sbin/pkgdepfix:655
ler-freebie# 


> 
> 	(delete the older ruby-optparse's record with it)
> 
> Finally, make sure you have the latest version of portupgrade:
> 
> 	portupgrade portupgrade
> 
> 
> Regards,
> 
> -- 
>                      /
>                     /__  __            Akinori.org / MUSHA.org
>                    / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
> Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp
> 
> "Freeze this moment a little bit longer, make each impression
>   a little bit stronger..  Experience slips away -- Time stand still"

-- 
Larry Rosenman, Sr. Network Engineer, Internet America, Inc.
E-Mail: ler@airmail.net 
Phone: +1 214-861-2571, Fax: 214-861-2663
US Mail: 350 N. St. Paul, Suite 3000, Dallas, TX 75201

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010822110049.A29615>