
Tamar, Luke, David, Andrey, and others
OK that was it! Now I can build GHC…. Real progress.
But I still can’t validate:
sh validate
using THREADS=5
make: Entering directory '/c/code/HEAD/utils/checkUniques'
./check-uniques.py ../..
Traceback (most recent call last):
File "./check-uniques.py", line 39, in <module>
uniques = find_uniques(glob.glob(os.path.join(top_dir, 'compiler', 'prelude', '*.hs')))
File "./check-uniques.py", line 15, in find_uniques
ms = unique_re.findall(open(f).read())
File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 15185: ordinal not in range(128)
make: *** [Makefile:8: check] Error 1
make: Leaving directory '/c/code/HEAD/utils/checkUniques'
/c/code/HEAD$
Any ideas about what might be happening? The Python version is 3.4.3.
Thanks
Simon
From: ghc-devs [mailto:ghc-devs-bounces@haskell.org] On Behalf Of Simon Peyton Jones via ghc-devs
Sent: 29 June 2016 12:08
To: lonetiger@gmail.com
Cc: ghc-devs@haskell.org
Subject: RE: Msys2 64: progress
Aha! That sounds very plausible. I’ll try. Maybe it’s a path-ordering thing.
It would be very cool if ‘configure’ checked that ‘find’ was the find it was expecting, not Windows find. Dunno how to do that, but that check would have saved us a lot of time.
(For most other utils, weget, curl etc, there is no Windows program with the same name. But for ‘find’, there is.)
Simon
From: lonetiger@gmail.commailto:lonetiger@gmail.com [mailto:lonetiger@gmail.com]
Sent: 29 June 2016 11:35
To: Simon Peyton Jones