Subject: bug#44924: guix build u-boot-pinebook --with-git-url failed due to "source" in C_INCLUDE_PATH

From: Ludovic Courtès <[email-masked]>
Date: Thu, 03 Dec 2020 17:58:03 +0100

Hi,

宋文武 <[email-masked]> skribis:

> Running:
>   guix build u-boot-pinebook \
>     --with-git-url=u-boot-pinebook=https://github.com/u-boot/u-boot
>
> Would fail with "fatal error: asm/string.h: No such file or directory".
>
> And it's caused by the first entry in C_INCLUDE_PATH, which is
> "/gnu/store/xxx-u-boot-xxx/include".

Why don’t we have that problem when omitting ‘--with-git-url’?

> I think we should filter out "source" in `set-paths` of the
> `gnu-build-system`.

Yes, sounds like a good idea.  We can do it in ‘core-updates’.

Thanks,
Ludo’.