From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Baines Newsgroups: gmane.lisp.guile.devel Subject: Re: exception from inside false-if-exception? Date: Mon, 29 Apr 2024 15:22:46 +0100 Message-ID: <87le4wz1s9.fsf@cbaines.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1645"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.12.2; emacs 29.3 Cc: "guile-devel@gnu.org" To: Attila Lendvai Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Mon Apr 29 16:23:14 2024 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s1RuT-00008e-2p for guile-devel@m.gmane-mx.org; Mon, 29 Apr 2024 16:23:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1RuC-0002j1-F3; Mon, 29 Apr 2024 10:22:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1RuA-0002iV-TM for guile-devel@gnu.org; Mon, 29 Apr 2024 10:22:54 -0400 Original-Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1Ru5-0001cu-Ml for guile-devel@gnu.org; Mon, 29 Apr 2024 10:22:54 -0400 Original-Received: from localhost (unknown [212.132.255.10]) by mira.cbaines.net (Postfix) with ESMTPSA id 4957D27BBE2; Mon, 29 Apr 2024 15:22:48 +0100 (BST) Original-Received: from felis (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 6f35dc16; Mon, 29 Apr 2024 14:22:47 +0000 (UTC) In-Reply-To: (Attila Lendvai's message of "Mon, 29 Apr 2024 09:06:16 +0000") Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22406 Archived-At: --=-=-= Content-Type: text/plain Attila Lendvai writes: > dear fellow Guilers, > > context: > -------- > > i'm working on shepherd (with several non-trivial local commits). its > test suite runs clean from a shell, but fails when i try to > `./pre-inst-env guix build -K shepherd@0.10.99-git`. > > > the sympthom: > ------------- > > COLUMNS is not set in the guix build env, and the basic.sh test fails with the following exception/backtrace in the test log: > > [...] > In ice-9/boot-9.scm: > 1747:15 8 (with-exception-handler [...]) > In shepherd/support.scm: > 613:9 7 (_ . _) > In unknown file: > 6 (display-backtrace [...]) > In system/repl/debug.scm: > 148:36 5 (print-frames [...]) > In ice-9/boot-9.scm: > 2137:6 4 (_) > 1747:15 3 (with-exception-handler [...]) > In system/repl/debug.scm: > 72:40 2 (_) > In ice-9/boot-9.scm: > 1685:16 1 (raise-exception _ #:continuable? _) > 1683:16 0 (raise-exception _ #:continuable? _) > ice-9/boot-9.scm:1683:16: In procedure raise-exception: > In procedure string->number: Wrong type argument in position 1 (expecting string): #f > > the expression pointed to by debug.scm,72:40 is this: > > (false-if-exception (string->number (getenv "COLUMNS"))) I think I've had similar problems in the past, I did fine this IRC conversation: https://logs.guix.gnu.org/guile/2021-01-19.log#204926 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmYvrTZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfslQ/8Dl50wqlM8v/7URW7d+cN5VDvFOAlgFaa vCxuSEdfTkARhmo7neVqfqcqHlXwP7iPjddWldb4mjex64CM5Ae0sZq172L0iq0J a9xkyus+BaTPvEzTEEIMneWaiSqI8BdgAX8UtrBjWq+CcAPYh2FmIeY5/Mmpb6M/ hPGR4vpuYPDyvtTk4hC2peAtha49OJekx93JyFRZz/SVp/zdOR6KkNxJ1Ee5McEs /BuorXc/hgGccP7rXssN2Zxjc8LWuzf1JVpSE10+vQOZR3pImxFDvV96VPO6fiUi tXl560E4X8CweQdSxPaiNgxx0C+PmkEfWrUyr3DHeJV5NCEnGfhaHTkMdpPUZhts L4F9qEbdG6CVjv3VycbisFyNfLrnx7uWdH4zC+fbp/DfxOOZ9xfuYwgx4/opgoT0 Cd/q06L0nlq1A9wwBZ8hMLcTUkItLcRLwh0iHutm2T+P03NzbXGfh1q8JtxjIloy DeW6tybfKhEnAcBMMGmzXm/CQ3YNvSh7yrTmhMpDkiGBGxAQsTcUAxFa5pZXLIeo 3AfclusWPOH/D8bB98ZMKyp5xe+XFmPG7j+i3dOGkfkOZrzzU1MiKE9Ua4I4bXC/ ZpUlerAtFktJH+qNOOKLL0jrA1evi/pEnkMs7Avv1wg6q80Sq3xvDJRbVrGM0Jga G0kAWk5qwwM= =KUc3 -----END PGP SIGNATURE----- --=-=-=--