From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 21 10:25:53 2023 Received: (at submit) by debbugs.gnu.org; 21 Mar 2023 14:25:53 +0000 Received: from localhost ([127.0.0.1]:60115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pecvw-0005Ny-RI for submit@debbugs.gnu.org; Tue, 21 Mar 2023 10:25:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:57264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pecvu-0005Nq-Tp for submit@debbugs.gnu.org; Tue, 21 Mar 2023 10:25:51 -0400 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 1pecvu-0005HQ-AN for bug-guix@gnu.org; Tue, 21 Mar 2023 10:25:50 -0400 Received: from mail-yw1-x112a.google.com ([2607:f8b0:4864:20::112a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pecvs-0000tM-6h for bug-guix@gnu.org; Tue, 21 Mar 2023 10:25:49 -0400 Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-5419d4c340aso283277747b3.11 for ; Tue, 21 Mar 2023 07:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; t=1679408746; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pGVyg0w+fVVFddQ4avmCOzQiwNusdAxs/sBhu0HpJ5M=; b=jsTzCMS8ILxfPRc1rpVfgsKA/p2wANbo6x801MPkjQbkrfyljqcmkHehwDBDt107ha NBKxmCraQpodZnrSezWTwwJ306Z379v9NOukJzSbDJ0BHdKYBRkauBhr60vBp/Dex5Iu yocagyMOsTdllgeD6CmlsH83WNA1dv2N7HLXkii5BFX2UUkv7tGeavmlrXZIVXIjcFyf KclFf3Ew+tXXw8YkWFpMRmSrDxPJPKj1NQKNQF90A95+X8mZW/qP8IgDanBJEqjB9zGC KWNIe998ZbfDjgxqjkaisE3/fEFbEwko5CtqKu42vVHk0yJaZopEltdTsc7yFfjHn/T1 bpmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679408746; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pGVyg0w+fVVFddQ4avmCOzQiwNusdAxs/sBhu0HpJ5M=; b=CJFIrzHQFLXGj66qtqSlAZGJOf5GmmIiJCCtsF8Fj3pMHvoF0CdbdfxC4CH8XdP+uT I9l5in2kWiQyjpqZe/M86OGlxMuaG8J7eTE1lSeIyCjCk5V+5WEBQ+X+HnB1jykQZKfc kDmIqmXHGBWMZQuKd6xrRibcgjGzU6kzgcvum4UbgPEbIBuw7l1EUknWXw/iXoh+DCTn qokEXaqPTeKF1kXCYV1g/ZW43ld2CBBUTRGKlOjz3eY/E0A1ymoNhCTRzPBSlvpMuv7c MOSeUVp8eWg90KupRajCxwLDPp/XNquYzd+8nSHn3yzgs9BtBvaf/YOzs9qYGdn+dP4B jTEg== X-Gm-Message-State: AO0yUKXnTNmjBBtotvaHhtg0Lnipe2I+FimqJoRxmGWTz0U2ajDzbuGo j/7eT7Ib/IWnqbIq5UIBVI4IclgrYEZpYiS1qX6sjjLit8jxpHPr9OI= X-Google-Smtp-Source: AK7set8sK++3TIXJVtworD5okdtjHZFdaqA7piZ8Ap6weFmxUyis1TSj5C7DKRGmYiaSng8eFCj17BIZYf9SZn4UbF0= X-Received: by 2002:a81:1904:0:b0:542:927b:1c79 with SMTP id 4-20020a811904000000b00542927b1c79mr10295563ywz.3.1679408746582; Tue, 21 Mar 2023 07:25:46 -0700 (PDT) MIME-Version: 1.0 From: Greg Hogan Date: Tue, 21 Mar 2023 10:25:35 -0400 Message-ID: Subject: Exception when showing version-control packages To: bug-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2607:f8b0:4864:20::112a; envelope-from=code@greghogan.com; helo=mail-yw1-x112a.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit 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: -3.3 (---) I have not installed the guix package so I believe that I am running an unmodified Guix. Testing on my manifest, only packages from version-control.scm (cvs, diffstat, git, subversion, ...) are generating the exception. --8<---------------cut here---------------start------------->8--- $ guix describe Generation 38 Mar 21 2023 13:38:52 (current) guix 38b64d4 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 38b64d47ed3dfaeb63b859e7a8834e477ffed3a1 --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- $ guix show hello name: hello version: 2.12.1 outputs: + out: everything systems: x86_64-linux i686-linux dependencies: location: gnu/packages/base.scm:87:2 homepage: https://www.gnu.org/software/hello/ license: GPL 3+ synopsis: Hello, GNU world: An example GNU package description: GNU Hello prints the message "Hello, world!" and then exits. It serves as an example of standard GNU coding practices. As such, it supports command-line arguments, multiple + languages, and so on. --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- $ guix show git Backtrace: In ice-9/boot-9.scm: 3424:24 19 (_) 222:29 18 (map1 _) 222:29 17 (map1 _) 222:29 16 (map1 _) 222:29 15 (map1 _) 222:29 14 (map1 _) 222:29 13 (map1 _) 222:29 12 (map1 _) 222:29 11 (map1 _) 222:17 10 (map1 (((gnu packages python-xyz)) ((gnu packages #)) =E2=80= =A6)) 3327:17 9 (resolve-interface (gnu packages python-xyz) #:select _ =E2=80= =A6) In ice-9/threads.scm: 390:8 8 (_ _) In ice-9/boot-9.scm: 3253:13 7 (_) In ice-9/threads.scm: 390:8 6 (_ _) In ice-9/boot-9.scm: 3544:20 5 (_) 2836:4 4 (save-module-excursion _) 3564:26 3 (_) In unknown file: 2 (primitive-load-path "gnu/packages/python-xyz" #) In gnu/packages/python-xyz.scm: 24360:42 1 (_) In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: error: pre-commit: unbound variable --8<---------------cut here---------------end--------------->8--- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 21 15:00:31 2023 Received: (at 62335) by debbugs.gnu.org; 21 Mar 2023 19:00:31 +0000 Received: from localhost ([127.0.0.1]:60645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pehDj-0005jj-HX for submit@debbugs.gnu.org; Tue, 21 Mar 2023 15:00:31 -0400 Received: from jpoiret.xyz ([206.189.101.64]:50898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pehDh-0005jb-7E for 62335@debbugs.gnu.org; Tue, 21 Mar 2023 15:00:29 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id C3018184D43; Tue, 21 Mar 2023 19:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1679425228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fwOY10v24bAb3EzbHEcW8DpuQH2X1bMfQJDA5F4KEvk=; b=EqjVYCclYi4LljqKmvcrowtrjAMpEDEEoA4LjLa7Tb47dnC/yFOPvCvxq8eXQI8ha2SuYN DoFQLTiCS6mecpgCDTDRwlTftSU/3ZiYBlGknZrBZdd0sJgo3/p8334z/F7b5vOpXLKfWS XI6rkDj3x4wM7QBDWjtW9zZIeXSQ9JYOY4VjVM4eijs04E6GByn9KujiheGSeunp03wgGv n4S4pnfHaKn2QmzwpplKb0CX4gNRiVcMaYMwvu3fyntOXVUn2NpIiP61iFGHYz/BnGymS7 QnlN07Gwx+UkkfJvXggXclV5MLSmHw0K3wHApSj1ki1PTnpysvmKOuZ5iT+SlA== From: Josselin Poiret To: Greg Hogan , 62335@debbugs.gnu.org Subject: Re: bug#62335: Exception when showing version-control packages In-Reply-To: References: Date: Tue, 21 Mar 2023 20:00:25 +0100 Message-ID: <87pm92q69i.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62335 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: 0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Greg, Greg Hogan writes: > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > error: pre-commit: unbound variable This is caused by yet another import cycle: pre-commit is defined in version-control.scm, which uses python-xyz, which defines python-jupytext and which has pre-commit among its native-inputs, which is thus not yet defined (if you tried loading version-control.scm first). I think the fix would be to move pre-commit to python-xyz? These import cycles are getting a bit out of hand, especially since we never catch them during development... Can we also turn unbound variable warnings into errors, so that `guix pull` could catch them earlier? Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmQZ/skQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5Fhcais86DACFlbfvNFm2/RN4Q67HIjXBXSb6A4HLxMe/ WLR5Akfi0MMmmh6sclmWT6z7YVr7IKo1UoVGbp6k1atZtIg5zZZJx0HO/E9a+Gqd 10S8iSgUbl2s0POKxpzFHwaUCivCOVgob3VLoB3lqMuaBC4gbBd59MjBjiXaqzBK B8IvfFMp5JVI3eXzB7zorCuIj896sGovIdBgw3jZ7lR3jrqb3Jw1xB571FsBtBay e0h2agxM+KKonZ8QuxFH5gUPpmX8zP2Ebo35eVr2u2xQ0oSmOtIA5y+X/3TtEnBA UBxNvb3tBi478wtOO5WI6BdoKQIcdpt3p+FraLwNDQKh82aP1xDY284riQoZv7nr Tcr3w4NIk4FZh54c7AwGNdW1HuHq8PrjUweqp/yBMML9RR6Uvb+o+XgTYduCpeia YteRCPJSzShDp8OvZ8ZzgmwQCXmZC8mhRt4fEd5gFrPaVkKoP+U6GSS84/vZtKM8 80QlAondGjWzF06O4NBExVnhPXq8Ick= =orVK -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 23 10:36:08 2023 Received: (at 62335-close) by debbugs.gnu.org; 23 Mar 2023 14:36:08 +0000 Received: from localhost ([127.0.0.1]:39073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfM2x-0000vB-VY for submit@debbugs.gnu.org; Thu, 23 Mar 2023 10:36:08 -0400 Received: from jpoiret.xyz ([206.189.101.64]:34380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfM2t-0000uz-F8 for 62335-close@debbugs.gnu.org; Thu, 23 Mar 2023 10:36:07 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 21D09184F27; Thu, 23 Mar 2023 14:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1679582160; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iFc9PzRLZh+6ZZRwLDazs6Zo/ow9Sm0FLG6ouJ9NQlc=; b=igHkNRkd2bujmOvTg6DkVjZW9Lw8nLx09xO4HBkTrWOKUTJkXtZSHowDEJTnIuzNdtzVcc 3eXmntCqaCP8sUPoNyJV5ckHPZ+XO8/83Jpw154I/BHA7KzEsW8tGsGsbDgGyE7InCRgs4 c2Eb+qWNrrwGc1Nprb0oPVvwRZovJ5fdlfIwQv8YGcKRS0PYVeeo+p0WsSiXsVCu7c9A36 RKMeSnyrt/mMZGswGoKsWLncjE2/5JA6l+RVOvenExy767Q0h5KnYtdcrazktruuDLtbFU G3hygHvzyzr9vHzvwy4NSRf/bi2sxL42OVV6ai110qpJJE1OsiGYPFFHPuMrKQ== From: Josselin Poiret To: Greg Hogan , 62335-close@debbugs.gnu.org Subject: Re: bug#62335: Exception when showing version-control packages In-Reply-To: <87pm92q69i.fsf@jpoiret.xyz> References: <87pm92q69i.fsf@jpoiret.xyz> Date: Thu, 23 Mar 2023 15:35:28 +0100 Message-ID: <87lejn1qof.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62335-close 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: 0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Greg, Greg Hogan writes: > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > error: pre-commit: unbound variable This should be fixed now by Maxim with 5174820753be045ba4fc7cc93da33f4e0b730bc3. Closing, feel free to re-open if it is not the case. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmQcY7AQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaivVoC/4jWZ9/MCEiVYU912E1uGCGNx8nxJbfn2RR BCbaikM6ldCxmyJYAf7fJeI5mbt4BtTl+Rv4i+RLaiiUNgZgqUnmHQrah6TR4nGZ ITPmAiaWxSWBa5rBFrgdsFLVMXWVgZ/piVF8FHMtSe/FWiacAjbGljAWuo3IvoDz /6voiLGhe+nNf5jZN9RjsdbJzCTkmKcdJztVMQPLDl3wJBTUPcyW8JbAF0Y75iCH 2htRit4PVMrk7CbN3bVslsmw+6EjmEIov6q1CrTauk0k/q1H+hZFowJpioh1TssV Gx0Wh4HBheB/fH8/WBqXwrq8uOxoVekqhJt8FYspFlJoFMH9K40GVLqNulj/FjnF j/hZp8WD1/BAXamKRAK0UnaXaZr+j1SbfTxvQdBSEI06Svv78OvR0pj7qWN3ceZH um8u4HXXZejF3E+Ohwba/QW8e7gtjN7wy0ochoz9SiA7ZMIfsXWp0MfW8rQxUP8Y CI/vsU+QXn/626EWIU3dskekwp6qNeo= =3rfq -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 10 08:59:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 21 Apr 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator