Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2014 22:42:58 GMT
From:      Steve Wills <swills@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        skreuzer@FreeBSD.org
Subject:   ports/185402: [PATCH] devel/rubygem-rcov: Mark broken with Ruby 2.0
Message-ID:  <201401012242.s01Mgw7p027359@meatwad.mouf.net>
Resent-Message-ID: <201401012250.s01Mo0qp039203@freefall.freebsd.org>

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

>Number:         185402
>Category:       ports
>Synopsis:       [PATCH] devel/rubygem-rcov: Mark broken with Ruby 2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 01 22:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r258961M: Sun Dec  8 15:52:57
>Description:
- Mark broken with Ruby 2.0

Fails to build with Ruby 2.0, see:

http://package20.nyi.freebsd.org/bulk/91amd64-default-pr_183274/2013-11-28_00h09m00s/logs/errors/rubygem-rcov-0.9.11.log

(This is the result of a exp-run done by portmgr as part of making Ruby 2.0 default, PR ports/183274)

I tried the 1.0.0 release, but that has the same issue. Based on developer
info, it seems like it won't ever work with 2.0 and perhaps should just be
removed in favor of simplecov. See:

https://github.com/relevance/rcov/issues/99

But for now, let's just mark it broken with 2.0.

Thanks!

Port maintainer (skreuzer@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- rubygem-rcov-0.9.11.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 338396)
+++ Makefile	(working copy)
@@ -15,4 +15,11 @@
 PLIST_FILES=	bin/rcov
 
 NO_STAGE=	yes
-.include <bsd.port.mk>
+
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} == 2.0
+BROKEN=		Does not work with Ruby 2.0
+.endif
+
+.include <bsd.port.post.mk>
--- rubygem-rcov-0.9.11.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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