Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2001 09:10:27 -0700 (PDT)
From:      Larry Rosenman <ler@airmail.net>
To:        freebsd-ports@FreeBSD.org
Subject:   ports/29956
Message-ID:  <200108221610.f7MGARV02279@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/29956; it has been noted by GNATS.

From: Larry Rosenman <ler@airmail.net>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: ports/29956
Date: Wed, 22 Aug 2001 11:02:45 -0500

 * 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
 
 ----- End forwarded message -----
 
 -- 
 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?200108221610.f7MGARV02279>