From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aOvlJa3dqGHxSwAAgWs5BA (envelope-from ) for ; Thu, 02 Dec 2021 15:52:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qCCnIa3dqGHpYQAA1q6Kng (envelope-from ) for ; Thu, 02 Dec 2021 14:52:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 49EA7E149 for ; Thu, 2 Dec 2021 15:52:29 +0100 (CET) Received: from localhost ([::1]:42292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msnRk-00044e-Cc for larch@yhetil.org; Thu, 02 Dec 2021 09:52:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msnRK-0003vb-Cv for bug-guix@gnu.org; Thu, 02 Dec 2021 09:52:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35535) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msnRK-0003dd-58 for bug-guix@gnu.org; Thu, 02 Dec 2021 09:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1msnRK-00085l-3z for bug-guix@gnu.org; Thu, 02 Dec 2021 09:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52244: commiter.scm: backtrace if commit fails Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 02 Dec 2021 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52244 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52244@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.163845668931056 (code B ref -1); Thu, 02 Dec 2021 14:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Dec 2021 14:51:29 +0000 Received: from localhost ([127.0.0.1]:47081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msnQn-00084p-K9 for submit@debbugs.gnu.org; Thu, 02 Dec 2021 09:51:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:42158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msnQj-00084f-Vu for submit@debbugs.gnu.org; Thu, 02 Dec 2021 09:51:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msnQj-0002kZ-NE for bug-guix@gnu.org; Thu, 02 Dec 2021 09:51:25 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:55289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msnQh-0003Vw-Dd for bug-guix@gnu.org; Thu, 02 Dec 2021 09:51:25 -0500 Received: from hermia.goebel-consult.de ([79.211.184.181]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MLiXQ-1nAKHQ45su-00Hbuo for ; Thu, 02 Dec 2021 15:51:21 +0100 Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id EF3955F526 for ; Thu, 2 Dec 2021 15:51:25 +0100 (CET) Message-ID: <05024745-375a-4881-911b-048e62cbed47@crazy-compilers.com> Date: Thu, 2 Dec 2021 15:51:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Content-Language: en-US From: Hartmut Goebel Organization: crazy-compilers.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:whR/25l/0L/yh2fpNJWPoP7R97ZW7j8txD9R90I83bq8d8RDxhH TQBSwRYmuUuwkqZMe3wiJNngugrh2OXQK8/kG1AxooqsROHehQqranm3+vui3QVMZEO5ODq kLAysO51q6ictnv9KLYhgFAgnFn2QOj4rHr8zkS37TdeyYnuDuPP/MQD7Bhxzw4deNwJtjF YEz12ZO7RoVdGLC2DTNZw== X-UI-Out-Filterresults: notjunk:1;V03:K0:+GyxfAnAjzM=:npeLHrGoF0KOJon5vSAg/9 XUFkZ6Myni5llHyx4bQT8Png0K5Sp6qzrNza/D6DPylQvYWIwmSfUqCmsuHh98Ly8y5/Bpp0n fk7U5e1Dp7e7BRW9DE1yIXG3JeWpXugudOicEAAPMQkXN9vc448RwuB2MPvyecMOHZuNz5Ek9 e2NNEsR/KPiGAmGFFLmLBknjB819AcngPxmnqJpgQP4LZOv4LP3MI3O9aHOW+RodMmCWhEvlP p2sL9r4t8utH8+8KkSJUU9z9DYRVveRFDODcVFw10tQENlgrpIiLHYcA+HYAnpBWO3QrtjGmR 07Y+C+eJUHUp/n+5SEvrhVtn9dgfoC1YxfcF1Iiwwng7TRVFVuYsYYSMa1mpc7B6jjCgbLCzl jDQPeQsTMpgdnYQbObw2wDnmwjzPbGoAJQwGYaAcD37GMWLMlnvEylsAOSWqSFsw8qItxjlsj BqE6/oJhfdoHFGP7Ovgtk0Ql1EwJN9uusZVPm8tTw5znDiM2brtPrBKonX4LDykywKLyrdWML VSahLOtKnKylsF8zh33+GRC3zxWtHgceuyIIXZmWxLMr4uR6uvDEvipTzjc++lVvTA8nTPNiS UYMqcRkSe4r1TisHRSBJ98qkwrEJzoSW8/eehhW3wohRGshT4w/v8zwRJjID7Kc7EPChmbj+7 usKjwhhBmpfzyGxnLH9zpzxVfmjxqrKUEcxAO+M+ZVEKBdGHlwz7zENYkh1hqbnbIQ3Fw1A+E jkwOM+Xdv0snIlEP Received-SPF: none client-ip=212.227.126.130; envelope-from=h.goebel@crazy-compilers.com; helo=mout.kundenserver.de 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638456749; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=GUSrkCcvXQbHXJe33tYlO9E6hXK3bTeUGC8wZ3VwsKs=; b=X8ju7rmfchB4QeRxTJswQNsnkq4c3Z49AzeoARUV5R5gnhYO7DwuEH0ytsqaOUe4tYOQr4 7ExgLADll/AQx9/SHPmWdQJbdaaumeWKSqKyegeWMNxP85Jf7jzTQ8njPeUMhKjL0CJIQU 6F57HH2XUTlknbljbv0LjjpCPntshHoTshmJnztFZKd6G+qP+PNorpDVAHO3dNHMmdiZPz HprCsRlXOThAFvRnaZJ9hERfiSdRbmWl89VLwu9E37HQufG59UeX/Xsio9TCXn7B2BgniI yZ7Z7te1QQ7OwcpIvk7SbNkRrMdI4lxxg+y/YzV6TnG2QoCxjSWwy9vNLZEbpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638456749; a=rsa-sha256; cv=none; b=KzUHxz8va/kHeq0xAPpY1hTmQrwUCZSoCaAweHlsuYevGoo+zDUQrgxyv57HsQi4pSd0db L3s+71rRO2DD9tsbdAN4+95lmE2KzF6ZCrwbK0VsyOy2uHD61jWDUl+MuyRDaG1UctbJH9 55zM/4n6gbrX3DBkiGdQSKn13b10SiDW/eZGmtF631g46VFPYD4hvy57zmCYVPU8GkY5Ln l5lxH0c7CblvXscdr6ygCekn3U5Uc6dZhRyCJNdTZLoPStXL1ZfRip+AI7nOLjO7SY+Y/e RmOhgeUhsNjROksffackbZjCbv5tmMQZ4TvGCIizs+djInMaf1YB5gsbgy5SWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 49EA7E149 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: qU6aalcC/QsK When commiting the change fails, committer.scm outputs a backtrace. While one can packagers be experienced enough to understand the error even if it is garbled by the backtrace, I propose suppressing it for two reasons: 1. The backtrace makes it harder to spot the actual error (since one needs to "parse" more text) 2. I often have issues with my guix development environment being instable. So when I see a backtrace from commiter.scm, I think about issues with my environment first - and not about an issue with git :-) Expected ================ No backtrace, but a concise error message, like here: $ ./pre-inst-env guile ./etc/committer.scm gnu: python-stdnum: Update to 1.17. * gnu/packages/finance.scm (python-stdnum): Update to 1.17. error: gpg beim Signieren der Daten fehlgeschlagen fatal: Fehler beim Schreiben des Commit-Objektes. etc/committer.scm:399:24: Cannot commit Reproduce ================= There might be other ways to trigger a failing "git commit". For me it occured when using an outdated PGPG key for signing: 1. Configure git to use the outdated GPG key for signing, e.g. git config --get user.signingkey 634A8DFFD3F631DF 2. use committer.scm to commit some changes: $ ./pre-inst-env guile ./etc/committer.scm gnu: python-stdnum: Update to 1.17. * gnu/packages/finance.scm (python-stdnum): Update to 1.17. error: gpg beim Signieren der Daten fehlgeschlagen fatal: Fehler beim Schreiben des Commit-Objektes. Backtrace: In ice-9/boot-9.scm:  1752:10  7 (with-exception-handler _ _ #:unwind? _ # _) In unknown file:           6 (apply-smob/0 #) In ice-9/boot-9.scm:    724:2  5 (call-with-prompt _ _ #) In ice-9/eval.scm:    619:8  4 (_ #(#(#))) In ice-9/boot-9.scm:   2835:4  3 (save-module-excursion _)  4380:12  2 (_) In srfi/srfi-1.scm:    634:9  1 (for-each # …) In etc/committer.scm:   399:24  0 (_ _) etc/committer.scm:399:24: Cannot commit -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |