Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Arie Peterson
On Monday 03 February 2014 16:35:14 Austin Seipp wrote:
 We are pleased to announce the first release candidate for GHC 7.8.1:
 […]
 This includes the source tarball and bindists for Windows, Linux, OS
 X, FreeBSD, and Solaris, on x86 and x86_64. […]

Has anyone by chance built it for arm, yet? If I understand correctly, with 
this new version, it should be possible to compile programs with a dependency 
on vector, on arm.


Regards,

Arie

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Ryan Newton
I had some similar problems and had to fiddle with my DYLD_LIBRARY_PATH so
that ghc-related executables would see the libffi.dylib that comes with GHC
before any of my system-wide installed libffi.dylib.

Why the permissive @rpath link for libffi.dylib if the GHC executables are
supposed to come with their own?


On Tue, Feb 4, 2014 at 8:15 AM, Barney Stratford 
barney_stratf...@fastmail.fm wrote:

 I've been attempting to build under Mac OS X Mavericks and have run into
 some problems. My iconv and gmp are installed in non-standard locations
 using Fink. When configuring
 http://www.haskell.org/ghc/dist/7.8.1-rc1/ghc-7.8.20140130-x86_64-apple-darwin-mavericks.tar.bz2I
  get:

 barneys-imac:ghc-7.8.20140130 bjs$ ./configure
 --prefix=/Users/bjs/Desktop/ghc --with-iconv-includes=/sw/include
 --with-gmp-includes=/sw/include --with-iconv-libraries=/sw/lib
 --with-gmp-libraries=/sw/lib
 configure: WARNING: unrecognized options: --with-iconv-includes,
 --with-iconv-libraries

 and then the installed executable can't itself build ghc from source
 because of the missing iconv libraries. I noticed that ./configure --help
 doesn't mention --with-iconv-* in the Mavericks install files but it does
 in the source build.

 Any ideas?

 Cheers,
 Barney.
 ___
 Glasgow-haskell-users mailing list
 Glasgow-haskell-users@haskell.org
 http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Karel Gardas

On 02/ 5/14 03:09 PM, Arie Peterson wrote:

On Monday 03 February 2014 16:35:14 Austin Seipp wrote:

We are pleased to announce the first release candidate for GHC 7.8.1:
[…]
This includes the source tarball and bindists for Windows, Linux, OS
X, FreeBSD, and Solaris, on x86 and x86_64. […]


Has anyone by chance built it for arm, yet? If I understand correctly, with
this new version, it should be possible to compile programs with a dependency
on vector, on arm.


Tried, on my ubuntu 12.04.02, but it fails miserably. Modern GHC 
requires alex 3.1 and cabal alex fails with (due to QuickCheck template 
haskell dependency):


$ cabal install alex
Resolving dependencies...
Downloading random-1.0.1.1...
Configuring random-1.0.1.1...
Building random-1.0.1.1...
Preprocessing library random-1.0.1.1...
[1 of 1] Compiling System.Random( System/Random.hs, 
dist/build/System/Random.o )

Registering random-1.0.1.1...
Installing library in /home/karel/.cabal/lib/random-1.0.1.1/ghc-7.4.1
Registering random-1.0.1.1...
Downloading QuickCheck-2.6...
Configuring QuickCheck-2.6...
Building QuickCheck-2.6...
Preprocessing library QuickCheck-2.6...
[ 1 of 13] Compiling Test.QuickCheck.Exception ( 
Test/QuickCheck/Exception.hs, dist/build/Test/QuickCheck/Exception.o )
[ 2 of 13] Compiling Test.QuickCheck.Text ( Test/QuickCheck/Text.hs, 
dist/build/Test/QuickCheck/Text.o )
[ 3 of 13] Compiling Test.QuickCheck.State ( Test/QuickCheck/State.hs, 
dist/build/Test/QuickCheck/State.o )
[ 4 of 13] Compiling Test.QuickCheck.Gen ( Test/QuickCheck/Gen.hs, 
dist/build/Test/QuickCheck/Gen.o )
[ 5 of 13] Compiling Test.QuickCheck.Arbitrary ( 
Test/QuickCheck/Arbitrary.hs, dist/build/Test/QuickCheck/Arbitrary.o )
[ 6 of 13] Compiling Test.QuickCheck.Poly ( Test/QuickCheck/Poly.hs, 
dist/build/Test/QuickCheck/Poly.o )
[ 7 of 13] Compiling Test.QuickCheck.Modifiers ( 
Test/QuickCheck/Modifiers.hs, dist/build/Test/QuickCheck/Modifiers.o )
[ 8 of 13] Compiling Test.QuickCheck.Function ( 
Test/QuickCheck/Function.hs, dist/build/Test/QuickCheck/Function.o )
[ 9 of 13] Compiling Test.QuickCheck.Property ( 
Test/QuickCheck/Property.hs, dist/build/Test/QuickCheck/Property.o )
[10 of 13] Compiling Test.QuickCheck.Test ( Test/QuickCheck/Test.hs, 
dist/build/Test/QuickCheck/Test.o )
[11 of 13] Compiling Test.QuickCheck.Monadic ( 
Test/QuickCheck/Monadic.hs, dist/build/Test/QuickCheck/Monadic.o )
[12 of 13] Compiling Test.QuickCheck  ( Test/QuickCheck.hs, 
dist/build/Test/QuickCheck.o )
[13 of 13] Compiling Test.QuickCheck.All ( Test/QuickCheck/All.hs, 
dist/build/Test/QuickCheck/All.o )


Test/QuickCheck/All.hs:28:20:
Template Haskell bracket illegal in a stage-1 compiler
  [| quickCheck ($(mono x)) |]

[...]
Test/QuickCheck/All.hs:111:22:
Template Haskell splice illegal in a stage-1 compiler
  forAllProperties
cabal: Error: some packages failed to install:
QuickCheck-2.6 failed during the building phase. The exception was:
ExitFailure 1
alex-3.1.3 depends on QuickCheck-2.6 which failed to install.


So, well, Catch-22?

Karel


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Joachim Breitner
Hi,

Am Mittwoch, den 05.02.2014, 15:53 +0100 schrieb Karel Gardas:
 Tried, on my ubuntu 12.04.02, but it fails miserably. Modern GHC 
 requires alex 3.1 and cabal alex fails with (due to QuickCheck template 
 haskell dependency):
 
 $ cabal install alex

have you tried --disable-tests?

Greetings,
Joachim
-- 
Joachim Breitner
  e-Mail: m...@joachim-breitner.de
  Homepage: http://www.joachim-breitner.de
  Jabber-ID: nome...@joachim-breitner.de



signature.asc
Description: This is a digitally signed message part
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


[Solaris bindist] Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Christian Maeder
Hi, I was surprised to find a Solaris bindist. However, on our SunOS 
5.10 ./configure failed miserably.


-bash-3.2$ ./configure
checking for path to top of build tree... 
utils/ghc-pwd/dist-install/build/tmp/ghc-pwd-bindist: 
LD_LIBRARY_PATH=libraries/directory/dist-install/build:libraries/unix/dist-install/build:libraries/time/dist-install/build:libraries/old-locale/dist-install/build:libraries/filepath/dist-install/build:libraries/bytestring/dist-install/build:libraries/deepseq/dist-install/build:libraries/array/dist-install/build:libraries/base/dist-install/build:libraries/integer-gmp/dist-install/build:libraries/ghc-prim/dist-install/build:rts/dist/build:/opt/csw/lib: 
is not an identifier

configure: error: cannot determine current directory

This happens, because our /bin/sh is a real sh (and not a bash) that 
only allows to export LD_LIBRARY_PATH as a separate command.


The next failure was:
ld.so.1: ghc-pwd: fatal: libgmp.so.10: open failed: No such file or 
directory


So I had to extend LD_LIBRARY_PATH manually (by /opt/csw/lib). After 
this I got:
ld.so.1: ghc-pwd: fatal: relocation error: file 
libraries/unix/dist-install/build/libHSunix-2.7.0.0-ghc7.8.20140130.so: 
symbol clearenv: referenced symbol not found


Which of my libraries is wrong (or too old) despite a matching version 
number?

libdl.so.1 =/lib/libdl.so.1
libgmp.so.10 =  /opt/csw/lib/libgmp.so.10
libm.so.2 = /lib/libm.so.2
librt.so.1 =/lib/librt.so.1
libc.so.1 = /lib/libc.so.1
libgcc_s.so.1 = /opt/csw/lib/libgcc_s.so.1
libaio.so.1 =   /lib/libaio.so.1
libmd.so.1 =/lib/libmd.so.1

I had to give up! (I'll try to build it from sources if I find time.)

Cheers Christian

Am 03.02.2014 23:35, schrieb Austin Seipp:

We are pleased to announce the first release candidate for GHC 7.8.1:

 http://www.haskell.org/ghc/dist/7.8.1-rc1/
 http://www.haskell.org/ghc/docs/7.8.1-rc1/html/

This includes the source tarball and bindists for Windows, Linux, OS
X, FreeBSD, and Solaris, on x86 and x86_64. There is a signed copy of
the SHA256 hashes available (attached) using my GPG key (keyid
0x3B58D86F).

We plan to make the 7.8.1 RC2 release quite soon, as we're aware of
some existing issues.

Please test as much as possible; bugs are much cheaper if we find them
before the release!



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Christiaan Baaij

On Feb 5, 2014, at 3:26 PM, Ryan Newton rrnew...@gmail.com wrote:

 I had some similar problems and had to fiddle with my DYLD_LIBRARY_PATH so 
 that ghc-related executables would see the libffi.dylib that comes with GHC 
 before any of my system-wide installed libffi.dylib.
 
 Why the permissive @rpath link for libffi.dylib if the GHC executables are 
 supposed to come with their own?

See https://ghc.haskell.org/trac/ghc/ticket/8266 for more information about the 
dynamic linking on OS X.

The reason is two-fold:

- During development, the ghc binary, ghc-stage2, lives in 
'TOP/inplace/lib/bin', while libffi lives in 'TOP/rts/dist/build'.
  When deployed, the ghc binary lives in 'TOP/lib/ghc-version/bin', while 
libff lives in 'TOP/lib/ghc-version/rts-1.0'.
  So, the relative paths differ during development and installation, meaning a 
hard-coded relative path was not an option.
- After some iterations, I decided to make OS X behave as much as Linux as 
possible.
  Meaning that I just added LC_RPATH's for every library location on which a 
binary depends.
  And every library on which binary depend is made @rpath-relative.
  
From the very bottom of the page 
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/dyld.1.html
 it was my understanding that LC_RPATH were considered first when searching 
dylibs that had a path starting with @rpath.

But apparently that is not the case?

Christiaan

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: [Solaris bindist] Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Roman Cheplyaka
* Christian Maeder christian.mae...@dfki.de [2014-02-05 16:28:50+0100]
 This happens, because our /bin/sh is a real sh (and not a bash)
 that only allows to export LD_LIBRARY_PATH as a separate command.

You mean it's a real sh and not a POSIX-compatible one.
http://pubs.opengroup.org/onlinepubs/009695399/utilities/export.html

Roman


signature.asc
Description: Digital signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: [Solaris bindist] Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Christian Maeder

Am 05.02.2014 16:45, schrieb Roman Cheplyaka:

* Christian Maeder christian.mae...@dfki.de [2014-02-05 16:28:50+0100]

This happens, because our /bin/sh is a real sh (and not a bash)
that only allows to export LD_LIBRARY_PATH as a separate command.


You mean it's a real sh and not a POSIX-compatible one.
http://pubs.opengroup.org/onlinepubs/009695399/utilities/export.html


Whatever it is, maybe it is a Korn Shell under (older) Solaris, it does 
not support:


  export name=word

One has to write:

  name=word
  export name

C.



Roman



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: [Solaris bindist] Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Brandon Allbery
On Wed, Feb 5, 2014 at 11:02 AM, Christian Maeder
christian.mae...@dfki.dewrote:

 Am 05.02.2014 16:45, schrieb Roman Cheplyaka:

 * Christian Maeder christian.mae...@dfki.de [2014-02-05 16:28:50+0100]

 This happens, because our /bin/sh is a real sh (and not a bash)
 that only allows to export LD_LIBRARY_PATH as a separate command.


 You mean it's a real sh and not a POSIX-compatible one.
 http://pubs.opengroup.org/onlinepubs/009695399/utilities/export.html


 Whatever it is, maybe it is a Korn Shell under (older) Solaris, it does
 not support:


The Korn shell is where the `export NAME=value` syntax originated.

I am tempted to suggest that we verify that this is still in current POSIX
standards (the cited one is from 2004); POSIX recently dropped a
significant number of Korn-shell-derived behaviors from the standard.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Arie Peterson
On Wednesday 05 February 2014 15:53:41 Karel Gardas wrote:

 Tried, on my ubuntu 12.04.02, but it fails miserably. Modern GHC
 requires alex 3.1 and cabal alex fails with (due to QuickCheck template
 haskell dependency):
 
 […]
 
 So, well, Catch-22?

You can avoid this by installing QuickCheck without template haskell parts:

$ cabal install -f -templateHaskell QuickCheck

(syntax could be off).


Regards,

Arie

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: [Solaris bindist] Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Roman Cheplyaka
* Brandon Allbery allber...@gmail.com [2014-02-05 11:06:04-0500]
 On Wed, Feb 5, 2014 at 11:02 AM, Christian Maeder
 christian.mae...@dfki.dewrote:
 
  Am 05.02.2014 16:45, schrieb Roman Cheplyaka:
 
  * Christian Maeder christian.mae...@dfki.de [2014-02-05 16:28:50+0100]
 
  This happens, because our /bin/sh is a real sh (and not a bash)
  that only allows to export LD_LIBRARY_PATH as a separate command.
 
 
  You mean it's a real sh and not a POSIX-compatible one.
  http://pubs.opengroup.org/onlinepubs/009695399/utilities/export.html
 
 
  Whatever it is, maybe it is a Korn Shell under (older) Solaris, it does
  not support:
 
 
 The Korn shell is where the `export NAME=value` syntax originated.
 
 I am tempted to suggest that we verify that this is still in current POSIX
 standards (the cited one is from 2004); POSIX recently dropped a
 significant number of Korn-shell-derived behaviors from the standard.

This one is from 2013:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#export

Roman


signature.asc
Description: Digital signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: [Solaris bindist] Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Christian Maeder

Am 05.02.2014 17:06, schrieb Brandon Allbery:

Whatever it is, maybe it is a Korn Shell under (older) Solaris, it
does not support:


The Korn shell is where the `export NAME=value` syntax originated.


It is a Bourne Shell under (our) SunOS 5.10 (not to be mixed up with 
Bourne-again shell bash)


I think it is easy to stay shell compatible.

C.


I am tempted to suggest that we verify that this is still in current
POSIX standards (the cited one is from 2004); POSIX recently dropped a
significant number of Korn-shell-derived behaviors from the standard.

--
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com mailto:allber...@gmail.com ballb...@sinenomine.net
mailto:ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Karel Gardas

On 02/ 5/14 03:56 PM, Joachim Breitner wrote:

Hi,

Am Mittwoch, den 05.02.2014, 15:53 +0100 schrieb Karel Gardas:

Tried, on my ubuntu 12.04.02, but it fails miserably. Modern GHC
requires alex 3.1 and cabal alex fails with (due to QuickCheck template
haskell dependency):

$ cabal install alex


have you tried --disable-tests?


Do you mean:

$ cabal install alex --disable-tests

no, but tried now and the result is still the same:

cabal: Error: some packages failed to install:
QuickCheck-2.6 failed during the building phase. The exception was:
ExitFailure 1
alex-3.1.3 depends on QuickCheck-2.6 which failed to install.
karel@panda:~$

Thanks for any idea how to fix that!

Karel
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: [Solaris bindist] Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Karel Gardas


Hi Christian,

the bindist is compiled on Solaris 11.0 so probably of no use for you on 
Solaris 10. Also I needed to provide separate tarball of compiled and 
installed libgmp.so as the Solaris 11's provided does not satisfy GHC 
requirements and GHC refuses to use that...


Karel

On 02/ 5/14 04:28 PM, Christian Maeder wrote:

Hi, I was surprised to find a Solaris bindist. However, on our SunOS
5.10 ./configure failed miserably.

-bash-3.2$ ./configure
checking for path to top of build tree...
utils/ghc-pwd/dist-install/build/tmp/ghc-pwd-bindist:
LD_LIBRARY_PATH=libraries/directory/dist-install/build:libraries/unix/dist-install/build:libraries/time/dist-install/build:libraries/old-locale/dist-install/build:libraries/filepath/dist-install/build:libraries/bytestring/dist-install/build:libraries/deepseq/dist-install/build:libraries/array/dist-install/build:libraries/base/dist-install/build:libraries/integer-gmp/dist-install/build:libraries/ghc-prim/dist-install/build:rts/dist/build:/opt/csw/lib:
is not an identifier
configure: error: cannot determine current directory

This happens, because our /bin/sh is a real sh (and not a bash) that
only allows to export LD_LIBRARY_PATH as a separate command.

The next failure was:
ld.so.1: ghc-pwd: fatal: libgmp.so.10: open failed: No such file or
directory

So I had to extend LD_LIBRARY_PATH manually (by /opt/csw/lib). After
this I got:
ld.so.1: ghc-pwd: fatal: relocation error: file
libraries/unix/dist-install/build/libHSunix-2.7.0.0-ghc7.8.20140130.so:
symbol clearenv: referenced symbol not found

Which of my libraries is wrong (or too old) despite a matching version
number?
libdl.so.1 = /lib/libdl.so.1
libgmp.so.10 = /opt/csw/lib/libgmp.so.10
libm.so.2 = /lib/libm.so.2
librt.so.1 = /lib/librt.so.1
libc.so.1 = /lib/libc.so.1
libgcc_s.so.1 = /opt/csw/lib/libgcc_s.so.1
libaio.so.1 = /lib/libaio.so.1
libmd.so.1 = /lib/libmd.so.1

I had to give up! (I'll try to build it from sources if I find time.)

Cheers Christian

Am 03.02.2014 23:35, schrieb Austin Seipp:

We are pleased to announce the first release candidate for GHC 7.8.1:

http://www.haskell.org/ghc/dist/7.8.1-rc1/
http://www.haskell.org/ghc/docs/7.8.1-rc1/html/

This includes the source tarball and bindists for Windows, Linux, OS
X, FreeBSD, and Solaris, on x86 and x86_64. There is a signed copy of
the SHA256 hashes available (attached) using my GPG key (keyid
0x3B58D86F).

We plan to make the 7.8.1 RC2 release quite soon, as we're aware of
some existing issues.

Please test as much as possible; bugs are much cheaper if we find them
before the release!



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-05 Thread Karel Gardas

On 02/ 5/14 05:03 PM, Arie Peterson wrote:

On Wednesday 05 February 2014 15:53:41 Karel Gardas wrote:


Tried, on my ubuntu 12.04.02, but it fails miserably. Modern GHC
requires alex 3.1 and cabal alex fails with (due to QuickCheck template
haskell dependency):

[…]

So, well, Catch-22?


You can avoid this by installing QuickCheck without template haskell parts:

$ cabal install -f -templateHaskell QuickCheck

(syntax could be off).


It's worked perfectly!

Thanks!
Karel
PS: building now...
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


empty stable and current bindist directories

2014-02-05 Thread harry
http://www.haskell.org/ghc/dist/current/dist/ and
http://www.haskell.org/ghc/dist/stable/dist/ are empty. Is this correct?



--
View this message in context: 
http://haskell.1045720.n5.nabble.com/empty-stable-and-current-bindist-directories-tp5743464.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive at 
Nabble.com.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users