From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:53393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpax9-0000vv-Nd for guix-patches@gnu.org; Fri, 01 Feb 2019 10:42:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpax8-0007xE-PM for guix-patches@gnu.org; Fri, 01 Feb 2019 10:42:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55870) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpax8-0007xA-LK for guix-patches@gnu.org; Fri, 01 Feb 2019 10:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gpax8-00030a-ED for guix-patches@gnu.org; Fri, 01 Feb 2019 10:42:02 -0500 Subject: [bug#34217] [PATCH 07/11] gnu: Add ruby-backports. Resent-Message-ID: Date: Fri, 01 Feb 2019 16:41:38 +0100 In-Reply-To: <87d7347f-bea8-092d-7c54-d9fa6973be60@riseup.net> References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-7-mail@cbaines.net> <87d7347f-bea8-092d-7c54-d9fa6973be60@riseup.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----XUSX7G39XKVBPXYCYPFO7XHWVG7RAD" Content-Transfer-Encoding: 7bit From: swedebugia Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34217@debbugs.gnu.org ------XUSX7G39XKVBPXYCYPFO7XHWVG7RAD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable swedebugia skrev: (31 januari 2019 09:53:17 CET) >On 2019-01-27 12:49, Christopher Baines wrote: >> * gnu/packages/ruby=2Escm (ruby-backports): New variable=2E >> --- >> gnu/packages/ruby=2Escm | 25 +++++++++++++++++++++++++ >> 1 file changed, 25 insertions(+) >>=20 >> diff --git a/gnu/packages/ruby=2Escm b/gnu/packages/ruby=2Escm >> index 5a9a9a7c6d=2E=2E115e132b95 100644 >> --- a/gnu/packages/ruby=2Escm >> +++ b/gnu/packages/ruby=2Escm >> @@ -1350,6 +1350,31 @@ User Agents=2E") >> (home-page "https://github=2Ecom/gshutler/useragent") >> (license license:expat))) >> =20 >> +(define-public ruby-backports >> + (package >> + (name "ruby-backports") >> + (version "3=2E11=2E4") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (rubygems-uri "backports" version)) >> + (sha256 >> + (base32 >> + "1hshjxww2h7s0dk57njrygq4zpp0nlqrjfya7zwm27iq3rhc3y8g")))) >> + (build-system ruby-build-system) >> + (arguments >> + '(;; TODO: This should be default, but there is one test failure >> + #:test-target "all_spec")) > >The failure is reported upstream, see=20 >https://github=2Ecom/marcandre/backports/issues/127 > >--=20 >Cheers >Swedebugia From=20upstream: Sorry the failure is quite obscure=2E Backports wants to make sure it is defining the right methods only when ne= cessary=2E The test is failing because the method=C2=A0alias_method_chainap= pears to have been added to all modules (Array,=C2=A0Binding, =2E=2E=2E)=2E= Maybe the old=C2=A0backports/rails/module/alias_method_chain=C2=A0is someh= ow loaded, but I don't see how or why=2E=2E=2E --=20 Sent from my k-9 mail for Android=2E ------XUSX7G39XKVBPXYCYPFO7XHWVG7RAD Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
swedebugia <swedebug= ia@riseup=2Enet> skrev: (31 januari 2019 09:53:17 CET)
On 2019-01-27 12:49, Christopher Baines wrote:
* gnu/packages/ruby=2Escm (r= uby-backports): New variable=2E
gnu/packages/ruby=2Escm | 25 +++++++++= ++++++++++++++++
1 file changed, 25 insertions(+)

diff --git a/= gnu/packages/ruby=2Escm b/gnu/packages/ruby=2Escm
index 5a9a9a7c6d=2E=2E= 115e132b95 100644
--- a/gnu/packages/ruby=2Escm
+++ b/gnu/packages/ru= by=2Escm
@@ -1350,6 +1350,31 @@ User Agents=2E")
(home-page "ht= tps://github=2Ecom/gshutler/useragent")
(license license:expat)))<= br>
+(define-public ruby-backports
+ (package
+ (name "ruby-ba= ckports")
+ (version "3=2E11=2E4")
+ (source
+ (origin
+ = (method url-fetch)
+ (uri (rubygems-uri "backports" version))+ (sha256
+ (base32
+ "1hshjxww2h7s0dk57njrygq= 4zpp0nlqrjfya7zwm27iq3rhc3y8g"))))
+ (build-system ruby-build-system)+ (arguments
+ '(;; TODO: This should be default, but there is one = test failure
+ #:test-target "all_spec"))

The fa= ilure is reported upstream, see
https://github=2Ecom/marcandre/backports/issues/12= 7

From upstream:
Sorry= the failure is quite obscure=2E

Backports wants to make sure it is = defining the right methods only when necessary=2E The test is failing becau= se the method=C2=A0alias_method_chainappears to have been added to all modu= les (Array,=C2=A0Binding, =2E=2E=2E)=2E Maybe the old=C2=A0backports/rails/= module/alias_method_chain=C2=A0is somehow loaded, but I don't see how or wh= y=2E=2E=2E

--
Sent from my k-9 mail for Android=2E
------XUSX7G39XKVBPXYCYPFO7XHWVG7RAD--