From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gK2LBSVxtV4DGQAA0tVLHw (envelope-from ) for ; Fri, 08 May 2020 14:48:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IDbwLDFxtV6+UgAAB5/wlQ (envelope-from ) for ; Fri, 08 May 2020 14:48:17 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 2D02D940A3C for ; Fri, 8 May 2020 14:48:15 +0000 (UTC) Received: from localhost ([::1]:43038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jX4IQ-0004Di-Dw for larch@yhetil.org; Fri, 08 May 2020 10:48:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jX4IE-0004CC-6l for bug-guix@gnu.org; Fri, 08 May 2020 10:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jX4ID-0002q4-P9 for bug-guix@gnu.org; Fri, 08 May 2020 10:48:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jX4ID-0003gA-NN for bug-guix@gnu.org; Fri, 08 May 2020 10:48:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41028: Channel/inferior error with core-updates: Unbound variable: call-with-new-thread Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 08 May 2020 14:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41028 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Received: via spool by 41028-done@debbugs.gnu.org id=D41028.158894924914096 (code D ref 41028); Fri, 08 May 2020 14:48:01 +0000 Received: (at 41028-done) by debbugs.gnu.org; 8 May 2020 14:47:29 +0000 Received: from localhost ([127.0.0.1]:46054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jX4Hg-0003fH-LM for submit@debbugs.gnu.org; Fri, 08 May 2020 10:47:28 -0400 Received: from mira.cbaines.net ([212.71.252.8]:38678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jX4HU-0003ez-BS for 41028-done@debbugs.gnu.org; Fri, 08 May 2020 10:47:27 -0400 Received: from localhost (unknown [46.237.174.28]) by mira.cbaines.net (Postfix) with ESMTPSA id 21D4827BBE1; Fri, 8 May 2020 15:47:15 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id fd892977; Fri, 8 May 2020 14:47:12 +0000 (UTC) References: <87h7wymj8a.fsf@cbaines.net> <87a72kg2qd.fsf@gnu.org> <87k11oduzx.fsf@gnu.org> <87sggag42e.fsf@cbaines.net> <875zd6336j.fsf@devup.no> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines In-reply-to: <875zd6336j.fsf@devup.no> Date: Fri, 08 May 2020 15:47:10 +0100 Message-ID: <87r1vufpqp.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41028-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [-3.11 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49903592924336]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.10), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[fastmail.com]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[mail@cbaines.net,bug-guix-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[fastmail.com:email,cbaines.net:email,gnu.org:email]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[cbaines.net]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: rk9VaujMCrof --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > Christopher Baines writes: > >> Ludovic Court=C3=A8s writes: >> >>> Ludovic Court=C3=A8s skribis: >>> >>>> The attached patches add a mechanism to patch the Guix source tree, and >>>> then use that mechanism to add the missing (ice-9 threads) import. Wi= th >>>> this I can do: >>>> >>>> ./pre-inst-env guix time-machine \ >>>> --commit=3De02c2f85b36ce1c733bd908a210ce1182bdd2560 -- build linu= x-libre >>>> >>>> =E2=80=A6 which is a simple way to do what the manifest above was abou= t. >>> >>> Given the enthusiasm expressed on IRC, I went ahead and pushed. :-) >>> >>> ff3ca7979e channels: Add patch for . >>> 053b10c3ef channels: Add mechanism to patch checkouts of the 'guix ch= annel. >>> 4ba425060a channels: Add 'latest-channel-instance'. >>> >>> So=E2=80=A6 it might be that today is merge day? >> >> Wonderful :) I've had a chance to try this out now, and it works. I was >> able to reconfigure my system. >> >> One even more niche issue is that because I'm using this channel in my >> system configuration, the patching happens as root, but it's the cached >> channel in my users home directory that's patched. This means that >> build-self.scm becomes owned by root. >> >> I noticed this when I went to pull: >> >> =E2=86=92 guix pull --branch=3Dcore-updates >> Updating channel 'guix' from Git repository at 'https://git.savannah.g= nu.org/git/guix.git'... >> guix pull: error: Git error: could not open '/home/chris/.cache/guix/c= heckouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/build-aux/bui= ld-self.scm' for writing: Permission denied >> >> >> I'm not sure what the neat way of addressing this is, but maybe the file >> ownership can be recorded prior to patching, and reset afterwards if >> it's changed. > > I took a stab at exactly this: Awesome, thanks. I haven't tried it, but it looks good :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl61cO5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcezQ//Q+ajQjnUSufWkAbO2D/6mlicDbZW/Z3bLPjIywv8Hsb1tO145P/ZDT0h Y5AmBhsWwpTeyZ3zKUNFk18tRUYeqIv9ZpYSn59HAF3pvynsFbX5M4cDD/Fxdx1c mqHECvw7V4WxUwIPNcXXH5KD6JErZZnzG0TMXcWyKHgRBan5cb1j6qVj+iWnD/zN DtHDp3PI82Op8jeAmNvr9WZ6SZhm/+bVBDj6wWgImqpm92MKgtX+eN/Xjtps8qaL 6C4uqPv0WPfaFpKkCkxHOJgwCOTe31BmdJgbdBMivwnp8g9pxHtvmjXuqgnxHssF 0n8rIf20tG81WBfRiNuAWvNRI+Qa0Wvr1+VPaJAFd0OzVxJp6nnY1RjMHay6xzZp UW9XIlOzAZJSozs5a42dOSiYcjGngG3msRu/2dE5vx5XWrGNXkF7908s7tptHNRc 7rIVjZ7K6sprSBCJkP012btvVXf07GA7n4onnn0Efz+zG+nsyrCkCGC/ksTOu8Mm Q0ls0InooL3PUYnkv+uF/lusFCQ+pLr36LCuU7EJTdNFzytDN1s3of3MFV+eOPTF 4tmIR8eAn2lnIy4yISplMzBlPxOY7z88pRaqqmQrBuo9tMD851E0jVb3TbX3yxvM wQivc9A+zebq0p+ySctDsRslp63qoJnEQHulG//EtN86tHQ2Ci8= =sKvg -----END PGP SIGNATURE----- --=-=-=--