From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 20:00:35 2023 Received: (at submit) by debbugs.gnu.org; 21 Feb 2023 01:00:35 +0000 Received: from localhost ([127.0.0.1]:53984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUH1G-0003el-Q9 for submit@debbugs.gnu.org; Mon, 20 Feb 2023 20:00:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:41568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUH1E-0003ec-U2 for submit@debbugs.gnu.org; Mon, 20 Feb 2023 20:00:34 -0500 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 1pUH1A-0006ju-QP for guix-patches@gnu.org; Mon, 20 Feb 2023 20:00:30 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUH19-0002BA-2K for guix-patches@gnu.org; Mon, 20 Feb 2023 20:00:28 -0500 Received: by mail-wm1-x32d.google.com with SMTP id j3so147706wms.2 for ; Mon, 20 Feb 2023 17:00:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dwe9o8WgOkDDkL9V5hgJpQuz7AdYllL6A3c1e9cTTC4=; b=KfdAZQaHqM0foCiKYS173U2KJYjbXcuHwc9CmbnvTy7CCxk8Ex/W6gQI6JcvPJjUfc cvfJAxEAv9la50WapJgMoszkbQ+6FCQLvwcS1MBT+PUaXC3ltrR0V3KpBwCIjCJVg/EL EDJ65L24mucSRZqn/agb6FSJR5rYZ4W4abmnapTILGfqOvEK3XmOA4Tlkc/315vcxoJd FOx5eodGBx3ltXCtQa9/ZIpUn/585LCpXApTqZy+hRLRDEoHi9e4HYy88txsouFTKIhI Bpl5E3KiLWeo+hkrde+O7KWb3LA5wwDG9wHgNPRvvGVN0VrDBscitE7U8VGiGw9mT1jx LV2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dwe9o8WgOkDDkL9V5hgJpQuz7AdYllL6A3c1e9cTTC4=; b=2N0YuWiL39CNzl9V5zOtw+Eo+b8NNYMhUx4c2+AyhTJvMqxmkyu137mwY5ScKLDdPj w4kTQa0PNA24NrlkGJHez9TYDTGH42jrOBkX9reEoarsFFvZcvULX97ig7xIqVs+FDZL VXj1+pxQ8hpaLiTcUjTo7pCuMxzCe0sSv0wZidlr1mhGfIdRsm918nqqay/3uFoI/yvN rzl0i8Eajkwx9GVeOXv/hFPHVuSO4Y3IVxNyC6owF1t9fmx8M6YEeC99mJYuHNiOPRQk 8F+6fERxQfuVz+j2i+r1usaYFIxGYaVvAB5gnRyldkyfww+vLckqn6bKdEb9RLnA/F8E 7aqw== X-Gm-Message-State: AO0yUKUkbULoY9K41UZK4qvAzXLltR7cpsjIYH+4W1e22ZWjSEtiiqM0 5kYz4WZ2WL36yjjZHFNEADEhbtcIiVg= X-Google-Smtp-Source: AK7set+8Jdt6j45/8vmzuvoEYuGZTghZ31nU9bRxy36/fV9XZhPuC52HhMj5photUOVk9I5/KORThg== X-Received: by 2002:a05:600c:1c9c:b0:3dc:5ae4:c13d with SMTP id k28-20020a05600c1c9c00b003dc5ae4c13dmr3196476wms.4.1676941225353; Mon, 20 Feb 2023 17:00:25 -0800 (PST) Received: from localhost.localdomain ([193.48.40.117]) by smtp.gmail.com with ESMTPSA id x15-20020adff64f000000b002c406b357cfsm3843564wrp.86.2023.02.20.17.00.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 17:00:25 -0800 (PST) From: Simon Tournier To: guix-patches@gnu.org Subject: [PATCH] gnu: python-clingo: Fix invalid G-expression input. Date: Tue, 21 Feb 2023 02:00:18 +0100 Message-Id: <20230221010018.2689405-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Debbugs-CC: liliana.prikler@gmail.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Simon Tournier 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: -2.3 (--) * gnu/packages/maths.scm (python-clingo)[arguments]: Add 'imported-modules' and 'modules' in order to access to 'python:site-packages'. [version]: Explicitly reuse from the package 'clingo'. --- Hi, This package seems broken: --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=e8fcf1e424 -- build python-clingo guix build: erreur : # : entrée G-expression invalide --8<---------------cut here---------------end--------------->8--- The issue seems coming from the field 'version'. Then, commit 8285093cee000d6e28c040f721ddf0be18d32c42 introduces #$version which introduces the failure. Well, I have not found the correct G-exp syntax for #:imported-modules. Cheers, simon gnu/packages/maths.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 1e40be8722..67634990ae 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2703,12 +2703,20 @@ (define-public python-clingo (package (inherit clingo) (name "python-clingo") + (version (package-version clingo)) ;Fix error: invalid G-expression #$version (arguments (substitute-keyword-arguments (package-arguments clingo) ((#:configure-flags flags #~'()) #~(cons* "-DCLINGO_BUILD_WITH_PYTHON=pip" "-DCLINGO_USE_LIB=yes" #$flags)) + ((#:imported-modules _ '()) + `(,@%cmake-build-system-modules + (guix build python-build-system))) + ((#:modules _ '()) + '((guix build cmake-build-system) + ((guix build python-build-system) #:prefix python:) + (guix build utils))) ((#:phases phases #~%standard-phases) #~(modify-phases #$phases (add-after 'unpack 'fix-failing-tests base-commit: e8fcf1e42438113d7e4be82dc5a06de45eaceb76 -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 21 00:31:20 2023 Received: (at 61665) by debbugs.gnu.org; 21 Feb 2023 05:31:20 +0000 Received: from localhost ([127.0.0.1]:54274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pULFI-0002jt-1e for submit@debbugs.gnu.org; Tue, 21 Feb 2023 00:31:20 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:35754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pULFG-0002jc-0B for 61665@debbugs.gnu.org; Tue, 21 Feb 2023 00:31:18 -0500 Received: by mail-ed1-f67.google.com with SMTP id h32so12675741eda.2 for <61665@debbugs.gnu.org>; Mon, 20 Feb 2023 21:31:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=0UBFgEQMbifJGkYctQId5Vu+gNLxgJdv02FmhtxPRbo=; b=esWo1VpLIo9uUm5I1SNMWyKbh310XxTlsXy91jaqXA0J6XhW5+f3rx/eqI7FRIWfrp rZnYsg+Bd84rZdTP3QZhieLd1OJy2zWC3GPr+WrFoaS2E+KSERVaqlg9Vx6Fl9j4jrXI rFD11E46EbdPnbOl6e2EV2Im9loIhODNducxVZKcqULmg/BQHQEH0+xfWoEgwFVNS0qM YvS31gFfoVV2qKA+tMc0q15r6U6fvyPw5p8fOcxko2QS1bdm8BVMHHbMVOaCyJvAsh7d 7WGoJzbJSEehnwoWVC7rm7BBoyUdErQyDN6liaatLfIvQj9OVLugGoACj33/JfNV6hLT 0Kkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=0UBFgEQMbifJGkYctQId5Vu+gNLxgJdv02FmhtxPRbo=; b=fn9/F+fB4x/Kc5Pt97Ol7SY2G13OlF076MaaUqvd14VZJzhgl8/zMbD9uAwDUh3BoU eK8580aPmk83/LNPx08fmw1hdaqhw63h6YRbGmY/0p0Dhl3NwM7u8OSSZso5Qg1LEYi8 Y1PY1kwp7UynfNF9rDzTO5abRoSxtRTdg7za5WfC3Zh5s9Kgs39B1KRI3su0Jm3tqgWP WioiZHWtGJrkWiQuemmNSjh9eud5UF9cCUnrbhBmFfPz3XNRXpXtlOM5zBszAiW3U6En pulG7BhG1Cq78o2Kfr1WXbHb/O0Ar7SncCYHZtrzDBHUvLCktH3ayGjtIZ2sPn/I6yMA hhYw== X-Gm-Message-State: AO0yUKWGyrdqXD7ykFRfed1cmADQCWwdFLy9OEH7nlcZcg/5I8ZbaMRj 7/VoR+mAoDB/0CZgileaOn0= X-Google-Smtp-Source: AK7set9/LCZno8aZRJcSaM5EdsMi1klOQkYi8igXX5hN0hWXgmuiGQhwWLY4rZVaZ5cWt1j/q+Mc8Q== X-Received: by 2002:a17:906:e24b:b0:8ae:11ca:81de with SMTP id gq11-20020a170906e24b00b008ae11ca81demr9083504ejb.34.1676957471984; Mon, 20 Feb 2023 21:31:11 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id a17-20020a17090680d100b008dea022f5e6sm457720ejx.24.2023.02.20.21.31.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 21:31:11 -0800 (PST) Message-ID: <57f926d32bf2aa1208e76207f922b338fb7d7cc3.camel@gmail.com> Subject: Re: [bug#61665] [PATCH] gnu: python-clingo: Fix invalid G-expression input. From: Liliana Marie Prikler To: Simon Tournier , 61665@debbugs.gnu.org Date: Tue, 21 Feb 2023 06:31:10 +0100 In-Reply-To: <20230221010018.2689405-1-zimon.toutoune@gmail.com> References: <20230221010018.2689405-1-zimon.toutoune@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am Dienstag, dem 21.02.2023 um 02:00 +0100 schrieb Simon Tournier: > * gnu/packages/maths.scm (python-clingo)[arguments]: Add 'imported- > modules' > and 'modules' in order to access to 'python:site-p [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.208.67 listed in bl.score.senderscore.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.67 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.208.67 listed in list.dnswl.org] X-Debbugs-Envelope-To: 61665 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.3 (/) Am Dienstag, dem 21.02.2023 um 02:00 +0100 schrieb Simon Tournier: > * gnu/packages/maths.scm (python-clingo)[arguments]: Add 'imported- > modules' > and 'modules' in order to access to 'python:site-packages'. > [version]: Explicitly reuse from the package 'clingo'. > --- >=20 > Hi, >=20 > This package seems broken: >=20 > --8<---------------cut here---------------start------------->8--- > $ guix time-machine --commit=3De8fcf1e424 -- build python-clingo > guix build: erreur : # : entr=C3=A9e G-expression > invalide > --8<---------------cut here---------------end--------------->8--- >=20 > The issue seems coming from the field 'version'.=C2=A0 Then, commit > 8285093cee000d6e28c040f721ddf0be18d32c42 introduces #$version which > introduces the failure. Thanks. > Well, I have not found the correct G-exp syntax for #:imported- > modules. Quoting works fine. >=20 > =C2=A0gnu/packages/maths.scm | 8 ++++++++ > =C2=A01 file changed, 8 insertions(+) >=20 > diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm > index 1e40be8722..67634990ae 100644 > --- a/gnu/packages/maths.scm > +++ b/gnu/packages/maths.scm > @@ -2703,12 +2703,20 @@ (define-public python-clingo > =C2=A0=C2=A0 (package > =C2=A0=C2=A0=C2=A0=C2=A0 (inherit clingo) > =C2=A0=C2=A0=C2=A0=C2=A0 (name "python-clingo") > +=C2=A0=C2=A0=C2=A0 (version (package-version clingo)) ;Fix error: invali= d G- > expression #$version Reworded slightly and pushed (it's a hotfix and CI succeeds). Cheers From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 21 07:53:31 2023 Received: (at submit) by debbugs.gnu.org; 21 Feb 2023 12:53:31 +0000 Received: from localhost ([127.0.0.1]:54879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUS9D-00032q-82 for submit@debbugs.gnu.org; Tue, 21 Feb 2023 07:53:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:52450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUS99-00032f-Np for submit@debbugs.gnu.org; Tue, 21 Feb 2023 07:53:29 -0500 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 1pUS99-0002sh-Hu for guix-patches@gnu.org; Tue, 21 Feb 2023 07:53:27 -0500 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUS97-0000So-QI for guix-patches@gnu.org; Tue, 21 Feb 2023 07:53:27 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:3a91:a0a4:ecee:f157]) by mira.cbaines.net (Postfix) with ESMTPSA id 1B0A416A9E; Tue, 21 Feb 2023 12:53:23 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 5cbdd3c9; Tue, 21 Feb 2023 12:53:22 +0000 (UTC) References: <20230221010018.2689405-1-zimon.toutoune@gmail.com> <57f926d32bf2aa1208e76207f922b338fb7d7cc3.camel@gmail.com> User-agent: mu4e 1.8.13; emacs 28.2 From: Christopher Baines To: 61665-done@debbugs.gnu.org, guix-patches@gnu.org Subject: Re: [bug#61665] [PATCH] gnu: python-clingo: Fix invalid G-expression input. Date: Tue, 21 Feb 2023 12:52:54 +0000 In-reply-to: <57f926d32bf2aa1208e76207f922b338fb7d7cc3.camel@gmail.com> Message-ID: <87356zfadc.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; 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_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Liliana Marie Prikler writes: >> =C2=A0gnu/packages/maths.scm | 8 ++++++++ >> =C2=A01 file changed, 8 insertions(+) >>=20 >> diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm >> index 1e40be8722..67634990ae 100644 >> --- a/gnu/packages/maths.scm >> +++ b/gnu/packages/maths.scm >> @@ -2703,12 +2703,20 @@ (define-public python-clingo >> =C2=A0=C2=A0 (package >> =C2=A0=C2=A0=C2=A0=C2=A0 (inherit clingo) >> =C2=A0=C2=A0=C2=A0=C2=A0 (name "python-clingo") >> +=C2=A0=C2=A0=C2=A0 (version (package-version clingo)) ;Fix error: inval= id G- >> expression #$version > Reworded slightly and pushed (it's a hotfix and CI succeeds). Closing accordingly. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmP0vr9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdzAxAAjwp91512AU6BNErireHGV3XSr0A38vBi d3KT26KtJArJn29wcbMX4uj3gIwjZOnVaTz3MT8rZG/5oA+2PElLBOG2d35upFW7 A7nyWEpP5sQBSipeejqamZvj7AzYvEukUkKA9N6qwp64uhVgfPKI3IYsVatQI+vH CU+UwDN/Hur32nWySS8FpIucHVof0RFZEtel+NaR0nxC3QbMBmcfS3bu5pAI9N4I AqKJt9TQp4cpiSYGlEl+JNlhFlzHj8jtQq4SbnCKD6fSU6BmAFabVGh+HlahoVP+ 4lcamTel9rQNRsJFFf/rYcWAVRkFDb7/XX8pGIGjb7F2tVUbcdcZZ2u+a2I+zXSt j3k1wraNiGPxTNJj54fYYr/RyWq4OswFYzpYIF5TKZ9581nC4nLsF75IkXLokXYF gPVyHWZgnyVtYBkvCpiaNAyVnVrNuaoDMgro8YWZ9fCSLGtvlK1NvY8S7BGfGkDk hidxUefMMUwU46bmqY7qx6dvsRFnQUCl4DeUW2yB3lpyTTJtHojDBAp20LxTzGMR zhvqs3t7LqokY7CFrXVNZhs9ofUMlDdFIC7i9NDpy2pT0yLjRxTHzi7vrOfOvFvP LDlLadLxaRd/tn4F4SO5gjXpAc60E2ux6o80GBi/xlQ8Qr3xSIuIOEQax1i3h0R8 SV+Z4V8h4VM= =EFWV -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 22:11:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 22 Mar 2023 11:24:06 +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