Received: from list by lists.gnu.org with archive (Exim 4.71) id 1h8OLL-00045I-Fc for mharc-grub-devel@gnu.org; Mon, 25 Mar 2019 08:04:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8OLG-00043T-Vd for grub-devel@gnu.org; Mon, 25 Mar 2019 08:04:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h8OLF-0001XT-Gd for grub-devel@gnu.org; Mon, 25 Mar 2019 08:04:38 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:48845) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h8OLF-0001VB-8F for grub-devel@gnu.org; Mon, 25 Mar 2019 08:04:37 -0400 Received: from 139.35.155.90.in-addr.arpa ([90.155.35.139] helo=riva.pelham.vpn.ucam.org) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1h8OLD-0001A0-H8 for grub-devel@gnu.org; Mon, 25 Mar 2019 12:04:35 +0000 Received: from ns1.pelham.vpn.ucam.org ([172.20.153.2] helo=riva.ucam.org) by riva.pelham.vpn.ucam.org with esmtp (Exim 4.89) (envelope-from ) id 1h8OLB-0007xQ-SZ for grub-devel@gnu.org; Mon, 25 Mar 2019 12:04:34 +0000 Date: Mon, 25 Mar 2019 12:04:33 +0000 From: Colin Watson To: grub-devel@gnu.org Subject: Re: Build fails with missing save-cwd.h header Message-ID: <20190325120411.n7ep52k5eebe2b7j@riva.ucam.org> References: <20190325113449.63wkqfwhnl7wryab@tomti.i.net-space.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190325113449.63wkqfwhnl7wryab@tomti.i.net-space.pl> User-Agent: NeoMutt/20170113 (1.7.2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 91.189.89.112 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 12:04:42 -0000 On Mon, Mar 25, 2019 at 12:34:49PM +0100, Daniel Kiper wrote: > On Mon, Mar 25, 2019 at 10:50:30AM +0100, John Paul Adrian Glaubitz wrote: > > 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? Right, Adrian, you just need to change your habits to run ./bootstrap instead of ./autogen.sh as of a few weeks ago. See: https://git.savannah.gnu.org/cgit/grub.git/commit/?id=35b909062e7b334eb4af372be3260d0f62d85375 -- Colin Watson [cjwatson@ubuntu.com]