From: ludo@gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita@karetnikov.org>
Cc: bug-guix@gnu.org
Subject: Re: Cross-building GHC
Date: Fri, 17 May 2013 15:31:50 +0200 [thread overview]
Message-ID: <87vc6h68c9.fsf@gnu.org> (raw)
In-Reply-To: <8738tm8d7b.fsf@karetnikov.org> (Nikita Karetnikov's message of "Fri, 17 May 2013 08:03:52 +0400")
Nikita Karetnikov <nikita@karetnikov.org> 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.
HTH,
Ludo’.
prev parent reply other threads:[~2013-05-17 13:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-09 12:23 Cross-building GHC Nikita Karetnikov
2013-03-14 17:32 ` Ludovic Courtès
2013-03-14 19:12 ` Nikita Karetnikov
2013-03-14 23:20 ` Ludovic Courtès
2013-05-16 8:04 ` Nikita Karetnikov
2013-05-16 18:16 ` Ludovic Courtès
2013-05-17 4:03 ` Nikita Karetnikov
2013-05-17 13:31 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vc6h68c9.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=bug-guix@gnu.org \
--cc=nikita@karetnikov.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).