Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2005 16:37:53 GMT
From:      Jonathan Weiss <jw@innerewut.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/84524: [BUGFIX] Fix issue with non-tar rubygems in the rubygems-framework
Message-ID:  <200508031637.j73GbrYj030969@www.freebsd.org>
Resent-Message-ID: <200508031640.j73GeD69034360@freefall.freebsd.org>

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

>Number:         84524
>Category:       ports
>Synopsis:       [BUGFIX] Fix issue with non-tar rubygems in the rubygems-framework
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 03 16:40:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Weiss
>Release:        5-STABLE
>Organization:
>Environment:
FreeBSD xxx.nodomain 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Jul 21 18:03:54 CEST 2005     root@xxx.nodomain:/usr/obj/usr/src/sys/SATAN  i386
>Description:
The current Makefile.common for devel/ruby-gems that manages rubygems in the ports tree does not work with non-tar packed gems. The gems should not be extracted and the current Makefile.common uses NO_EXTRACT="YES" to garanty this.

The problem is that NO_EXTRACT is not supported and thus non-tar gems are tried to be extracted. This will fail.

Ulrich Spoerlein found this issue and has the solution.




>How-To-Repeat:
      Try to create a non-tar gem like stream:
http://rubyforge.org/frs/download.php/640/stream-0.5.gem
>Fix:
      Change NO_EXTRACT in the Makefile.common to EXTRACT_ONLY=
This will garanty that the gem will not be extracted.
Submitted by Ulrich Spoerlein:

--- Makefile.common     Wed Jul 20 15:49:01 2005
+++ Makefile.common.mine        Wed Aug  3 18:30:19 2005
@@ -7,7 +7,7 @@
 
 PKGNAMEPREFIX= rubygem-
 EXTRACT_SUFX=  .gem
-NO_EXTRACT=    YES
+EXTRACT_ONLY= 
 DIST_SUBDIR=   rubygem
 
 USE_REINPLACE= yes
>Release-Note:
>Audit-Trail:
>Unformatted:



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