FreeBSD Port: ruby21-2.1.3_1,1

Steve Wills swills at freebsd.org
Sat Nov 8 15:49:39 UTC 2014


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


More information about the freebsd-ports mailing list