# Pastebin 3GNmkKGr @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/5j97gzb5wiahjji0m6l0jvzmiazjmch9-ghc-8.4.2-src.tar.xz source root is ghc-8.4.2 setting SOURCE_DATE_EPOCH to timestamp 1523988277 of file ghc-8.4.2/utils/hpc/HpcParser.hs @nix { "action": "setPhase", "phase": "patchPhase" } patching sources patching script interpreter paths in . ./configure: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./install-sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./distrib/mkDocs/mkDocs: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libffi/ln: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/directory/configure: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/directory/tools/testctl: interpreter directive changed from "/usr/bin/env python" to "/nix/store/96wn2gz3mwi71gwcrvpfg39bsymd7gqx-python3-3.6.5/bin/python" ./libraries/directory/tools/retry: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/directory/tools/testscript: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/terminfo/configure: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/stm/tests/runtests.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash" ./libraries/binary/Setup.lhs: interpreter directive changed from "/usr/bin/env runhaskell" to "/nix/store/2awzayqw28x00pahr9qqn163sdkwy8zx-ghc-8.2.1-binary/bin/runhaskell" ./libraries/base/configure: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/process/configure: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/integer-gmp/configure: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/integer-gmp/install-sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/integer-gmp/gmp/gmp-tarballs/build-nodoc-tarball: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/integer-gmp/gmp/ln: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/integer-gmp/config.guess: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/integer-gmp/config.sub: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/containers/benchmarks/bench-cmp.pl: interpreter directive changed from "/usr/bin/perl" to "/nix/store/cxdmh98g0lvl1dyq304c1lq7f90dh01f-perl-5.24.3/bin/perl" ./libraries/containers/benchmarks/bench-cmp.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/travis/upload.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/travis/binaries/travis-test.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkVersion/bin/ghc-7.10: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkVersion/bin/ghc-pkg-ghc-7.10: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectory/ghc: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectory/ghc-pkg: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryGhcVersion/ghc-7.10: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryGhcVersion/ghc-pkg-ghc-7.10: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/Symlink/bin/ghc: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/Symlink/bin/ghc-pkg: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryVersion/ghc-7.10: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryVersion/ghc-pkg-7.10: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkGhcVersion/bin/ghc-7.10: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkGhcVersion/bin/ghc-pkg-7.10: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-testsuite/PackageTests/BuildTools/Foreign/my-foreign-preprocessor: interpreter directive changed from "/usr/bin/env sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/travis-meta.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/travis-install.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/cabal-install/bootstrap.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/travis-stack.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/travis-bootstrap.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/validate.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/travis-deploy.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/Cabal/misc/travis-diff-files.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/Cabal/misc/gen-authors.sh: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/travis-solver-debug-flags.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/travis-script.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/Cabal/update-cabal-files.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/unix/configure: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/unix/install-sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/unix/config.guess: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/unix/config.sub: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./libraries/text/tests/scripts/cover-stdio.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash" ./libraries/text/tests/literal-rule-test.sh: interpreter directive changed from "/bin/bash -e" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash -e" ./libraries/text/benchmarks/python/utils.py: interpreter directive changed from "/usr/bin/env python" to "/nix/store/96wn2gz3mwi71gwcrvpfg39bsymd7gqx-python3-3.6.5/bin/python" ./libraries/text/benchmarks/python/multilang.py: interpreter directive changed from "/usr/bin/env python" to "/nix/store/96wn2gz3mwi71gwcrvpfg39bsymd7gqx-python3-3.6.5/bin/python" ./libraries/time/configure: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./mk/get-win32-tarballs.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash" ./config.guess: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./config.sub: interpreter directive changed from " /bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./utils/llvm-targets/gen-data-layout.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash" ./utils/checkUniques/check-uniques.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/96wn2gz3mwi71gwcrvpfg39bsymd7gqx-python3-3.6.5/bin/python3" ./utils/vagrant/bootstrap-rhel.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./utils/vagrant/bootstrap-deb.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh" ./utils/haddock/Setup.lhs: interpreter directive changed from "/usr/bin/env runhaskell" to "/nix/store/2awzayqw28x00pahr9qqn163sdkwy8zx-ghc-8.2.1-binary/bin/runhaskell" ./utils/haddock/haddock-test/Setup.lhs: interpreter directive changed from "/usr/bin/env runhaskell" to "/nix/store/2awzayqw28x00pahr9qqn163sdkwy8zx-ghc-8.2.1-binary/bin/runhaskell" ./utils/haddock/latex-test/run: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash" ./utils/haddock/hoogle-test/run: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash" ./utils/haddock/haddock-api/Setup.lhs: interpreter directive changed from "/usr/bin/env runhaskell" to "/nix/store/2awzayqw28x00pahr9qqn163sdkwy8zx-ghc-8.2.1-binary/bin/runhaskell" ./utils/haddock/html-test/run: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash" ./utils/haddock/hypsrc-test/run: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash" ./boot: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/96wn2gz3mwi71gwcrvpfg39bsymd7gqx-python3-3.6.5/bin/python3" @nix { "action": "setPhase", "phase": "configurePhase" } configuring configure flags: --prefix=/nix/store/kn5rky2rqx1i7lx3r3kvh82hycqs2drj-aarch64-unknown-linux-android-ghc-8.4.2 --bindir=/nix/store/kn5rky2rqx1i7lx3r3kvh82hycqs2drj-aarch64-unknown-linux-android-ghc-8.4.2/bin --sbindir=/nix/store/kn5rky2rqx1i7lx3r3kvh82hycqs2drj-aarch64-unknown-linux-android-ghc-8.4.2/sbin --includedir=/nix/store/kn5rky2rqx1i7lx3r3kvh82hycqs2drj-aarch64-unknown-linux-android-ghc-8.4.2/include --oldincludedir=/nix/store/kn5rky2rqx1i7lx3r3kvh82hycqs2drj-aarch64-unknown-linux-android-ghc-8.4.2/include --mandir=/nix/store/kn5rky2rqx1i7lx3r3kvh82hycqs2drj-aarch64-unknown-linux-android-ghc-8.4.2/share/man --infodir=/nix/store/kn5rky2rqx1i7lx3r3kvh82hycqs2drj-aarch64-unknown-linux-android-ghc-8.4.2/share/info --docdir=/nix/store/c9sz9fcyk58gwcff8kakbn8shcjgzdrv-aarch64-unknown-linux-android-ghc-8.4.2-doc/share/doc/aarch64-unknown-linux-android-ghc --libdir=/nix/store/kn5rky2rqx1i7lx3r3kvh82hycqs2drj-aarch64-unknown-linux-android-ghc-8.4.2/lib --libexecdir=/nix/store/kn5rky2rqx1i7lx3r3kvh82hycqs2drj-aarch64-unknown-linux-android-ghc-8.4.2/libexec --localedir=/nix/store/kn5rky2rqx1i7lx3r3kvh82hycqs2drj-aarch64-unknown-linux-android-ghc-8.4.2/share/locale --datadir=\$doc/share/doc/ghc --with-curses-includes=/nix/store/iljl2gmdhgx9m8dxj93jzrmm0c103ppv-ncurses-6.1-dev/include --with-curses-libraries=/nix/store/v4fkzi98745wi8psjdvfsp8nn6ygx9ww-ncurses-6.1/lib --enable-bootstrap-with-devel-snapshot --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=aarch64-unknown-linux-android configure: WARNING: unrecognized options: --with-curses-includes checking for gfind... no checking for find... /nix/store/n7km6qpl46bd9lkvf9cvzwv6gks7szls-findutils-4.6.0/bin/find checking for sort... /nix/store/jy9knxp7nmw80jkf932axrs1b4p9k4hi-coreutils-8.29/bin/sort checking for GHC Git commit id... given 28595b7ab619d9a812cce23a546d7deabb486372 checking for ghc... /nix/store/2awzayqw28x00pahr9qqn163sdkwy8zx-ghc-8.2.1-binary/bin/ghc checking version of ghc... 8.2.1 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... aarch64-unknown-linux-android GHC build : x86_64-unknown-linux GHC host : x86_64-unknown-linux GHC target : aarch64-unknown-linux-android LLVM target: aarch64-unknown-linux-android checking for path to top of build tree... /tmp/nix-build-aarch64-unknown-linux-android-ghc-8.4.2.drv-1/ghc-8.4.2 checking for aarch64-unknown-linux-android-gcc... /nix/store/xd2zkwwybfdiymgm4l1mlzzy8ii7fb0b-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /nix/store/xd2zkwwybfdiymgm4l1mlzzy8ii7fb0b-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-cc accepts -g... yes checking for /nix/store/xd2zkwwybfdiymgm4l1mlzzy8ii7fb0b-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-cc option to accept ISO C89... none needed checking how to run the C preprocessor... /nix/store/xd2zkwwybfdiymgm4l1mlzzy8ii7fb0b-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-cc -E checking for grep that handles long lines and -e... /nix/store/z2g1kvn7rflq65y5j2ayd7xp7gvbhdi2-gnugrep-3.1/bin/grep checking for egrep... /nix/store/z2g1kvn7rflq65y5j2ayd7xp7gvbhdi2-gnugrep-3.1/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to run the C preprocessor... /nix/store/xd2zkwwybfdiymgm4l1mlzzy8ii7fb0b-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-cc -E checking for /nix/store/xd2zkwwybfdiymgm4l1mlzzy8ii7fb0b-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-cc option to accept ISO C99... -std=gnu99 checking for gcc option to accept ISO C99... none needed checking for /nix/store/xd2zkwwybfdiymgm4l1mlzzy8ii7fb0b-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-cc option to accept ISO C99... -std=gnu99 checking for /nix/store/xd2zkwwybfdiymgm4l1mlzzy8ii7fb0b-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-cc option to accept ISO C99... -std=gnu99 checking for aarch64-unknown-linux-android-ld... /nix/store/g2k28kssbaww4n1bgyxl6x24fw7n99lc-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-ld checking whether ld is GNU ld... YES checking whether ld understands --build-id... yes checking whether ld understands -no_compact_unwind... yes checking whether ld understands -filelist... no checking for aarch64-unknown-linux-android-nm... /nix/store/nlxiymw1l1c544l1h5f66n5n0rik1wiz-ndk-gcc-binutils/bin/aarch64-unknown-linux-android-nm checking for aarch64-unknown-linux-android-ranlib... /nix/store/nlxiymw1l1c544l1h5f66n5n0rik1wiz-ndk-gcc-binutils/bin/aarch64-unknown-linux-android-ranlib checking for aarch64-unknown-linux-android-strip... /nix/store/nlxiymw1l1c544l1h5f66n5n0rik1wiz-ndk-gcc-binutils/bin/aarch64-unknown-linux-android-strip checking for aarch64-unknown-linux-android-libtool... no checking for aarch64-unknown-linux-android-clang... no checking for aarch64-unknown-linux-android-llc-5.0... no checking for aarch64-unknown-linux-android-llc... no checking for llc-5.0... no checking for llc... llc configure: WARNING: using cross tools not prefixed with host triplet checking llc is version 5.0... yes checking for aarch64-unknown-linux-android-opt-5.0... no checking for aarch64-unknown-linux-android-opt... no checking for opt-5.0... no checking for opt... opt checking opt is version 5.0... yes checking whether #! works in shell scripts... yes checking for perl... /nix/store/cxdmh98g0lvl1dyq304c1lq7f90dh01f-perl-5.24.3/bin/perl checking version of gcc... 4.9 checking whether GCC supports -no-pie... no checking whether GCC supports __atomic_ builtins... no checking for extra options to pass gcc when compiling via C... -fwrapv -fno-builtin checking whether C compiler is clang... no checking whether C compiler has an LLVM back end... no checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done checking for .subsections_via_symbols... no checking whether your assembler supports .ident directive... yes checking for GNU non-executable stack support... yes checking for a working context diff... diff -U 1 checking for a BSD-compatible install... /nix/store/jy9knxp7nmw80jkf932axrs1b4p9k4hi-coreutils-8.29/bin/install -c checking for aarch64-unknown-linux-android-ar... aarch64-unknown-linux-android-ar checking whether aarch64-unknown-linux-android-ar is GNU ar... yes checking for ar arguments... q checking whether aarch64-unknown-linux-android-ar supports @file... yes checking for aarch64-unknown-linux-android-ranlib... (cached) /nix/store/nlxiymw1l1c544l1h5f66n5n0rik1wiz-ndk-gcc-binutils/bin/aarch64-unknown-linux-android-ranlib checking whether ln -s works... yes checking for gsed... no checking for sed... /nix/store/p844gl2lb267aii2jdv5bqx4ph68l25m-gnused-4.4/bin/sed checking for time... no checking for gnutar... no checking for gtar... no checking for tar... /nix/store/inn1myxkdnw11k8bzfs32bjm9w1w90jy-gnutar-1.30/bin/tar checking for bzip2... /nix/store/9bf6jxxj81bncbakjr3hc27gj4q5smxl-bzip2-1.0.6.0.1-bin/bin/bzip2 checking for gzip... /nix/store/hvphri1bqkr0hv5fbmbwwbwlpdv0vfgv-gzip-1.9/bin/gzip checking for pxz... no checking for xz... /nix/store/f6khwaaz3lzl56x6njw9h88gfw9ns32v-xz-5.2.3-bin/bin/xz checking for gpatch... no checking for patch... /nix/store/i8jf94bakczr80c7x1jwsvqq9p9qj9l4-patch-2.7.6/bin/patch checking for dtrace... no checking for HsColour... no checking for sphinx-build... no checking for version of sphinx-build... configure: WARNING: Sphinx version 1.0.0 or later is required to build documentation checking for xelatex... no checking for ghc-pkg matching /nix/store/2awzayqw28x00pahr9qqn163sdkwy8zx-ghc-8.2.1-binary/bin/ghc... /nix/store/2awzayqw28x00pahr9qqn163sdkwy8zx-ghc-8.2.1-binary/bin/ghc-pkg checking for happy... /nix/store/r9shf3rjjyf06yn9jx16pyjby07xz4gk-happy-1.19.9/bin/happy checking for version of happy... 1.19.9 checking for alex... /nix/store/sh35vzs8ia83a8285p1fygpnp3xpkad4-alex-3.2.4/bin/alex checking for version of alex... 3.2.4 checking for ANSI C header files... (cached) yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nlist.h usability... no checking nlist.h presence... no checking for nlist.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... no checking sys/timeb.h presence... no checking for sys/timeb.h... no checking sys/timerfd.h usability... yes checking sys/timerfd.h presence... yes checking for sys/timerfd.h... yes checking sys/timers.h usability... no checking sys/timers.h presence... no checking for sys/timers.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for sys/cpuset.h... no checking whether time.h and sys/time.h may both be included... yes checking for long long... yes checking size of char... 1 checking for char... yes checking alignment of char... 1 checking size of double... 8 checking for double... yes checking alignment of double... 8 checking size of float... 4 checking for float... yes checking alignment of float... 4 checking size of int... 4 checking for int... yes checking alignment of int... 4 checking size of long... 8 checking for long... yes checking alignment of long... 8 checking size of long long... 8 checking for long long... (cached) yes checking alignment of long long... 8 checking size of short... 2 checking for short... yes checking alignment of short... 2 checking size of unsigned char... 1 checking for unsigned char... yes checking alignment of unsigned char... 1 checking size of unsigned int... 4 checking for unsigned int... yes checking alignment of unsigned int... 4 checking size of unsigned long... 8 checking for unsigned long... yes checking alignment of unsigned long... 8 checking size of unsigned long long... 8 checking for unsigned long long... yes checking alignment of unsigned long long... 8 checking size of unsigned short... 2 checking for unsigned short... yes checking alignment of unsigned short... 2 checking size of void *... 8 checking for void *... yes checking alignment of void *... 8 checking size of int8_t... 1 checking for int8_t... yes checking alignment of int8_t... 1 checking size of uint8_t... 1 checking for uint8_t... yes checking alignment of uint8_t... 1 checking size of int16_t... 2 checking for int16_t... yes checking alignment of int16_t... 2 checking size of uint16_t... 2 checking for uint16_t... yes checking alignment of uint16_t... 2 checking size of int32_t... 4 checking for int32_t... yes checking alignment of int32_t... 4 checking size of uint32_t... 4 checking for uint32_t... yes checking alignment of uint32_t... 4 checking size of int64_t... 8 checking for int64_t... yes checking alignment of int64_t... 8 checking size of uint64_t... 8 checking for uint64_t... yes checking alignment of uint64_t... 8 checking for WinExec... no checking for GetModuleFileName... no checking for getclock... no checking for getrusage... yes checking for gettimeofday... yes checking for setitimer... yes checking for siginterrupt... yes checking for sysconf... yes checking for times... yes checking for ctime_r... yes checking for sched_setaffinity... yes checking for setlocale... yes checking whether ctime_r is declared... yes checking for closedir in -lmingwex... no checking for atan in -lm... yes checking for dlopen in -ldl... yes checking for dlopen in -ldl... (cached) yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking whether float word order is big endian... no checking for nlist in -lelf... no checking leading underscore in symbol names... no checking whether __attribute__((visibility("hidden"))) is supported... yes checking for clock_gettime in -lrt... no checking for clock_gettime in -lrt... (cached) no checking for clock_gettime... yes checking for timer_settime... yes checking for timer_create... yes checking for printf$LDBLStub... no checking whether -lpthread is needed for pthreads... checking for pthread_create... yes no checking for pthread_setname_np in -lpthread... no checking for pthread_setname_np... yes checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking for eventfd... yes checking for __thread support... yes checking whether MAP_NORESERVE is declared... yes checking whether MADV_FREE is declared... no checking whether MADV_DONTNEED is declared... yes checking numa.h usability... no checking numa.h presence... no checking for numa.h... no checking numaif.h usability... no checking numaif.h presence... no checking for numaif.h... no configure: creating ./config.status config.status: creating mk/config.mk config.status: creating mk/install.mk config.status: creating mk/project.mk config.status: creating rts/rts.cabal config.status: creating compiler/ghc.cabal config.status: creating ghc/ghc-bin.cabal config.status: creating utils/runghc/runghc.cabal config.status: creating utils/gen-dll/gen-dll.cabal config.status: creating libraries/ghc-boot/ghc-boot.cabal config.status: creating libraries/ghc-boot-th/ghc-boot-th.cabal config.status: creating libraries/ghci/ghci.cabal config.status: creating settings config.status: creating docs/users_guide/ghc_config.py config.status: creating docs/index.html config.status: creating libraries/prologue.txt config.status: creating distrib/configure.ac config.status: creating mk/config.h configure: WARNING: unrecognized options: --with-curses-includes ---------------------------------------------------------------------- Configure completed successfully. Building GHC version : 8.4.2 Git commit id : 28595b7ab619d9a812cce23a546d7deabb486372 Build platform : x86_64-unknown-linux Host platform : x86_64-unknown-linux Target platform : aarch64-unknown-linux-android Bootstrapping using : /nix/store/2awzayqw28x00pahr9qqn163sdkwy8zx-ghc-8.2.1-binary/bin/ghc which is version : 8.2.1 Using (for bootstrapping) : gcc Using gcc : /nix/store/xd2zkwwybfdiymgm4l1mlzzy8ii7fb0b-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-cc which is version : 4.9 Building a cross compiler : YES Unregisterised : NO hs-cpp : /nix/store/xd2zkwwybfdiymgm4l1mlzzy8ii7fb0b-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-cc hs-cpp-flags : -E -undef -traditional ar : aarch64-unknown-linux-android-ar ld : /nix/store/g2k28kssbaww4n1bgyxl6x24fw7n99lc-aarch64-unknown-linux-android-ndk-gcc-binutils-wrapper/bin/aarch64-unknown-linux-android-ld nm : /nix/store/nlxiymw1l1c544l1h5f66n5n0rik1wiz-ndk-gcc-binutils/bin/aarch64-unknown-linux-android-nm libtool : objdump : aarch64-unknown-linux-android-objdump ranlib : /nix/store/nlxiymw1l1c544l1h5f66n5n0rik1wiz-ndk-gcc-binutils/bin/aarch64-unknown-linux-android-ranlib windres : dllwrap : genlib : Happy : /nix/store/r9shf3rjjyf06yn9jx16pyjby07xz4gk-happy-1.19.9/bin/happy (1.19.9) Alex : /nix/store/sh35vzs8ia83a8285p1fygpnp3xpkad4-alex-3.2.4/bin/alex (3.2.4) Perl : /nix/store/cxdmh98g0lvl1dyq304c1lq7f90dh01f-perl-5.24.3/bin/perl sphinx-build : xelatex : Using LLVM tools clang : llc : llc opt : opt HsColour was not found; documentation will not contain source links Tools to build Sphinx HTML documentation available: NO Tools to build Sphinx PDF documentation available: NO ---------------------------------------------------------------------- For a standard build of GHC (fully optimised with profiling), type (g)make. To make changes to the default build configuration, copy the file mk/build.mk.sample to mk/build.mk, and edit the settings in there. For more information on how to configure your GHC build, see http://ghc.haskell.org/trac/ghc/wiki/Building @nix { "action": "setPhase", "phase": "buildPhase" } building build flags: -j32 -l32 SHELL=/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash + test -f mk/config.mk.old + cp -p mk/config.mk mk/config.mk.old touch -r mk/config.mk.old mk/config.mk + test -f mk/project.mk.old + cp -p mk/project.mk mk/project.mk.old touch -r mk/project.mk.old mk/project.mk + test -f compiler/ghc.cabal.old + cp -p compiler/ghc.cabal compiler/ghc.cabal.old touch -r compiler/ghc.cabal.old compiler/ghc.cabal ===--- building phase 0 make --no-print-directory -f ghc.mk phase=0 phase_0_builds mkdir -p inplace/bin mkdir -p inplace/lib "rm" -f libraries/binary/dist-boot/build/libHS.a libraries/binary/dist-boot/build/libHS.a.contents "rm" -f libraries/text/dist-boot/build/libHS.a libraries/text/dist-boot/build/libHS.a.contents "rm" -f libraries/transformers/dist-boot/build/libHS.a libraries/transformers/dist-boot/build/libHS.a.contents "rm" -f libraries/mtl/dist-boot/build/libHS.a libraries/mtl/dist-boot/build/libHS.a.contents "rm" -f inplace/bin/mkdirhier "rm" -f libraries/parsec/dist-boot/build/libHS.a libraries/parsec/dist-boot/build/libHS.a.contents "rm" -f libraries/Cabal/Cabal/dist-boot/build/libHS.a libraries/Cabal/Cabal/dist-boot/build/libHS.a.contents "rm" -f libraries/hpc/dist-boot/build/libHS.a libraries/hpc/dist-boot/build/libHS.a.contents echo >> libraries/binary/dist-boot/build/libHS.a.contents "rm" -f libraries/ghc-boot-th/dist-boot/build/libHS.a libraries/ghc-boot-th/dist-boot/build/libHS.a.contents "rm" -f libraries/ghc-boot/dist-boot/build/libHS.a libraries/ghc-boot/dist-boot/build/libHS.a.contents echo >> libraries/text/dist-boot/build/libHS.a.contents echo >> libraries/transformers/dist-boot/build/libHS.a.contents /nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: libraries/binary/dist-boot/build/libHS.a.contents: No such file or directory echo >> libraries/mtl/dist-boot/build/libHS.a.contents utils/hsc2hs/ghc.mk:24: utils/hsc2hs/dist-install/package-data.mk: No such file or directory make[1]: *** [libraries/binary/ghc.mk:4: libraries/binary/dist-boot/build/libHS.a] Error 1 make[1]: *** Waiting for unfinished jobs.... echo '#!/bin/sh' >> inplace/bin/mkdirhier echo >> libraries/parsec/dist-boot/build/libHS.a.contents /nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: libraries/text/dist-boot/build/libHS.a.contents: No such file or directory echo >> libraries/Cabal/Cabal/dist-boot/build/libHS.a.contents /nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: libraries/transformers/dist-boot/build/libHS.a.contents: No such file or directory make[1]: *** [libraries/text/ghc.mk:4: libraries/text/dist-boot/build/libHS.a] Error 1 echo >> libraries/hpc/dist-boot/build/libHS.a.contents /nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: libraries/mtl/dist-boot/build/libHS.a.contents: No such file or directory make[1]: *** [libraries/transformers/ghc.mk:4: libraries/transformers/dist-boot/build/libHS.a] Error 1 make[1]: *** [libraries/mtl/ghc.mk:4: libraries/mtl/dist-boot/build/libHS.a] Error 1 echo >> libraries/ghc-boot-th/dist-boot/build/libHS.a.contents /nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: libraries/parsec/dist-boot/build/libHS.a.contents: No such file or directory echo >> libraries/ghc-boot/dist-boot/build/libHS.a.contents cat utils/mkdirhier/mkdirhier.sh >> inplace/bin/mkdirhier make[1]: *** [libraries/parsec/ghc.mk:4: libraries/parsec/dist-boot/build/libHS.a] Error 1 /nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: libraries/Cabal/Cabal/dist-boot/build/libHS.a.contents: No such file or directory make[1]: *** [libraries/Cabal/Cabal/ghc.mk:4: libraries/Cabal/Cabal/dist-boot/build/libHS.a] Error 1 /nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: libraries/hpc/dist-boot/build/libHS.a.contents: No such file or directory /nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: libraries/ghc-boot-th/dist-boot/build/libHS.a.contents: No such file or directory /nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: libraries/ghc-boot/dist-boot/build/libHS.a.contents: No such file or directory make[1]: *** [libraries/hpc/ghc.mk:4: libraries/hpc/dist-boot/build/libHS.a] Error 1 make[1]: *** [libraries/ghc-boot-th/ghc.mk:4: libraries/ghc-boot-th/dist-boot/build/libHS.a] Error 1 make[1]: *** [libraries/ghc-boot/ghc.mk:4: libraries/ghc-boot/dist-boot/build/libHS.a] Error 1 chmod +x inplace/bin/mkdirhier make: *** [Makefile:123: all] Error 2