From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 11:16:55 2019 Received: (at submit) by debbugs.gnu.org; 25 Jun 2019 15:16:55 +0000 Received: from localhost ([127.0.0.1]:33219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfnBm-00069K-IS for submit@debbugs.gnu.org; Tue, 25 Jun 2019 11:16:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:47252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfnBh-000698-Qq for submit@debbugs.gnu.org; Tue, 25 Jun 2019 11:16:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57292) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfnBg-0003Eb-A8 for bug-guix@gnu.org; Tue, 25 Jun 2019 11:16:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfnBf-0005qw-1e for bug-guix@gnu.org; Tue, 25 Jun 2019 11:16:48 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:41305) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hfnBd-0005oD-Qo for bug-guix@gnu.org; Tue, 25 Jun 2019 11:16:46 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7B794220DB for ; Tue, 25 Jun 2019 11:16:43 -0400 (EDT) Received: from imap5 ([10.202.2.55]) by compute5.internal (MEProxy); Tue, 25 Jun 2019 11:16:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:subject:content-type :content-transfer-encoding; s=fm3; bh=vtKf1+J75t5PJmsZ11x657OUNA 9/8kZKsIzkGy8OcRI=; b=cop6XVRyf9ZmzjaUMBOMRRzkFBJi4nQWfmO6nSmX6y 0oXcUHeB9IIRU/LsPjD8Uk1rCLO3xNV1KFmpBUUpRpgCFUdFCjaalp6JVsySARJS sQiS09j6a5CZAc6UsAiwYX21zJY7mBpUh10oqd6WIuko25cWcsSv7LrBfe7QfHHu cXlhVRhO11hmUUdEUPsmgJqom5jgVwP2zgXRfhldFmxR20uuWmu2QgMqb6XEI74u Ltl2nEm8CvcDFe0/vsthupmQkKSwnxBQVxlOLjSqnMWBI96/jYsSI10PWqtVKUCz rBzEtUWI5/Mz4+VxLjVS9bVaPLbp85XCFwvy0yz4UYPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=vtKf1+ J75t5PJmsZ11x657OUNA9/8kZKsIzkGy8OcRI=; b=f+pgQkyucmieQB6O/eGNdC Wyj2Ieg5Wg1SgU044+2o3qQ64teqpUGMBPGnPIcxtXq7vVDmMrMtHV2SZXHk2Y+F UJub2fu75C81vlHeDhl56PPDZv05eR6OZjwmxn5vvrBuZ6XpuZzZJlNF0C0QZFzS KrLODHN9hWE2IvzOIVz20nenBPSos1HiE5jufe3UJApA4rvyvgInu6BiQfu+xBr3 IiIVWlyEtbL8F8S6RZauFqkL4ZBRroZAejZn8ZXo6BIT/w/AWDLEkX0QDM7EQxZi 1jg9dnKar5OX9LddQBo8cKdLvtozPtpWv/nFRZLfwdheVaDHbuzun9JHnIJhB4Cg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudeggdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgfgsehtqhertd erreejnecuhfhrohhmpedftfgviigrucetlhhiiigruggvhhcuofgrjhgufdcuoehrrdhm rghjugesphgrnhhthhgvrhigrdhorhhgqeenucffohhmrghinhepghhnuhdrohhrghenuc frrghrrghmpehmrghilhhfrhhomheprhdrmhgrjhgusehprghnthhhvghrgidrohhrghen ucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 342A55C0099; Tue, 25 Jun 2019 11:16:43 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-730-g63f2c3b-fmstable-20190622v1 Mime-Version: 1.0 Message-Id: Date: Tue, 25 Jun 2019 19:46:42 +0430 From: "Reza Alizadeh Majd" To: bug-guix@gnu.org Subject: Guix Cuirass Issue with Input channels Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.28 X-Spam-Score: -1.6 (-) 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.6 (--) Package: cuirass adding additional inputs to cuirass specification with name started with= `p` letter, fails the evaluation of specification.=20 considering following specification:=20 --8<---------------cut here---------------start------------->8--- (list=20 '((#:name . "hello-spec") (#:load-path-inputs . ("guix")) (#:package-path-inputs . ()) (#:proc-input ."guix") (#:proc-file . "build-aux/cuirass/gnu-system.scm") (#:proc . cuirass-jobs) (#:proc-args . ((subset . "hello") (systems . ("x86_64-linux")))) (#:inputs . (((#:name . "guix") (#:url . "git://git.savannah.gnu.org/guix.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t)) ((#:name . "pkginput") (#:url . "git://git.savannah.gnu.org/guix/guix-cuirass.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t)) )))) --8<---------------cut here---------------end--------------->8--- we receive following error:=20 --8<---------------cut here---------------start------------->8--- root@panther ~/ci# cuirass --listen=3D0.0.0.0 --port=3D8082 -D test.db -= S tttt.scm=20 ... 2019-06-25T19:17:33 fetching input 'guix' of spec 'hello-spec' 2019-06-25T19:17:33 fetching input 'pkginput' of spec 'hello-spec' 2019-06-25T19:17:35 fetched input 'pkginput' of spec 'hello-spec' (commi= t "fed15b83b0b54d17057733935eb53e94e1a2c926") 2019-06-25T19:17:35 fetched input 'guix' of spec 'hello-spec' (commit "5= fbb9f0b51a1caeb86009192654f650c5cb4d167") 2019-06-25T19:17:35 next evaluation in 300 seconds 2019-06-25T19:17:35 evaluating spec 'hello-spec' Backtrace: 17 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 16 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 15 (_ #(#(#))) 293:34 14 (_ #(#(#(#(#(#(#(#(#(#(#(=E2=80=A6) =E2=80=A6) =E2=80=A6) =E2= =80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6= ) =E2=80=A6)) 159:9 13 (_ _) 619:8 12 (_ #(#(#(#) #= =E2=80=A6) =E2=80=A6)) 626:19 11 (_ #(#(#(#) #= =E2=80=A6) =E2=80=A6)) In guix/store.scm: 1794:24 10 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In guix/channels.scm: 498:2 9 (_ _) 455:2 8 (_ _) In guix/monads.scm: 482:9 7 (_ _) In guix/store.scm: 1667:8 6 (_ _) In guix/gexp.scm: 708:2 5 (_ _) In guix/monads.scm: 482:9 4 (_ _) In guix/gexp.scm: 573:13 3 (_ _) In guix/store.scm: 1667:13 2 (_ _) In guix/gexp.scm: 210:2 1 (lower-object #f _ #:target _) 189:36 0 (lookup-compiler #f) guix/gexp.scm:189:36: In procedure lookup-compiler: In procedure struct_vtable: Wrong type argument in position 1 (expecting= struct): #f Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. 2019-06-25T19:17:36 failed to evaluate spec 'hello-spec' --8<---------------cut here---------------end--------------->8--- but by just renaming the `pkginput` to something that is not starts with= `p` word like `_pkginput` spec evaluation will succeed.=20 --8<---------------cut here---------------start------------->8--- root@panther ~/ci# cuirass --listen=3D0.0.0.0 --port=3D8082 -D test.db -= S bug.scm ... 2019-06-25T19:41:34 fetching input 'guix' of spec 'hello-spec' 2019-06-25T19:41:34 fetching input '_pkginput' of spec 'hello-spec' 2019-06-25T19:41:35 fetched input 'guix' of spec 'hello-spec' (commit "5= fbb9f0b51a1caeb86009192654f650c5cb4d167") 2019-06-25T19:41:35 fetched input '_pkginput' of spec 'hello-spec' (comm= it "fed15b83b0b54d17057733935eb53e94e1a2c926") 2019-06-25T19:41:35 next evaluation in 300 seconds 2019-06-25T19:41:35 evaluating spec 'hello-spec' warning: building things during evaluation 'build-things' arguments: (("/gnu/store/h8fsfj550mikscspyg4x9fi7jgliq8qa= -compute-guix-derivation.drv") 0) Computing Guix derivation for 'x86_64-linux'... - warning: building things during evaluation 'build-things' arguments: (("/gnu/store/sz3l35mnfhphqnrgzg78k84chm3fys5i= -profile.drv") 0) Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. 2019-06-25T19:42:35 evaluation 1 for 'hello-spec' completed 2019-06-25T19:42:35 building 1 jobs for 'hello-spec' 2019-06-25T19:42:35 evaluation 1 registered 1 new derivations 2019-06-25T19:42:35 building 1 derivations in batches of 200 2019-06-25T19:42:35 building batch of 200 derivations (0/1) 2019-06-25T19:42:35 done with 1 derivations 2019-06-25T19:42:35 outputs: /gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10 2019-06-25T19:42:35 success: 1, fail: 0 --8<---------------cut here---------------end--------------->8--- -- Reza From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 12:09:21 2019 Received: (at control) by debbugs.gnu.org; 25 Jun 2019 16:09:21 +0000 Received: from localhost ([127.0.0.1]:33338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfo0W-0003UW-S8 for submit@debbugs.gnu.org; Tue, 25 Jun 2019 12:09:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfo0V-0003UK-7Q for control@debbugs.gnu.org; Tue, 25 Jun 2019 12:09:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfo0Q-0000o9-5I for control@debbugs.gnu.org; Tue, 25 Jun 2019 12:09:14 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1hfo0P-0007a6-Pi for control@debbugs.gnu.org; Tue, 25 Jun 2019 12:09:13 -0400 Subject: control message for bug 36378 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 25 Jun 2019 12:09:13 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) reassign 36378 guix From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 01 05:05:40 2019 Received: (at 36378) by debbugs.gnu.org; 1 Jul 2019 09:05:40 +0000 Received: from localhost ([127.0.0.1]:47673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhsFo-0004Jc-5k for submit@debbugs.gnu.org; Mon, 01 Jul 2019 05:05:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhsFl-0004JP-H2 for 36378@debbugs.gnu.org; Mon, 01 Jul 2019 05:05:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hhsFg-00027E-DL; Mon, 01 Jul 2019 05:05:32 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=51232 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hhsFd-0001Cx-4N; Mon, 01 Jul 2019 05:05:29 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "Reza Alizadeh Majd" Subject: Re: bug#36378: Guix Cuirass Issue with Input channels References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 01 Jul 2019 11:05:25 +0200 In-Reply-To: (Reza Alizadeh Majd's message of "Tue, 25 Jun 2019 19:46:42 +0430") Message-ID: <87ftnqunu2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36378 Cc: 36378@debbugs.gnu.org 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 (---) Hello Reza, "Reza Alizadeh Majd" skribis: > Package: cuirass > > adding additional inputs to cuirass specification with name started with = `p` letter, fails the evaluation of specification.=20 [...] > 2019-06-25T19:17:35 evaluating spec 'hello-spec' > Backtrace: > 17 (apply-smob/1 #) > In ice-9/boot-9.scm: > 705:2 16 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 15 (_ #(#(#))) > 293:34 14 (_ #(#(#(#(#(#(#(#(#(#(#(=E2=80=A6) =E2=80=A6) =E2=80=A6) = =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6= ) =E2=80=A6)) > 159:9 13 (_ _) > 619:8 12 (_ #(#(#(#) # = =E2=80=A6) =E2=80=A6)) > 626:19 11 (_ #(#(#(#) # = =E2=80=A6) =E2=80=A6)) > In guix/store.scm: > 1794:24 10 (run-with-store _ _ #:guile-for-build _ #:system _ # _) > In guix/channels.scm: > 498:2 9 (_ _) > 455:2 8 (_ _) > In guix/monads.scm: > 482:9 7 (_ _) > In guix/store.scm: > 1667:8 6 (_ _) > In guix/gexp.scm: > 708:2 5 (_ _) > In guix/monads.scm: > 482:9 4 (_ _) > In guix/gexp.scm: > 573:13 3 (_ _) > In guix/store.scm: > 1667:13 2 (_ _) > In guix/gexp.scm: > 210:2 1 (lower-object #f _ #:target _) > 189:36 0 (lookup-compiler #f) > > guix/gexp.scm:189:36: In procedure lookup-compiler: > In procedure struct_vtable: Wrong type argument in position 1 (expecting = struct): #f > > Some deprecated features have been used. Set the environment > variable GUILE_WARN_DEPRECATED to "detailed" and rerun the > program to get more information. Set it to "no" to suppress > this message. > 2019-06-25T19:17:36 failed to evaluate spec 'hello-spec' > > > but by just renaming the `pkginput` to something that is not starts with = `p` word like `_pkginput` spec evaluation will succeed.=20 I find it hard to believe this has anything to do with the name starting with =E2=80=98p=E2=80=99. If you change back from =E2=80=98_pkginput=E2=80=99 to =E2=80=98pkginput=E2= =80=99, does it fail again? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 02 02:48:39 2019 Received: (at 36378) by debbugs.gnu.org; 2 Jul 2019 06:48:39 +0000 Received: from localhost ([127.0.0.1]:46479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hiCak-0001d3-Re for submit@debbugs.gnu.org; Tue, 02 Jul 2019 02:48:39 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hiCaj-0001cn-48 for 36378@debbugs.gnu.org; Tue, 02 Jul 2019 02:48:37 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EFE5E21FB6; Tue, 2 Jul 2019 02:48:31 -0400 (EDT) Received: from imap5 ([10.202.2.55]) by compute5.internal (MEProxy); Tue, 02 Jul 2019 02:48:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type:content-transfer-encoding; s=fm3; bh=xkV/g dds9dvZjjvAEekV8nb2DztP8/jgL9wXPhxM7Kw=; b=2xiLkVRQSfT65b4nA8xnD pKgJiXdYFHf+Yxet7qBD8XPmWqXptSQopaPeYivkFNKANRPie30t+CpiSd+mctnn viZ9e+fCSE9DAZXbbJUnChwPFJwEbUotdLaPKLaCZ4MACcC+hLfFEbbbH/kbKMp2 o9STMyGkiMfWor2mW71ZtZYaL7W+dKnHNLVPj7N9dvaTUYNeeR2h3yciPllml/g7 sPb77df9iq07ATSMowrNq14YngQEwlDqq2hfHu/d3VBzyuK3bC0Gy5e63byHL0CB BBDfsCSeVZCxE/agQQexQH0Yune9AF2q2ShWHBRcZdrk6Yxj9FsECmqHLTPYDoGP w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=xkV/gdds9dvZjjvAEekV8nb2DztP8/jgL9wXPhxM7 Kw=; b=yPxQ2rCwxPd0gEBHk7XRMwZDK2uXEypGJ3dz2qRZ9mfulmV3WMacfO8Fq z/5YcqX4skwXhlFGOrMM1JATpzvtYqFP/pklUwbuVrk+hMIL9b2s/XTTfHxiRuo3 O8vJElz1z29xfg0Iw8d4ptJYhdaBRdXF8B8lNSX9jcj0b2gmZo4OtbTjCsD9vLCi da4EA4TRmaD/XrorY0vcH7RsB8fmRyB2IqzD6WyHY4uqqFvjLVrjAs63/PTKY3en y+jk/9La79o3tPLAVamFbNP3nMclzgyq6TWaDmrBJqRoUDRtVtAG058+RXNZenWC upriCIm+wgVAlQSA4vtjSaTUFWepA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrvdejgdduudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedftfgv iigrucetlhhiiigruggvhhcuofgrjhgufdcuoehrrdhmrghjugesphgrnhhthhgvrhigrd horhhgqeenucffohhmrghinhepghhnuhdrohhrghenucfrrghrrghmpehmrghilhhfrhho mheprhdrmhgrjhgusehprghnthhhvghrgidrohhrghenucevlhhushhtvghrufhiiigvpe dt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 972045C009B; Tue, 2 Jul 2019 02:48:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-731-g19d3b16-fmstable-20190627v1 Mime-Version: 1.0 Message-Id: <1b114de6-5918-4878-afb5-d9884334dcea@www.fastmail.com> In-Reply-To: <87ftnqunu2.fsf@gnu.org> References: <87ftnqunu2.fsf@gnu.org> Date: Tue, 02 Jul 2019 11:18:27 +0430 From: "Reza Alizadeh Majd" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: bug#36378: Guix Cuirass Issue with Input channels Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36378 Cc: 36378@debbugs.gnu.org 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: -1.7 (-) Hi Ludo,=20 >=20 > I find it hard to believe this has anything to do with the name starti= ng > with =E2=80=98p=E2=80=99. >=20 > If you change back from =E2=80=98_pkginput=E2=80=99 to =E2=80=98pkginp= ut=E2=80=99, does it fail again? >=20 yes, renaming the input name back to `pkginput` I received same error=20= again.=20 It is so strange for me, but I had various tests, and received same resu= lts=20 on each attempt.=20 steps to reproduce this issue:=20 1. install GuixSD on a virtual machine 2. update package repository using `guix pull` 3. install cuirass using `guix package -i cuirass` 4. create an spec file with following contents:=20 --8<---------------cut here---------------start------------->8--- (list=20 '((#:name . "hello-spec") (#:load-path-inputs . ("guix")) (#:package-path-inputs . ()) (#:proc-input . "guix") (#:proc-file . "build-aux/cuirass/gnu-system.scm") (#:proc . cuirass-jobs) (#:proc-args . ((subset . ("hello" "wget")) (systems . ("x86_64-linux")))) (#:inputs . (((#:name . "guix") (#:url . "git://git.savannah.gnu.org/guix.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t)) ((#:name . "pkginput") (#:url . "git://git.savannah.gnu.org/guix/guix-cuirass.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t)))))) --8<---------------cut here---------------end--------------->8--- 5. run cuirass manually using following command shows the issue: `cuirass --listen=3D0.0.0.0 --port=3D8082 -D test.db -S spec.scm` 6. removing the `test.db` and rename the `pkginput` to `_pkginput` cuirass starts without problem.=20 7. restore back the name of `_pkginput` to `pkginput`, remove the=20 `test.db` file, and re run the cuirass, same error occurs again.=20 Best, Reza From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 08 02:02:53 2019 Received: (at 36378) by debbugs.gnu.org; 8 Jul 2019 06:02:53 +0000 Received: from localhost ([127.0.0.1]:57653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkMjj-0006W4-5h for submit@debbugs.gnu.org; Mon, 08 Jul 2019 02:02:51 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:50437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkMjh-0006Vq-8f for 36378@debbugs.gnu.org; Mon, 08 Jul 2019 02:02:49 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EFF0921550 for <36378@debbugs.gnu.org>; Mon, 8 Jul 2019 02:02:43 -0400 (EDT) Received: from imap5 ([10.202.2.55]) by compute5.internal (MEProxy); Mon, 08 Jul 2019 02:02:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=/seQ2qGmgO1hU+6FOHBE0OehQZ6Efdv4d+g8iOGXOZ4=; b=oYz97AwJ /vaFU6rcTKEUeJwNYV5THKll7BsOVE15lQA2Cxvtozm/XDXX4riEKiI8HIgQWeaR vctsuzJYqBKqjJyVOgiHZF0fjtdDFvwfAGzKRKVBbCyiB79DRCThFdYENX4Jkhn3 uze8rWStKlBG6giK6lKAbjEef6ghi74zYi1RojdYvRt8lc/FyBJ2e9u8iKvRf1Lz fpwZr2HVz/zNJZ6EhmVZNH2jFF7F586a0Y8ieyceJBv6fS3cJrctOvJvEO3ely4J ntHdqh/OfLzsgoXz3zqPOp+RIoEE+pTPckwytQk8wzKu7LjM31eEhE29SdRNdUh0 eJm6+R7uQPZs/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=/seQ2qGmgO1hU+6FOHBE0OehQZ6Ef dv4d+g8iOGXOZ4=; b=R43DWTVrqTs+3goLD+HWJtuqgmuvBdK6jtG3EwAQOJgo6 TNqL9DkVDJNcVCScnRej1E1cyinqKYNS7FvLVykFY42GH/T6Wj+LTNLSZin/sf8z fXp5yrofEH0rqnuLXmei3qH235M/4BDVkANtooSMcB3iGKTMY5s0NQHUQNJPAM7h vpl5aN6T9vMzsW8S5gAseEycGI2xpsNYgntXrAi+WrVfbbQc7PRoqoLBJx9JEueu mjlu6VXO5ZMF0SohEOxQiATbcaSoTRaa8wg7yvPrv+4B3eNCrxxAB92sbRDxWWAa 4P4NWKwccN85GQ2V1bRMFaonxvs5oRsCo1Ass9Ggw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrfeelgddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedftfgviigrucetlhhiiigruggvhhcuofgrjhgufdcuoehrrdhm rghjugesphgrnhhthhgvrhigrdhorhhgqeenucfrrghrrghmpehmrghilhhfrhhomheprh drmhgrjhgusehprghnthhhvghrgidrohhrghenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 868AF5C0099; Mon, 8 Jul 2019 02:02:43 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-731-g19d3b16-fmstable-20190627v1 Mime-Version: 1.0 Message-Id: <82be6b2a-8762-4894-bb29-71acc482b43b@www.fastmail.com> Date: Mon, 08 Jul 2019 10:32:43 +0430 From: "Reza Alizadeh Majd" To: 36378@debbugs.gnu.org Subject: bug#36378: Guix Cuirass Issue with Input channels Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36378 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: -1.7 (-) Hi, Does anyone checked steps to reproduce this issue? Is it occur for anyone else? Best, Reza From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 16 21:39:10 2019 Received: (at 36378) by debbugs.gnu.org; 17 Nov 2019 02:39:10 +0000 Received: from localhost ([127.0.0.1]:39941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWASz-00055J-PE for submit@debbugs.gnu.org; Sat, 16 Nov 2019 21:39:10 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWASw-00054v-Ux for 36378@debbugs.gnu.org; Sat, 16 Nov 2019 21:39:07 -0500 Received: by mail-wm1-f65.google.com with SMTP id t26so14962066wmi.4 for <36378@debbugs.gnu.org>; Sat, 16 Nov 2019 18:39:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=5GYuzTCGJNOZ3sdWC+llfJgdnx7s5FFFh+4A/270Onk=; b=NaD50iZOsWusYVmeYiusCZvCBKQk2/U0OC73Rj847bsuDAUbe48bDeD2+/ItOK/3o2 UUIBds46RAui4KLHHz6xoJI8svhGTdbvMRp3O132U0XoGjxUxmj2mfh8Q7+ksb6CXjO9 l7JYOTz8tF2+8gMB9oI08Ipca81wR1sAVirOIOYPzjMH2E2vuM5yuuh11zaJNS+Iz+3Z R+JVLzWa14n1RKM9UHsTcpP2QmHXo6VfzqaWSrenj4xlK/SP4cmqaqXyIatYUA5gOKAg W0JxXEWUDITjyl8aY17YK8fz+x8Rzy3lUUBoQb9h18KOYguwJsATnROK3ePATRk1yjYU CUSw== X-Gm-Message-State: APjAAAWwjOC19rgRnXAKJ5jQ1kMBrdzxTcKcE/+aDH6z9GYqzA6eJfiN rKqkW4eqdDBuUJ4t7sBa9J0PLXBm X-Google-Smtp-Source: APXvYqyzbYbe/+r+gKcAf6z1NglDC5J6IwXRCn79hQ2AeZqwTl78ybHclEzQInFl9O2TWy3aUDGZoA== X-Received: by 2002:a1c:808d:: with SMTP id b135mr21418803wmd.175.1573958340760; Sat, 16 Nov 2019 18:39:00 -0800 (PST) Received: from rodion ([2a01:e35:8bf7:6530:311f:684b:e163:58d6]) by smtp.gmail.com with ESMTPSA id m15sm18247914wrq.97.2019.11.16.18.38.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Nov 2019 18:38:59 -0800 (PST) From: clement@lassieur.org (=?utf-8?Q?Cl=C3=A9ment?= Lassieur) To: Reza Alizadeh Majd , Ludovic =?utf-8?Q?Court?= =?utf-8?Q?=C3=A8s?= Subject: Re: bug#36378: Guix Cuirass Issue with Input channels References: Date: Sun, 17 Nov 2019 03:38:58 +0100 In-Reply-To: (Reza Alizadeh Majd's message of "Tue, 25 Jun 2019 19:46:42 +0430") Message-ID: <87sgmnxm4d.fsf@lassieur.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 36378 Cc: 36378@debbugs.gnu.org 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.5 (/) Hi Reza and Ludo, Reza Alizadeh Majd writes: > adding additional inputs to cuirass specification with name started > with `p` letter, fails the evaluation of specification. Thank you for reporting this! It actually fails with names that come after the first input (in this case: "guix") in alphabetical order. > considering following specification:=20 > > (list=20 > '((#:name . "hello-spec") > (#:load-path-inputs . ("guix")) > (#:package-path-inputs . ()) > (#:proc-input ."guix") > (#:proc-file . "build-aux/cuirass/gnu-system.scm") > (#:proc . cuirass-jobs) > (#:proc-args . ((subset . "hello") > (systems . ("x86_64-linux")))) > (#:inputs . (((#:name . "guix") > (#:url . "git://git.savannah.gnu.org/guix.git") > (#:load-path . ".") > (#:branch . "master") > (#:no-compile? . #t)) > ((#:name . "pkginput") > (#:url . "git://git.savannah.gnu.org/guix/guix-cuirass.git") > (#:load-path . ".") > (#:branch . "master") > (#:no-compile? . #t)) > )))) It's because the 'proc' you use (CUIRASS-JOBS, from the Guix repository), interprets the first input it finds as a Guix checkout. There's a comment about this[1]: ;; Extract metadata about the 'guix' checkout. Its key in ARGUMENTS may ;; vary, so pick up the first one that's neither 'subset' nor 'systems'. The argument list you sent to 'proc' looked like this: '((pkginput (no-compile? . #t) (load-path . ".") (revision . "8bf095fc503ddac18a9457e1379e497ae16324fa") (file-name . "/gnu/store/fcq3axxh5kpva6kphi58ibklfz4wnbnr-cuirass-8b= f095f")) (guix (no-compile? . #t) (load-path . ".") (revision . "3e9ca3358a8cfffaeb4997389bb767065e70876a") (file-name . "/gnu/store/5nmsf6464vhdifmvzassp3b3cwfis5j4-guix-3e9ca= 33")) (subset . "hello")) so the 'proc' thought 'pkginput' was a Guix checkout and tried to build Guix with a Cuirass source, which obviously doesn't work. (It fails line 60 of [1].) If the input name were "cuirass" instead of "pkginput", you would have sent: '((guix (no-compile? . #t) (load-path . ".") (revision . "3e9ca3358a8cfffaeb4997389bb767065e70876a") (file-name . "/gnu/store/5nmsf6464vhdifmvzassp3b3cwfis5j4-guix-3e9ca= 33")) (cuirass (no-compile? . #t) (load-path . ".") (revision . "8bf095fc503ddac18a9457e1379e497ae16324fa") (file-name . "/gnu/store/fcq3axxh5kpva6kphi58ibklfz4wnbnr-cuirass-8b= f095f")) (subset . "hello")) And it would have worked. So it's indeed a bug in Guix, introduced by commit b5f8c2c88543158e8aca76aa98f9009f6b9e743a (hydra: Compute jobs in an inferior). We can't just take the first input we find, build it and open an inferior for it. I believe we should take the input whose name is "guix" (as we do with manifests[2]). What do you think? Cl=C3=A9ment [1]: https://git.savannah.gnu.org/cgit/guix.git/tree/build-aux/hydra/gnu-sy= stem.scm#n40 [2]: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/ci.scm#n361 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 17 05:46:11 2019 Received: (at 36378) by debbugs.gnu.org; 17 Nov 2019 10:46:11 +0000 Received: from localhost ([127.0.0.1]:40387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWI4G-0006Mk-BG for submit@debbugs.gnu.org; Sun, 17 Nov 2019 05:46:11 -0500 Received: from mail-wr1-f45.google.com ([209.85.221.45]:34325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWI4C-0006Lw-Pf for 36378@debbugs.gnu.org; Sun, 17 Nov 2019 05:46:06 -0500 Received: by mail-wr1-f45.google.com with SMTP id e6so16098712wrw.1 for <36378@debbugs.gnu.org>; Sun, 17 Nov 2019 02:46:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=A4c6Hjjvh5X1za49BrmGgHWOqBb/2f5rwUAVQqkvu3A=; b=Le+NkGSdbEuG97/W8ecX+ayFvAtxwW1bFJX9Iv6a+b2/LfWScYW0UtaaJv4du4gxa4 fQyqlQfjtxWxQm5oGAfSqLGE+AWIqw7++kIQq7gkjjeAp9d6yLLJTQditKNOQJEjI7MJ QXSZI8T+p3il7tfSREFkYb/8s47KVZDbldEHqwB8+CSaBSpB+DDv/qI+E3hNXjtWiNTz KjZ8A1DJ7D1hd/7Sxgv6bgUfRHR/8GgbT5lKtT5uAk78BTmyjAYPIRFSAO3/mbljGsPi aq+5cdhTOYoSQFsdaTw8NDemCz+SJWIz7ITLIAueMKS9b+xrgWXy70RWqO9iEB3lnL+T oJsg== X-Gm-Message-State: APjAAAWKNK9nmOHZPBQlzYkpIP1fAd3G6M/kfkEs2LtdeRJIgnAWS2jW 4kNu06q/BxtGh2ksPaM8DnReGEjY X-Google-Smtp-Source: APXvYqwl0xKszsG8Ryoj7jYFeKDWN44pP2LNU8yV2hfh7CyM1gqgQ5w4+gpTc2VcoXYX912JrmvtTQ== X-Received: by 2002:adf:e387:: with SMTP id e7mr24199232wrm.180.1573987558524; Sun, 17 Nov 2019 02:45:58 -0800 (PST) Received: from rodion ([2a01:e35:8bf7:6530:9d39:478:a027:2a1e]) by smtp.gmail.com with ESMTPSA id p25sm15774655wma.20.2019.11.17.02.45.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Nov 2019 02:45:57 -0800 (PST) References: <87sgmnxm4d.fsf@lassieur.org> User-agent: mu4e 1.2.0; emacs 26.3 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: Reza Alizadeh Majd , Ludovic =?utf-8?Q?Court?= =?utf-8?Q?=C3=A8s?= Subject: Re: bug#36378: Guix Cuirass Issue with Input channels In-reply-to: <87sgmnxm4d.fsf@lassieur.org> Date: Sun, 17 Nov 2019 11:45:56 +0100 Message-ID: <8736empyqj.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 36378 Cc: 36378@debbugs.gnu.org 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.5 (/) Cl=C3=A9ment Lassieur writes: > So it's indeed a bug in Guix, introduced by commit > b5f8c2c88543158e8aca76aa98f9009f6b9e743a (hydra: Compute jobs in an > inferior). We can't just take the first input we find, build it and > open an inferior for it. I believe we should take the input whose name > is "guix" (as we do with manifests[2]). Well, we need something a bit more subtle, because in https://ci.guix.info Guix inputs are named "core-updates", "guix", "guix-modular", "staging", "version-1.0.0", "version-1.0.1", "wip-haskell-updates". From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 17 11:16:42 2019 Received: (at 36378) by debbugs.gnu.org; 17 Nov 2019 16:16:43 +0000 Received: from localhost ([127.0.0.1]:42443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWNEA-0005GC-BM for submit@debbugs.gnu.org; Sun, 17 Nov 2019 11:16:42 -0500 Received: from mail-wr1-f51.google.com ([209.85.221.51]:38060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWNE8-0005AO-IL for 36378@debbugs.gnu.org; Sun, 17 Nov 2019 11:16:41 -0500 Received: by mail-wr1-f51.google.com with SMTP id i12so16607754wro.5 for <36378@debbugs.gnu.org>; Sun, 17 Nov 2019 08:16:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=rxTVgRJ+X743XraHGZItk4eoS6o+v44tntGPxYIK9uE=; b=Ldi5RA8tcFoMeZ/aQNn1dISJ7/VLNwxAzsr7BlgG6dnFxmd/hF863c97XVtvP2RuUo 04C2n4ss1Nsro/zvfUVfe0hQJ2FP6HkkfjcuVZZql5btWLdqMYEaXLEkVgqSZYsx9Ig1 Lf6mG66nlcyrpAlrS4CHNWl2Hm08OpZn9YERPtDBPeabLO88huBitfCvNgNrh6ovI1lv JHAqsFmRSL4a5BWtzhZy8SmxBzu8kDl1n7+cIc8llpyv5/NQr2PpZBYsmCweA6B2gc4W pWnG+P8VPm/iu+WMzRJj85cKBETcMX5lIYgPKMcXQHqOauNaXRVWfuROE2kUhvIQL5ZB 2HRA== X-Gm-Message-State: APjAAAWYweJpdBMyp6npD7v33lemhWXhfBUDMpBzJLzVW3yLOu/w13Fv +qT6w0p68tqTaxro+LsGVnilQFfm X-Google-Smtp-Source: APXvYqxXaTO6rjf433t6+5pE11NwDyisVEhI2BGnpr6YOROTHJMMex5NXh9/UtmQM8c5eHxtfK3RQg== X-Received: by 2002:a5d:55c7:: with SMTP id i7mr26876201wrw.64.1574007394397; Sun, 17 Nov 2019 08:16:34 -0800 (PST) Received: from rodion ([2a01:e35:8bf7:6530:9d39:478:a027:2a1e]) by smtp.gmail.com with ESMTPSA id k125sm18616795wmf.2.2019.11.17.08.16.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Nov 2019 08:16:33 -0800 (PST) References: <87sgmnxm4d.fsf@lassieur.org> <8736empyqj.fsf@lassieur.org> User-agent: mu4e 1.2.0; emacs 26.3 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: Reza Alizadeh Majd , Ludovic =?utf-8?Q?Court?= =?utf-8?Q?=C3=A8s?= Subject: Re: bug#36378: Guix Cuirass Issue with Input channels In-reply-to: <8736empyqj.fsf@lassieur.org> Date: Sun, 17 Nov 2019 17:16:32 +0100 Message-ID: <878soe7a1r.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 36378 Cc: 36378@debbugs.gnu.org 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.6 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cl=C3=A9ment Lassieur writes: >> So it's indeed a bug in Guix, introduced by commit >> b5f8c2c88543158e8aca76aa98f9009f6b9e743a (hydra: Compute jobs in an >> inferior). We can't just take the first input we find, build it and >> open an inferior for it. I believe we should take the input whose name >> is "guix" (as we do with manifests[2]). > > Well, we need something a bit more subtle, because in > https://ci.guix.info Guix inputs are named "core-updates", "guix", > "guix-modular", "staging", "version-1.0.0", "version-1.0.1", > "wip-haskell-updates". Attached is a patch that makes sure the checkout is from the Guix input providing the 'proc'. I'm not sure about one thing: in gnu/ci.scm I call FIND-CURRENT-CHECKOUT in case the current Guix is not an inferior. But I don't know if it can happen. If it can't happen, we could just do: (define checkout (assq-ref arguments 'superior-guix-checkout)) What do you think? Cl=C3=A9ment --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-ci-Make-sure-the-Guix-checkout-is-the-one-providing-.patch Content-Transfer-Encoding: quoted-printable >From f484bba1b8a202dce6e6ac01d19eaee0b40b2501 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Cl=3DC3=3DA9ment=3D20Lassieur?=3D Date: Sun, 17 Nov 2019 13:29:19 +0100 Subject: [PATCH] ci: Make sure the Guix checkout is the one providing Cuira= ss proc. Fixes . Reported by Reza Alizadeh Majd . * build-aux/hydra/gnu-system.scm (find-current-checkout): New procedure. (hydra-jobs): Use FIND-CURRENT-CHECKOUT to define CHECKOUT. Pass it to the inferior Guix as an extra argument whose key is 'superior-guix-checkout'. * gnu/ci.scm (find-current-checkout): New procedure. (hydra-jobs): Use FIND-CURRENT-CHECKOUT to define CHECKOUT. This will retu= rn '#f' if the current Guix is an inferior. In that case, use the 'superior-guix-checkout' argument provided by the superior Guix. --- build-aux/hydra/gnu-system.scm | 36 +++++++++++++++++++++------------- gnu/ci.scm | 22 +++++++++++++-------- 2 files changed, 36 insertions(+), 22 deletions(-) diff --git a/build-aux/hydra/gnu-system.scm b/build-aux/hydra/gnu-system.scm index 775bbd9db2..f54302cf63 100644 --- a/build-aux/hydra/gnu-system.scm +++ b/build-aux/hydra/gnu-system.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Cour= t=C3=A8s ;;; Copyright =C2=A9 2017 Jan Nieuwenhuizen -;;; Copyright =C2=A9 2018 Cl=C3=A9ment Lassieur +;;; Copyright =C2=A9 2018, 2019 Cl=C3=A9ment Lassieur ;;; ;;; This file is part of GNU Guix. ;;; @@ -34,16 +34,22 @@ (setvbuf (current-error-port) _IOLBF) (set-current-output-port (current-error-port)) =20 +(define (find-current-checkout arguments) + "Find the first checkout of ARGUMENTS that provided the current file. +Return #f if no such checkout is found." + (let ((current-root + (canonicalize-path + (string-append (dirname (current-filename)) "/../..")))) + (find (lambda (argument) + (and=3D> (assq-ref argument 'file-name) + (lambda (name) + (string=3D? name current-root)))) arguments))) + (define (hydra-jobs store arguments) "Return a list of jobs where each job is a NAME/THUNK pair." + (define checkout - ;; Extract metadata about the 'guix' checkout. Its key in ARGUMENTS m= ay - ;; vary, so pick up the first one that's neither 'subset' nor 'systems= '. - (any (match-lambda - ((key . value) - (and (not (memq key '(systems subset))) - value))) - arguments)) + (find-current-checkout arguments)) =20 (define commit (assq-ref checkout 'revision)) @@ -70,9 +76,11 @@ ((name . fields) ;; Hydra expects a thunk, so here it is. (cons name (lambda () fields)))) - (inferior-eval-with-store inferior store - `(lambda (store) - (map (match-lambda - ((name . thunk) - (cons name (thunk)))) - (hydra-jobs store ',arguments))= ))))) + (inferior-eval-with-store + inferior store + `(lambda (store) + (map (match-lambda + ((name . thunk) + (cons name (thunk)))) + (hydra-jobs store '((superior-guix-checkout . ,checkout) + ,@arguments)))))))) diff --git a/gnu/ci.scm b/gnu/ci.scm index f24049e772..d6eb2d018f 100644 --- a/gnu/ci.scm +++ b/gnu/ci.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovi= c Court=C3=A8s ;;; Copyright =C2=A9 2017 Jan Nieuwenhuizen -;;; Copyright =C2=A9 2018 Cl=C3=A9ment Lassieur +;;; Copyright =C2=A9 2018, 2019 Cl=C3=A9ment Lassieur ;;; ;;; This file is part of GNU Guix. ;;; @@ -374,6 +374,17 @@ valid." load-manifest) manifests)))) =20 +(define (find-current-checkout arguments) + "Find the first checkout of ARGUMENTS that provided the current file. +Return #f if no such checkout is found." + (let ((current-root + (canonicalize-path + (string-append (dirname (current-filename)) "/..")))) + (find (lambda (argument) + (and=3D> (assq-ref argument 'file-name) + (lambda (name) + (string=3D? name current-root)))) arguments))) + ;;; ;;; Hydra entry point. @@ -396,13 +407,8 @@ valid." ((? string? str) (call-with-input-string str read)))) =20 (define checkout - ;; Extract metadata about the 'guix' checkout. Its key in ARGUMENTS m= ay - ;; vary, so pick up the first one that's neither 'subset' nor 'systems= '. - (any (match-lambda - ((key . value) - (and (not (memq key '(systems subset))) - value))) - arguments)) + (or (find-current-checkout arguments) + (assq-ref arguments 'superior-guix-checkout))) =20 (define commit (assq-ref checkout 'revision)) --=20 2.23.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 30 05:34:10 2019 Received: (at 36378) by debbugs.gnu.org; 30 Nov 2019 10:34:10 +0000 Received: from localhost ([127.0.0.1]:33792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ib04o-0001sK-73 for submit@debbugs.gnu.org; Sat, 30 Nov 2019 05:34:10 -0500 Received: from mail-wm1-f42.google.com ([209.85.128.42]:51762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ib04m-0001s8-8g for 36378@debbugs.gnu.org; Sat, 30 Nov 2019 05:34:08 -0500 Received: by mail-wm1-f42.google.com with SMTP id g206so16472950wme.1 for <36378@debbugs.gnu.org>; Sat, 30 Nov 2019 02:34:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=qaDnYjByAs9hdwwHMrloMcfIqKnEmI4XBc39f5sfY2g=; b=JrxMZAb1qW1c0Ly7orQ5C2hTuRF3I0/0RIwGRnVmIcAB79AoDdvkhH8ZqOI9+PZGVH bzIkR3O99Frwp11IxE1VS/4/pkt1mJQh83iAl1D3Fu9PYHrfd487zGCudO5kIbkwA9I+ N+D94n8PGuuUmCG9oZbGxOkkwOi34MtjCFrdrRokgmTsQskd0D7siUP8hI3Oq6XH+Hjy 88H74o4qFmMXpV49IjEEu0BEhSXyMQqflFp3DomCPAJD+JbaSi6jjA0clU3f2ywXb153 iFqAAgF+uCJBr6reEcbI2x0hpHZwp/RaLUWUfxuSUmGoLCvhPIE2uy1mFGCKJhS381B/ Q4Ug== X-Gm-Message-State: APjAAAXZ3ar3JO56UvYq0Mmhq+QBViEdF+z3FRHIKhZt7sSS7ZKb1QAG CcF+OaIHqDR2mrsZ0xxBVO4uNaWY X-Google-Smtp-Source: APXvYqw0X3qjEfzIl1vbngrL2qyuLiSjJFKacDFxL5kDojXMGID/d7KoHgGaFa9asbQbq2F5XOaq9g== X-Received: by 2002:a7b:c449:: with SMTP id l9mr6588130wmi.150.1575110042218; Sat, 30 Nov 2019 02:34:02 -0800 (PST) Received: from rodion ([2a01:e35:8bf7:6530:e023:f626:e78a:4ca7]) by smtp.gmail.com with ESMTPSA id s82sm16656660wms.28.2019.11.30.02.34.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Nov 2019 02:34:01 -0800 (PST) From: clement@lassieur.org (=?utf-8?Q?Cl=C3=A9ment?= Lassieur) To: Reza Alizadeh Majd Subject: Re: bug#36378: Guix Cuirass Issue with Input channels References: <87sgmnxm4d.fsf@lassieur.org> <8736empyqj.fsf@lassieur.org> <878soe7a1r.fsf@lassieur.org> Date: Sat, 30 Nov 2019 11:34:00 +0100 In-Reply-To: <878soe7a1r.fsf@lassieur.org> (=?utf-8?Q?=22Cl=C3=A9ment?= Lassieur"'s message of "Sun, 17 Nov 2019 17:16:32 +0100") Message-ID: <87zhgdk607.fsf@lassieur.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 36378 Cc: 36378@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= 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.5 (/) Hi, Cl=C3=A9ment Lassieur writes: > Attached is a patch that makes sure the checkout is from the Guix input > providing the 'proc'. I'll push this tomorrow if nobody objects. Thanks, Cl=C3=A9ment From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 01 05:32:52 2019 Received: (at 36378-done) by debbugs.gnu.org; 1 Dec 2019 10:32:53 +0000 Received: from localhost ([127.0.0.1]:35495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibMX6-0001zS-L2 for submit@debbugs.gnu.org; Sun, 01 Dec 2019 05:32:52 -0500 Received: from mail-wr1-f41.google.com ([209.85.221.41]:41832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibMX5-0001zB-7G for 36378-done@debbugs.gnu.org; Sun, 01 Dec 2019 05:32:51 -0500 Received: by mail-wr1-f41.google.com with SMTP id b18so40479692wrj.8 for <36378-done@debbugs.gnu.org>; Sun, 01 Dec 2019 02:32:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Is9HcW1tYiZnvQ7CFf0GLjsbPsNys97IQABW16QzxIQ=; b=PrHDTawhoqVi6k4DP55KnoVCZ/mozmCH9ZeX5ciWNp7v6pD3GHJlCB4hyR0VcGgsWH /CobIr6V6cDJs4Ih5J63b0aCuyoZfxNMccKJFcgYWBtkE2h3xzII/H60LDBYPewGCGQl P8xMhEHXUx83qWcP14fB1/kW8g7ya6GSFr4rXlTQsYUTjWSrYfSmpaAnCZIpVStf54NV ECYkCtGVB1dNeT6z32h89HI++Z/HSXwBxmz//RBdZzt9A2eJvJDZJ2Xv+YlV7eWY47Pp LESRN7mM2q6WQHH1eKzdW0Sf/SeMLKIBa5ICVudVvxjWKwIhB3Z564XgA6peNrtqxcHr AraA== X-Gm-Message-State: APjAAAWEyNxLE5ayPQKFUPGM40msdtCf1w5lQ2Sjt2nh7jT1qj3t5XwM KxWi9VumlucHo5sJTMxY8pE= X-Google-Smtp-Source: APXvYqwngGoIJRr7YvgunZ1+g+SxNyoK6avIRjEUgv+3SqIBzfi1dNuDPy0KzmO3v2uUCG4Cj0vgiw== X-Received: by 2002:a5d:5381:: with SMTP id d1mr39038919wrv.259.1575196365384; Sun, 01 Dec 2019 02:32:45 -0800 (PST) Received: from rodion ([2a01:e35:8bf7:6530:b51f:470:88de:5f36]) by smtp.gmail.com with ESMTPSA id v20sm20130713wmj.32.2019.12.01.02.32.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2019 02:32:44 -0800 (PST) From: clement@lassieur.org (=?utf-8?Q?Cl=C3=A9ment?= Lassieur) To: Reza Alizadeh Majd Subject: Re: bug#36378: Guix Cuirass Issue with Input channels References: <87sgmnxm4d.fsf@lassieur.org> <8736empyqj.fsf@lassieur.org> <878soe7a1r.fsf@lassieur.org> <87zhgdk607.fsf@lassieur.org> Date: Sun, 01 Dec 2019 11:32:43 +0100 In-Reply-To: <87zhgdk607.fsf@lassieur.org> (=?utf-8?Q?=22Cl=C3=A9ment?= Lassieur"'s message of "Sat, 30 Nov 2019 11:34:00 +0100") Message-ID: <871rtotjxw.fsf@lassieur.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 36378-done Cc: 36378-done@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= 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.5 (/) Pushed, closing. From unknown Fri Jun 13 11:02:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 29 Dec 2019 12:24:05 +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