From unknown Sat Jun 21 05:15:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34385] [PATCH 0/2] Ruby build system improvements Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Feb 2019 10:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34385 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34385@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154962149928569 (code B ref -1); Fri, 08 Feb 2019 10:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Feb 2019 10:24:59 +0000 Received: from localhost ([127.0.0.1]:38929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs3L9-0007Qi-7t for submit@debbugs.gnu.org; Fri, 08 Feb 2019 05:24:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs3L7-0007QU-Iu for submit@debbugs.gnu.org; Fri, 08 Feb 2019 05:24:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:52107) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gs3L2-0000Ef-FR for submit@debbugs.gnu.org; Fri, 08 Feb 2019 05:24:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs3L1-0002Dd-P5 for guix-patches@gnu.org; Fri, 08 Feb 2019 05:24:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs3L1-0000Dw-6c for guix-patches@gnu.org; Fri, 08 Feb 2019 05:24:51 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:48784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs3L1-0000Af-0T for guix-patches@gnu.org; Fri, 08 Feb 2019 05:24:51 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 8BB1516B2B for ; Fri, 8 Feb 2019 10:24:41 +0000 (GMT) Received: from phact (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id c2c7cd6b for ; Fri, 8 Feb 2019 10:24:41 +0000 (UTC) User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines Date: Fri, 08 Feb 2019 10:24:40 +0000 Message-ID: <875ztur313.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:7e00::f03c:91ff:fe69:8da9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain A couple of improvements to the Ruby build system. Christopher Baines (2): gnu: ruby-build-system: Change extract-gemspec to always return #t. guix: ruby-build-system: Do gem install --verbose. guix/build/ruby-build-system.scm | 46 +++++++++++++++++--------------- 1 file changed, 24 insertions(+), 22 deletions(-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxdWOhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeTSA//ZSCx7tA+KiTBFO4Y5Wfs3T56EUA9/miBP+QAT6dY2XsHfxc857g7o6+9 PgmChomH7AQe+oMYy0nGcN8U9BFuz2s5igpbw6gIREKw0j9d5Ht+zK54oLhSZf+q fe2GZ7CQNBWAajbXBMgvnzavazMlFqvJ/g6kgMsWyfyyKJO6+UFHL5mmkoJx1MvI RHU4OgEu8MwqyRVAp7IoAyjtYSQprxn4BplPvmLM90Hnx5aIE6rALvkdGIu52Br9 QB3boj1GBHQEblBSp6IRdT49H48qAjOYxeGXfUQeC8U+uSXXCyDfiWGXnzkKUI0O CYVU1GBbvLTq0qqsYDIeMMxXbnTFODn25I0I/fQ8Q4+OBWXbVAOp5k8KPfwwDudD hOVJeAS8c55P98005imRJ+oZnqbXp/JUcHfbFnriDK/tukdwsTY6p4mKCXjzlFt1 uvH4CQVGFhlUSnJk1/ye3F/HtKgwZ99f15g70exr8i1yPByPR3e/u2j5C3n3TkUK litUZkF4ZXmxqGGOzDrVa/CiERWsv60mSIu6c+/sRM0VSlklj1WIjgnYulXsxUcl 5gQ7S7sCoROj1NudQgt1WfWmlqK6vpGUk5sQW77NeMBmdGZyht7SdlZbdWNE8V3k xHKO2gksgWfOvkwGbeDNL+FczZ3XfdTiLc9MjYtSoquUZUCoQs4= =MF+4 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 21 05:15:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34385] [PATCH 2/2] guix: ruby-build-system: Do gem install --verbose. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Feb 2019 10:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34385 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34385@debbugs.gnu.org Received: via spool by 34385-submit@debbugs.gnu.org id=B34385.154962215529650 (code B ref 34385); Fri, 08 Feb 2019 10:36:01 +0000 Received: (at 34385) by debbugs.gnu.org; 8 Feb 2019 10:35:55 +0000 Received: from localhost ([127.0.0.1]:38939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs3Vj-0007i9-JX for submit@debbugs.gnu.org; Fri, 08 Feb 2019 05:35:55 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:38796 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs3Vi-0007hv-1Y for 34385@debbugs.gnu.org; Fri, 08 Feb 2019 05:35:54 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 07B0D16BCD for <34385@debbugs.gnu.org>; Fri, 8 Feb 2019 10:35:53 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id eb59bf7a for <34385@debbugs.gnu.org>; Fri, 8 Feb 2019 10:35:52 +0000 (UTC) From: Christopher Baines Date: Fri, 8 Feb 2019 10:35:52 +0000 Message-Id: <20190208103552.5992-2-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190208103552.5992-1-mail@cbaines.net> References: <875ztur313.fsf@cbaines.net> <20190208103552.5992-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is helpful as it displays more information about what gem install is doing, especially for packages with native extensions. * guix/build/ruby-build-system.scm (install): Add --verbose to gem install command. --- guix/build/ruby-build-system.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/build/ruby-build-system.scm b/guix/build/ruby-build-system.scm index cdabd829e2..64b4400f1a 100644 --- a/guix/build/ruby-build-system.scm +++ b/guix/build/ruby-build-system.scm @@ -144,6 +144,7 @@ GEM-FLAGS are passed to the 'gem' invokation, if present." (or (zero? (apply system* "gem" "install" gem-file + "--verbose" "--local" "--ignore-dependencies" "--vendor" ;; Executables should go into /bin, not ;; /lib/ruby/gems. -- 2.20.1 From unknown Sat Jun 21 05:15:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34385] [PATCH 1/2] gnu: ruby-build-system: Change extract-gemspec to always return #t. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Feb 2019 10:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34385 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34385@debbugs.gnu.org Received: via spool by 34385-submit@debbugs.gnu.org id=B34385.154962215629656 (code B ref 34385); Fri, 08 Feb 2019 10:36:01 +0000 Received: (at 34385) by debbugs.gnu.org; 8 Feb 2019 10:35:56 +0000 Received: from localhost ([127.0.0.1]:38941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs3Vj-0007iB-RA for submit@debbugs.gnu.org; Fri, 08 Feb 2019 05:35:56 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:38794 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs3Vi-0007hu-44 for 34385@debbugs.gnu.org; Fri, 08 Feb 2019 05:35:54 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id E4D0616BC7 for <34385@debbugs.gnu.org>; Fri, 8 Feb 2019 10:35:52 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 81a0211a for <34385@debbugs.gnu.org>; Fri, 8 Feb 2019 10:35:52 +0000 (UTC) From: Christopher Baines Date: Fri, 8 Feb 2019 10:35:51 +0000 Message-Id: <20190208103552.5992-1-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <875ztur313.fsf@cbaines.net> References: <875ztur313.fsf@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * guix/build/ruby-build-system.scm (extract-gemspec): Return #t right at the end, rather than returning # when not handling a gem archive. --- guix/build/ruby-build-system.scm | 45 ++++++++++++++++---------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/guix/build/ruby-build-system.scm b/guix/build/ruby-build-system.scm index 3a658e2557..cdabd829e2 100644 --- a/guix/build/ruby-build-system.scm +++ b/guix/build/ruby-build-system.scm @@ -86,28 +86,29 @@ operation is not deterministic, we replace it with `find`." "Remove the original gemspec, if present, and replace it with a new one. This avoids issues with upstream gemspecs requiring tools such as git to generate the files list." - (when (gem-archive? source) - (let ((gemspec (or (false-if-exception (first-gemspec)) - ;; Make new gemspec if one wasn't shipped. - ".gemspec"))) - - (when (file-exists? gemspec) (delete-file gemspec)) - - ;; Extract gemspec from source gem. - (let ((pipe (open-pipe* OPEN_READ "gem" "spec" "--ruby" source))) - (dynamic-wind - (const #t) - (lambda () - (call-with-output-file gemspec - (lambda (out) - ;; 'gem spec' writes to stdout, but 'gem build' only reads - ;; gemspecs from a file, so we redirect the output to a file. - (while (not (eof-object? (peek-char pipe))) - (write-char (read-char pipe) out)))) - #t) - (lambda () - (close-pipe pipe))))) - #t)) + (if (gem-archive? source) + (let ((gemspec (or (false-if-exception (first-gemspec)) + ;; Make new gemspec if one wasn't shipped. + ".gemspec"))) + + (when (file-exists? gemspec) (delete-file gemspec)) + + ;; Extract gemspec from source gem. + (let ((pipe (open-pipe* OPEN_READ "gem" "spec" "--ruby" source))) + (dynamic-wind + (const #t) + (lambda () + (call-with-output-file gemspec + (lambda (out) + ;; 'gem spec' writes to stdout, but 'gem build' only reads + ;; gemspecs from a file, so we redirect the output to a file. + (while (not (eof-object? (peek-char pipe))) + (write-char (read-char pipe) out)))) + #t) + (lambda () + (close-pipe pipe))))) + (display "extract-gemspec: skipping as source is not a gem archive\n")) + #t) (define* (build #:key source #:allow-other-keys) "Build a new gem using the gemspec from the SOURCE gem." -- 2.20.1 From unknown Sat Jun 21 05:15:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34385] [PATCH v2 3/3] guix: ruby-build-system: Fix removal of extension related files. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Feb 2019 19:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34385 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34385@debbugs.gnu.org Received: via spool by 34385-submit@debbugs.gnu.org id=B34385.154965580727190 (code B ref 34385); Fri, 08 Feb 2019 19:57:01 +0000 Received: (at 34385) by debbugs.gnu.org; 8 Feb 2019 19:56:47 +0000 Received: from localhost ([127.0.0.1]:40153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsCGU-00074R-L1 for submit@debbugs.gnu.org; Fri, 08 Feb 2019 14:56:46 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:39138 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsCGS-000748-Et for 34385@debbugs.gnu.org; Fri, 08 Feb 2019 14:56:45 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 0B6BC16BDA for <34385@debbugs.gnu.org>; Fri, 8 Feb 2019 19:56:43 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id ebd3eb07 for <34385@debbugs.gnu.org>; Fri, 8 Feb 2019 19:56:42 +0000 (UTC) From: Christopher Baines Date: Fri, 8 Feb 2019 19:56:42 +0000 Message-Id: <20190208195642.4057-3-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190208195642.4057-1-mail@cbaines.net> References: <875ztur313.fsf@cbaines.net> <20190208195642.4057-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This functionality was broken, possibly to do with the vendor related changes in the ruby build system. These changes restore the file removal functionality at the end of the install phase. * guix/build/ruby-build-system.scm (install): Fix removal of files related to native extensions. --- guix/build/ruby-build-system.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/guix/build/ruby-build-system.scm b/guix/build/ruby-build-system.scm index 64b4400f1a..ba0de1259e 100644 --- a/guix/build/ruby-build-system.scm +++ b/guix/build/ruby-build-system.scm @@ -139,7 +139,8 @@ GEM-FLAGS are passed to the 'gem' invokation, if present." (gem-file-basename (basename gem-file)) (gem-name (substring gem-file-basename 0 - (- (string-length gem-file-basename) 4)))) + (- (string-length gem-file-basename) 4))) + (gem-dir (string-append vendor-dir "/gems/" gem-name))) (setenv "GEM_VENDOR" vendor-dir) (or (zero? @@ -165,7 +166,7 @@ GEM-FLAGS are passed to the 'gem' invokation, if present." ;; For gems with native extensions, several Makefile-related files ;; are created that contain timestamps or other elements making ;; them not reproducible. They are unnecessary so we remove them. - (when (file-exists? (string-append vendor-dir "/ext")) + (when (file-exists? (string-append gem-dir "/ext")) (for-each (lambda (file) (log-file-deletion file) (delete-file file)) @@ -174,7 +175,7 @@ GEM-FLAGS are passed to the 'gem' invokation, if present." "page-Makefile.ri") (find-files (string-append vendor-dir "/extensions") "gem_make.out") - (find-files (string-append vendor-dir "/ext") + (find-files (string-append gem-dir "/ext") "Makefile")))) #t)) -- 2.20.1 From unknown Sat Jun 21 05:15:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34385] [PATCH v2 2/3] guix: ruby-build-system: Do gem install --verbose. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Feb 2019 19:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34385 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34385@debbugs.gnu.org Received: via spool by 34385-submit@debbugs.gnu.org id=B34385.154965580727197 (code B ref 34385); Fri, 08 Feb 2019 19:57:02 +0000 Received: (at 34385) by debbugs.gnu.org; 8 Feb 2019 19:56:47 +0000 Received: from localhost ([127.0.0.1]:40155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsCGV-00074V-1Q for submit@debbugs.gnu.org; Fri, 08 Feb 2019 14:56:47 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:39134 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsCGS-000746-IT for 34385@debbugs.gnu.org; Fri, 08 Feb 2019 14:56:45 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id E8FDE16BD8 for <34385@debbugs.gnu.org>; Fri, 8 Feb 2019 19:56:42 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 597aedaf for <34385@debbugs.gnu.org>; Fri, 8 Feb 2019 19:56:42 +0000 (UTC) From: Christopher Baines Date: Fri, 8 Feb 2019 19:56:41 +0000 Message-Id: <20190208195642.4057-2-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190208195642.4057-1-mail@cbaines.net> References: <875ztur313.fsf@cbaines.net> <20190208195642.4057-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is helpful as it displays more information about what gem install is doing, especially for packages with native extensions. * guix/build/ruby-build-system.scm (install): Add --verbose to gem install command. --- guix/build/ruby-build-system.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/build/ruby-build-system.scm b/guix/build/ruby-build-system.scm index cdabd829e2..64b4400f1a 100644 --- a/guix/build/ruby-build-system.scm +++ b/guix/build/ruby-build-system.scm @@ -144,6 +144,7 @@ GEM-FLAGS are passed to the 'gem' invokation, if present." (or (zero? (apply system* "gem" "install" gem-file + "--verbose" "--local" "--ignore-dependencies" "--vendor" ;; Executables should go into /bin, not ;; /lib/ruby/gems. -- 2.20.1 From unknown Sat Jun 21 05:15:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34385] [PATCH v2 1/3] gnu: ruby-build-system: Change extract-gemspec to always return #t. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Feb 2019 19:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34385 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34385@debbugs.gnu.org Received: via spool by 34385-submit@debbugs.gnu.org id=B34385.154965580727204 (code B ref 34385); Fri, 08 Feb 2019 19:57:02 +0000 Received: (at 34385) by debbugs.gnu.org; 8 Feb 2019 19:56:47 +0000 Received: from localhost ([127.0.0.1]:40157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsCGV-00074c-AR for submit@debbugs.gnu.org; Fri, 08 Feb 2019 14:56:47 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:39136 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsCGS-000747-HE for 34385@debbugs.gnu.org; Fri, 08 Feb 2019 14:56:45 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id D5B6B16BD7 for <34385@debbugs.gnu.org>; Fri, 8 Feb 2019 19:56:42 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 971bd1ad for <34385@debbugs.gnu.org>; Fri, 8 Feb 2019 19:56:42 +0000 (UTC) From: Christopher Baines Date: Fri, 8 Feb 2019 19:56:40 +0000 Message-Id: <20190208195642.4057-1-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <875ztur313.fsf@cbaines.net> References: <875ztur313.fsf@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * guix/build/ruby-build-system.scm (extract-gemspec): Return #t right at the end, rather than returning # when not handling a gem archive. --- guix/build/ruby-build-system.scm | 45 ++++++++++++++++---------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/guix/build/ruby-build-system.scm b/guix/build/ruby-build-system.scm index 3a658e2557..cdabd829e2 100644 --- a/guix/build/ruby-build-system.scm +++ b/guix/build/ruby-build-system.scm @@ -86,28 +86,29 @@ operation is not deterministic, we replace it with `find`." "Remove the original gemspec, if present, and replace it with a new one. This avoids issues with upstream gemspecs requiring tools such as git to generate the files list." - (when (gem-archive? source) - (let ((gemspec (or (false-if-exception (first-gemspec)) - ;; Make new gemspec if one wasn't shipped. - ".gemspec"))) - - (when (file-exists? gemspec) (delete-file gemspec)) - - ;; Extract gemspec from source gem. - (let ((pipe (open-pipe* OPEN_READ "gem" "spec" "--ruby" source))) - (dynamic-wind - (const #t) - (lambda () - (call-with-output-file gemspec - (lambda (out) - ;; 'gem spec' writes to stdout, but 'gem build' only reads - ;; gemspecs from a file, so we redirect the output to a file. - (while (not (eof-object? (peek-char pipe))) - (write-char (read-char pipe) out)))) - #t) - (lambda () - (close-pipe pipe))))) - #t)) + (if (gem-archive? source) + (let ((gemspec (or (false-if-exception (first-gemspec)) + ;; Make new gemspec if one wasn't shipped. + ".gemspec"))) + + (when (file-exists? gemspec) (delete-file gemspec)) + + ;; Extract gemspec from source gem. + (let ((pipe (open-pipe* OPEN_READ "gem" "spec" "--ruby" source))) + (dynamic-wind + (const #t) + (lambda () + (call-with-output-file gemspec + (lambda (out) + ;; 'gem spec' writes to stdout, but 'gem build' only reads + ;; gemspecs from a file, so we redirect the output to a file. + (while (not (eof-object? (peek-char pipe))) + (write-char (read-char pipe) out)))) + #t) + (lambda () + (close-pipe pipe))))) + (display "extract-gemspec: skipping as source is not a gem archive\n")) + #t) (define* (build #:key source #:allow-other-keys) "Build a new gem using the gemspec from the SOURCE gem." -- 2.20.1 From unknown Sat Jun 21 05:15:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34385] [PATCH v2 1/3] gnu: ruby-build-system: Change extract-gemspec to always return #t. Resent-From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Feb 2019 20:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34385 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 34385@debbugs.gnu.org Received: via spool by 34385-submit@debbugs.gnu.org id=B34385.155009078314864 (code B ref 34385); Wed, 13 Feb 2019 20:47:02 +0000 Received: (at 34385) by debbugs.gnu.org; 13 Feb 2019 20:46:23 +0000 Received: from localhost ([127.0.0.1]:47379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gu1QF-0003rf-5d for submit@debbugs.gnu.org; Wed, 13 Feb 2019 15:46:23 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:53508 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gu1QC-0003rV-6U for 34385@debbugs.gnu.org; Wed, 13 Feb 2019 15:46:20 -0500 Received: from alma-ubu (pD951F5A8.dip0.t-ipconnect.de [217.81.245.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 0DB633F981; Wed, 13 Feb 2019 21:46:18 +0100 (CET) Date: Wed, 13 Feb 2019 21:46:17 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20190213214617.740c784d@alma-ubu> In-Reply-To: <20190208195642.4057-1-mail@cbaines.net> References: <875ztur313.fsf@cbaines.net> <20190208195642.4057-1-mail@cbaines.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/304J5duI=4W_McA59W1xu4J"; protocol="application/pgp-signature" X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --Sig_/304J5duI=4W_McA59W1xu4J Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 8 Feb 2019 19:56:40 +0000 Christopher Baines wrote: > * guix/build/ruby-build-system.scm (extract-gemspec): Return #t right > at the end, rather than returning # when not handling a > gem archive. --- > guix/build/ruby-build-system.scm | 45 LGTM. Thank you, Bj=C3=B6rn --Sig_/304J5duI=4W_McA59W1xu4J Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXGSCGQAKCRC/KGy2WT5f /ZqwAJsEd+ffern5dnFXPszPKpjwsUW01QCfUBNRI0KzZk8IOSoTds4aUdVLSmU= =Sltf -----END PGP SIGNATURE----- --Sig_/304J5duI=4W_McA59W1xu4J-- From unknown Sat Jun 21 05:15:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34385] [PATCH v2 2/3] guix: ruby-build-system: Do gem install --verbose. Resent-From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Feb 2019 20:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34385 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 34385@debbugs.gnu.org Received: via spool by 34385-submit@debbugs.gnu.org id=B34385.155009086414988 (code B ref 34385); Wed, 13 Feb 2019 20:48:01 +0000 Received: (at 34385) by debbugs.gnu.org; 13 Feb 2019 20:47:44 +0000 Received: from localhost ([127.0.0.1]:47383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gu1RY-0003tf-I4 for submit@debbugs.gnu.org; Wed, 13 Feb 2019 15:47:44 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:53512 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gu1RX-0003tY-M9 for 34385@debbugs.gnu.org; Wed, 13 Feb 2019 15:47:44 -0500 Received: from alma-ubu (pD951F5A8.dip0.t-ipconnect.de [217.81.245.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 1234D3F981; Wed, 13 Feb 2019 21:47:43 +0100 (CET) Date: Wed, 13 Feb 2019 21:47:42 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20190213214742.27f1c467@alma-ubu> In-Reply-To: <20190208195642.4057-2-mail@cbaines.net> References: <875ztur313.fsf@cbaines.net> <20190208195642.4057-1-mail@cbaines.net> <20190208195642.4057-2-mail@cbaines.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/kIqXi4cryr1fCrs16_/AtYC"; protocol="application/pgp-signature" X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --Sig_/kIqXi4cryr1fCrs16_/AtYC Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 8 Feb 2019 19:56:41 +0000 Christopher Baines wrote: > This is helpful as it displays more information about what gem > install is doing, especially for packages with native extensions. >=20 > * guix/build/ruby-build-system.scm (install): Add --verbose to gem > install command. --- LGTM. --Sig_/kIqXi4cryr1fCrs16_/AtYC Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXGSCbgAKCRC/KGy2WT5f /Z5VAKCyqDxYole7DrxDmh2GzCKcoemZfwCgrPHtE3WmHK/pjEM/r6b4TKsqNKI= =vDSq -----END PGP SIGNATURE----- --Sig_/kIqXi4cryr1fCrs16_/AtYC-- From unknown Sat Jun 21 05:15:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34385] [PATCH v2 3/3] guix: ruby-build-system: Fix removal of extension related files. Resent-From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Feb 2019 20:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34385 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 34385@debbugs.gnu.org Received: via spool by 34385-submit@debbugs.gnu.org id=B34385.155009093315099 (code B ref 34385); Wed, 13 Feb 2019 20:49:02 +0000 Received: (at 34385) by debbugs.gnu.org; 13 Feb 2019 20:48:53 +0000 Received: from localhost ([127.0.0.1]:47387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gu1Se-0003vT-Rd for submit@debbugs.gnu.org; Wed, 13 Feb 2019 15:48:53 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:53516 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gu1Sd-0003vL-01 for 34385@debbugs.gnu.org; Wed, 13 Feb 2019 15:48:51 -0500 Received: from alma-ubu (pD951F5A8.dip0.t-ipconnect.de [217.81.245.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 5FD783F981; Wed, 13 Feb 2019 21:48:50 +0100 (CET) Date: Wed, 13 Feb 2019 21:48:49 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20190213214849.627f4121@alma-ubu> In-Reply-To: <20190208195642.4057-3-mail@cbaines.net> References: <875ztur313.fsf@cbaines.net> <20190208195642.4057-1-mail@cbaines.net> <20190208195642.4057-3-mail@cbaines.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/03pqeGrPCkco7uGssYC58dv"; protocol="application/pgp-signature" X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --Sig_/03pqeGrPCkco7uGssYC58dv Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 8 Feb 2019 19:56:42 +0000 Christopher Baines wrote: > This functionality was broken, possibly to do with the vendor related > changes in the ruby build system. These changes restore the file > removal functionality at the end of the install phase. >=20 > * guix/build/ruby-build-system.scm (install): Fix removal of files > related to native extensions. LGTM. In particular, the ruby-idn-ruby package is now reproducible. Thanks, Bj=C3=B6rn --Sig_/03pqeGrPCkco7uGssYC58dv Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXGSCsQAKCRC/KGy2WT5f /U8pAKCIzRlym4qTSHkFGDQIG3+JK+p3GQCeMjqSTKNa+FQwKAOaNxpUUxfPmJ4= =N9Iq -----END PGP SIGNATURE----- --Sig_/03pqeGrPCkco7uGssYC58dv-- From unknown Sat Jun 21 05:15:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Baines Subject: bug#34385: closed (Re: [bug#34385] [PATCH v2 3/3] guix: ruby-build-system: Fix removal of extension related files.) Message-ID: References: <87mumytbf8.fsf@cbaines.net> <875ztur313.fsf@cbaines.net> X-Gnu-PR-Message: they-closed 34385 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 34385@debbugs.gnu.org Date: Thu, 14 Feb 2019 19:31:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1550172662-11197-1" This is a multi-part message in MIME format... ------------=_1550172662-11197-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #34385: [PATCH 0/2] Ruby build system improvements which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 34385@debbugs.gnu.org. --=20 34385: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34385 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1550172662-11197-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 34385-done) by debbugs.gnu.org; 14 Feb 2019 19:30:55 +0000 Received: from localhost ([127.0.0.1]:48403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guMil-0002uJ-Ho for submit@debbugs.gnu.org; Thu, 14 Feb 2019 14:30:55 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:44828 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guMik-0002uA-2M for 34385-done@debbugs.gnu.org; Thu, 14 Feb 2019 14:30:54 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id E95A016C33; Thu, 14 Feb 2019 19:30:51 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 976cf425; Thu, 14 Feb 2019 19:30:51 +0000 (UTC) References: <875ztur313.fsf@cbaines.net> <20190208195642.4057-1-mail@cbaines.net> <20190208195642.4057-3-mail@cbaines.net> <20190213214849.627f4121@alma-ubu> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Subject: Re: [bug#34385] [PATCH v2 3/3] guix: ruby-build-system: Fix removal of extension related files. In-reply-to: <20190213214849.627f4121@alma-ubu> Date: Thu, 14 Feb 2019 19:30:51 +0000 Message-ID: <87mumytbf8.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34385-done Cc: 34385-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Bj=C3=B6rn H=C3=B6fling writes: > On Fri, 8 Feb 2019 19:56:42 +0000 > Christopher Baines wrote: > >> This functionality was broken, possibly to do with the vendor related >> changes in the ruby build system. These changes restore the file >> removal functionality at the end of the install phase. >> >> * guix/build/ruby-build-system.scm (install): Fix removal of files >> related to native extensions. > > LGTM. > > In particular, the ruby-idn-ruby package is now reproducible. Great, I've pushed these patches to staging now. Thanks for taking a look :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxlwetfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfLtRAAuZu88gPMMjAjg3Ja1i7pOQG0uxsOXqEoAl6JoLAR143/aFBJYHW/mDwc fCaIgM38XqeIz9knyp9694qRxEx1gaTd4/UU1voKnN+RXP2aorrsVxf+W6VIvg/j lo/V+uAYTfpehoQVdVQvSAaKRaRKNVdqcO8flSL/akcGgtVVPTzS7mo5B7WbhJqh 3GFOv8vKJ11BXGA/ijRJagWBOKoPHXNwmWornfC39+mpAhG2i9cYBx+cTKgwBPda Tr2eCIca2gqA2aE5kAtTxuyrQvbHtGJN63xNhUVzutBwQi37HGSq9Ld05ImHYuof Pfbfzh0UXWUnJ2u8hNd4cZBq6WzmxFlb8/jYChzfZ6LyJP8GRA9OX266Xg2Tg4c1 I4+ZCHhcBLAUW2DQfTtyggcTlO4XGSde1O1zL3Yx6qwTfqdKmf9jrmsHGdHoUpDX SAooqp+Nd/TZzGPTgWaOvqkc3EpDAEO1eFs6Wmr7W2BSrJTfVgoPJvVgWpq+85ih FO/zttFIhx1MFStIKj8vfb0YoRs/LA7jm0C9S/71ZyhwtWjowSscPAEt7Rc2U5sf gqPKb0XBV3r3VMYPZnWLekkRDKA/ZNJG7hKxTftsT27VUcOzmccP4QrcnWJ8Vr+s 88Xx57o9Y3x9Qf9Ao1rq/zpyiiJLaLu58aoSlQfBmgyXd9NF1qQ= =s3P2 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1550172662-11197-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Feb 2019 10:24:59 +0000 Received: from localhost ([127.0.0.1]:38929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs3L9-0007Qi-7t for submit@debbugs.gnu.org; Fri, 08 Feb 2019 05:24:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs3L7-0007QU-Iu for submit@debbugs.gnu.org; Fri, 08 Feb 2019 05:24:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:52107) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gs3L2-0000Ef-FR for submit@debbugs.gnu.org; Fri, 08 Feb 2019 05:24:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs3L1-0002Dd-P5 for guix-patches@gnu.org; Fri, 08 Feb 2019 05:24:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs3L1-0000Dw-6c for guix-patches@gnu.org; Fri, 08 Feb 2019 05:24:51 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:48784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs3L1-0000Af-0T for guix-patches@gnu.org; Fri, 08 Feb 2019 05:24:51 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 8BB1516B2B for ; Fri, 8 Feb 2019 10:24:41 +0000 (GMT) Received: from phact (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id c2c7cd6b for ; Fri, 8 Feb 2019 10:24:41 +0000 (UTC) User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH 0/2] Ruby build system improvements Date: Fri, 08 Feb 2019 10:24:40 +0000 Message-ID: <875ztur313.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:7e00::f03c:91ff:fe69:8da9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain A couple of improvements to the Ruby build system. Christopher Baines (2): gnu: ruby-build-system: Change extract-gemspec to always return #t. guix: ruby-build-system: Do gem install --verbose. guix/build/ruby-build-system.scm | 46 +++++++++++++++++--------------- 1 file changed, 24 insertions(+), 22 deletions(-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxdWOhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeTSA//ZSCx7tA+KiTBFO4Y5Wfs3T56EUA9/miBP+QAT6dY2XsHfxc857g7o6+9 PgmChomH7AQe+oMYy0nGcN8U9BFuz2s5igpbw6gIREKw0j9d5Ht+zK54oLhSZf+q fe2GZ7CQNBWAajbXBMgvnzavazMlFqvJ/g6kgMsWyfyyKJO6+UFHL5mmkoJx1MvI RHU4OgEu8MwqyRVAp7IoAyjtYSQprxn4BplPvmLM90Hnx5aIE6rALvkdGIu52Br9 QB3boj1GBHQEblBSp6IRdT49H48qAjOYxeGXfUQeC8U+uSXXCyDfiWGXnzkKUI0O CYVU1GBbvLTq0qqsYDIeMMxXbnTFODn25I0I/fQ8Q4+OBWXbVAOp5k8KPfwwDudD hOVJeAS8c55P98005imRJ+oZnqbXp/JUcHfbFnriDK/tukdwsTY6p4mKCXjzlFt1 uvH4CQVGFhlUSnJk1/ye3F/HtKgwZ99f15g70exr8i1yPByPR3e/u2j5C3n3TkUK litUZkF4ZXmxqGGOzDrVa/CiERWsv60mSIu6c+/sRM0VSlklj1WIjgnYulXsxUcl 5gQ7S7sCoROj1NudQgt1WfWmlqK6vpGUk5sQW77NeMBmdGZyht7SdlZbdWNE8V3k xHKO2gksgWfOvkwGbeDNL+FczZ3XfdTiLc9MjYtSoquUZUCoQs4= =MF+4 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1550172662-11197-1--