Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2014 15:49:32 +0000
From:      Steve Wills <swills@freebsd.org>
To:        Carol Deihl <carol@westryn.net>
Cc:        ports@freebsd.org, ruby@freebsd.org
Subject:   Re: FreeBSD Port: ruby21-2.1.3_1,1
Message-ID:  <20141108154931.GK4395@mouf.net>
In-Reply-To: <20141108153523.GJ4395@mouf.net>
References:  <430278F3-C8C5-46CD-8D30-0F9882D127EF@westryn.net> <20141108153523.GJ4395@mouf.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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