From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 25 15:30:18 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20BAC16A4CE for ; Thu, 25 Mar 2004 15:30:18 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 006CD43D3F for ; Thu, 25 Mar 2004 15:30:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2PNUHbv096853 for ; Thu, 25 Mar 2004 15:30:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2PNUHu6096848; Thu, 25 Mar 2004 15:30:17 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 25 Mar 2004 15:30:17 -0800 (PST) Resent-Message-Id: <200403252330.i2PNUHu6096848@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Max Englander Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42E8516A4CE for ; Thu, 25 Mar 2004 15:27:07 -0800 (PST) Received: from mees.mine.nu (pcp02988866pcs.malvrn01.pa.comcast.net [68.85.251.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAC8743D1D for ; Thu, 25 Mar 2004 15:27:06 -0800 (PST) (envelope-from uplate@mees.mine.nu) Received: by mees.mine.nu (Postfix, from userid 1001) id 69CCE8AD; Thu, 25 Mar 2004 18:39:18 -0500 (EST) Message-Id: <20040325233918.69CCE8AD@mees.mine.nu> Date: Thu, 25 Mar 2004 18:39:18 -0500 (EST) From: Max Englander To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: david+ports@bushong.net Subject: ports/64732: rbot-0.9.6 (/usr/ports/irc/rbot) code bug in ircbot.rb X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Max Englander List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 23:30:18 -0000 >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@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: