All of lore.kernel.org
 help / color / mirror / Atom feed
* Build fails with missing save-cwd.h header
@ 2019-03-25  9:50 John Paul Adrian Glaubitz
  2019-03-25 11:34 ` Daniel Kiper
  0 siblings, 1 reply; 4+ messages in thread
From: John Paul Adrian Glaubitz @ 2019-03-25  9:50 UTC (permalink / raw)
  To: The development of GNU GRUB

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.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build fails with missing save-cwd.h header
  2019-03-25  9:50 Build fails with missing save-cwd.h header John Paul Adrian Glaubitz
@ 2019-03-25 11:34 ` Daniel Kiper
  2019-03-25 12:04   ` Colin Watson
  2019-03-25 12:40   ` John Paul Adrian Glaubitz
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Kiper @ 2019-03-25 11:34 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz; +Cc: The development of GNU GRUB

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build fails with missing save-cwd.h header
  2019-03-25 11:34 ` Daniel Kiper
@ 2019-03-25 12:04   ` Colin Watson
  2019-03-25 12:40   ` John Paul Adrian Glaubitz
  1 sibling, 0 replies; 4+ messages in thread
From: Colin Watson @ 2019-03-25 12:04 UTC (permalink / raw)
  To: grub-devel

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]


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build fails with missing save-cwd.h header
  2019-03-25 11:34 ` Daniel Kiper
  2019-03-25 12:04   ` Colin Watson
@ 2019-03-25 12:40   ` John Paul Adrian Glaubitz
  1 sibling, 0 replies; 4+ messages in thread
From: John Paul Adrian Glaubitz @ 2019-03-25 12:40 UTC (permalink / raw)
  To: grub-devel

On 3/25/19 12:34 PM, Daniel Kiper wrote:
>> 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, for some reason I forgot about that. Builds fine with my patch
on sparc64 on Debian unstable now.

Now for some testing on various PowerPC targets.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-25 12:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-25  9:50 Build fails with missing save-cwd.h header John Paul Adrian Glaubitz
2019-03-25 11:34 ` Daniel Kiper
2019-03-25 12:04   ` Colin Watson
2019-03-25 12:40   ` John Paul Adrian Glaubitz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.