[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-building GHC

From: Ludovic Courtès
Subject: Re: Cross-building GHC
Date: Fri, 17 May 2013 15:31:50 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

> There is a new problem.  'make bootstrapping-files' fails:
> make -r --no-print-directory -f ghc.mk bootstrapping-files
> [...]
> /usr/bin/find: `libraries/haskeline/dist-install/build': No such file or 
> directory
> /usr/bin/find: `libraries/haskeline/dist-install/build': No such file or 
> directory
> /usr/bin/find: `libraries/integer-gmp/dist-install/build': No such file or 
> directory

So you’re not building with Guix, right?

> mkdir inplace
> mkdir inplace/bin
> mkdir inplace/lib
> "rm" -f inplace/bin/mkdirhier  
> echo '#!/bin/sh'               >> inplace/bin/mkdirhier
> cat utils/mkdirhier/mkdirhier.sh >> inplace/bin/mkdirhier
> chmod +x inplace/bin/mkdirhier
> Creating includes/ghcautoconf.h...
> Done.
> "rm" -f includes/ghcplatform.h  
> Creating includes/ghcplatform.h...
> Done.
> "inplace/bin/mkdirhier" includes/dist-derivedconstants/build//.
>   CC includes/dist-derivedconstants/build/mkDerivedConstants.o
> "inplace/bin/mkdirhier" includes/dist-derivedconstants/build/tmp//.
> /bin/sh: Syntax error: Unterminated quoted string
> make[1]: *** [includes/dist-derivedconstants/build/tmp/mkDerivedConstants] 
> Error 2
> make: *** [bootstrapping-files] Error 2

To start with, you could try to find out why /usr/bin/find reports
non-existent directory (above), possibly by checking previous messages
in the build log.  This could be because our cross-compiler somehow
failed before, and that error was silently ignored by GHC’s build
system, for instance.  Or it could be a GHC issue.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]