Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2002 20:44:53 -0500
From:      Ray Kohler <rkohler1@cox.rr.com>
To:        "Craig Burgess" <craig@CheetahUSA.net>, <FreeBSD-questions@FreeBSD.ORG>
Subject:   Re: ruby/portupgrade errors + other stuff
Message-ID:  <0735b5741011212FE4@Mail4.mgfairfax.rr.com>
In-Reply-To: <JMEJIDBCLMMNOALABHFFKEHJCHAA.craig@CheetahUSA.net>
References:  <JMEJIDBCLMMNOALABHFFKEHJCHAA.craig@CheetahUSA.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 17 January 2002 05:31 pm, Craig Burgess wrote:
> started out with:
> a portupgrade parse error on pkgdb
> ==============
> felix# ./pkgdb -F
> ./pkgdb:171: parse error
>     rescue OptionParser::ParseError => e
>                                       ^
> ./pkgdb:174: parse error
>     rescue => e
>              ^
> ./pkgdb:306: parse error
>   rescue => e
>            ^
> ./pkgdb:333: parse error
>     rescue => e
>              ^
> ./pkgdb:426: parse error
>           rescue => e
>                    ^
> ./pkgdb:538: parse error
>         rescue => e
>                  ^
> ==============
>
> So I removed & reinstalled portupgrade which didn't help, so i
> replaced ruby with the latest in ports, then
> deinstalled/reinstalled portupgrade. Result:
> felix# ./pkgdb -F
> env: /usr/local/bin/ruby_s: No such file or directory
>
> which is true. /usr/local/bin contains ruby16. So i made a
> symbolic link to for ruby_s to ruby16.
>
> Now I get:
> felix# ./pkgdb -F
> /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:9: fnmatch module
> not found (RuntimeError)
>         from ./pkgdb:35:in `require'
>         from ./pkgdb:35
>
> Line 35 of pkgdb is
> require "pkgtools"
>
> I think I'm chasing my tail here. apache13-modssl won't
> successfully install, so IMP won't install which is the real goal
> (I think).
>
> This is not on i386: uname -a
>  4.4-RELEASE FreeBSD 4.4-RELEASE #2: Thu Dec 13 15:27:29 PST 2001
>
> :/usr/obj/usr/src/sys/GENERIC  alpha
>
> If someone can point me toward a resolution I could go on to the
> next puzzle. Thanks.

Remove portupgrade and all the ruby-XXX ports, and reinstall 
portupgrade. The way it interacts with ruby was changed a while ago 
and they need to stay a bit in sync.

-- 
Ray Kohler
Weinberg's Second Law:
	If builders built buildings the way programmers wrote programs,
then the first woodpecker that came along would destroy 
civilization.

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




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