ports/64732: rbot-0.9.6 (/usr/ports/irc/rbot) code bug in ircbot.rb
Max Englander
uplate at mees.mine.nu
Thu Mar 25 23:30:18 UTC 2004
>Number: 64732
>Category: ports
>Synopsis: rbot-0.9.6 (/usr/ports/irc/rbot) code bug in ircbot.rb
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 25 15:30:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Max Englander
>Release: FreeBSD 4.9-STABLE i386
>Organization:
none
>Environment:
System: FreeBSD uplate.mees.mine.nu 4.9-STABLE FreeBSD 4.9-STABLE #0: Sun Feb 1 00:39:38 EST 2004 uplate at uplate.mees.mine.nu:/usr/src/sys/compile/UPLATE i386
>Description:
rbot-0.9.6 (/usr/ports/irc/rbot) installs fine but returns the following runtime error:
uplate% rbot
/usr/local/bin/rbot:27:in `require': /usr/local/lib/ruby/site_ruby/1.8/rbot/ircbot.rb:607: syntax error (SyntaxError)
from /usr/local/bin/rbot:27
This error occurs with latest ports of ruby:
ruby-1.8.1_2
ruby18-bdb-0.5.0
I also encountered this problem with older port revisions and the latest source from the author's site. In fact it, was present in every installation I tried.
>How-To-Repeat:
Have the above ports installed and run rbot.
>Fix:
The problem is a syntax error in line 607 or ircbot.rb:
607: say m.replyto, help $1
It can be fixed by changing it to:
607: say m.replyto, help($1)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list