From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 09 08:18:44 2022 Received: (at 50238) by debbugs.gnu.org; 9 Mar 2022 13:18:45 +0000 Received: from localhost ([127.0.0.1]:58791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRwD6-00027t-EB for submit@debbugs.gnu.org; Wed, 09 Mar 2022 08:18:44 -0500 Received: from baptiste.telenet-ops.be ([195.130.132.51]:42304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRwD4-00027l-Hu for 50238@debbugs.gnu.org; Wed, 09 Mar 2022 08:18:35 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id 4DJY2700J4UW6Th01DJYLM; Wed, 09 Mar 2022 14:18:33 +0100 Message-ID: Subject: Re: bug#50238: [PATCH] build-self: Try printing nicer error messages. From: Maxime Devos To: zimoun , Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Wed, 09 Mar 2022 14:18:26 +0100 In-Reply-To: <8735js45c7.fsf_-_@gmail.com> References: <87r1denq09.fsf@gnu.org> <8735js45c7.fsf_-_@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-edcLXdO4jEMnbdzM1Plq" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1646831913; bh=8f4+yJC1tKmXIMt74oLW7p1OUhcnuGYRIkHSqHYFbH4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=h9fuLfh5fuxNFG3ZhG4ZEjecgLNTDlfxKsdjWROC1vfrG2Xn8MObPfHQySoXJFFbU VjyyF6pgMA5kvGUPyEp//qnbBWmwA6gWM1u7hQYScl3JCdtAb23wpK2S3G4WhT/rQq B0jt6JZqT0N++CoYYSO0CMwFIfbHjz+rIeRP1Io2lj2tJ5rdXoXbpic1tFQrF9D5EN l1TQCOFlK8SIj0yrU+5T02wu+iYRzAUnqDTWzRvyc5Vlsk14KBLrlWNw8XqZAOzeYY 6yS6I6TS32hPcR+bgDka+nVwHV5d3PD3BRjFlnEB91tvCJeG92QQrQPm13hfIKL2Yw vHXuYsTNj9k2g== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50238 Cc: 50238@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.7 (-) --=-edcLXdO4jEMnbdzM1Plq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable zimoun schreef op di 08-03-2022 om 20:22 [+0100]: > Well, I am unsure about the addition of '(guix ui)' and by > 'with-error-handlng' in 'build-program'.=C2=A0 However, maybe the excepti= on > handling could happen in the 'build' part.=C2=A0 WDYT? Keep in mind that the result of the '(build-program ...)' is a program that will be invoked as a separate program. Exceptions do not propagate accross process boundaries, so 'build' cannot catch the exceptions happening inside, so 'build' cannot catch the exceptions happening inside 'build-program'. Hence, the error handling bits need to be inside the 'compute-guix-derivation'. Greetings, Maxime. --=-edcLXdO4jEMnbdzM1Plq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYiipIhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7guTAQDySOBgD+ORezyC1zpuz2KaMnTB Zj9DNJfu6dkrzfdp9wEAhb1fJjnqUH/1ejuoI5COeDn6ouYdWuaOdwTWECAqJQs= =2U6D -----END PGP SIGNATURE----- --=-edcLXdO4jEMnbdzM1Plq--