ports/188083: databases/ruby-bdb : mark BROKEN with ruby 2.1

Christoph Moench-Tegeder cmt at burggraben.net
Sun Mar 30 13:50:02 UTC 2014


>Number:         188083
>Category:       ports
>Synopsis:       databases/ruby-bdb : mark BROKEN with ruby 2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 30 13:50:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Christoph Moench-Tegeder
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD elch.exwg.net 10.0-RELEASE FreeBSD 10.0-RELEASE #2 r260689: Wed Jan 15 18:32:44 CET 2014 cmt at elch.exwg.net:/usr/obj/usr/src/sys/ELCH amd64


	ruby-2.1.1_1,1                 lang/ruby21
	databases/ruby-bdb 0.6.6_3
>Description:
	ruby-bdb is completely broken with ruby 2.1. Even after fixing the first
	few build failures, I'm stuck with

: common.c:1573:25: error: read-only variable is not assignable
:             RBASIC(obj)->klass = bdb_cBtree;

	Modifying the class of an object seems not to be supported sind ruby 2.1,
	at least not with the naive approach as shown here.
	The ruby team made RBasic.klass a "const VALUE" in
	http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/ruby.h?r1=40690&r2=40691&

>How-To-Repeat:

>Fix:

	None right now. I've not been able to find a complete enough
	documentation of the ruby internals to get an idea how to fix
	this (or I did not see that information in the fragments I found).


Regards,
Christoph
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list