Windows: cannot create here-doc

Simon Peyton Jones simonpj at microsoft.com
Wed Apr 18 10:28:00 UTC 2018


Tamar

I have good news.  After giving my computer a rest while I was on holiday, and rebooting it, everything seems to be working fine.

I have no idea what was going wrong, but it’s not going wrong any more!  I’ll keep you posted.

Simon


From: Phyx <lonetiger at gmail.com>
Sent: 04 April 2018 23:35
To: Simon Peyton Jones <simonpj at microsoft.com>
Cc: ghc-devs <ghc-devs at haskell.org>
Subject: Re: Windows: cannot create here-doc

Hi Simon,

This one is very strange, from the error and the fact that it continues it looks like whatever TEMP and TMP
are pointing to are not always available or some locking issue is going on.

I would try running ProcMon https://docs.microsoft.com/en-us/sysinternals/downloads/procmon<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsysinternals%2Fdownloads%2Fprocmon&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=2g7FSObFw5Df%2FIw%2BiDA%2Fnf2xLkm%2FhYHbd35hSdN5gDg%3D&reserved=0> and filtering paths to
whatever TEMP and TMP are set to.

In the dialog that opens when you run it, select in the first box path, select the "starts with" condition then enter the Windows version of the path in the third one.
Make sure the final box is set to "Include" and press add. Then try again. Once it fails, stop capturing (File -> click on "capture events" to unselect).

This should contain the accesses to things in your TEMP and why it failed.

(If TEMP contains a unix path you can get a windows one with e.g  cygpath -w $TEMP)

Once we know more can figure out what's going on.

Thanks,
Tamar

On Wed, Apr 4, 2018 at 10:17 PM, Simon Peyton Jones <simonpj at microsoft.com<mailto:simonpj at microsoft.com>> wrote:
Tamar
I think your suggestion of adding

# Set user-defined locale
export LANG=$(locale -uU)
worked.  No more perl messages.
Still having various troubles…
Here’s the current one (log below).  I’m getting lots of

       ./configure: line 2534: cannot create temp file for here-document: Device or resource busy
And finally

checking whether the C compiler works... no

sed: can't read conftest.c: No such file or directory

configure: error: in `/c/code/HEAD':

configure: error: C compiler cannot create executables
I have environment variables TEMP and TMP set.
Oddly, re-running configure gets further – see second log below.
All deeply strange.
Thanks
Simon

Log 1: first run of ‘sh validate –fast’

Creating libraries/array/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/base/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/binary/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/bytestring/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/Cabal/Cabal/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/containers/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/deepseq/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/directory/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/dph/dph-base/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/dph/dph-prim-interface/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/dph/dph-prim-seq/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/dph/dph-prim-par/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/dph/dph-lifted-base/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/dph/dph-lifted-boxed/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/dph/dph-lifted-copy/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/dph/dph-lifted-vseg/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/filepath/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/ghc-boot/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/ghc-boot-th/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/ghc-compact/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/ghc-prim/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/ghci/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/haskeline/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/hpc/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/integer-gmp/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/integer-simple/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/mtl/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/parallel/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/parsec/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/pretty/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/primitive/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/process/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/random/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/stm/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/template-haskell/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/terminfo/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/text/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/time/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/transformers/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/unix/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/vector/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/Win32/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Creating libraries/xhtml/ghc.mk<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C9c2f171f6cd6403a9af308d59a7c689f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636584781498338359&sdata=7NXLypOIwkrg0v18BxOnBM7we3ODXgD1YguzhcRoveU%3D&reserved=0>

Booting .

Booting libraries/base/

Booting libraries/directory/

Booting libraries/ghc-prim/

Booting libraries/integer-gmp/

Booting libraries/process/

Booting libraries/terminfo/

Booting libraries/time/

Booting libraries/unix/

./configure: line 2534: cannot create temp file for here-document: Device or resource busy

checking for gfind... no

checking for find... /usr/bin/find

checking for sort... /usr/bin/sort

checking for GHC version date... inferred 8.5.20180402

checking for GHC Git commit id... inferred 6ae53e4f4af1a156a875e05a2c12efeaa2e7d902

checking for ghc... /c/fp/HP-8.2.2/bin/ghc

checking version of ghc... 8.2.2

GHC path canonicalised to: c:/fp/HP-8.2.2/bin/ghc

checking build system type... x86_64-pc-mingw64

checking host system type... x86_64-pc-mingw64

checking target system type... x86_64-pc-mingw64

Build platform inferred as: x86_64-unknown-mingw32

Host platform inferred as: x86_64-unknown-mingw32

Target platform inferred as: x86_64-unknown-mingw32

GHC build  : x86_64-unknown-mingw32

GHC host   : x86_64-unknown-mingw32

GHC target : x86_64-unknown-mingw32

LLVM target: x86_64-unknown-windows

checking for path to top of build tree... C:/code/HEAD

configure: Checking for Windows toolchain tarballs...

configure: Extracting Windows toolchain from archives (may take a while)...

configure: In-tree MingW-w64 tree created

checking for genlib... no

configure: Making in-tree perl tree

configure: In-tree perl tree created

checking for -windres... no

checking for windres... windres

checking for -dllwrap... no

checking for dllwrap... dllwrap

checking for -objdump... C:/code/HEAD/inplace/mingw/bin/objdump.exe

./configure: line 5421: cannot create temp file for here-document: Device or resource busy

checking whether the C compiler works... no

sed: can't read conftest.c: No such file or directory

configure: error: in `/c/code/HEAD':

configure: error: C compiler cannot create executables

See `config.log' for more details
$
Log 2: run of “./configure”

$ ./configure

./configure: line 2542: cannot create temp file for here-document: Device or resource busy

configure: loading site script /usr/local/etc/config.site

checking for gfind... no

checking for find... /usr/bin/find

checking for sort... /usr/bin/sort

checking for GHC version date... inferred 8.5.20180402

checking for GHC Git commit id... inferred 6ae53e4f4af1a156a875e05a2c12efeaa2e7d902

checking for ghc... /c/fp/HP-8.2.2/bin/ghc

checking version of ghc... 8.2.2

GHC path canonicalised to: c:/fp/HP-8.2.2/bin/ghc

checking build system type... x86_64-w64-mingw32

checking host system type... x86_64-w64-mingw32

checking target system type... x86_64-w64-mingw32

Host platform inferred as: x86_64-unknown-mingw32

Target platform inferred as: x86_64-unknown-mingw32

GHC build  : x86_64-unknown-mingw32

GHC host   : x86_64-unknown-mingw32

GHC target : x86_64-unknown-mingw32

LLVM target: x86_64-unknown-windows

checking for path to top of build tree... C:/code/HEAD

configure: Checking for Windows toolchain tarballs...

checking for genlib... no

checking for -windres... no

checking for -dllwrap... no

checking for -objdump... C:/code/HEAD/inplace/mingw/bin/objdump.exe

checking whether the C compiler works... yes

checking for C compiler default output file name... a.exe

checking for suffix of executables... .exe

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether C:/code/HEAD/inplace/mingw/bin/gcc.exe accepts -g... ./configure: line 5717: cannot create temp file for here-document: Device or resource busy

sed: can't read conftest.c: No such file or directory

no

checking for C:/code/HEAD/inplace/mingw/bin/gcc.exe option to accept ISO C89... ./configure: line 5793: cannot create temp file for here-document: Device or resource busy

sed: can't read conftest.c: No such file or directory

sed: can't read conftest.c: No such file or directory

sed: can't read conftest.c: No such file or directory

sed: can't read conftest.c: No such file or directory

sed: can't read conftest.c: No such file or directory

sed: can't read conftest.c: No such file or directory

sed: can't read conftest.c: No such file or directory

unsupported

checking how to run the C preprocessor... C:/code/HEAD/inplace/mingw/bin/gcc.exe -E

checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/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... ./configure: line 1796: cannot create temp file for here-document: Device or resource busy

sed: can't read conftest.c: No such file or directory

no

checking for minix/config.h... no

checking whether it is safe to define __EXTENSIONS__... yes

checking how to run the C preprocessor... C:/code/HEAD/inplace/mingw/bin/gcc.exe -E

checking for C:/code/HEAD/inplace/mingw/bin/gcc.exe option to accept ISO C99... none needed

checking for C:/fp/HP-8.2.2/lib/../mingw/bin/gcc.exe option to accept ISO C99... none needed

checking for C:/code/HEAD/inplace/mingw/bin/gcc.exe option to accept ISO C99... none needed

checking for C:/code/HEAD/inplace/mingw/bin/gcc.exe option to accept ISO C99... none needed

checking for -ld... C:/code/HEAD/inplace/mingw/bin/ld.exe

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 -objdump... (cached) C:/code/HEAD/inplace/mingw/bin/objdump.exe

checking for ranlib... C:/code/HEAD/inplace/mingw/bin/ranlib.exe

checking for -strip... no

checking for libtool... /usr/bin/libtool

checking for -clang... no

checking for llc-5.0... no

checking for llc... no

checking for opt-5.0... no

checking for opt... no

configure: Creating links for in-tree file handling routines.

'utils/lndir/fs.c' => 'utils/fs/fs.c'

'utils/lndir/fs.h' => 'utils/fs/fs.h'

'utils/unlit/fs.c' => 'utils/fs/fs.c'

'utils/unlit/fs.h' => 'utils/fs/fs.h'

'rts/fs.c' => 'utils/fs/fs.c'

'rts/fs.h' => 'utils/fs/fs.h'

'libraries/base/include/fs.h' => 'utils/fs/fs.h'

'libraries/base/cbits/fs.c' => 'utils/fs/fs.c'

configure: Routines in place. Packages can now be build normally.

checking whether #! works in shell scripts... yes

checking version of gcc... 7.2.0

checking whether GCC supports -no-pie... yes

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... no

checking for a working context diff... diff -U 1

checking for a BSD-compatible install... /usr/bin/install -c

checking whether C:/code/HEAD/inplace/mingw/bin/ar.exe is GNU ar... yes

checking for ar arguments... q

checking whether C:/code/HEAD/inplace/mingw/bin/ar.exe supports @file... yes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180418/85f0df12/attachment-0001.html>


More information about the ghc-devs mailing list