GNU bug report logs

#50238 [PATCH] build-self: Try printing nicer error messages.

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Full log

Message #17 received at 50238@debbugs.gnu.org (full text, mbox, reply):

Received: (at 50238) by debbugs.gnu.org; 9 Mar 2022 13:18:45 +0000
From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 09 08:18:44 2022
Received: from localhost ([127.0.0.1]:58791 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	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 <maximedevos@telenet.be>) 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: <e70f5d4d1f346e6e738adf796eaa4f0d70a8909a.camel@telenet.be>
Subject: Re: bug#50238: [PATCH] build-self: Try printing nicer error messages.
From: Maxime Devos <maximedevos@telenet.be>
To: zimoun <zimon.toutoune@gmail.com>, Ludovic Courtès
 <ludo@gnu.org>
Date: Wed, 09 Mar 2022 14:18:26 +0100
In-Reply-To: <8735js45c7.fsf_-_@gmail.com>
References: <b8eaa03230227033135d919aaafe76ad5af1eefc.camel@telenet.be>
 <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: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
[Message part 1 (text/plain, inline)]
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'.  However, maybe the exception
> handling could happen in the 'build' part.  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.
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 16:28:04 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.