From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gI03BnzbdV9DGAAA0tVLHw (envelope-from ) for ; Thu, 01 Oct 2020 13:37:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eBQXAnzbdV+tSgAAbx9fmQ (envelope-from ) for ; Thu, 01 Oct 2020 13:37:00 +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 8BE809402A3 for ; Thu, 1 Oct 2020 13:36:59 +0000 (UTC) Received: from localhost ([::1]:49884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNylW-0003ul-A0 for larch@yhetil.org; Thu, 01 Oct 2020 09:36:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNyl8-0003uV-E8 for guix-devel@gnu.org; Thu, 01 Oct 2020 09:36:34 -0400 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:38735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNyl5-0001CI-Oo for guix-devel@gnu.org; Thu, 01 Oct 2020 09:36:34 -0400 Received: by mail-pf1-x444.google.com with SMTP id l126so4516798pfd.5 for ; Thu, 01 Oct 2020 06:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=Pwt0UGum5O4YbnGU8pDTPSuGPMJZ7sfULVpIlRdawGk=; b=Tme7KQjzLAXdWrwr0420LTlGItj1cW79Qmpvz5yXc7p4WWj0K3IH8K4czKR8lQsPY6 BadnOnG9TkEHJx/MedSeKB1XNpwWjMs8y6I/97pt8gePVDFe9dQuOElXfOhzBREQ0oiv CMIcxuU0gcnsfxcUuL7SJponecUARqOYG5c4S14Yp57ht1ozFErqKwRgbcovcpuVyM2P +b1nSUbjx9SnJAZCKRoYcWXrEhwuGsc1Hv9N2gKBAU1+eE3HL+D9yH5A6CV4MouxrOYG miUGq9r28H/Jzn2F7CeRM7o/kY2LdEQDXdhtxRH9NGOIFOw8hhMFqben5khtsFPcKpbB 5X9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Pwt0UGum5O4YbnGU8pDTPSuGPMJZ7sfULVpIlRdawGk=; b=Nw9nU/4YLld6ZbXjt/tS0/gHJanZ8JW7nhXzlUdeloh86hQnttvseFe++ui0Bdx3u+ 9DGQjQosejPjsVer5ttGTqZ+kAa4Vgm7EMbFu3RmxKce+lMw4FhnTST6kE13vuyXRP5o 0D6haa6cgFrwqza4hfY/0jekYjhK95quCr0NC+P0z//5BKmaPoW08ujYgvXcf81B/HZg jor1hZRh3UGPeMWHM7jv6m9SLceeH1SsIfY0O6zwrHOx8n81O5j9MbMx4Z13L037JrsZ +zjNk2VjSq4/RvGIpgdveamp61pJi6yB6Sij5Fkuvqhx7ru6uU3g75jSoTmwqtuujF6e pX6w== X-Gm-Message-State: AOAM531d6fpCtFWjU9V0mFku1aCPYNKSyClP/e9gBv0qHBpY3iRfR86T aBrL0mcKr6uNhkvk1byJIhU= X-Google-Smtp-Source: ABdhPJz+ucZwt8EtRYhsXRkzflqqkZvmjxx9nuRf+O2alXTMBj4SORQsOATyijTAyYuwioQlonryeg== X-Received: by 2002:a62:1e81:0:b029:142:2dad:a68 with SMTP id e123-20020a621e810000b02901422dad0a68mr7267910pfe.5.1601559389688; Thu, 01 Oct 2020 06:36:29 -0700 (PDT) Received: from [192.168.1.25] ([38.141.58.134]) by smtp.gmail.com with ESMTPSA id f6sm6512056pfq.82.2020.10.01.06.36.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Oct 2020 06:36:28 -0700 (PDT) Subject: Re: Guix-devel Digest, Vol 88, Issue 1 To: guix-devel@gnu.org References: From: Jesse Gibbons Message-ID: <0ef4bcd4-14ee-7d60-d4c1-8245afc88ca0@gmail.com> Date: Thu, 1 Oct 2020 07:36:27 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::444; envelope-from=jgibbons2357@gmail.com; helo=mail-pf1-x444.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.26, 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: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=Tme7KQjz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: EToz+WZFg9Bx > ------------------------------ > > Message: 7 > Date: Thu, 1 Oct 2020 11:07:41 +0200 > From: Denis 'GNUtoo' Carikli > To: guix-devel@gnu.org > Subject: How to build Guix to send a patch when Guix build fails? > Message-ID: <20201001110741.1bb8254c@primarylaptop.localdomain> > Content-Type: text/plain; charset="utf-8" > > Hi, Hello > > I'd like to send a patch to add a bootloader (u-boot) package for a > single board computer. The patch is trivial and it's already > ready. > > However before sending the patch, I'm supposed to build it within Guix > source code and to test it. > > I've been trying many variations of 'guix environment --pure guix > --ad-hoc ' during many many hours, but I still didn't > manage to build Guix. I always have the failure that is in the > build.log that I attached. > > I've the patch I attached on top of the following commit: >> 51eb3e113c gnu: linux-libre 4.19: Update to 4.19.148. > And I did the following commands last night when trying to build Guix: >> $ guix pull >> $ guix package -u > I did it with the following hardware and distributions configurations: > - Architecture: i686 > - Host distribution: Parabola i686 with a x86_64 kernel (5.7.2-gnu-1-64) > - Guix architecture: i686 > > Is there a command that is known to work to build Guix in a way that > doesn't use any of the host packages? Are you following the directions in the manual? cd /path/to/local/guix/repository/with/changes guix environment guix (within the environment) ./bootstrap #unfortunately the next critical line is not in the manual ./configure --localstatedir=/var make ./pre-inst-env guix build > I also tried on another machine with the following configuration: > - Architecture: x86-64 > - Host distribution: Parabola x86_64 without guile-json installed > - Guix architecture: x86_64 > - Guix environment command: 'guix environment --pure guix --ad-hoc > guile-json > > And it wouldn't pick Guix's guile-json, so I assume that for some > reason it tried to use the host's packages somehow. In that environment, check the value of $GUILE_LOAD_PATH. I'm trying it, and I see it is empty. That can't be right... > > As I was told on IRC, building Guix from Guix latest revision is > supposed to work. However if during the build it really uses > packages from my host distribution (Parabola), then there might be some > combination of packages that makes it fail, so here I hope that with > the right guix environment command it would build. > > Denis. -Jesse