Re: [ANNOUNCE] GHC 8.6.1 released

2018-10-22 Thread Jens Petersen
On Mon, 24 Sep 2018 at 22:36, Ben Gamari  wrote:
> On September 24, 2018 2:09:13 AM CDT, Jens Petersen  
> wrote:
> >I have built 8.6.1 for Fedora 27, 28, 29, Rawhide, and EPEL7 in:
> >https://copr.fedorainfracloud.org/coprs/petersen/ghc-8.6.1/
> >The repo also includes latest cabal-install.
> Thanks Jens! This is a very helpful service.

Btw I wanted to add that it is a lot easier for me now to test builds
of ghc than it was in the past (mainly since I stopped doing
bootstraps and testsuite builds, and also added a quick build option
in my .spec build script).

In Fedora we have 6 arch's now: 2 intel, 2 arm, s390x, and ppc64le.
And the new Fedora module system means I can ship multiple versions of
ghc for current Fedora releases (since 28), which is rather nice. :)

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


Re: [ANNOUNCE] GHC 8.6.1 released

2018-10-20 Thread Evan Laforge
On Thu, Oct 18, 2018 at 12:23 AM Kazu Yamamoto  wrote:
> > I met the same problem.
>
> See https://ghc.haskell.org/trac/ghc/ticket/15769 for workaround.

Thanks for the note, this helped me find a solution.  I updated the
ticket with my experience.
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: [ANNOUNCE] GHC 8.6.1 released

2018-10-18 Thread 山本和彦
Hi Evan,

>> Has anyone installed the OS X binary distribution?  I get:
>> 
>> "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy
>> libraries/ghc-prim dist-install "strip" '' '/usr/local'
>> '/usr/local/lib/ghc-8.6.1'
>> '/usr/local/share/doc/ghc-8.6.1/html/libraries' 'v p dyn'
>> dyld: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
>>   Referenced from:
>> /usr/local/src/hs/ghc-8.6.1/libraries/base/dist-install/build/libHSbase-4.12.0.0-ghc8.6.1.dylib
>>   Reason: image not found
> 
> I met the same problem.

See https://ghc.haskell.org/trac/ghc/ticket/15769 for workaround.

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


Re: [ANNOUNCE] GHC 8.6.1 released

2018-10-03 Thread Phyx
Hi All,

I've made a ticket for this but it seems it hasn't gotten any attention at
all. As it stands now the 8.6.1 tarballs for Windows are a bit broken.
Because of a mistake I've made during the mapping of the ACLs from fopen to
CreateFile it's accidentally asking for WRITE attributes rights when
opening a read-only file.
Note that this is slightly different from WRITE permissions on the file
itself. So reading a read-only file works fine, as long as you're the owner
or have sufficient right to modify the metadata.
This is why the CI did not catch it.  The CI cannot create a file which
it's not an owner off, or for which it doesn't have permissions to remove
the file (it would get stuck).

The only way to catch this is to run GHC from a privileged location such as
how chocolatey installs it or how Haskell Platform would. Essentially this
means no GHC on chocolatey or HP
can run without you being an admin or the owner of the location it was
installed to, and the same applies to any binaries produced by this GHC.
This probably will prevent HP builds for it.

The ticket is here https://ghc.haskell.org/trac/ghc/ticket/15667 and the
patch has been sitting at https://phabricator.haskell.org/D5177

I'll modify my chocolatey packages to actually run the GHC after installing
it as a post install step. This should catch such errors in the future
during betas.

Thanks,
Tamar

On Mon, Sep 24, 2018 at 2:37 PM Ben Gamari  wrote:

>
>
> On September 24, 2018 2:09:13 AM CDT, Jens Petersen 
> wrote:
> >I have built 8.6.1 for Fedora 27, 28, 29, Rawhide, and EPEL7 in:
> >
> >https://copr.fedorainfracloud.org/coprs/petersen/ghc-8.6.1/
> >
> >The repo also includes latest cabal-install.
> >
> Thanks Jens! This is a very helpful service.
>
> Cheers,
>
> - Ben
>
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: [ANNOUNCE] GHC 8.6.1 released

2018-09-24 Thread Ben Gamari


On September 24, 2018 2:09:13 AM CDT, Jens Petersen  
wrote:
>I have built 8.6.1 for Fedora 27, 28, 29, Rawhide, and EPEL7 in:
>
>https://copr.fedorainfracloud.org/coprs/petersen/ghc-8.6.1/
>
>The repo also includes latest cabal-install.
>
Thanks Jens! This is a very helpful service. 

Cheers, 

- Ben 


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: [ANNOUNCE] GHC 8.6.1 released

2018-09-24 Thread Jens Petersen
I have built 8.6.1 for Fedora 27, 28, 29, Rawhide, and EPEL7 in:

https://copr.fedorainfracloud.org/coprs/petersen/ghc-8.6.1/

The repo also includes latest cabal-install.

Thanks for the release!
Jens
On Sat, 22 Sep 2018 at 09:58, Ben Gamari  wrote:
>
> Hello everyone,
>
> The GHC team is pleased to announce the availability of GHC 8.6.1, the
> fourth major release in the GHC 8 series. The source distribution, binary
> distributions, and documentation for this release are available at
>
> https://downloads.haskell.org/~ghc/8.6.1
>
> The 8.6 release fixes over 400 bugs from the 8.4 series and introduces a
> number of exciting features. These most notably include:
>
>  * A new deriving mechanism, `deriving via`, providing a convenient way
>for users to extend Haskell's typeclass deriving mechanism
>
>  * Quantified constraints, allowing forall quantification in constraint 
> contexts
>
>  * An early version of the GHCi `:doc` command
>
>  * The `ghc-heap-view` package, allowing introspection into the
>structure of GHC's heap
>
>  * Valid hole fit hints, helping the user to find terms to fill typed
>holes in their programs
>
>  * The BlockArguments extension, allowing the `$` operator to be omitted
>in some unambiguous contexts
>
>  * An exciting new plugin mechanism, source plugins, allowing plugins to
>inspect and modify a wide variety of compiler representations.
>
>  * Improved recompilation checking when plugins are used
>
>  * Significantly better handling of macOS linker command size limits,
>avoiding linker errors while linking large projects
>
>  * The next phase of the MonadFail proposal, enabling
>-XMonadFailDesugaring by default
>
> A full list of the changes in this release can be found in the
> release notes:
>
> 
> https://downloads.haskell.org/~ghc/8.6.1/docs/html/users_guide/8.6.1-notes.html
>
> Perhaps of equal importance, GHC 8.6 is the second major release made
> under GHC's accelerated six-month release schedule and the first set of
> binary distributions built primarily using our new continuous
> integration scheme. While the final 8.6 release is around three weeks
> later than initially scheduled due to late-breaking bug reports, we
> expect that the 8.8 release schedule shouldn't be affected.
>
> Thanks to everyone who has contributed to developing, documenting, and
> testing this release!
>
> As always, let us know if you encounter trouble.
>
>
> How to get it
> ~
>
> The easy way is to go to the web page, which should be self-explanatory:
>
> https://www.haskell.org/ghc/
>
> We supply binary builds in the native package format for many
> platforms, and the source distribution is available from the same
> place.
>
> Packages will appear as they are built - if the package for your
> system isn't available yet, please try again later.
>
>
> Background
> ~~
>
> Haskell is a standard lazy functional programming language.
>
> GHC is a state-of-the-art programming suite for Haskell.  Included is
> an optimising compiler generating efficient code for a variety of
> platforms, together with an interactive system for convenient, quick
> development.  The distribution includes space and time profiling
> facilities, a large collection of libraries, and support for various
> language extensions, including concurrency, exceptions, and foreign
> language interfaces. GHC is distributed under a BSD-style open source license.
>
> A wide variety of Haskell related resources (tutorials, libraries,
> specifications, documentation, compilers, interpreters, references,
> contact information, links to research groups) are available from the
> Haskell home page (see below).
>
>
> On-line GHC-related resources
> ~~
>
> Relevant URLs on the World-Wide Web:
>
> GHC home page  https://www.haskell.org/ghc/
> GHC developers' home page  https://ghc.haskell.org/trac/ghc/
> Haskell home page  https://www.haskell.org/
>
>
> Supported Platforms
> ~~~
>
> The list of platforms we support, and the people responsible for them,
> is here:
>
>https://ghc.haskell.org/trac/ghc/wiki/Contributors
>
> Ports to other platforms are possible with varying degrees of
> difficulty.  The Building Guide describes how to go about porting to a
> new platform:
>
> https://ghc.haskell.org/trac/ghc/wiki/Building
>
>
> Developers
> ~~
>
> We welcome new contributors.  Instructions on accessing our source
> code repository, and getting started with hacking on GHC, are
> available from the GHC's developer's site run by Trac:
>
>   https://ghc.haskell.org/trac/ghc/
>
>
> Mailing lists
> ~
>
> We run mailing lists for GHC users and bug reports; to subscribe, use
> the web interfaces at
>
> https://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users
> https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
>
> There are several other haskell and ghc-related mailing 

Re: [ANNOUNCE] GHC 8.6.1 released

2018-09-22 Thread George Colpitts
Yes, it worked for me.

On Sat, Sep 22, 2018 at 7:44 PM Evan Laforge  wrote:

> Has anyone installed the OS X binary distribution?  I get:
>
> "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy
> libraries/ghc-prim dist-install "strip" '' '/usr/local'
> '/usr/local/lib/ghc-8.6.1'
> '/usr/local/share/doc/ghc-8.6.1/html/libraries' 'v p dyn'
> dyld: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
>   Referenced from:
>
> /usr/local/src/hs/ghc-8.6.1/libraries/base/dist-install/build/libHSbase-4.12.0.0-ghc8.6.1.dylib
>   Reason: image not found
>
> otool -L on libHSBase indeed shows a reference to
> /usr/local/opt/gmp/lib/libgmp.10.dylib, which of course doesn't exist,
> not being a standard location.  otool on 8.4.2's libHSBase has no
> reference to libgmp at all.  Both of them have
> @rpath/libHSinteger-gmp-1.0.2.0-ghc$version.dylib, but perhaps that's
> just ghc's binding to libgmp.
>
> I don't actually know how ghc links libgmp nowadays.  Perhaps the
> usual OS X build statically links libgmp and some flags got wrong for
> this one and it wound up dynamic?
> On Fri, Sep 21, 2018 at 5:57 PM Ben Gamari  wrote:
> >
> > Hello everyone,
> >
> > The GHC team is pleased to announce the availability of GHC 8.6.1, the
> > fourth major release in the GHC 8 series. The source distribution, binary
> > distributions, and documentation for this release are available at
> >
> > https://downloads.haskell.org/~ghc/8.6.1
> >
> > The 8.6 release fixes over 400 bugs from the 8.4 series and introduces a
> > number of exciting features. These most notably include:
> >
> >  * A new deriving mechanism, `deriving via`, providing a convenient way
> >for users to extend Haskell's typeclass deriving mechanism
> >
> >  * Quantified constraints, allowing forall quantification in constraint
> contexts
> >
> >  * An early version of the GHCi `:doc` command
> >
> >  * The `ghc-heap-view` package, allowing introspection into the
> >structure of GHC's heap
> >
> >  * Valid hole fit hints, helping the user to find terms to fill typed
> >holes in their programs
> >
> >  * The BlockArguments extension, allowing the `$` operator to be omitted
> >in some unambiguous contexts
> >
> >  * An exciting new plugin mechanism, source plugins, allowing plugins to
> >inspect and modify a wide variety of compiler representations.
> >
> >  * Improved recompilation checking when plugins are used
> >
> >  * Significantly better handling of macOS linker command size limits,
> >avoiding linker errors while linking large projects
> >
> >  * The next phase of the MonadFail proposal, enabling
> >-XMonadFailDesugaring by default
> >
> > A full list of the changes in this release can be found in the
> > release notes:
> >
> >
> https://downloads.haskell.org/~ghc/8.6.1/docs/html/users_guide/8.6.1-notes.html
> >
> > Perhaps of equal importance, GHC 8.6 is the second major release made
> > under GHC's accelerated six-month release schedule and the first set of
> > binary distributions built primarily using our new continuous
> > integration scheme. While the final 8.6 release is around three weeks
> > later than initially scheduled due to late-breaking bug reports, we
> > expect that the 8.8 release schedule shouldn't be affected.
> >
> > Thanks to everyone who has contributed to developing, documenting, and
> > testing this release!
> >
> > As always, let us know if you encounter trouble.
> >
> >
> > How to get it
> > ~
> >
> > The easy way is to go to the web page, which should be self-explanatory:
> >
> > https://www.haskell.org/ghc/
> >
> > We supply binary builds in the native package format for many
> > platforms, and the source distribution is available from the same
> > place.
> >
> > Packages will appear as they are built - if the package for your
> > system isn't available yet, please try again later.
> >
> >
> > Background
> > ~~
> >
> > Haskell is a standard lazy functional programming language.
> >
> > GHC is a state-of-the-art programming suite for Haskell.  Included is
> > an optimising compiler generating efficient code for a variety of
> > platforms, together with an interactive system for convenient, quick
> > development.  The distribution includes space and time profiling
> > facilities, a large collection of libraries, and support for various
> > language extensions, including concurrency, exceptions, and foreign
> > language interfaces. GHC is distributed under a BSD-style open source
> license.
> >
> > A wide variety of Haskell related resources (tutorials, libraries,
> > specifications, documentation, compilers, interpreters, references,
> > contact information, links to research groups) are available from the
> > Haskell home page (see below).
> >
> >
> > On-line GHC-related resources
> > ~~
> >
> > Relevant URLs on the World-Wide Web:
> >
> > GHC home page  https://www.haskell.org/ghc/
> > GHC developers' home page  

Re: [ANNOUNCE] GHC 8.6.1 released

2018-09-22 Thread Evan Laforge
Has anyone installed the OS X binary distribution?  I get:

"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy
libraries/ghc-prim dist-install "strip" '' '/usr/local'
'/usr/local/lib/ghc-8.6.1'
'/usr/local/share/doc/ghc-8.6.1/html/libraries' 'v p dyn'
dyld: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
  Referenced from:
/usr/local/src/hs/ghc-8.6.1/libraries/base/dist-install/build/libHSbase-4.12.0.0-ghc8.6.1.dylib
  Reason: image not found

otool -L on libHSBase indeed shows a reference to
/usr/local/opt/gmp/lib/libgmp.10.dylib, which of course doesn't exist,
not being a standard location.  otool on 8.4.2's libHSBase has no
reference to libgmp at all.  Both of them have
@rpath/libHSinteger-gmp-1.0.2.0-ghc$version.dylib, but perhaps that's
just ghc's binding to libgmp.

I don't actually know how ghc links libgmp nowadays.  Perhaps the
usual OS X build statically links libgmp and some flags got wrong for
this one and it wound up dynamic?
On Fri, Sep 21, 2018 at 5:57 PM Ben Gamari  wrote:
>
> Hello everyone,
>
> The GHC team is pleased to announce the availability of GHC 8.6.1, the
> fourth major release in the GHC 8 series. The source distribution, binary
> distributions, and documentation for this release are available at
>
> https://downloads.haskell.org/~ghc/8.6.1
>
> The 8.6 release fixes over 400 bugs from the 8.4 series and introduces a
> number of exciting features. These most notably include:
>
>  * A new deriving mechanism, `deriving via`, providing a convenient way
>for users to extend Haskell's typeclass deriving mechanism
>
>  * Quantified constraints, allowing forall quantification in constraint 
> contexts
>
>  * An early version of the GHCi `:doc` command
>
>  * The `ghc-heap-view` package, allowing introspection into the
>structure of GHC's heap
>
>  * Valid hole fit hints, helping the user to find terms to fill typed
>holes in their programs
>
>  * The BlockArguments extension, allowing the `$` operator to be omitted
>in some unambiguous contexts
>
>  * An exciting new plugin mechanism, source plugins, allowing plugins to
>inspect and modify a wide variety of compiler representations.
>
>  * Improved recompilation checking when plugins are used
>
>  * Significantly better handling of macOS linker command size limits,
>avoiding linker errors while linking large projects
>
>  * The next phase of the MonadFail proposal, enabling
>-XMonadFailDesugaring by default
>
> A full list of the changes in this release can be found in the
> release notes:
>
> 
> https://downloads.haskell.org/~ghc/8.6.1/docs/html/users_guide/8.6.1-notes.html
>
> Perhaps of equal importance, GHC 8.6 is the second major release made
> under GHC's accelerated six-month release schedule and the first set of
> binary distributions built primarily using our new continuous
> integration scheme. While the final 8.6 release is around three weeks
> later than initially scheduled due to late-breaking bug reports, we
> expect that the 8.8 release schedule shouldn't be affected.
>
> Thanks to everyone who has contributed to developing, documenting, and
> testing this release!
>
> As always, let us know if you encounter trouble.
>
>
> How to get it
> ~
>
> The easy way is to go to the web page, which should be self-explanatory:
>
> https://www.haskell.org/ghc/
>
> We supply binary builds in the native package format for many
> platforms, and the source distribution is available from the same
> place.
>
> Packages will appear as they are built - if the package for your
> system isn't available yet, please try again later.
>
>
> Background
> ~~
>
> Haskell is a standard lazy functional programming language.
>
> GHC is a state-of-the-art programming suite for Haskell.  Included is
> an optimising compiler generating efficient code for a variety of
> platforms, together with an interactive system for convenient, quick
> development.  The distribution includes space and time profiling
> facilities, a large collection of libraries, and support for various
> language extensions, including concurrency, exceptions, and foreign
> language interfaces. GHC is distributed under a BSD-style open source license.
>
> A wide variety of Haskell related resources (tutorials, libraries,
> specifications, documentation, compilers, interpreters, references,
> contact information, links to research groups) are available from the
> Haskell home page (see below).
>
>
> On-line GHC-related resources
> ~~
>
> Relevant URLs on the World-Wide Web:
>
> GHC home page  https://www.haskell.org/ghc/
> GHC developers' home page  https://ghc.haskell.org/trac/ghc/
> Haskell home page  https://www.haskell.org/
>
>
> Supported Platforms
> ~~~
>
> The list of platforms we support, and the people responsible for them,
> is here:
>
>https://ghc.haskell.org/trac/ghc/wiki/Contributors
>
> Ports to other platforms are 

Re: [ANNOUNCE] GHC 8.6.1 released

2018-09-22 Thread Herbert Valerio Riedel
Hello everyone,

Here's an addendum to the announcment as it ommitted an important detail:

GHC 8.6.1 is only guaranteed to work properly with tooling which uses
lib:Cabal version 2.4.0.1 or later.

As such, GHC 8.6.1 works best with ​`cabal-install` 2.4.0.0 or later;
please upgrade to `cabal-install` 2.4.0.0 if you haven't already.

Note that cabal-install 2.4 supports all GHC versions back till GHC
7.0.4 and we also strongly recommend to use the latest available stable
release of `cabal` even with older GHC releases as bugfixes and
improvements aren't always backported to older Cabal releases as well as
to be able to benefit from recently added CABAL format features[8] (or
be able to access package releases on Hackage[9] which rely on those
features) which require recent enough versions of Cabal as well.

Note that binaries aren't available on cabal's download page[1] yet.

If you're on Ubuntu or Debian, you can get a compiled cabal-install 2.4
`.deb` package via Apt from

- https://launchpad.net/~hvr/+archive/ubuntu/ghc

or

- http://downloads.haskell.org/debian/

respectively.

Binary versions for macOS and Windows are also expected to become
available via [2] and [3] soon (and also at [1]).

In the meantime, if you already have GHC 7.10 or later (together with a
compatible `cabal` executable) installed, you can easily install cabal
2.4 yourself from Hackage[9] by invoking

cabal install cabal-install-2.4.0.0

and making sure that the resulting `cabal` executable is accessible via
your $PATH; you can check with `cabal --version` which should emit
something along the lines of

$ cabal --version
cabal-install version 2.4.0.0
compiled using version 2.4.0.1 of the Cabal library 



Finally, the Haskell Platform[4] release for GHC 8.6.1 should be
available soon as well which provides yet another recommended "standard
way to get GHC and related tools"[5] in a uniform way across multiple
operating systems. See [4] and [5] for more details about the standard
Haskell Platform distribution.


 [1]: https://www.haskell.org/cabal/download.html
 
 [2]: https://haskell.futurice.com/
 
 [3]: https://hub.zhox.com/posts/chocolatey-introduction/
 
 [4]: https://www.haskell.org/platform/
 
 [5]: https://mail.haskell.org/pipermail/ghc-devs/2015-July/009379.html

 [6]: https://launchpad.net/~hvr/+archive/ubuntu/ghc
 
 [7]: http://downloads.haskell.org/debian/

 [8]: https://cabal.readthedocs.io/en/latest/file-format-changelog.html

 [9]: http://hackage.haskell.org/
 

-- Herbert


On 2018-09-21 at 20:57:02 -0400, Ben Gamari wrote:
> Hello everyone,
>
> The GHC team is pleased to announce the availability of GHC 8.6.1, the
> fourth major release in the GHC 8 series. The source distribution, binary
> distributions, and documentation for this release are available at
>
> https://downloads.haskell.org/~ghc/8.6.1
>
> The 8.6 release fixes over 400 bugs from the 8.4 series and introduces a
> number of exciting features. These most notably include:
>
>  * A new deriving mechanism, `deriving via`, providing a convenient way
>for users to extend Haskell's typeclass deriving mechanism
>
>  * Quantified constraints, allowing forall quantification in constraint 
> contexts
>
>  * An early version of the GHCi `:doc` command
>
>  * The `ghc-heap-view` package, allowing introspection into the
>structure of GHC's heap
>
>  * Valid hole fit hints, helping the user to find terms to fill typed
>holes in their programs
>
>  * The BlockArguments extension, allowing the `$` operator to be omitted
>in some unambiguous contexts
>
>  * An exciting new plugin mechanism, source plugins, allowing plugins to
>inspect and modify a wide variety of compiler representations.
>
>  * Improved recompilation checking when plugins are used
>
>  * Significantly better handling of macOS linker command size limits,
>avoiding linker errors while linking large projects
>
>  * The next phase of the MonadFail proposal, enabling
>-XMonadFailDesugaring by default
>
> A full list of the changes in this release can be found in the
> release notes:
>
> 
> https://downloads.haskell.org/~ghc/8.6.1/docs/html/users_guide/8.6.1-notes.html
>
> Perhaps of equal importance, GHC 8.6 is the second major release made
> under GHC's accelerated six-month release schedule and the first set of
> binary distributions built primarily using our new continuous
> integration scheme. While the final 8.6 release is around three weeks
> later than initially scheduled due to late-breaking bug reports, we
> expect that the 8.8 release schedule shouldn't be affected.
>
> Thanks to everyone who has contributed to developing, documenting, and
> testing this release!
>
> As always, let us know if you encounter trouble.
>
>
> How to get it
> ~
>
> The easy way is to go to the web page, which should be self-explanatory:
>
> https://www.haskell.org/ghc/
>
> We supply binary builds in the native package format for many
> platforms,