Received: (at 64090) by debbugs.gnu.org; 10 Sep 2024 16:19:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 10 12:19:46 2024 Received: from localhost ([127.0.0.1]:36713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1so3aj-0004ZU-Tp for submit <at> debbugs.gnu.org; Tue, 10 Sep 2024 12:19:46 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:61934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1so3ah-0004Z2-QU for 64090 <at> debbugs.gnu.org; Tue, 10 Sep 2024 12:19:44 -0400 Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-42cb8dac900so21837015e9.3 for <64090 <at> debbugs.gnu.org>; Tue, 10 Sep 2024 09:19:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725985113; x=1726589913; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=P42/urwYI9sq80DgA4YhzxtbxpuHXQC+6FQJb97Ff2s=; b=BCj6/qCMBs94NFlEgp5bEYHG3CN/EZwFwF5VhbnggKtyGIPx+6nienrM+3B4USsfbe nOzrb7TL3l2FxhjeaU5kV6/k5Ppqo0Oxdu4els/vBm/I8X81ubIiyMRqhP5LGs0BRD7D 6052k7M/EjNlk3EKMuNsk7ljCcwVIGJxPUxiZSDrlOvXhJx7n2EqvsKMMRdZ7GUHpCa1 F1BR/dP/mTQiDGrSH8MoqI/HL6cW4c7FdkYGdd5UFO2qnoZNvbr37PAn6BWrSm3VSk6E yuSA1pKP92H6euabkeAp6Sn9vZOjMuIFLyxw9/uh5FzgBVX2UvWJMTITSDtViKjCaWPx Pm2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725985113; x=1726589913; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=P42/urwYI9sq80DgA4YhzxtbxpuHXQC+6FQJb97Ff2s=; b=Rgk8/rLTpYVknZdbWVnMGA6Ra4mvhgBJCmmfg3O/jx3zGnGlrCPbh+KC7cx2PjUen0 g2xYP27ssSYXV2VLdtxyUe27OVMiYH/bb8fKdCq3EbD+8os5bm/L8Ih/UrylDZJceOsI tN3wizhKGU5G/wCEjCsvaB3GbrH7otULxHFs6w8Y6wMZR4p+k8+RP1WW6VHgo6D3rJdN HTbcGW2UjtHl7z+54x0mJChXGvUmigOqz2Hk2HKMwTD7NnxeWcvNX22WuUtrz+ilxdce 3ZAI/KKVR2Zrnj/4tiWRmGftaU8KEtQkrTwnZDuyF3zTLC2oAQ11+H0e/peyydZw1DY3 xLwA== X-Forwarded-Encrypted: i=1; AJvYcCXBEauC/mErA3Fmo3C1uHovQBRhTN/crD+9su+yUkLvzuwcwdl+bymc0ioRajqIsslFuSj5Kg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyXLLR0tjjscrs7U7CyBuBCd/EYIfyVsh9ct7MFgERc9OStIkr8 cvNGCS7tnr6EPqh9teNRzjJKuTtiCXRNREVV2u4r7MfNKYL5z2s9tEPSoQ== X-Google-Smtp-Source: AGHT+IGCjIrJthdUa5/AsVFFTx76JZVg/nEStrbaw3KlN/+1TZ7n7AMa9vih87ubRxC2yndVw6ePQg== X-Received: by 2002:a05:600c:3b14:b0:42c:b97a:5f7d with SMTP id 5b1f17b1804b1-42cb97a6281mr51853395e9.7.1725985112592; Tue, 10 Sep 2024 09:18:32 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-40.net.univ-paris-diderot.fr. [194.254.61.40]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378956653b0sm9460078f8f.44.2024.09.10.09.18.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 09:18:32 -0700 (PDT) From: Simon Tournier <zimon.toutoune@HIDDEN> To: "(" <paren@HIDDEN> Subject: Re: bug#64090: Cannot compute a file with a G-exp In-Reply-To: <87edmadp72.fsf@HIDDEN> (paren@HIDDEN's message of "Sat, 17 Jun 2023 17:27:46 +0100") References: <87v8fogpk8.fsf@HIDDEN> <87legied23.fsf@HIDDEN> <87o7lexjq3.fsf@HIDDEN> <87edmadp72.fsf@HIDDEN> Date: Tue, 10 Sep 2024 17:01:47 +0200 Message-ID: <87r09rd02s.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64090 Cc: 64090 <at> debbugs.gnu.org, Robby Zambito <contact@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, On Sat, 17 Jun 2023 at 17:27, "(" <paren@HIDDEN> wrote: > Robby Zambito <contact@HIDDEN> writes: >> Strangely with-extensions doesn't seem to be including the whole >> dependency tree for me. Should it? > > No, I don't think it should. It *would* be possible to traverse the > package inputs and add all the GUILE-BUILD-SYSTEM-using packages, but > then you get the problem that not all Guile packages have their > dependencies specified in the INPUTS list (for some reason, IIRC, you > need the Guile dependencies to be in both INPUTS *and* NATIVE-INPUTS, > but some have them only in NATIVE-INPUTS). > > The problem there is that if you have a dependency that's only in > NATIVE-INPUTS, it's difficult to tell if it's actually used by the > application or by, say, a build script. Reading the thread and from my understanding, there is no bug. Closing? Else, could you provide more information about the bug? Cheers, simon
bug-guix@HIDDEN
:bug#64090
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 17 Jun 2023 16:33:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 12:33:04 2023 Received: from localhost ([127.0.0.1]:52528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qAYrH-0001ai-Km for submit <at> debbugs.gnu.org; Sat, 17 Jun 2023 12:33:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:50936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <paren@HIDDEN>) id 1qAYrD-0001Zx-EY for submit <at> debbugs.gnu.org; Sat, 17 Jun 2023 12:33:01 -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 <paren@HIDDEN>) id 1qAYrB-0002gh-I9 for bug-guix@HIDDEN; Sat, 17 Jun 2023 12:32:59 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <paren@HIDDEN>) id 1qAYr8-0004AC-Fd for bug-guix@HIDDEN; Sat, 17 Jun 2023 12:32:56 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8D2DC41C59; Sat, 17 Jun 2023 18:32:51 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tTUnXeM4A9TO; Sat, 17 Jun 2023 18:32:50 +0200 (CEST) References: <87v8fogpk8.fsf@HIDDEN> <87legied23.fsf@HIDDEN> <87o7lexjq3.fsf@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1687019570; bh=0FkEbEG/Z2mQSYioLG+CKMz0RWhXC8Pq3FOrJTpVl8Q=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=SNdIt79KIcRWR5lCKr7ebLdB35fQoFiSINHl9Iz2WVyhpER5BhUjAZv3kMJ9yctm2 Hm3s3lkO35Vz6itjraM6SKmY2XlLtPX1iamw+A2UX4/vpdoUTgRTI0x7MXVKkBENlm joMzo99nIVzGPj0uJIu/e4DIKqJjIV4vNIoPxRxuML/ffnP1N71vxEwbudd2nUJ/cc B44dvhhzr7+Fqbza5pfzS7WmA477WygU96ea6z9e/JijVduBntmDZSKxKyrjOXmy0a Qj9KiiMiPqMKUn73vR2MfXY9is5n/VtThm1j3AA0zHbo6NmKwZYEk3APHWAcmNT6na lXhCdqvy5S2Nw== From: "(" <paren@HIDDEN> To: Robby Zambito <contact@HIDDEN> Subject: Re: bug#64090: Cannot compute a file with a G-exp Date: Sat, 17 Jun 2023 17:27:46 +0100 In-reply-to: <87o7lexjq3.fsf@HIDDEN> Message-ID: <87edmadp72.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@HIDDEN; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 64090 <at> debbugs.gnu.org, bug-guix@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Robby Zambito <contact@HIDDEN> writes: > Strangely with-extensions doesn't seem to be including the whole > dependency tree for me. Should it? No, I don't think it should. It *would* be possible to traverse the package inputs and add all the GUILE-BUILD-SYSTEM-using packages, but then you get the problem that not all Guile packages have their dependencies specified in the INPUTS list (for some reason, IIRC, you need the Guile dependencies to be in both INPUTS *and* NATIVE-INPUTS, but some have them only in NATIVE-INPUTS). The problem there is that if you have a dependency that's only in NATIVE-INPUTS, it's difficult to tell if it's actually used by the application or by, say, a build script. -- (
bug-guix@HIDDEN
:bug#64090
; Package guix
.
Full text available.Received: (at 64090) by debbugs.gnu.org; 17 Jun 2023 16:33:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 12:33:01 2023 Received: from localhost ([127.0.0.1]:52525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qAYrF-0001a9-BQ for submit <at> debbugs.gnu.org; Sat, 17 Jun 2023 12:33:01 -0400 Received: from knopi.disroot.org ([178.21.23.139]:36614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <paren@HIDDEN>) id 1qAYrA-0001Zn-13 for 64090 <at> debbugs.gnu.org; Sat, 17 Jun 2023 12:32:59 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8D2DC41C59; Sat, 17 Jun 2023 18:32:51 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tTUnXeM4A9TO; Sat, 17 Jun 2023 18:32:50 +0200 (CEST) References: <87v8fogpk8.fsf@HIDDEN> <87legied23.fsf@HIDDEN> <87o7lexjq3.fsf@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1687019570; bh=0FkEbEG/Z2mQSYioLG+CKMz0RWhXC8Pq3FOrJTpVl8Q=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=SNdIt79KIcRWR5lCKr7ebLdB35fQoFiSINHl9Iz2WVyhpER5BhUjAZv3kMJ9yctm2 Hm3s3lkO35Vz6itjraM6SKmY2XlLtPX1iamw+A2UX4/vpdoUTgRTI0x7MXVKkBENlm joMzo99nIVzGPj0uJIu/e4DIKqJjIV4vNIoPxRxuML/ffnP1N71vxEwbudd2nUJ/cc B44dvhhzr7+Fqbza5pfzS7WmA477WygU96ea6z9e/JijVduBntmDZSKxKyrjOXmy0a Qj9KiiMiPqMKUn73vR2MfXY9is5n/VtThm1j3AA0zHbo6NmKwZYEk3APHWAcmNT6na lXhCdqvy5S2Nw== From: "(" <paren@HIDDEN> To: Robby Zambito <contact@HIDDEN> Subject: Re: bug#64090: Cannot compute a file with a G-exp Date: Sat, 17 Jun 2023 17:27:46 +0100 In-reply-to: <87o7lexjq3.fsf@HIDDEN> Message-ID: <87edmadp72.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64090 Cc: 64090 <at> debbugs.gnu.org, bug-guix@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Robby Zambito <contact@HIDDEN> writes: > Strangely with-extensions doesn't seem to be including the whole > dependency tree for me. Should it? No, I don't think it should. It *would* be possible to traverse the package inputs and add all the GUILE-BUILD-SYSTEM-using packages, but then you get the problem that not all Guile packages have their dependencies specified in the INPUTS list (for some reason, IIRC, you need the Guile dependencies to be in both INPUTS *and* NATIVE-INPUTS, but some have them only in NATIVE-INPUTS). The problem there is that if you have a dependency that's only in NATIVE-INPUTS, it's difficult to tell if it's actually used by the application or by, say, a build script. -- (
bug-guix@HIDDEN
:bug#64090
; Package guix
.
Full text available.Received: (at 64090) by debbugs.gnu.org; 17 Jun 2023 14:10:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 10:10:57 2023 Received: from localhost ([127.0.0.1]:52222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qAWdl-0004QC-2B for submit <at> debbugs.gnu.org; Sat, 17 Jun 2023 10:10:57 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:53903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <contact@HIDDEN>) id 1qAWdi-0004Pq-DB for 64090 <at> debbugs.gnu.org; Sat, 17 Jun 2023 10:10:55 -0400 X-GND-Sasl: contact@HIDDEN X-GND-Sasl: contact@HIDDEN X-GND-Sasl: contact@HIDDEN Received: by mail.gandi.net (Postfix) with ESMTPSA id CA9A8E0002; Sat, 17 Jun 2023 14:10:47 +0000 (UTC) References: <87v8fogpk8.fsf@HIDDEN> <87legied23.fsf@HIDDEN> User-agent: mu4e 1.10.2; emacs 28.2 From: Robby Zambito <contact@HIDDEN> To: "(" <paren@HIDDEN> Subject: Re: bug#64090: Cannot compute a file with a G-exp Date: Sat, 17 Jun 2023 10:05:44 -0400 In-reply-to: <87legied23.fsf@HIDDEN> Message-ID: <87o7lexjq3.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64090 Cc: 64090 <at> debbugs.gnu.org, bug-guix@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hello, "(" <paren@HIDDEN> writes: > SOURCE-MODULE-CLOSURE only works for modules provided by Guix or Guix > channels ;) Modules included in Guile don't need it at all, and for > modules provided by third-party Guile libraries like guile-ini or > guile-json, you need to use WITH-EXTENSIONS: > > (use-modules (gnu packages guile-xyz)) > > (with-extensions (list guile-ini guile-json) GEXP) Well shucks, if only I read the next paragraph in the manual! Thank you for pointing this out. > No, it includes the entire dependency tree, but filters out any modules > that don't come from Guix or Guix channels. Strangely with-extensions doesn't seem to be including the whole dependency tree for me. Should it? Maybe this is an issue with the definition of the guile-ini package, but I also had to specify guile-smc and guile-lib as extensions, even though I am not using either of those directly. Thank you for you help though :) I was able to get my G-Exp working as I want Robby
bug-guix@HIDDEN
:bug#64090
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 17 Jun 2023 14:10:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 10:10:59 2023 Received: from localhost ([127.0.0.1]:52224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qAWdn-0004QL-Ak for submit <at> debbugs.gnu.org; Sat, 17 Jun 2023 10:10:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:40032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <contact@HIDDEN>) id 1qAWdj-0004Q4-Vn for submit <at> debbugs.gnu.org; Sat, 17 Jun 2023 10:10:56 -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 <contact@HIDDEN>) id 1qAWdi-0006qT-T0 for bug-guix@HIDDEN; Sat, 17 Jun 2023 10:10:54 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <contact@HIDDEN>) id 1qAWdg-0003VK-Py for bug-guix@HIDDEN; Sat, 17 Jun 2023 10:10:54 -0400 X-GND-Sasl: contact@HIDDEN X-GND-Sasl: contact@HIDDEN X-GND-Sasl: contact@HIDDEN Received: by mail.gandi.net (Postfix) with ESMTPSA id CA9A8E0002; Sat, 17 Jun 2023 14:10:47 +0000 (UTC) References: <87v8fogpk8.fsf@HIDDEN> <87legied23.fsf@HIDDEN> User-agent: mu4e 1.10.2; emacs 28.2 From: Robby Zambito <contact@HIDDEN> To: "(" <paren@HIDDEN> Subject: Re: bug#64090: Cannot compute a file with a G-exp Date: Sat, 17 Jun 2023 10:05:44 -0400 In-reply-to: <87legied23.fsf@HIDDEN> Message-ID: <87o7lexjq3.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.196; envelope-from=contact@HIDDEN; helo=relay4-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: 64090 <at> debbugs.gnu.org, bug-guix@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) Hello, "(" <paren@HIDDEN> writes: > SOURCE-MODULE-CLOSURE only works for modules provided by Guix or Guix > channels ;) Modules included in Guile don't need it at all, and for > modules provided by third-party Guile libraries like guile-ini or > guile-json, you need to use WITH-EXTENSIONS: > > (use-modules (gnu packages guile-xyz)) > > (with-extensions (list guile-ini guile-json) GEXP) Well shucks, if only I read the next paragraph in the manual! Thank you for pointing this out. > No, it includes the entire dependency tree, but filters out any modules > that don't come from Guix or Guix channels. Strangely with-extensions doesn't seem to be including the whole dependency tree for me. Should it? Maybe this is an issue with the definition of the guile-ini package, but I also had to specify guile-smc and guile-lib as extensions, even though I am not using either of those directly. Thank you for you help though :) I was able to get my G-Exp working as I want Robby
bug-guix@HIDDEN
:bug#64090
; Package guix
.
Full text available.Received: (at 64090) by debbugs.gnu.org; 17 Jun 2023 07:57:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 03:57:40 2023 Received: from localhost ([127.0.0.1]:50812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qAQoW-00089y-Fd for submit <at> debbugs.gnu.org; Sat, 17 Jun 2023 03:57:40 -0400 Received: from knopi.disroot.org ([178.21.23.139]:37924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <paren@HIDDEN>) id 1qAQoU-00089i-4V for 64090 <at> debbugs.gnu.org; Sat, 17 Jun 2023 03:57:39 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BA57840B43; Sat, 17 Jun 2023 09:57:33 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ENbjaSxS1qdv; Sat, 17 Jun 2023 09:57:32 +0200 (CEST) References: <87v8fogpk8.fsf@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1686988652; bh=dGB7mtKKRBl6S07hI6iI8yaG1khmS57EzY1TgaMIlsw=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=HejWYMyPk2usQ3sMrVZOonpeRHNVt7Y19H/Ajl3Q/Own1oVmIUMsvZEojJyGnmBYM vQl+wF9WdjmYw8dDQ+mjuvU+y2nTqdTqertG24ZJEUnTIE4+LYQdVcBfJTaCi6Ch5T APDXbKqXFATjYUxQa/Da7yM3U+ne7rQ1RoodPEIoaz7oG49BrOHUf1R0HNFHVBFewc xSS04jDePdDRgm+KlUZopwm5i+/u3GiSZFePbEiivljNGYeQPUxST9FewCER7Ag7AZ wEUz2f3jDKVlOepqH+dg51cILXYQisr4Wb0iBNCSDk7BfmfGCfZr8WmYRrIZVWjQXp TLnFl3o3hiOmg== From: "(" <paren@HIDDEN> To: Robby Zambito <contact@HIDDEN> Subject: Re: bug#64090: Cannot compute a file with a G-exp Date: Sat, 17 Jun 2023 08:51:38 +0100 In-reply-to: <87v8fogpk8.fsf@HIDDEN> Message-ID: <87legied23.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64090 Cc: 64090 <at> debbugs.gnu.org, bug-guix@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi! Robby Zambito <contact@HIDDEN> writes: > scheme@(guile-user)> (source-module-closure '((ice-9 popen) (ice-9 atomic) (ini) (json))) > $8 = () SOURCE-MODULE-CLOSURE only works for modules provided by Guix or Guix channels ;) Modules included in Guile don't need it at all, and for modules provided by third-party Guile libraries like guile-ini or guile-json, you need to use WITH-EXTENSIONS: (use-modules (gnu packages guile-xyz)) (with-extensions (list guile-ini guile-json) GEXP) > I found that I could get a partial list of dependencies using > source-module-dependencies, which seems to only include the direct > dependencies. So in my G-exp that I want to have depend on (ini), I used: No, it includes the entire dependency tree, but filters out any modules that don't come from Guix or Guix channels. > At this point, if I do not interrupt the process, it will eat up all of > my systems memory and crash. Building my config with this provides some > more information: I suspect this will be fixed if you follow what I've said above. -- (
bug-guix@HIDDEN
:bug#64090
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 17 Jun 2023 07:57:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 03:57:45 2023 Received: from localhost ([127.0.0.1]:50814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qAQoa-0008AE-UV for submit <at> debbugs.gnu.org; Sat, 17 Jun 2023 03:57:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:40874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <paren@HIDDEN>) id 1qAQoW-00089x-AE for submit <at> debbugs.gnu.org; Sat, 17 Jun 2023 03:57:40 -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 <paren@HIDDEN>) id 1qAQoV-0004nA-VH for bug-guix@HIDDEN; Sat, 17 Jun 2023 03:57:39 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <paren@HIDDEN>) id 1qAQoU-0003N8-8t for bug-guix@HIDDEN; Sat, 17 Jun 2023 03:57:39 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BA57840B43; Sat, 17 Jun 2023 09:57:33 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ENbjaSxS1qdv; Sat, 17 Jun 2023 09:57:32 +0200 (CEST) References: <87v8fogpk8.fsf@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1686988652; bh=dGB7mtKKRBl6S07hI6iI8yaG1khmS57EzY1TgaMIlsw=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=HejWYMyPk2usQ3sMrVZOonpeRHNVt7Y19H/Ajl3Q/Own1oVmIUMsvZEojJyGnmBYM vQl+wF9WdjmYw8dDQ+mjuvU+y2nTqdTqertG24ZJEUnTIE4+LYQdVcBfJTaCi6Ch5T APDXbKqXFATjYUxQa/Da7yM3U+ne7rQ1RoodPEIoaz7oG49BrOHUf1R0HNFHVBFewc xSS04jDePdDRgm+KlUZopwm5i+/u3GiSZFePbEiivljNGYeQPUxST9FewCER7Ag7AZ wEUz2f3jDKVlOepqH+dg51cILXYQisr4Wb0iBNCSDk7BfmfGCfZr8WmYRrIZVWjQXp TLnFl3o3hiOmg== From: "(" <paren@HIDDEN> To: Robby Zambito <contact@HIDDEN> Subject: Re: bug#64090: Cannot compute a file with a G-exp Date: Sat, 17 Jun 2023 08:51:38 +0100 In-reply-to: <87v8fogpk8.fsf@HIDDEN> Message-ID: <87legied23.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@HIDDEN; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 64090 <at> debbugs.gnu.org, bug-guix@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Hi! Robby Zambito <contact@HIDDEN> writes: > scheme@(guile-user)> (source-module-closure '((ice-9 popen) (ice-9 atomic) (ini) (json))) > $8 = () SOURCE-MODULE-CLOSURE only works for modules provided by Guix or Guix channels ;) Modules included in Guile don't need it at all, and for modules provided by third-party Guile libraries like guile-ini or guile-json, you need to use WITH-EXTENSIONS: (use-modules (gnu packages guile-xyz)) (with-extensions (list guile-ini guile-json) GEXP) > I found that I could get a partial list of dependencies using > source-module-dependencies, which seems to only include the direct > dependencies. So in my G-exp that I want to have depend on (ini), I used: No, it includes the entire dependency tree, but filters out any modules that don't come from Guix or Guix channels. > At this point, if I do not interrupt the process, it will eat up all of > my systems memory and crash. Building my config with this provides some > more information: I suspect this will be fixed if you follow what I've said above. -- (
bug-guix@HIDDEN
:bug#64090
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 16 Jun 2023 01:32:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 15 21:32:24 2023 Received: from localhost ([127.0.0.1]:48240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1q9yK8-0000SZ-9v for submit <at> debbugs.gnu.org; Thu, 15 Jun 2023 21:32:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:47154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <contact@HIDDEN>) id 1q9yK6-0000SS-Le for submit <at> debbugs.gnu.org; Thu, 15 Jun 2023 21:32:23 -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 <contact@HIDDEN>) id 1q9yK6-0003yC-F9 for bug-guix@HIDDEN; Thu, 15 Jun 2023 21:32:22 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <contact@HIDDEN>) id 1q9yK1-00007J-7o for bug-guix@HIDDEN; Thu, 15 Jun 2023 21:32:22 -0400 X-GND-Sasl: contact@HIDDEN Received: by mail.gandi.net (Postfix) with ESMTPSA id 2D585C0006 for <bug-guix@HIDDEN>; Fri, 16 Jun 2023 01:32:11 +0000 (UTC) User-agent: mu4e 1.10.2; emacs 28.2 From: Robby Zambito <contact@HIDDEN> To: bug-guix@HIDDEN Subject: Cannot compute a file with a G-exp Date: Thu, 15 Jun 2023 21:17:47 -0400 Message-ID: <87v8fogpk8.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.198; envelope-from=contact@HIDDEN; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) Hi, I seem to be having two issues with writing a G-exp that computes a file. The first issue I ran into is that source-module-closure returns null no matter what modules I give it. ``` scheme@(guile-user)> (source-module-closure '((ice-9 popen) (ice-9 atomic) = (ini) (json))) $8 =3D () ``` This seems to be a bug to me. I found that I could get a partial list of dependencies using source-module-dependencies, which seems to only include the direct dependencies. So in my G-exp that I want to have depend on (ini), I used: ``` (with-imported-modules (source-module-dependencies '(ini))) ``` and then slowly worked on rebuilding over and over again, adding each dependency as it was reported as missing. Now that I have a seemingly correct (as far as the dependencies are concerned) expression, I have run into another issue. ``` scheme@(guile-user)> ;; Assumes a file exists at wofi/style.css scheme@(guile-user)> (define rz/terminal-emulator "foot") scheme@(guile-user)> (import (guix gexp) (guix modules) (guix)) scheme@(guile-user)> ,build (computed-file "config" (with-imported-modules (append (source-module-dependencies '(ini)) '((ini) (scheme documentation) (smc core common) (smc context common) (smc context u8) (smc context char) (smc core config) (smc core log) (logging logger) (smc core state) (smc core transition) (smc context oop generic) (smc context oop port) (smc context oop char) (smc context oop u8) (smc fsm) (smc core set))) #~(begin (import (ini)) (plain-file #$output (with-output-to-string (lambda () (scm->ini '((#f ("stylesheet" . #$(local-file "wofi/style.css")) ("xoffset" . 0) ("yoffset" . 0) ("hide_scroll" . "true") ("show" . "drun") ("width" . "600px") ("lines" . 10) ("line_wrap" . "word") ("term" . #$rz/terminal-emulator) ("allow_markup" . "true") ("always_parse_args" . "true") ("show_all" . "true") ("print_command" . "true") ("layer" . "overlay") ("allow_images" . "true") ("insensitivity" . "true") ("prompt" . "Hey, you should type something!") ("image_size" . 25) ("display_generic" . "true") ("key_expand" . "Tab")))))))))) warning: importing modules (ice-9 receive) (ice-9 pretty-print) (ice-9 text= ual-ports) from the host building /gnu/store/icvbvnjdiykc7lsraz16j1hsydfg77ld-module-import-compiled= .drv... 18% =E2=96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88= =E2=96=8B = = =E2=96=8FWhile executing meta-c= ommand: User interrupt ``` At this point, if I do not interrupt the process, it will eat up all of my systems memory and crash. Building my config with this provides some more information: ``` The following derivations will be built: /gnu/store/a86dcbp4nckf40g7h7abw02viqn9aags-home.drv /gnu/store/1mr2bjmbjwqd0qg4zbhpiajbqz8ljxvm-files.drv /gnu/store/5rsbwalrkvd09gq554gc0dclc65vmyhj-wofi-config.drv /gnu/store/icvbvnjdiykc7lsraz16j1hsydfg77ld-module-import-compiled.drv /gnu/store/gn8jpf439qskxai3vyph8zv1p7ygsrsh-provenance.drv building /gnu/store/gn8jpf439qskxai3vyph8zv1p7ygsrsh-provenance.drv... successfully built /gnu/store/gn8jpf439qskxai3vyph8zv1p7ygsrsh-provenance.d= rv building /gnu/store/icvbvnjdiykc7lsraz16j1hsydfg77ld-module-import-compiled= .drv... [ 1/50] Loading './ice-9/pretty-print.scm'... [ 2/50] Loading './ice-9/receive.scm'... [ 3/50] Loading './ice-9/textual-ports.scm'... [ 4/50] Loading './ini/fsm-context-ini.scm'... [ 5/50] Loading './ini/fsm-context.scm'... [ 6/50] Loading './ini/fsm.scm'... [ 7/50] Loading './ini.scm'... [ 8/50] Loading './logging/logger.scm'... [ 9/50] Loading './oop/goops.scm'... interrupt ``` It hangs on importing `./oop/goops.scm`. Regards, Robby
Robby Zambito <contact@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#64090
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.