GNU bug report logs - #39120
[00/12] Update Ruby to 2.6.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Mon, 13 Jan 2020 20:31:01 UTC

Severity: normal

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39120 in the body.
You can then email your comments to 39120 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 20:31:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 13 Jan 2020 20:31:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: guix-patches <at> gnu.org
Subject: [00/12] Update Ruby to 2.6.
Date: Mon, 13 Jan 2020 20:30:48 +0000
[Message part 1 (text/plain, inline)]
So, these patches are a bit late, 2.7 is already out, but it's a bit to
early to update to 2.7, so let's just do 2.6, then add a package for
2.7.


Christopher Baines (12):
  gnu: ruby-listen: Update to 3.2.0.
  gnu: ruby-aruba: Update to 0.14.14.
  gnu: ruby-childprocess-0.6: Remove version 0.6.3.
  gnu: ruby-childprocess: Update to 3.0.0.
  gnu: ruby-yard: Update to 0.9.20.
  gnu: ruby-hoe: Update to 3.21.0.
  gnu: ruby-power-assert: Update to 1.1.5.
  gnu: ruby-json-pure: Update to 2.2.0.
  gnu: ruby-tzinfo: Skip safe tests.
  gnu: ruby-2.4: Update to 2.4.9.
  gnu: ruby: Update to 2.6.5.
  gnu: Add ruby-2.5.

 gnu/packages/ruby.scm | 123 +++++++++++++++++++++++++++---------------
 1 file changed, 80 insertions(+), 43 deletions(-)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:01 GMT) Full text and rfc822 format available.

Message #8 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 04/12] gnu: ruby-childprocess: Update to 3.0.0.
Date: Mon, 13 Jan 2020 22:53:28 +0000
* gnu/packages/ruby.scm (ruby-childprocess): Update to 3.0.0.
[home-page]: Switch to https, as it's supported by github.com.
---
 gnu/packages/ruby.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f1fa9310eb..d7c9383b45 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7427,14 +7427,14 @@ in standard Ruby syntax.")
 (define-public ruby-childprocess
   (package
     (name "ruby-childprocess")
-    (version "0.9.0")
+    (version "3.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "childprocess" version))
        (sha256
         (base32
-         "0a61922kmvcxyj5l70fycapr87gz1dzzlkfpq85rfqk5vdh3d28p"))))
+         "1ic028k8xgm2dds9mqnvwwx3ibaz32j8455zxr9f4bcnviyahya5"))))
     (build-system ruby-build-system)
     (arguments
      `(#:tests? #f))
@@ -7446,7 +7446,7 @@ in standard Ruby syntax.")
     (synopsis "Control external programs running in the background, in Ruby")
     (description "@code{childprocess} provides a gem to control external
 programs running in the background, in Ruby.")
-    (home-page "http://github.com/enkessler/childprocess")
+    (home-page "https://github.com/enkessler/childprocess")
     (license license:expat)))
 
 (define-public ruby-public-suffix
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:02 GMT) Full text and rfc822 format available.

Message #11 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 02/12] gnu: ruby-aruba: Update to 0.14.14.
Date: Mon, 13 Jan 2020 22:53:26 +0000
Stop patching out the use of simplecov, it's used throughout the tests now, so
it's not as simple to avoid using it.

* gnu/packages/ruby.scm (ruby-aruba): Update to 0.14.14.
[arguments]: Stop patching out the use of simplecov.
[native-inputs]: Add ruby-simplecov.
---
 gnu/packages/ruby.scm | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index b8a5c8b5d3..de10a25c5b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5405,14 +5405,14 @@ It is intended be used by all Cucumber implementations to parse
 (define-public ruby-aruba
   (package
     (name "ruby-aruba")
-    (version "0.14.8")
+    (version "0.14.14")
     (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "aruba" version))
        (sha256
         (base32
-         "0zdd81l1lp0x78sxa6kkfqclpj5il3xl70nz05wqv2sfzzhqydxh"))))
+         "0l2mfpdxc03gdrbwc2hv4vdhjhqhfcdp6d02j05j64ncpi9srlqn"))))
     (build-system ruby-build-system)
     (arguments
      '(#:test-target "spec"
@@ -5444,11 +5444,7 @@ It is intended be used by all Cucumber implementations to parse
                ((".*cucumber.*") "\n")
                ((".*license_finder.*") "\n")
                ((".*rake.*") "gem 'rake'\n")
-               ((".*simplecov.*") "\n")
                ((".*relish.*") "\n"))
-             (substitute* "spec/spec_helper.rb"
-               ((".*simplecov.*") "")
-               (("^SimpleCov.*") ""))
              (substitute* "aruba.gemspec"
                (("spec\\.add\\_runtime\\_dependency 'cucumber'.*")
                 "spec.add_runtime_dependency 'cucumber'"))
@@ -5458,7 +5454,8 @@ It is intended be used by all Cucumber implementations to parse
     (native-inputs
      `(("bundler" ,bundler)
        ("ruby-rspec" ,ruby-rspec)
-       ("ruby-fuubar" ,ruby-fuubar)))
+       ("ruby-fuubar" ,ruby-fuubar)
+       ("ruby-simplecov" ,ruby-simplecov)))
     (propagated-inputs
      `(("ruby-childprocess" ,ruby-childprocess)
        ("ruby-contracts" ,ruby-contracts)
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:02 GMT) Full text and rfc822 format available.

Message #14 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 01/12] gnu: ruby-listen: Update to 3.2.0.
Date: Mon, 13 Jan 2020 22:53:25 +0000
This avoids some test failures when updating Ruby to 2.6.

* gnu/packages/ruby.scm (ruby-listen): Update to 3.2.0.
---
 gnu/packages/ruby.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ad675dc488..b8a5c8b5d3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4548,7 +4548,7 @@ a native C extension.")
 (define-public ruby-listen
   (package
     (name "ruby-listen")
-    (version "3.1.5")
+    (version "3.2.0")
     (source
      (origin
        ;; The gem does not include a Rakefile, so fetch from the Git
@@ -4560,7 +4560,7 @@ a native C extension.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1hqmkfa9f2xb5jlvqbafdxjd5ax75jm8gqj5nh3k22xq0kacsvgg"))))
+         "1hkp1g6hk5clsmbd001gkc12ma6s459x820piajyasv61m87if24"))))
     (build-system ruby-build-system)
     (arguments
      `(#:test-target "spec"
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:03 GMT) Full text and rfc822 format available.

Message #17 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 03/12] gnu: ruby-childprocess-0.6: Remove version 0.6.3.
Date: Mon, 13 Jan 2020 22:53:27 +0000
As it is unused.

* gnu/packages/ruby.scm (ruby-childprocess-0.6): Rename to ruby-childprocess.
[version, source]: Copy from ruby-childprocess.
---
 gnu/packages/ruby.scm | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index de10a25c5b..f1fa9310eb 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7424,17 +7424,17 @@ in standard Ruby syntax.")
     (home-page "https://github.com/ruby/rake")
     (license license:expat)))
 
-(define-public ruby-childprocess-0.6
+(define-public ruby-childprocess
   (package
     (name "ruby-childprocess")
-    (version "0.6.3")
+    (version "0.9.0")
     (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "childprocess" version))
        (sha256
         (base32
-         "1p3f43scdzx9zxmy2kw5zsc3az6v46nq4brwcxmnscjy4w4racbv"))))
+         "0a61922kmvcxyj5l70fycapr87gz1dzzlkfpq85rfqk5vdh3d28p"))))
     (build-system ruby-build-system)
     (arguments
      `(#:tests? #f))
@@ -7449,19 +7449,6 @@ programs running in the background, in Ruby.")
     (home-page "http://github.com/enkessler/childprocess")
     (license license:expat)))
 
-(define-public ruby-childprocess
-  (package
-    (inherit ruby-childprocess-0.6)
-    (name "ruby-childprocess")
-    (version "0.9.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (rubygems-uri "childprocess" version))
-       (sha256
-        (base32
-         "0a61922kmvcxyj5l70fycapr87gz1dzzlkfpq85rfqk5vdh3d28p"))))))
-
 (define-public ruby-public-suffix
   (package
     (name "ruby-public-suffix")
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:03 GMT) Full text and rfc822 format available.

Message #20 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 05/12] gnu: ruby-yard: Update to 0.9.20.
Date: Mon, 13 Jan 2020 22:53:29 +0000
* gnu/packages/ruby.scm (ruby-yard): Update to 0.9.20.
[arguments]: Delete the Gemfile before running the tests.
[native-inputs]: Add ruby-redcloth and ruby-asciidoctor.
---
 gnu/packages/ruby.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d7c9383b45..140cdb9aab 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5747,7 +5747,7 @@ A modified copy of yajl is used, and included in the package.")
 (define-public ruby-yard
   (package
     (name "ruby-yard")
-    (version "0.9.16")
+    (version "0.9.20")
     (source
      (origin
        (method git-fetch)
@@ -5758,20 +5758,24 @@ A modified copy of yajl is used, and included in the package.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0a4r1pfs0ms4vlccsf1x2jckx35lqm8b8lh6rdjxqfr5fia5izpf"))))
+         "1v48zz8hzazrg79jksj9siys21d2axvzijvkxw2j42zh86syi1wi"))))
     (build-system ruby-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
+             ;; Delete the Gemfile to avoid errors relating to it
+             (delete-file "Gemfile")
              ;; $HOME needs to be set to somewhere writeable for tests to run
              (setenv "HOME" "/tmp")
              ;; Run tests without using 'rake' to avoid dependencies.
              (invoke "rspec"))))))
     (native-inputs
      `(("ruby-rspec" ,ruby-rspec)
-       ("ruby-rack" ,ruby-rack)))
+       ("ruby-rack" ,ruby-rack)
+       ("ruby-redcloth" ,ruby-redcloth)
+       ("ruby-asciidoc" ,ruby-asciidoctor)))
     (synopsis "Documentation generation tool for Ruby")
     (description
      "YARD is a documentation generation tool for the Ruby programming
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:03 GMT) Full text and rfc822 format available.

Message #23 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 08/12] gnu: ruby-json-pure: Update to 2.2.0.
Date: Mon, 13 Jan 2020 22:53:32 +0000
* gnu/packages/ruby.scm (ruby-json-pure): Update to 2.2.0.
[home-page]: Add trailing /, due to a redirect.
---
 gnu/packages/ruby.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 2cd9f36aa8..b39769acaa 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4462,13 +4462,13 @@ a native C extension.")
 (define-public ruby-json-pure
   (package
     (name "ruby-json-pure")
-    (version "2.1.0")
+    (version "2.2.0")
     (source (origin
               (method url-fetch)
               (uri (rubygems-uri "json_pure" version))
               (sha256
                (base32
-                "12yf9fmhr4c2jm3xl20vf1qyz5i63vc8a6ngz9j0f86nqwhmi2as"))))
+                "0m0j1mfwv0mvw72kzqisb26xjl236ivqypw1741dkis7s63b8439"))))
     (build-system ruby-build-system)
     (arguments
      `(#:phases
@@ -4502,7 +4502,7 @@ a native C extension.")
     (synopsis "JSON implementation in pure Ruby")
     (description
      "This package provides a JSON implementation written in pure Ruby.")
-    (home-page "https://flori.github.com/json")
+    (home-page "https://flori.github.com/json/")
     (license license:ruby)))
 
 (define-public ruby-jwt
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:04 GMT) Full text and rfc822 format available.

Message #26 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 09/12] gnu: ruby-tzinfo: Skip safe tests.
Date: Mon, 13 Jan 2020 22:53:33 +0000
The safe tests attempt to run with Ruby 2.6, but these tests fail if the build
takes place within /tmp, as the Ruby LOAD_PATH then includes /tmp, which is
world writable.

* gnu/packages/ruby.scm (ruby-tzinfo)[arguments]: Add skip-safe-tests phase.
---
 gnu/packages/ruby.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index b39769acaa..088b975a22 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4072,6 +4072,16 @@ utilities for Ruby.")
         (base32
          "09dpbrih054mn42flbbcdpzk2727mzfvjrgqb12zdafhx7p9rrzp"))))
     (build-system ruby-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'skip-safe-tests
+           (lambda _
+             (substitute* "test/test_utils.rb"
+               (("def safe_test\\(options = \\{\\}\\)")
+                 "def safe_test(options = {})
+      skip('The Guix build environment has an unsafe load path')"))
+             #t)))))
     (propagated-inputs
      `(("ruby-thread-safe" ,ruby-thread-safe)))
     (synopsis "Time zone library for Ruby")
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:04 GMT) Full text and rfc822 format available.

Message #29 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 07/12] gnu: ruby-power-assert: Update to 1.1.5.
Date: Mon, 13 Jan 2020 22:53:31 +0000
* gnu/packages/ruby.scm (ruby-power-assert): Update to 1.1.5.
[arguments]: Disable running the tests.
---
 gnu/packages/ruby.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e8861d4a19..2cd9f36aa8 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2256,14 +2256,16 @@ using Net::HTTP, supporting reconnection and retry according to RFC 2616.")
 (define-public ruby-power-assert
   (package
     (name "ruby-power-assert")
-    (version "0.2.7")
+    (version "1.1.5")
     (source (origin
               (method url-fetch)
               (uri (rubygems-uri "power_assert" version))
               (sha256
                (base32
-                "0ka6w71lcan4wgf111xi3pcn9ma9lhakv31jg8w007nwzi0xfjbi"))))
+                "1dii0wkfa0jm8sk9b20zl1z4980dmrjh0zqnii058485pp3ws10s"))))
     (build-system ruby-build-system)
+    (arguments
+     '(#:tests? #f))                    ; No included tests
     (native-inputs
      `(("bundler" ,bundler)))
     (synopsis "Assert library with descriptive assertion messages")
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:05 GMT) Full text and rfc822 format available.

Message #32 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 06/12] gnu: ruby-hoe: Update to 3.21.0.
Date: Mon, 13 Jan 2020 22:53:30 +0000
* gnu/packages/ruby.scm (ruby-hoe): Update to 3.21.0.
[arguments]: Avoid having SOURCE_DATE_EPOCH set while the tests are running.
---
 gnu/packages/ruby.scm | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 140cdb9aab..e8861d4a19 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -297,14 +297,32 @@ a menu system for providing multiple options to the user.")
 (define-public ruby-hoe
   (package
     (name "ruby-hoe")
-    (version "3.16.2")
+    (version "3.21.0")
     (source (origin
               (method url-fetch)
               (uri (rubygems-uri "hoe" version))
               (sha256
                (base32
-                "12q6dn2irsfamdbjpqvs0dwl4i1vl7wflxrcg972h9jw0ds38f3a"))))
+                "0qid0n56mgsjvq5ksxajv0gb92akky8imwgvw22ajms5g4fd6nf4"))))
     (build-system ruby-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         ;; One of the tests fails if the SOURCE_DATE_EPOCH environment
+         ;; variable is set, so unset it for the duration of the tests.
+         ;;
+         ;; TestHoe#test_possibly_better
+         ;; [/tmp/guix-build-ruby-hoe-3.20.0.drv-0/gem/test/test_hoe.rb:250]:
+         ;; Expected: 2019-11-12 00:00:00 UTC
+         ;; Actual: 1970-01-01 00:00:00 UTC
+         (add-before 'check 'unset-SOURCE-DATE-EPOCH
+           (lambda _
+             (unsetenv "SOURCE_DATE_EPOCH")
+             #t))
+         (add-after 'check 'set-SOURCE-DATE-EPOCH-again
+           (lambda _
+             (setenv "SOURCE_DATE_EPOCH" "1")
+             #t)))))
     (synopsis "Ruby project management helper")
     (description
      "Hoe is a rake/rubygems helper for project Rakefiles.  It helps manage,
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:05 GMT) Full text and rfc822 format available.

Message #35 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 10/12] gnu: ruby-2.4: Update to 2.4.9.
Date: Mon, 13 Jan 2020 22:53:34 +0000
* gnu/packages/ruby.scm (ruby-2.4): Update to 2.4.9.
---
 gnu/packages/ruby.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 088b975a22..2a7bec40bc 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -131,7 +131,7 @@ a focus on simplicity and productivity.")
 (define-public ruby-2.4
   (package
     (inherit ruby)
-    (version "2.4.3")
+    (version "2.4.9")
     (source
      (origin
        (method url-fetch)
@@ -140,8 +140,7 @@ a focus on simplicity and productivity.")
                            "/ruby-" version ".tar.xz"))
        (sha256
         (base32
-         "0l9bv67dgsphk42lmiskhrnh47hbyj6rfg2rcjx22xivpx07srr3"))
-       (patches (search-patches "ruby-rubygems-276-for-ruby24.patch"))
+         "0546ymj2h3iai679fvx17bb2hksrqyhh22llxgz8fwggac100khc"))
        (modules '((guix build utils)))
        (snippet `(begin
                    ;; Remove bundled libffi
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:05 GMT) Full text and rfc822 format available.

Message #38 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 11/12] gnu: ruby: Update to 2.6.5.
Date: Mon, 13 Jan 2020 22:53:35 +0000
Make zlib a propagated-input, as the pkgconfig configuration includes linking
against zlib as default, which means that gems with native components will
fail to build without zlib.

* gnu/packages/ruby.scm (ruby): Update to 2.6.5.
---
 gnu/packages/ruby.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 2a7bec40bc..a4def037f2 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -77,7 +77,7 @@
 (define-public ruby
   (package
     (name "ruby")
-    (version "2.5.3")
+    (version "2.6.5")
     (source
      (origin
        (method url-fetch)
@@ -86,7 +86,7 @@
                            "/ruby-" version ".tar.xz"))
        (sha256
         (base32
-         "0vrhrw7kcz9mg0jkqnihkcxqy5k05v8k1j0y2735z8wfk8sx1j8w"))
+         "0qhsw2mr04f3lqinkh557msr35pb5rdaqy4vdxcj91flgxqxmmnm"))
        (modules '((guix build utils)))
        (snippet `(begin
                    ;; Remove bundled libffi
@@ -116,8 +116,9 @@
      `(("readline" ,readline)
        ("openssl" ,openssl)
        ("libffi" ,libffi)
-       ("gdbm" ,gdbm)
-       ("zlib" ,zlib)))
+       ("gdbm" ,gdbm)))
+    (propagated-inputs
+     `(("zlib" ,zlib)))
     (native-search-paths
      (list (search-path-specification
             (variable "GEM_PATH")
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 22:54:06 GMT) Full text and rfc822 format available.

Message #41 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120 <at> debbugs.gnu.org
Subject: [PATCH 12/12] gnu: Add ruby-2.5.
Date: Mon, 13 Jan 2020 22:53:36 +0000
* gnu/packages/ruby.scm (ruby-2.5): New variable.
---
 gnu/packages/ruby.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index a4def037f2..68634d8100 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -129,6 +129,25 @@ a focus on simplicity and productivity.")
     (home-page "https://www.ruby-lang.org")
     (license license:ruby)))
 
+(define-public ruby-2.5
+  (package
+    (inherit ruby)
+    (version "2.5.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
+                           (version-major+minor version)
+                           "/ruby-" version ".tar.xz"))
+       (sha256
+        (base32
+         "159zka4sbx1p4ayxqi7a5ybbzxvn3n5mivrz4d1damw9ypl70610"))
+       (modules '((guix build utils)))
+       (snippet `(begin
+                   ;; Remove bundled libffi
+                   (delete-file-recursively "ext/fiddle/libffi-3.2.1")
+                   #t))))))
+
 (define-public ruby-2.4
   (package
     (inherit ruby)
-- 
2.24.1





Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Mon, 13 Jan 2020 23:01:02 GMT) Full text and rfc822 format available.

Message #44 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Christopher Baines <mail <at> cbaines.net>, 39120 <at> debbugs.gnu.org
Subject: Re: [bug#39120] [00/12] Update Ruby to 2.6.
Date: Mon, 13 Jan 2020 23:59:56 +0100
[Message part 1 (text/plain, inline)]
Christopher Baines <mail <at> cbaines.net> writes:

> So, these patches are a bit late, 2.7 is already out, but it's a bit to
> early to update to 2.7, so let's just do 2.6, then add a package for
> 2.7.
>
>
> Christopher Baines (12):
>   gnu: ruby-listen: Update to 3.2.0.
>   gnu: ruby-aruba: Update to 0.14.14.
>   gnu: ruby-childprocess-0.6: Remove version 0.6.3.
>   gnu: ruby-childprocess: Update to 3.0.0.
>   gnu: ruby-yard: Update to 0.9.20.
>   gnu: ruby-hoe: Update to 3.21.0.
>   gnu: ruby-power-assert: Update to 1.1.5.
>   gnu: ruby-json-pure: Update to 2.2.0.
>   gnu: ruby-tzinfo: Skip safe tests.
>   gnu: ruby-2.4: Update to 2.4.9.
>   gnu: ruby: Update to 2.6.5.
>   gnu: Add ruby-2.5.

Thanks!  This is for 'core-updates', right?  LGTM.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Tue, 14 Jan 2020 07:32:01 GMT) Full text and rfc822 format available.

Message #47 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 39120 <at> debbugs.gnu.org
Subject: Re: [bug#39120] [00/12] Update Ruby to 2.6.
Date: Tue, 14 Jan 2020 07:31:15 +0000
[Message part 1 (text/plain, inline)]
Marius Bakke <mbakke <at> fastmail.com> writes:

> Christopher Baines <mail <at> cbaines.net> writes:
>
>> So, these patches are a bit late, 2.7 is already out, but it's a bit to
>> early to update to 2.7, so let's just do 2.6, then add a package for
>> 2.7.
>>
>>
>> Christopher Baines (12):
>>   gnu: ruby-listen: Update to 3.2.0.
>>   gnu: ruby-aruba: Update to 0.14.14.
>>   gnu: ruby-childprocess-0.6: Remove version 0.6.3.
>>   gnu: ruby-childprocess: Update to 3.0.0.
>>   gnu: ruby-yard: Update to 0.9.20.
>>   gnu: ruby-hoe: Update to 3.21.0.
>>   gnu: ruby-power-assert: Update to 1.1.5.
>>   gnu: ruby-json-pure: Update to 2.2.0.
>>   gnu: ruby-tzinfo: Skip safe tests.
>>   gnu: ruby-2.4: Update to 2.4.9.
>>   gnu: ruby: Update to 2.6.5.
>>   gnu: Add ruby-2.5.
>
> Thanks!  This is for 'core-updates', right?  LGTM.

Yeah, I was waiting until I got the Guix Data Service to compare the
differences (it's still a bit broken, but I'm trying to get my patch
testing setup working again [1]).

1: https://laminar.cbaines.net/jobs/patchwork-test-series/190

At least with [2], the number is 3861 rebuilds, which means core-updates
I think.

2: ./pre-inst-env guix refresh -l ruby <at> 2.4 ruby <at> 2.5 ruby <at> 2.6 ruby-tzinfo
ruby-json-pure ruby-power-assert ruby-hoe ruby-yard ruby-childprocess
ruby-aruba ruby-listen
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#39120; Package guix-patches. (Tue, 14 Jan 2020 23:54:01 GMT) Full text and rfc822 format available.

Message #50 received at 39120 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 39120 <at> debbugs.gnu.org
Subject: Re: [bug#39120] [00/12] Update Ruby to 2.6.
Date: Tue, 14 Jan 2020 23:53:50 +0000
[Message part 1 (text/plain, inline)]
Christopher Baines <mail <at> cbaines.net> writes:

> Marius Bakke <mbakke <at> fastmail.com> writes:
>
>> Christopher Baines <mail <at> cbaines.net> writes:
>>
>>> So, these patches are a bit late, 2.7 is already out, but it's a bit to
>>> early to update to 2.7, so let's just do 2.6, then add a package for
>>> 2.7.
>>>
>>>
>>> Christopher Baines (12):
>>>   gnu: ruby-listen: Update to 3.2.0.
>>>   gnu: ruby-aruba: Update to 0.14.14.
>>>   gnu: ruby-childprocess-0.6: Remove version 0.6.3.
>>>   gnu: ruby-childprocess: Update to 3.0.0.
>>>   gnu: ruby-yard: Update to 0.9.20.
>>>   gnu: ruby-hoe: Update to 3.21.0.
>>>   gnu: ruby-power-assert: Update to 1.1.5.
>>>   gnu: ruby-json-pure: Update to 2.2.0.
>>>   gnu: ruby-tzinfo: Skip safe tests.
>>>   gnu: ruby-2.4: Update to 2.4.9.
>>>   gnu: ruby: Update to 2.6.5.
>>>   gnu: Add ruby-2.5.
>>
>> Thanks!  This is for 'core-updates', right?  LGTM.
>
> Yeah, I was waiting until I got the Guix Data Service to compare the
> differences (it's still a bit broken, but I'm trying to get my patch
> testing setup working again [1]).
>
> 1: https://laminar.cbaines.net/jobs/patchwork-test-series/190
>
> At least with [2], the number is 3861 rebuilds, which means core-updates
> I think.
>
> 2: ./pre-inst-env guix refresh -l ruby <at> 2.4 ruby <at> 2.5 ruby <at> 2.6 ruby-tzinfo
> ruby-json-pure ruby-power-assert ruby-hoe ruby-yard ruby-childprocess
> ruby-aruba ruby-listen

I've gone ahead and pushed to core-updates as
227fab3ed8842b22337196ee21c79143fc093855.

Thanks for taking a look :)
[signature.asc (application/pgp-signature, inline)]

Added tag(s) pending. Request was from Christopher Baines <mail <at> cbaines.net> to control <at> debbugs.gnu.org. (Wed, 15 Jan 2020 08:39:02 GMT) Full text and rfc822 format available.

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Sat, 09 May 2020 07:40:01 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Sat, 09 May 2020 07:40:01 GMT) Full text and rfc822 format available.

Message #57 received at 39120-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 39120-done <at> debbugs.gnu.org
Subject: Re: [bug#39120] [00/12] Update Ruby to 2.6.
Date: Sat, 09 May 2020 08:39:23 +0100
[Message part 1 (text/plain, inline)]
Christopher Baines <mail <at> cbaines.net> writes:

> Christopher Baines <mail <at> cbaines.net> writes:
>
>> Marius Bakke <mbakke <at> fastmail.com> writes:
>>
>>> Christopher Baines <mail <at> cbaines.net> writes:
>>>
>>>> So, these patches are a bit late, 2.7 is already out, but it's a bit to
>>>> early to update to 2.7, so let's just do 2.6, then add a package for
>>>> 2.7.
>>>>
>>>>
>>>> Christopher Baines (12):
>>>>   gnu: ruby-listen: Update to 3.2.0.
>>>>   gnu: ruby-aruba: Update to 0.14.14.
>>>>   gnu: ruby-childprocess-0.6: Remove version 0.6.3.
>>>>   gnu: ruby-childprocess: Update to 3.0.0.
>>>>   gnu: ruby-yard: Update to 0.9.20.
>>>>   gnu: ruby-hoe: Update to 3.21.0.
>>>>   gnu: ruby-power-assert: Update to 1.1.5.
>>>>   gnu: ruby-json-pure: Update to 2.2.0.
>>>>   gnu: ruby-tzinfo: Skip safe tests.
>>>>   gnu: ruby-2.4: Update to 2.4.9.
>>>>   gnu: ruby: Update to 2.6.5.
>>>>   gnu: Add ruby-2.5.
>>>
>>> Thanks!  This is for 'core-updates', right?  LGTM.
>>
>> Yeah, I was waiting until I got the Guix Data Service to compare the
>> differences (it's still a bit broken, but I'm trying to get my patch
>> testing setup working again [1]).
>>
>> 1: https://laminar.cbaines.net/jobs/patchwork-test-series/190
>>
>> At least with [2], the number is 3861 rebuilds, which means core-updates
>> I think.
>>
>> 2: ./pre-inst-env guix refresh -l ruby <at> 2.4 ruby <at> 2.5 ruby <at> 2.6 ruby-tzinfo
>> ruby-json-pure ruby-power-assert ruby-hoe ruby-yard ruby-childprocess
>> ruby-aruba ruby-listen
>
> I've gone ahead and pushed to core-updates as
> 227fab3ed8842b22337196ee21c79143fc093855.
>
> Thanks for taking a look :)

core-updates has now been merged, so I'm closing this.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 06 Jun 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.