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 #23 received at 50238@debbugs.gnu.org (full text, mbox, reply):

Received: (at 50238) by debbugs.gnu.org; 22 Mar 2022 20:46:25 +0000
From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 22 16:46:25 2022
Received: from localhost ([127.0.0.1]:41945 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1nWlOb-0002Je-6Z
	for submit@debbugs.gnu.org; Tue, 22 Mar 2022 16:46:25 -0400
Received: from laurent.telenet-ops.be ([195.130.137.89]:53376)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@telenet.be>) id 1nWlOZ-0002JV-1u
 for 50238@debbugs.gnu.org; Tue, 22 Mar 2022 16:46:24 -0400
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by laurent.telenet-ops.be with bizsmtp
 id 9YmM270024UW6Th01YmMNd; Tue, 22 Mar 2022 21:46:21 +0100
Message-ID: <f01e37a913326500a46cf8e343e62586729e7df8.camel@telenet.be>
Subject: Re: [bug#50238] [PATCH] build-self: Try printing nicer error
 messages --- verifying if it doesn't break anything
From: Maxime Devos <maximedevos@telenet.be>
To: 50238@debbugs.gnu.org
Date: Tue, 22 Mar 2022 21:46:15 +0100
In-Reply-To: <4ce29104dac2b001bfb8a4590227ac98aa6b948d.camel@telenet.be>
References: <b8eaa03230227033135d919aaafe76ad5af1eefc.camel@telenet.be>
 <4ce29104dac2b001bfb8a4590227ac98aa6b948d.camel@telenet.be>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-PaT9xCwUvOXk/tGMxVLn"
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=1647981981; bh=0tNl51jmW8MePyb6ODUs04F86sdekEwfth1xI59ra4Y=;
 h=Subject:From:To:Cc:Date:In-Reply-To:References;
 b=csZBlwkcAjzRekLtRrw17obKcxBQ6OYTz6hqYhlgGikHAxXhH7h1ksTyRxcGpVxnJ
 wWL+x7wK4e1R+uCtbGp1smhX9ago0KE7401tPThV52xNpM3YUHwPAksgDxkg0vOTQ8
 gNaEugFxtLLToHxB3GcmFSYEbDfp4SNB/PeU0jkXjTa7A2RzHEqr84+TAeuwJ4gC8V
 YkEf+bujUSMNrZZkU1n3MERaKePywf7+uXi51oGTQc9x3NB0FV82inSwN2SZI1Vngc
 R5Zzxqq7hgqDfGf8MGr9++TcXQVvOuI9AK43GCtnJ82Pke8hyPycegrDkJRa4I8z7Q
 3fSGbK3VrJU9Q==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 50238
Cc: Ludovic Courtès <ludo@gnu.org>,
 zimoun <zimon.toutoune@gmail.com>
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)]
Maxime Devos schreef op za 19-03-2022 om 10:13 [+0100]:
> 1.3.0 is not a good test though because it's relatively recent, I'll
> try some older versions as well.

I tried from 1.1.0, seems like it fails because guile@2.2 does not have
with-exception-handler:

Backtrace:
           5 (primitive-load "/gnu/store/jdf2z2vl4gc6yzl5gglixd5jpflcgikm-compute-guix-derivation")
In ice-9/eval.scm:
    155:9  4 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
    159:9  3 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2  2 (with-fluid* _ _ _)
    152:2  1 (with-fluid* _ _ _)
In srfi/srfi-34.scm:
     38:0  0 (with-exception-handler #<procedure 7f3a57d078b8 at ./guix/ui.scm:694:2 (c)> #<procedure 7f3a582457c0 ?> ?)

srfi/srfi-34.scm:38:0: In procedure with-exception-handler:
Wrong number of arguments to #<procedure with-exception-handler (handler thunk)>
Computing Guix derivation for 'x86_64-linux'...  guix time-machine: error: You found a bug: the program '/gnu/store/jdf2z2vl4gc6yzl5gglixd5jpflcgikm-compute-guix-derivation'
failed to compute the derivation for Guix (version: "aac29b952e558e20ac97a95713b15ac453e59742"; system: "x86_64-linux";
host version: "1.1.0rc2-1.9d0d27f"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.

I guess the simplest solution is to only do 'with-error-handler' wrapping
when guile-version>=3.0 ...


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:41:42 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.