Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2014 15:40:58 +0200 (CEST)
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/188083: databases/ruby-bdb : mark BROKEN with ruby 2.1
Message-ID:  <20140330134058.9C45A301CA@elch.exwg.net>
Resent-Message-ID: <201403301350.s2UDo17Z035570@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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