From owner-freebsd-ruby@FreeBSD.ORG Sat Nov 8 15:35:33 2014 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E3958EDB; Sat, 8 Nov 2014 15:35:33 +0000 (UTC) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A6E3BC30; Sat, 8 Nov 2014 15:35:33 +0000 (UTC) Received: from mouf.net (swills@mouf [199.48.129.64]) by mouf.net (8.14.5/8.14.5) with ESMTP id sA8FZQua030385 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 8 Nov 2014 15:35:31 GMT (envelope-from swills@mouf.net) Received: (from swills@localhost) by mouf.net (8.14.5/8.14.5/Submit) id sA8FZQ1D030384; Sat, 8 Nov 2014 15:35:26 GMT (envelope-from swills) Date: Sat, 8 Nov 2014 15:35:26 +0000 From: Steve Wills To: Carol Deihl Subject: Re: FreeBSD Port: ruby21-2.1.3_1,1 Message-ID: <20141108153523.GJ4395@mouf.net> References: <430278F3-C8C5-46CD-8D30-0F9882D127EF@westryn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <430278F3-C8C5-46CD-8D30-0F9882D127EF@westryn.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Sat, 08 Nov 2014 15:35:31 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=HEADER_FROM_DIFFERENT_DOMAINS autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mouf.net X-Virus-Scanned: clamav-milter 0.98.3 at mouf.net X-Virus-Status: Clean Cc: ports@freebsd.org, ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2014 15:35:34 -0000 On Fri, Nov 07, 2014 at 06:41:40PM -0700, Carol Deihl wrote: > Hello, > > I just installed ruby21-2.1.3_1,1 with the DEBUG option *unset*, > and when ruby21 is invoked, it prints out: > > WARNING: number of probes fixed does not match the number of defined probes (9 != 50, respectively) > WARNING: some probes might not fire or your program might crash > > I haven't used dtrace yet and don't know much about it, > but I discovered that if I re-installed the port with DEBUG turned on (*set*), > then the warning messages aren't printed. > > I'm guessing that the probes.d file in the ruby source arranges to install some probes > at runtime in some routines that don't get compiled into ruby if DEBUG is off. What version of FreeBSD are you using? Because of a typo in the port, the dtrace stuff would only be enabled on 11-CURRENT, so I'm guessing 11-CURRENT? What rev? This should be fixed by r271413, I think. > Is it appropriate to just tell you about this? Should I file a bug report > someplace else? Yeah, that's fine, but a bug report wouldn't hurt so it doesn't get lost, see: http://bugs.freebsd.org/bugzilla/ Steve