From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1h8Nsd-00089s-6R for mharc-grub-devel@gnu.org; Mon, 25 Mar 2019 07:35:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8Nsb-00089T-Bk for grub-devel@gnu.org; Mon, 25 Mar 2019 07:35:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h8Nsa-0004Nm-6S for grub-devel@gnu.org; Mon, 25 Mar 2019 07:35:01 -0400 Received: from dibed.net-space.pl ([84.10.22.86]:55967) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1h8NsZ-0004Jm-Qy for grub-devel@gnu.org; Mon, 25 Mar 2019 07:35:00 -0400 Received: from router-fw.i.net-space.pl ([192.168.52.1]:59180 "EHLO tomti.i.net-space.pl") by router-fw-old.i.net-space.pl with ESMTP id S1000641AbfCYLew (ORCPT ); Mon, 25 Mar 2019 12:34:52 +0100 X-Comment: RFC 2476 MSA function at dibed.net-space.pl logged sender identity as: dkiper Date: Mon, 25 Mar 2019 12:34:49 +0100 From: Daniel Kiper To: John Paul Adrian Glaubitz Cc: The development of GNU GRUB Subject: Re: Build fails with missing save-cwd.h header Message-ID: <20190325113449.63wkqfwhnl7wryab@tomti.i.net-space.pl> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 84.10.22.86 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2019 11:35:02 -0000 On Mon, Mar 25, 2019 at 10:50:30AM +0100, John Paul Adrian Glaubitz wrote: > Hi! > > I'm currently test-building GRUB on various architectures to make sure it builds > fine when 2.04 is released. Currently, I am always running into an issue with > the "save-cwd.h" header missing: > > grub-core/osdep/unix/getroot.c:117:10: fatal error: save-cwd.h: No such file or directory > #include "save-cwd.h" > ^~~~~~~~~~~~ > > I'm building with: > > $ make clean && ./autogen.sh && ./configure && make -j16 > > Before digging through code myself, I was wondering whether I am missing something > obvious, although it looks like we're missing the include path being passed to > the compiler where save-cwd.h is sitting in the source tree. Could you clone clean GRUB git repo and run ./bootstrap instead of ./autogen.sh? Daniel