From owner-freebsd-ports Wed Aug 22 9: 1:41 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ler-freebie.iadfw.net (ler-freebie.iadfw.net [206.66.13.221]) by hub.freebsd.org (Postfix) with ESMTP id 9922337B42F for ; Wed, 22 Aug 2001 09:01:09 -0700 (PDT) (envelope-from ler@ler-freebie.iadfw.net) Received: (from ler@localhost) by ler-freebie.iadfw.net (8.11.5/8.11.4) id f7MG0no30455; Wed, 22 Aug 2001 11:00:49 -0500 (CDT) (envelope-from ler) Date: Wed, 22 Aug 2001 11:00:49 -0500 From: Larry Rosenman To: Akinori MUSHA Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade refuses to run... Message-ID: <20010822110049.A29615@ler-freebie.iadfw.net> References: <20010822095557.A29201@ler-freebie.iadfw.net> <86snek1441.wl@archon.local.idaemons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86snek1441.wl@archon.local.idaemons.org> User-Agent: Mutt/1.3.20i X-Mailer: Mutt http://www.mutt.org/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Akinori MUSHA [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 # (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