From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: developing for guix with git Date: Wed, 03 Feb 2016 07:58:58 +0100 Message-ID: <874mdqi8jx.fsf@elephly.net> References: <87io2eszya.fsf@grrlz.net> <20160128222903.51f615c0@debian-netbook> <878u35bscu.fsf@grrlz.net> <87y4b5ia2y.fsf@elephly.net> <87egcupzt2.fsf@grrlz.net> <20160202235642.GA25435@jasmine> <87lh72haze.fsf@grrlz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQrPC-0003fC-Ak for help-guix@gnu.org; Wed, 03 Feb 2016 01:59:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQrP9-0007rp-4m for help-guix@gnu.org; Wed, 03 Feb 2016 01:59:10 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:25708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQrP8-0007rS-T0 for help-guix@gnu.org; Wed, 03 Feb 2016 01:59:07 -0500 In-reply-to: <87lh72haze.fsf@grrlz.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: Nils Gillmann Cc: help-guix@gnu.org Nils Gillmann writes: > Leo Famulari writes: > >> On Tue, Feb 02, 2016 at 10:28:25PM +0100, Nils Gillmann wrote: >>> Ricardo Wurmus writes: >>> >>> > Nils Gillmann writes: >>> > >>> >> Do you happen to know why guix in the situation I described, >>> >> being on an up to date branch following master refuses to build, >>> >> but once I switch to master branch, make clean, make clean-go (or >>> >> go-clean?) and run make (and the other commands) again it builds >>> >> successfully? This was my initial confusion. >>> > >>> > It’s hard to say without being able to take a look at the state of the >>> > branch. It is possible that a change you introduced in your branch >>> > broke things. Maybe you could share error messages? >>> >>> I'll inline all the things here now: >> >> [...] >> >>> ;;; ERROR: Unbound variable: git-fetch >> >> Did you import (guix git-download)? > > I am not sure. > Adding to the Email I just wrote to this thread, how would I do this? Leo means to add this to the file you have edited (lisp.scm). Currently, there’s only #:use-module (guix download) but you need to also add #:use-module (guix git-download) if you’re using the ‘git-fetch’ procedure. Because ‘git-fetch’ is undefined otherwise Guile fails to load “lisp.scm” and this failure cascades through everything else. It would certainly be nice if the actual error would appear on the last line instead of one of the errors resulting from not being able to load “lisp.scm”. ~~ Ricardo