From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Mickey Subject: Re: The problem of "guix build emacs --with-source=./emacs" Date: Thu, 12 Nov 2015 13:43:35 -0800 Message-ID: <87k2pmvqpk.fsf@codemac.net> References: <2f020585.3812.150f963f90c.Coremail.tumashu@163.com> <87oaezz8l2.fsf@gnu.org> <87pozf2fcf.fsf@codemac.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwzeg-0003rK-Hv for guix-devel@gnu.org; Thu, 12 Nov 2015 16:43:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zwzeb-0005FT-Lr for guix-devel@gnu.org; Thu, 12 Nov 2015 16:43:42 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:52961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwzeb-0005FJ-DE for guix-devel@gnu.org; Thu, 12 Nov 2015 16:43:37 -0500 In-Reply-To: <87pozf2fcf.fsf@codemac.net> 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Forgot to CC the list... * Ludovic Court=C3=A8s [2015-11-12 04:49]: > tumashu skribis: > >> When I use the below command to build emacs from emacs.git >> >> guix build emacs --with-source=3D./emacs (emacs dir is= git repo) >> >> Build fail, after i remove the .git, build success. > > Could you explain how it fails exactly, and post the tail of the > build log? > >> The repo of emacs.git is 1.5G, is it the reason? > > I don=E2=80=99t think so. That certainly makes it a bad option, though. > > Thanks, > Ludo=E2=80=99. Isn't the emacs/.git dir is included in the hash calculation if it's left in there? I believe that guix calculates these hashes without the .git dir IIRC. Not sure of great ways to work around this without moving the './emacs/.git' dir outside of ./emacs during your build, as .git dirs contain all kinds of non-reproducible state on disk // codemac