From owner-freebsd-ports@FreeBSD.ORG Sat Nov 8 15:49:39 2014 Return-Path: Delivered-To: ports@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 56F191B4; Sat, 8 Nov 2014 15:49:39 +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 1813CD01; Sat, 8 Nov 2014 15:49:39 +0000 (UTC) Received: from mouf.net (swills@mouf [199.48.129.64]) by mouf.net (8.14.5/8.14.5) with ESMTP id sA8FnWDw030577 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 8 Nov 2014 15:49:37 GMT (envelope-from swills@mouf.net) Received: (from swills@localhost) by mouf.net (8.14.5/8.14.5/Submit) id sA8FnWZP030576; Sat, 8 Nov 2014 15:49:32 GMT (envelope-from swills) Date: Sat, 8 Nov 2014 15:49:32 +0000 From: Steve Wills To: Carol Deihl Subject: Re: FreeBSD Port: ruby21-2.1.3_1,1 Message-ID: <20141108154931.GK4395@mouf.net> References: <430278F3-C8C5-46CD-8D30-0F9882D127EF@westryn.net> <20141108153523.GJ4395@mouf.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141108153523.GJ4395@mouf.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:49:37 +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-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2014 15:49:39 -0000 On Sat, Nov 08, 2014 at 03:35:26PM +0000, Steve Wills wrote: > 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. > Oh wait, I was misremembering, you might be on a different revision. Perhaps the dtrace option should just be disabled for anything that isn't CURRENT. Steve