From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uP7xGjOlW2eW0QAA62LTzQ:P1 (envelope-from ) for ; Fri, 13 Dec 2024 03:08:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uP7xGjOlW2eW0QAA62LTzQ (envelope-from ) for ; Fri, 13 Dec 2024 04:08:35 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CDyx1zDW; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=bLJZMtJi; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734059315; a=rsa-sha256; cv=none; b=eph1puA/FjxQgxDVemUzpltoZC/CD3xz4t6V7zKj4ciiT5aSAqY1NXaQCDMTNe20MUAc9B ILfDgdhGpMjbBkJYASHFu3fkf49KCAlf2tUEZPo/7ByzxABL548K8aRmX4r5VWsjSb4pd5 kqxNLUPoTQk59FsHlhTK93ZrqKvPze97Uv85HMSlfTOGog7elVRzbVBmJHKm4L5CpguSMo 6AWW4tTefQPkKT2ZQz+wkyXtgGTl2musmKZ9anJNBzbm32FfBAlS4min7PYaQHwQ47k7Mr VsKtSgOemdIPWmtk3ujngkGmvdX7Dvxp62DW7YfzQmL8nY/rZBw5MbARzm/tZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CDyx1zDW; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=bLJZMtJi; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734059315; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=ynokv01acwsLEY0a5JAVtCb/xLlBAaAJSlWAUw+Dl3w=; b=R5SWISSFSHcBNQenJdD37Gbs0QtnTytmVhelJhHAPWCrrs/ik8LFJ1YwD6Hz+EIXFLM2zA pC3qdKZfBCOkAXMTWvdRsmBGRQ5P5HBAbyj7VUawMcmoWEXC5bVOJpA8uULOoygq4H0KOT BxdBH+xQEaB1y61M/ImYBnr6HZcb+l/DWO9Zaakd0sRpNBwtGe66yOJRX2i1ey6gXu1jOg C1dptWl/VFuu2gTYsTx2NZ3wpGu2Y49Tk3TVY0PsXt0Ex7R3xZLBhXQdYOZQGzLWLoQRao Lh7GqPmJESz97saLQoEeZ3ghjCy+yybCaLZ8UBBhIVPO63NckSL0GH7mx4tIWQ== 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 0565063047 for ; Fri, 13 Dec 2024 04:08:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLw2A-00016Z-0B; Thu, 12 Dec 2024 22:08:06 -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 1tLw27-00016C-Rs for bug-guix@gnu.org; Thu, 12 Dec 2024 22:08:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLw26-0001we-JK for bug-guix@gnu.org; Thu, 12 Dec 2024 22:08:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=ynokv01acwsLEY0a5JAVtCb/xLlBAaAJSlWAUw+Dl3w=; b=CDyx1zDWbojXWYJSzTOuxWX7rI9c+Cu2QWPS+g5GLCaTJDbMZZ0bkdcPcQdF4fDTyt6DI4acfkNMVu1WN7v5rR2egx06EiWBxKCWiMBFk7LsQRCFUMx2PpHekYbq8gNcbc+kLV8u4Cp6sP2wgDStqRvS2Buh2WelsVbCgGso8xNxIHGSzeDLGI0mdSuojyxV+g2LZgJSW6SmTG6ujZILYFpWc9+03n60StaqIqNa5TN4agrIzemCJ8WDsKS133kuiG+GSLFa0vpaInutQmR/y7vao9rw0sx36yH5hwhDLzTMMLLvLpP7UJj/I9vugGNPym4UZUMnIgXALczku5bgiA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLw26-0001b7-3U for bug-guix@gnu.org; Thu, 12 Dec 2024 22:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74845: Guix racket: binaries installed via "raco pkg install" missing --config directory Resent-From: Suhail Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 13 Dec 2024 03:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74845 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74845@debbugs.gnu.org Cc: Philip McGrath X-Debbugs-Original-To: Guix-bugs mailing list Received: via spool by submit@debbugs.gnu.org id=B.17340592386071 (code B ref -1); Fri, 13 Dec 2024 03:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Dec 2024 03:07:18 +0000 Received: from localhost ([127.0.0.1]:41090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLw1N-0001Zl-Ex for submit@debbugs.gnu.org; Thu, 12 Dec 2024 22:07:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:47018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLw1C-0001ZO-Db for submit@debbugs.gnu.org; Thu, 12 Dec 2024 22:07:13 -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 1tLw1C-000137-0J for bug-guix@gnu.org; Thu, 12 Dec 2024 22:07:06 -0500 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLw1A-0001ob-3y for bug-guix@gnu.org; Thu, 12 Dec 2024 22:07:05 -0500 Received: by mail-qt1-x841.google.com with SMTP id d75a77b69052e-4675feed835so11325171cf.1 for ; Thu, 12 Dec 2024 19:07:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734059223; x=1734664023; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=ynokv01acwsLEY0a5JAVtCb/xLlBAaAJSlWAUw+Dl3w=; b=bLJZMtJib6L0GvW+8SCZ6ypj5NmvlFqFxwTNVcjRl+XvKg/s8L0YrkFqG0oub2anZe i1B/QK/iN2/tCWQyLPCXpTxkW7TKOhTIeQQcxux3inuOYd9PivRpSEJ8cg95yAs2GOqb MWArEn0l7J4Ugl9Nx7tyky/dn8uVMkIRj0k/EutSAz6bHw9/tR98OPQLA3S6CSzvXD+h k2OiWX6nNjUEW2VfSgXjrjodUNDfwWOqry1Jg/sZ47GISPauMlkfDqGcrR0WGenbrcV/ /xZ+i8FJqLgDMV/iS+GK4QY1R1lZRKLRjODsoGQeLrjiRaK6ZEd7MaXX914mYQmSNpax qHIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734059223; x=1734664023; h=mime-version:user-agent:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ynokv01acwsLEY0a5JAVtCb/xLlBAaAJSlWAUw+Dl3w=; b=hzIveEmixIMs26W5kDR/C8LXWJ/HrYZL2A69gzfcxYh8uiTFaOBanfftlJG6KUbT0x vV0IIgwHSC1ru1DCI8FmhYFhmYrIaduDVDSnWt74T89wDuYNFsr+LaPmwzv1kGvKI2xg hiEHWxXZQyE5WCE4ae1iK28mEOy75qNxvhg616O39ar++xUCUGHsgy8ctUeCgIALL0ai J/Q2euDysrV2MRBxxp4nZHEfO6AmUtovCoVmh5+OTt2J0wv7VnrnqIoxFj09dvktgOyB P7DzvEBWfTNCqsnRIONg+iPromCa6GpvB+1LhQmDoLDKDkcYz6nAmKVe9+8zAeKodsDl 4zdw== X-Gm-Message-State: AOJu0YwxUcmo++b3lKIHoOmZIuBe0j8XI2t0igNJ8q10gQaXUjx9e5VL n9OX/6dc9uWIz8SvvoTq94AIk4iVsNdxw8AqNXWYc1TYDHeG1gtBcKbuUhTd X-Gm-Gg: ASbGncupWqqbaGSdT1aFmDxNhOIxwmV9mVDb89B2trwQHJTU9wXBSPjsuQAXEvU0Lkk xwx3kiqByJbErarsAOWYvrjyqpBBrMAQcEsrVY+2K3rL9Ql49JDikSwE7lqSJT2wfVURnU0VtwH OXLWIpVLCtyFW1h2HHX+IcJREJ6Iq7oMVBFXYx+vpm6u9kUgMewx3BE9Jo9WmNXnHSkYZcfxMm9 wJ04YEByiPK/Uft4ulNNTzMr1DJGPYbJEZ0URB37RyE2Lryd9FYkY6cNOChGwb47zIzdz85NuHM EeqrNNd6A7j1TP62Hg== X-Google-Smtp-Source: AGHT+IGlzoXLQJXOii46qNPBAW4lvD0hFizNJppCqn9SOMhl/5ftakBd3NobFITiCDV6miBdxs51Gw== X-Received: by 2002:a05:622a:606:b0:467:53c8:7578 with SMTP id d75a77b69052e-467a577f318mr19657841cf.17.1734059222688; Thu, 12 Dec 2024 19:07:02 -0800 (PST) Received: from gnus (mtrlpq0776w-70-26-179-129.dsl.bell.ca. [70.26.179.129]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b6ea8389e1sm252708085a.71.2024.12.12.19.07.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 19:07:02 -0800 (PST) From: Suhail Singh Date: Thu, 12 Dec 2024 22:07:01 -0500 Message-ID: <87ttb8b7sa.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::841; envelope-from=suhailsingh247@gmail.com; helo=mail-qt1-x841.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.59 X-Spam-Score: -3.59 X-Migadu-Queue-Id: 0565063047 X-Migadu-Scanner: mx12.migadu.com X-TUID: R6+mW3f7W5rD Hello Guix, Currently, binaries installed via "raco" (included in Guix's "racket" package) don't include the -G / --config configuration option specifying the "Main configuration directory". This is problematic. Specifically, when installing "rash" via raco using the below: #+begin_src sh raco pkg install rash #+end_src The resulting rash-repl binary is missing the -G configuration option in the call to the racket binary. Invoking the installed rash-repl binary results in the following error: #+begin_src sh standard-module-name-resolver: collection not found for module path: (lib "rash/repl.rkt") collection: "rash" in collection directories: ${HOME}/.local/share/racket/8.14/collects /gnu/store/vn20i9xk22czljr9drwzwpgw209l49s8-racket-vm-cs-8.14/opt/racket-vm/collects/ #+end_src Adding the -G configuration option similar to what's included in the "raco" script itself, fixes the above error. The executable scripts (at least on linux) seem to be generated via make-unix-launcher in ./racket/collects/launcher/launcher.rkt . What's unclear is the best way in which to address this issue. For one thing, the -G configuration option in the "raco" script (which addressed the issue in the rash-repl script above) references the store location of the racket guix package. However, the launcher.rkt (which contains the definition of make-unix-launcher) file is compiled as part of racket-vm-cs (which is an input of racket). -- Suhail