problem building HEAD out of the box.

Ben Lippmeier Ben.Lippmeier at anu.edu.au
Thu Sep 4 22:54:32 EDT 2008


Alright, on further investigation it turns out this problem was due to  
my /bin/sh being a link to the dash shell instead of bash.

The IT people here have recently upgraded our linux distro, and http://wiki.ubuntu.com/DashAsBinSh 
  says that from Ubuntu 6.10 they're using /bin/dash instead of /bin/ 
bash. The page says that dash is supposed to be Posix compliant, but I  
guess the GHC scripts aren't.

I didn't work out exactly what part of the GHC build tickles this bug,  
but I'll add a warning to the wiki page.

Thanks,
Ben.



On 26/08/2008, at 7:44 PM, Ian Lynagh wrote:

>
> Hi Ben,
>
> On Tue, Aug 26, 2008 at 01:21:25PM +1000, Ben Lippmeier wrote:
>>
>> --------------------------------------------
>> -- it runs for a while then gives:
>> --------------------------------------------
>>
>> checking for strspn... yes
>> updating cache ./config.cache
>> creating ./config.status
>> creating Makefile
>> creating rdoff/Makefile
>> creating doc/Makefile
>> touch stamp.ffi
>> cp build/include/ffi.h .
>> cp: cannot stat `build/include/ffi.h': No such file or directory
>> make[1]: *** [ffi.h] Error 1
>> make[1]: Leaving directory `/home/benl/devel/ghc/ghc/libffi'
>> make: *** [stage1] Error 2
>
> This is very peculiar. My configure output ends
>   checking assembler .cfi pseudo-op support... yes
>   checking whether .eh_frame section should be read-only... yes
>   config.status: executing depfiles commands
>   config.status: executing include commands
>   config.status: executing src commands
>   touch stamp.ffi
>   cp build/include/ffi.h .
> and I can find no trace of "rdoff" anywhere (in the whole log or  
> source
> tree).
>
> What does
>   make show VALUE=SHELL
> say?



More information about the Cvs-ghc mailing list