From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aAfvAMw25mSWhgEASxT56A (envelope-from ) for ; Wed, 23 Aug 2023 18:41:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0B6OAMw25mQxVQEAauVa8A (envelope-from ) for ; Wed, 23 Aug 2023 18:41:48 +0200 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 B5C555BBA1 for ; Wed, 23 Aug 2023 18:41:47 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=qsS+rsHd; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692808907; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=18I7AkfJk5d8EvEn0LTfVCJaNHlQqGCFIQ4xDLxTGdo=; b=N+GHMZ13UWrzBpy4aVdqbX7R2BgPC45Vumdq7HeCM8iyloJeT/ELoZuFw4jLTz7txIujPH r53nFFpo974xbdEZZGmDOS+aHa0njFqRA1PKHyHt1lXBTdL/ELHlbyk9I+S8y7mGugbvxW 4gW1DsPqUUWQG7Pn/+9QMt+sJPGK5Oj6OymXhu2fNkIvg9KWxGR0I9j63oHkN75tTXe+cv OBhWY99EwkwFXOwAsyXf3DZN+iHcuhcqnJZpEQZqqIEKmnD8yDGYOJC2P5rZVQl1HfJBB2 YSkSkG0WNbCDGpJ1rNEyn5xm1PrPf9AazgMklmrxsXFajcsc8vrB4mfxsUQUYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692808907; a=rsa-sha256; cv=none; b=tG1MBmphRtZuUD9V/gnhqDzQYiRsigZxUx3gGarp8wlFE3dHys4Syr5s4tLW5FGk6B+ZgV CqxVteRLyXOO4hI124HOdPrFkUPhS8L6sLiyVHaENsKdCTUTmaWXOZBud28K1DsddqD4ME sUCKqxVnGwiwjpoc4cBPNapFGkF/hm/sVFZufN0Z6FTpTmwRpYQvRVSZ/8ftwmc/5/WfIV fSoqK9SZMX12Z1OuSU4yXCZ2t8nHu74yOMfRcQbxcMIwrGnbnS2OZUOGJI81kvejdCF8Cj k9IS3mQNooSQaPHrITrKLZbV27JjK9hjzCPrCbcLkP1UgBcVJcg4aRHSR7FQsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=qsS+rsHd; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYqvN-0003Yx-3M; Wed, 23 Aug 2023 12:41:41 -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 1qYqu8-0002GM-KF for help-guix@gnu.org; Wed, 23 Aug 2023 12:40:24 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYqu6-00045s-O9 for help-guix@gnu.org; Wed, 23 Aug 2023 12:40:24 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3fef3c3277fso5504675e9.1 for ; Wed, 23 Aug 2023 09:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692808821; x=1693413621; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=18I7AkfJk5d8EvEn0LTfVCJaNHlQqGCFIQ4xDLxTGdo=; b=qsS+rsHdd6zVJRmXuVa+mLexDamrZVR/mBRJjo8E1uki0oq8Afd1CLWXg83rreLWeN L6mnsjb/t62UfICXDN5QLg+3MwSoAdMu0rLuRHrcRaMdSwZatCqpyOpkegjjSCiWT8ph UV4j5iCIZfxtXtq4n566FYbFi3BLYt1eUiDpUdgqqlBMhH/oNBrKND34T8e3r+zq04/m lq+6riH2d+Lxz5sjOmZjA8Qp9Y9Pq5wA7datLwFqq/B05jKTQCXm+hK0/YL5LJZxcWEY yIglE/ndNXXYfOrg85ryIQEnvldl7Hu5J76yOFe3yvy1Wb2iBmc7PTTOdIUz2HsQyJ87 S0Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692808821; x=1693413621; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=18I7AkfJk5d8EvEn0LTfVCJaNHlQqGCFIQ4xDLxTGdo=; b=brdf304fNDqa2BLSzM9DZ33X7GXnUPGo5+BKZc49OnfzDxD+kObk0myvipHrUmr8mK 9kblf7VNlmSlCdYf7daeE7gTWNKNAla4eN/ZIMEmQwE5SebAhsxlvmmzeXTDfxLvdaUk d7YG9kvUZMrArsVRDeczkZJJVBnV3isyvJRNYVwb19atXlntvpiahawSZ0xWoKGeJCOF tz8J82j5hH8IKfaKTz6Gif7vkiKK+ud1Wh0TNzFHJC9qjP0nfgXwa3aLNHE7IJK9tSSQ dBJBXLyf3Bs/EzBg3/ktpPCk+As0CU8IvosP6sinmVx1zsaJh1TYKZtFS5fvxU7IZqRP UoUw== X-Gm-Message-State: AOJu0YwtaK0hwFfLIUMQy/5MULRgeynKUftViFTTFTmBqFYdim2NPBuo j1kGRUvoUXFutRYky9cfHk99HoLPeO0= X-Google-Smtp-Source: AGHT+IH/5XjAGjXV57cW4OxxDBx2Cxn6t5X5rPcblrNyH+wdgH5l3eg3oEkzYYjvSJgj+mlD4ewjfg== X-Received: by 2002:a05:600c:1615:b0:3fb:dde9:1de8 with SMTP id m21-20020a05600c161500b003fbdde91de8mr10313697wmn.2.1692808820964; Wed, 23 Aug 2023 09:40:20 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id y7-20020adff6c7000000b0031accc7228asm19596492wrp.34.2023.08.23.09.40.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 09:40:20 -0700 (PDT) From: Simon Tournier To: Philip McGrath , Chris Keschnat , Guix Help Subject: Re: Racket REPL not working In-Reply-To: <1d6c6ff8-e544-47cd-afa3-1ea6e2b0d1bd@app.fastmail.com> References: <32d7e2e7-88b5-a1cd-f9bd-c38f9d1ac2c3@posteo.de> <874jobjjpi.fsf@xelera.eu> <87edltee40.fsf@catsu.it> <43b871d9-2612-4964-a90d-7c732b5f3c8f@app.fastmail.com> <87wmzjg8kl.fsf@catsu.it> <87edlqwaux.fsf@catsu.it> <1d6c6ff8-e544-47cd-afa3-1ea6e2b0d1bd@app.fastmail.com> Date: Wed, 23 Aug 2023 16:48:36 +0200 Message-ID: <86il953jcr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32a.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, WEIRD_QUOTING=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.58 X-Spam-Score: -9.58 X-Migadu-Queue-Id: B5C555BBA1 X-Migadu-Scanner: mx1.migadu.com X-TUID: Mm3WZwjPzVtW Hi, Sorry for the late reply. On Sun, 02 Jul 2023 at 15:57, "Philip McGrath" wrote: >> ck@brak ~ $ guix shell --no-grafts racket -- racket --version >> Welcome to Racket v8.8 [cs]. > I'm not exactly sure how to do this, but can we determine which grafts > are otherwise being applied to `racket` in your environment? Hopefully > knowing what is being grafted will help to narrow down how grafting > might be going wrong. What about guix shell -C racket -- racket --version ? Well, about the grafts part, $ guix build racket -d /gnu/store/c0255s7y8f4ajzvspx8v9qbm1g3id3xb-racket-8.8.drv $ guix build racket -d --no-grafts /gnu/store/np4dqp1bqxwpbzdjmji81bsddygfzf81-racket-8.8.drv then let open the first derivation, --8<---------------cut here---------------start------------->8--- Derive ([("out","/gnu/store/k70zkb4r4y2lixr4bpf48hd33xldyb2a-racket-8.8","","")] ,[("/gnu/store/476wh1gii4ijga8cw24nxp6q4jc9x4hl-gtk+-3.24.37.drv",["out"]) ,("/gnu/store/cgdn2v19i6qwy0kisnykv9zvphl5lhxa-gtk+-3.24.37.drv",["out"]) ,("/gnu/store/jday1gpvdk3ccf034vcja567bjp0n4z1-glibc-utf8-locales-2.35.drv",["out"]) ,("/gnu/store/n34gnfqh8zn72z0lra59rgv6skm47i39-guile-2.0.14.drv",["out"]) ,("/gnu/store/np4dqp1bqxwpbzdjmji81bsddygfzf81-racket-8.8.drv",["out"]) ,("/gnu/store/xg9dfhixaw5fb36g7jz222jl99gr4dxz-module-import-compiled.drv",["out"])] ,["/gnu/store/a6acf6dds8s9fw7dp5div03rwik0x4x2-module-import","/gnu/store/jww1rq3s54m6k3yf0ixqqqs2rn86hh32-racket-8.8-builder"] ,"x86_64-linux","/gnu/store/4p1l5bdxxbyyqc3wh0d07jv9rp1pdcy7-guile-2.0.14/bin/guile",["--no-auto-compile","-L","/gnu/store/a6acf6dds8s9fw7dp5div03rwik0x4x2-module-import","-C","/gnu/store/yk897hj2p5mdx6hw47s90n8x9pn6s36c-module-import-compiled","/gnu/store/jww1rq3s54m6k3yf0ixqqqs2rn86hh32-racket-8.8-builder"] ,[("allowSubstitutes","0") ,("guix properties","((type . graft) (graft (count . 1)))") ,("out","/gnu/store/k70zkb4r4y2lixr4bpf48hd33xldyb2a-racket-8.8") ,("preferLocalBuild","1")]) --8<---------------cut here---------------end--------------->8--- Ok, there is /gnu/store/np4dqp1bqxwpbzdjmji81bsddygfzf81-racket-8.8.drv which is the non grafted derivation. Now, let open the builder, --8<---------------cut here---------------start------------->8--- (begin (use-modules (guix build graft) (guix build utils) (ice-9 match)) (define %outputs (list (cons "out" ((@ (guile) getenv) "out")))) (begin (setenv "GUIX_LOCPATH" "/gnu/store/visfdda934gvivwihwhlm63fdqhhcc8a-glibc-utf8-locales-2.35/lib/locale") (setlocale LC_ALL "en_US.utf8")) (let* ((old-outputs (quote (("out" . "/gnu/store/z0a42imbmy6563wvdavapb6c8vbi1s1z-racket-8.8")))) (mapping (append (quote (("/gnu/store/2n2kprz35a19ibs5kbjsb3k4cdl69q2w-gtk+-3.24.37" . "/gnu/store/c1vhs1874xiqmx0789jinrpbx63ks35y-gtk+-3.24.37"))) (map (match-lambda ((name . file) (cons (assoc-ref old-outputs name) file))) %outputs)))) (graft old-outputs %outputs mapping))) --8<---------------cut here---------------end--------------->8--- and thus racket is grafted with gtk+. However, it seems the same version, and thus, I do not know if it is similar as #47064 [1]. It works for me on foreign distro as Ubuntu. 1: https://issues.guix.gnu.org/47064 Cheers, simon