From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 1OubISYdH19BeQAA0tVLHw (envelope-from ) for ; Mon, 27 Jul 2020 18:29:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2BoYHSYdH19heAAA1q6Kng (envelope-from ) for ; Mon, 27 Jul 2020 18:29:58 +0000 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 E6BE89400BB for ; Mon, 27 Jul 2020 18:29:57 +0000 (UTC) Received: from localhost ([::1]:56706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k07sq-0003yD-Q6 for larch@yhetil.org; Mon, 27 Jul 2020 14:29:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k07sg-0003y5-3a for help-guix@gnu.org; Mon, 27 Jul 2020 14:29:46 -0400 Received: from gateway33.websitewelcome.com ([192.185.145.221]:43694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k07sd-0003Hw-I2 for help-guix@gnu.org; Mon, 27 Jul 2020 14:29:45 -0400 Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 0CD5A10034A for ; Mon, 27 Jul 2020 13:29:29 -0500 (CDT) Received: from gator3135.hostgator.com ([50.87.144.171]) by cmsmtp with SMTP id 07sOkB3pvhKYq07sOkE6p8; Mon, 27 Jul 2020 13:29:29 -0500 X-Authority-Reason: nr=8 Received: from [50.87.144.171] (port=53904 helo=gator3135.hostgator.com) by gator3135.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1k07sO-0034xw-G0; Mon, 27 Jul 2020 13:29:28 -0500 Received: from [100.0.196.207] ([100.0.196.207]) by www.stihie.net (Horde Framework) with HTTPS; Mon, 27 Jul 2020 13:29:28 -0500 Date: Mon, 27 Jul 2020 13:29:28 -0500 Message-ID: <20200727132928.Horde.Sl-P9MBEKZAmrJtMVx6e-Jz@www.stihie.net> From: mbcladwell@stihie.net To: Efraim Flashner Subject: Re: No Guile development packages were found. References: <20200727065252.Horde.zwuqgyOS38xl3-x-35QYgsn@www.stihie.net> <20200727133736.GG9269@E5400> In-Reply-To: <20200727133736.GG9269@E5400> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3135.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stihie.net X-BWhitelist: no X-Source-IP: 50.87.144.171 X-Source-L: Yes X-Exim-ID: 1k07sO-0034xw-G0 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (gator3135.hostgator.com) [50.87.144.171]:53904 X-Source-Auth: mbcladwell@stihie.net X-Email-Count: 1 X-Source-Cap: cGxhcGFuO3BsYXBhbjtnYXRvcjMxMzUuaG9zdGdhdG9yLmNvbQ== X-Local-Domain: yes Received-SPF: pass client-ip=192.185.145.221; envelope-from=mbcladwell@stihie.net; helo=gateway33.websitewelcome.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/27 14:29:41 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.51 X-TUID: WqwKGHlbNS5p Quoting Efraim Flashner : > On Mon, Jul 27, 2020 at 06:52:52AM -0500, mbcladwell@stihie.net wrote: >> >> Hi, >> I would like to upgrade guile-json in my local store. >> I start with >> $guix pull >> $guix package -u (didn't do anything) >> [...] > Builds occur in a chrooted environment, so only the packages added in > the package definition are there. Try adding > > (inputs > `(("guile" ,guile))) > > to the package definition after the build-system line. and (gnu packages > guile) to the top with the other use-modules. > My guile-json now looks like: (use-modules (guix packages) (guix download) (guix build-system gnu) (guix licenses) (gnu packages guile) ) (package (name "guile-json") (version "4.3.2") (source (origin (method url-fetch) (uri (string-append "https://download.savannah.gnu.org/releases/guile-json/guile-json-" version ".tar.gz")) (sha256 (base32 "0255c7f053z4p9mqzhpxwbfx3y47j9nfvlgnm8xasdclyzmjl9y2")))) (build-system gnu-build-system) (inputs `(("guile" ,guile))) (synopsis "Hello, Guix world: An example custom Guix package") (description "GNU Hello prints the message \"Hello, world!\" and then exits. It serves as an example of standard GNU coding practices. As such, it supports command-line arguments, multiple languages, and so on.") (home-page "https://www.gnu.org/software/hello/") (license gpl3+)) The results: mbc@xps:~$ guix package --install-from-file=./Downloads/guile-json/guile-json.scm guix package: warning: Consider running 'guix pull' followed by 'guix package -u' to get up-to-date packages and security updates. The following package will be upgraded: guile-json 3.2.0 → 4.3.2 Backtrace: 1 (primitive-load "/usr/local/bin/guix") In guix/ui.scm: 1936:12 0 (run-guix-command _ . _) guix/ui.scm:1936:12: In procedure run-guix-command: error: guile: unbound variable Why doesn't the "Defining Packages" help (https://guix.gnu.org/manual/en/html_node/Defining-Packages.html) mention guile as an input? Are guile-2.0-dev packages needed in the Guix Store? From the error: Backtrace: 1 (primitive-load "/usr/local/bin/guix") "/usr/local/bin/guix", not ~/.config/guix/current/bin/guix as mentioned by Julien Lepiller. Is this my problem? Thanks Mortimer