GNU bug report logs - #25908
[PATCH, WIP] Add godot.

Previous Next

Package: guix-patches;

Reported by: Christopher Allan Webber <cwebber <at> dustycloud.org>

Date: Wed, 1 Mar 2017 04:47:02 UTC

Severity: normal

Tags: patch

Merged with 28380

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #8 received at 25908 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Christopher Allan Webber <cwebber <at> dustycloud.org>
Cc: 25908 <at> debbugs.gnu.org
Subject: Re: bug#25908: [PATCH, WIP] Add godot.
Date: Tue, 14 Mar 2017 10:28:13 +0100
Hi Chris!

Christopher Allan Webber <cwebber <at> dustycloud.org> skribis:

> This is still WIP, and unfortunately it doesn't work.  Here's the error
> I got:
>
>                  from ./drivers/pulseaudio/audio_driver_pulseaudio.h:36,
>                  from platform/x11/os_x11.h:46,
>                  from platform/x11/godot_x11.cpp:30:
>   /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
>   #include <linux/limits.h>

This is because, by default, SCons unsets environment variables (!), in
this case C_INCLUDE_PATH.

However:

> +             ;; By design, SCons does not, by default, propagate
> +             ;; environment variables to subprocesses.  See:
> +             ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
> +             ;; Here, we modify the SConstruct file to arrange for
> +             ;; environment variables to be propagated.
> +             (substitute* "SConstruct"
> +               (("env = Environment\\(\\)")
> +                "env = Environment(ENV=os.environ)")

this should definitely take care of that.

Could it be that the regexp doesn’t match or something?

HTH!

Ludo’.




This bug report was last modified 7 years and 308 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.