Date: Thu, 23 Apr 2026 16:54:54 +0000 From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 291180] databases/ruby-bdb on ruby 3.4 redefining 'object_id' Message-ID: <bug-291180-21402-Qz8RAz1vrw@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-291180-21402@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291180 --- Comment #3 from russo@bogodyn.org --- Rebuilding ruby-bdb won't help get rid of the warning. As far as I can tell, it's a warning that was put into ruby 3.4 to warn against something that has been getting done in many packages other than ruby-bdb. If you use the search engine of your choice on the "warning: redefining 'object_id' may cause problems" you'll find quite a few ruby programs that had to do something to shut the warning up. ruby-bdb is an ancient package that has apparently been abandoned upstream by its author for about 13 years. The package has been patched a bunch on the FreeBSD end over the years. Ruby-bdb has apparently always been somehow redefining "object_id" and it's only now that ruby is warning about it. I downloaded the code from github and can't even *find* "object_id" anywhere in it, so I have no idea exactly where or why the warning is being triggered. I am taking the position of just ignoring the warning until the ruby-bdb port maintainer works out what patch is needed to silence it. I trust that will happen eventually, and since this is not a new bug in ruby-bdb I'm not worrying about it for now. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291180-21402-Qz8RAz1vrw>
