Trac Spam

2016-06-30 Thread Ben Gamari
Hello everyone,

As you may have noticed we were hit with another bout of Trac spam
today. I've tightened the spam filter up a bit further and things now
seem to be once again under control.

Of course, tightening up the spam filter may come at a cost. While I've
tried my best to setup the filter such that legitimate uses are
unimpeded, filtering is more of an art than a science. Please let me
know if you find that you are hasseled with excessive CAPTCHAs or even
outright rejection.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


topHandler03 failing now

2016-06-30 Thread Edward Z. Yang
Hey thomie,

You recently changed topHandler03 to not ignore output.
Unfortunately, on my Arch Linux box this causes the
test to fail:

--- ./topHandler03.run/topHandler03.stderr.normalised   2016-06-30 
10:30:56.423442132 -0700
+++ ./topHandler03.run/topHandler03.run.stderr.normalised   2016-06-30 
10:30:56.423442132 -0700
@@ -1 +1 @@
-Terminated
+/bin/sh: line 1:  7193 Terminated  ./topHandler03

It seems the shell output behavior here varies.

Edward
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Trac spam

2016-06-30 Thread Simon Peyton Jones via ghc-devs
If someone could kill this spate of Trac spam, it’d be great.
Simon
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Msys2 64: progress

2016-06-30 Thread David Macek
On 30. 6. 2016 14:53, David Macek wrote:
> Weird. My MSYS2 autodetects and sets `LANG=en_US.UTF-8`. Can you try setting 
> that in the terminal before running `./boot` and or the testsuite?

In bash, that's `export LANG=en_US.UTF-8`.

-- 
David Macek



smime.p7s
Description: S/MIME Cryptographic Signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Msys2 64: progress

2016-06-30 Thread David Macek
On 30. 6. 2016 14:38, Simon Peyton Jones via ghc-devs wrote:
> BTW, during ./boot, I get a lot of errors like this.  Should I worry?

> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>LC_ALL = (unset),
>LANG = "ENG"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").

Weird. My MSYS2 autodetects and sets `LANG=en_US.UTF-8`. Can you try setting 
that in the terminal before running `./boot` and or the testsuite?

-- 
David Macek



smime.p7s
Description: S/MIME Cryptographic Signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: Msys2 64: progress

2016-06-30 Thread Simon Peyton Jones via ghc-devs
BTW, during ./boot, I get a lot of errors like this.  Should I worry?

Thanks.

Simon

Booting .
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
   LC_ALL = (unset),
   LANG = "ENG"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Booting libraries/base/
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
   LC_ALL = (unset),
   LANG = "ENG"
are supported and installed on your system.
Booting libraries/directory/
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
   LC_ALL = (unset),
   LANG = "ENG"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Booting libraries/integer-gmp/
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:

From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Simon Peyton 
Jones via ghc-devs
Sent: 30 June 2016 12:22
To: loneti...@gmail.com
Cc: ghc-devs@haskell.org
Subject: RE: Msys2 64: progress

OK.  How do I “try with python2 instead”?

SImon

From: loneti...@gmail.com 
[mailto:loneti...@gmail.com]
Sent: 30 June 2016 10:12
To: Simon Peyton Jones >
Cc: ghc-devs@haskell.org
Subject: RE: Msys2 64: progress


Hi Simon,

Could you try with python2 instead? (If it’s installed I think the testsuite 
would pick it up automatically).

Python3 is marked as experimental in the testsuite

PYTHON3 = sys.version_info >= (3, 0)
if PYTHON3:
print("*** WARNING: running testsuite using Python 3.\n"
  "*** Python 3 support is experimental. See Trac #9184.")

And based on that trac, it routinely breaks..

Regards,
Tamar

From: Simon Peyton Jones
Sent: Thursday, June 30, 2016 08:28
To: Simon Peyton Jones; 
loneti...@gmail.com
Cc: ghc-devs@haskell.org
Subject: RE: Msys2 64: progress

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 
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-boun...@haskell.org] On Behalf Of Simon Peyton 
Jones via ghc-devs
Sent: 29 June 2016 12:08
To: loneti...@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: loneti...@gmail.com 
[mailto:loneti...@gmail.com]
Sent: 29 June 2016 11:35
To: Simon Peyton Jones >
Cc: ghc-devs@haskell.org
Subject: RE: Msys2 64: progress


Hi Simon,

I think you’re right,
That pattern in the error is the one we pass to find

find "${base_dir}" -name "*.tar.xz" -exec tar xfJ {} \;

on line 334 of configure.ac which is supposed to unpack the files.
That the download script doesn’t output nothing makes sense now since the 
hashes of the files match.

I *think* what’s going on here is that for some reason you don’t have findutils 
installed and it’s instead using
The windows “find” utility, which generates that error.

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: Msys2 64: progress

2016-06-30 Thread Simon Peyton Jones via ghc-devs
OK.  How do I “try with python2 instead”?

SImon

From: loneti...@gmail.com [mailto:loneti...@gmail.com]
Sent: 30 June 2016 10:12
To: Simon Peyton Jones 
Cc: ghc-devs@haskell.org
Subject: RE: Msys2 64: progress


Hi Simon,

Could you try with python2 instead? (If it’s installed I think the testsuite 
would pick it up automatically).

Python3 is marked as experimental in the testsuite

PYTHON3 = sys.version_info >= (3, 0)
if PYTHON3:
print("*** WARNING: running testsuite using Python 3.\n"
  "*** Python 3 support is experimental. See Trac #9184.")

And based on that trac, it routinely breaks..

Regards,
Tamar

From: Simon Peyton Jones
Sent: Thursday, June 30, 2016 08:28
To: Simon Peyton Jones; 
loneti...@gmail.com
Cc: ghc-devs@haskell.org
Subject: RE: Msys2 64: progress

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 
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-boun...@haskell.org] On Behalf Of Simon Peyton 
Jones via ghc-devs
Sent: 29 June 2016 12:08
To: loneti...@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: loneti...@gmail.com 
[mailto:loneti...@gmail.com]
Sent: 29 June 2016 11:35
To: Simon Peyton Jones >
Cc: ghc-devs@haskell.org
Subject: RE: Msys2 64: progress


Hi Simon,

I think you’re right,
That pattern in the error is the one we pass to find

find "${base_dir}" -name "*.tar.xz" -exec tar xfJ {} \;

on line 334 of configure.ac which is supposed to unpack the files.
That the download script doesn’t output nothing makes sense now since the 
hashes of the files match.

I *think* what’s going on here is that for some reason you don’t have findutils 
installed and it’s instead using
The windows “find” utility, which generates that error.

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: Msys2 64: progress

2016-06-30 Thread Ben Gamari
Simon Peyton Jones via ghc-devs  writes:

> 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 
> 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.
>
I'm not sure why I haven't seen this locally but I think I know what is
happening. Could you try D2373 (also available as
wip/check-uniques-fix)?

Cheers,

- Ben



signature.asc
Description: PGP signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: Msys2 64: progress

2016-06-30 Thread lonetiger

Hi Simon,

Could you try with python2 instead? (If it’s installed I think the testsuite 
would pick it up automatically).

Python3 is marked as experimental in the testsuite

PYTHON3 = sys.version_info >= (3, 0)
if PYTHON3:
print("*** WARNING: running testsuite using Python 3.\n"
  "*** Python 3 support is experimental. See Trac #9184.")

And based on that trac, it routinely breaks..

Regards,
Tamar

From: Simon Peyton Jones___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


RE: Msys2 64: progress

2016-06-30 Thread Simon Peyton Jones via ghc-devs
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 
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-boun...@haskell.org] On Behalf Of Simon Peyton 
Jones via ghc-devs
Sent: 29 June 2016 12:08
To: loneti...@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: loneti...@gmail.com 
[mailto:loneti...@gmail.com]
Sent: 29 June 2016 11:35
To: Simon Peyton Jones >
Cc: ghc-devs@haskell.org
Subject: RE: Msys2 64: progress


Hi Simon,

I think you’re right,
That pattern in the error is the one we pass to find

find "${base_dir}" -name "*.tar.xz" -exec tar xfJ {} \;

on line 334 of configure.ac which is supposed to unpack the files.
That the download script doesn’t output nothing makes sense now since the 
hashes of the files match.

I *think* what’s going on here is that for some reason you don’t have findutils 
installed and it’s instead using
The windows “find” utility, which generates that error.
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs