From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:33222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsCc1-0002zB-Fb for guix-patches@gnu.org; Fri, 08 Feb 2019 15:19:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsCbt-0001RK-Er for guix-patches@gnu.org; Fri, 08 Feb 2019 15:18:58 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsCbk-00018q-74 for guix-patches@gnu.org; Fri, 08 Feb 2019 15:18:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gsBYE-00061s-6o for guix-patches@gnu.org; Fri, 08 Feb 2019 14:11:02 -0500 Subject: [bug#34217] [PATCH 07/11] gnu: Add ruby-backports. Resent-Message-ID: References: <87zhrmgy0x.fsf@cbaines.net> <20190127114956.26570-1-mail@cbaines.net> <20190127114956.26570-7-mail@cbaines.net> <87d7347f-bea8-092d-7c54-d9fa6973be60@riseup.net> From: Christopher Baines In-reply-to: Date: Fri, 08 Feb 2019 19:10:25 +0000 Message-ID: <878syq5c66.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: swedebugia Cc: 34217@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable swedebugia writes: > swedebugia skrev: (31 januari 2019 09:53:17 CET) >>On 2019-01-27 12:49, Christopher Baines wrote: >>> * gnu/packages/ruby.scm (ruby-backports): New variable. >>> --- >>> gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ >>> 1 file changed, 25 insertions(+) >>>=20 >>> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm >>> index 5a9a9a7c6d..115e132b95 100644 >>> --- a/gnu/packages/ruby.scm >>> +++ b/gnu/packages/ruby.scm >>> @@ -1350,6 +1350,31 @@ User Agents.") >>> (home-page "https://github.com/gshutler/useragent") >>> (license license:expat))) >>>=20=20=20 >>> +(define-public ruby-backports >>> + (package >>> + (name "ruby-backports") >>> + (version "3.11.4") >>> + (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.com/marcandre/backports/issues/127 >> >>--=20 >>Cheers >>Swedebugia > > From upstream: > Sorry the failure is quite obscure. > > Backports wants to make sure it is defining the right methods only when n= ecessary. The test is failing because the methodalias_method_chainappears t= o have been added to all modules (Array,Binding, ...). Maybe the oldbackpor= ts/rails/module/alias_method_chainis somehow loaded, but I don't see how or= why... Thanks for taking a look, I'll keep an eye on that upstream issue. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxd1CFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfQwRAApGR2wtLqbbWAD+QQqoUXeiXvV3NtlVdhP4dl4Rn2w7s+Ulfc6sB/JDoX KarDow/e5e0q2Leb9rj8Vv2mJMI97O4QiOE0D+G5W/iIZTn/LF8IXhMo4mf/XcDt e6iCXL/e+r16pfG3KXVQlWpKk8Jd83TOTokis9cZx+iT1UHrfNDxvnFlNfOnkljk CSpu2aNahA946icAeUS8YZwDA8K++F3s5iL+Izi7ysVA47+4gxDKQZ2Jg4gL6mL6 cOqhNhbAmgknBmhrPiu6wULWKzgUVWlDkxRqEKxaOY/2qLAs5CNir+GVgwcuRyzC IstLFauPYdw4CVPn60VfREaLudY5pthcakec7TSm1Ol1MD75wJ8VbFJD7mODlmL5 Ns5L9X+Rd5JFhJcLzBsRBtqesTmWZ+yf53S/xJJiAIXY1eEeenJBMgj3/iSU5qKQ AySVTbhW8gs+VzRujOAOYYI8GBFLXh6O+KEtfNkcMkHATd5kPdsIKJPFAE45oMkO AWeX8rs1fkW2RLZil4yQ3lFMTvsac+uejZodgE01iRKdKjVUq1sMWuhJjw9uFkXj K1BtyJrioAw7ayFHkPYWf6gX0ZW4N6rLQok+GxhEn//4NWY1K1++2kqy3XHiIStl RJv6sXDjb7QiH8LWOPotDKsOTtqkOiXMiHzUECnU50/GKi5/UZ0= =TPJ9 -----END PGP SIGNATURE----- --=-=-=--