From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feINK-0005Eg-8L for guix-patches@gnu.org; Sat, 14 Jul 2018 07:06:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feINH-00082b-3v for guix-patches@gnu.org; Sat, 14 Jul 2018 07:06:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51617) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1feINH-00082X-0I for guix-patches@gnu.org; Sat, 14 Jul 2018 07:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1feING-0001Uf-NI for guix-patches@gnu.org; Sat, 14 Jul 2018 07:06:02 -0400 Subject: [bug#32153] [PATCH 0/2]: ruby-build-system: Error or return #t from all phases. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feIN7-0005EU-1X for guix-patches@gnu.org; Sat, 14 Jul 2018 07:05:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feIN1-0007mE-Fv for guix-patches@gnu.org; Sat, 14 Jul 2018 07:05:53 -0400 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:40256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feIN1-0007lO-8Z for guix-patches@gnu.org; Sat, 14 Jul 2018 07:05:47 -0400 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 8AF54165D0 for ; Sat, 14 Jul 2018 12:05:46 +0100 (BST) Received: from giedi (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id e17b56c2 for ; Sat, 14 Jul 2018 11:05:46 +0000 (UTC) From: Christopher Baines Date: Sat, 14 Jul 2018 12:05:43 +0100 Message-ID: <87wotydqm0.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: 32153@debbugs.gnu.org --=-=-= Content-Type: text/plain I'm trying to continue along with the Rails packaging (#30689), but I noticed that currently if the tests fail for packages using the ruby build system, then the package build doesn't fail. These patches should get most of the packages using the ruby build system to raise exceptions when there are errors, and return #t otherwise. I'm hopeful that this can be merged directly in to master, I build 180 packages in not that much time at all to test this change [1]. 1: ./pre-inst-env guix package -s ruby- | recsel -P name | xargs ./pre-inst-env guix build Christopher Baines (2): ruby-build-system: Error or return #t from all phases. gnu: ruby-options: Return #t from set-LIB phase. gnu/packages/ruby.scm | 3 +- guix/build/ruby-build-system.scm | 109 ++++++++++++++++--------------- 2 files changed, 58 insertions(+), 54 deletions(-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAltJ2QdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdjNA//a4kkwywgONlHGfQo/Hf2ThFC+ouZeMFMT83qvuVtnVAaymm/u82g5Zbb F88GVBmzvejNA1j49nSXTrcTB54KIGdGwvwKYy3c9k1mvqQAE2M79Q7A/8Plo+ur gpTg20Qv+0KL7fwYECLGWz7gv2Z0NbSgc0HaYvjtsHMDQrKFHMQHZex1d6qattUw kbnrd0tEjh/VLWJyr+VjnxkvFL1s5XfK9/PRBWa5CFb5alz2mZmdfYtcJXOnCmcT 4eli/oSq6tRcnrmPrzgClRRPRofUkKiJDao6qsOvjBUdegEhA+n/ExPJaP/xb6BR sbWTKANAqwwhD9Att7FNvVe+lRIHw51a73/wx4Wxy4N65qPj8XHcNNFykb7yJvVe 40Bo6hcsZF1fPLEtVkWVVdMjbXbndB/98khnFMQjnth73DnjhwnH+4ttSH3IdX3f ml8FWu3Jp2CXcL1Ufnl2fHhB55Mrd7UsmFJQtMnzrbNZ4LZZzkjRWkUBhtGYfxHt q0e61Cb4YqAQOLk/sRRB3jKfQA0cw4eKiSgPSKbPR+nMtt/iHySDBF/AGP5qV9EE XS8Vhbb+BFRAwHDH/TMjJI62GYcmk5XnJm2PWQtcXTuoP3OHHtmH3CkZIpNyAb1l 9/OKsNN+0GtY2FUFHMFHlvqID+fC4bTJ6qzDlMhio7GaOhlnz90= =Slg7 -----END PGP SIGNATURE----- --=-=-=--