Manolis Ragkousis <[email protected]> skribis:
> When trying to build coreutils for i686-pc-gnu, building
> cross-gcc-4.8.3 with glibc-hurd fails with:
>
> In unknown file:
> ?: 0 [string-append
> "/gnu/store/1hl59s1pikplwfgclw4mlk38pkx3pc72-glibc-hurd-cross-i686-pc-gnu-2.18"
> ...]
>
> ERROR: In procedure string-append:
> ERROR: In procedure string-append: Wrong type (expecting string): #f
>
> It shouldn't fail because glibc/hurd is in the path.
>From the log you sent, it’s the ‘set-cross-path’ phase (of the
cross-gcc) that’s failing.
In cross-base.scm (in master), one of them is like this:
(setenv "CROSS_CPATH"
(string-append libc "/include:"
linux "/include"))
Could it be that in your case ‘linux’ above is #f, hence the error?
HTH,
Ludo’.