Re: HP 2013.2 and GHC 7.6.2

Can anyone comment on the state of cabal, and in particular the version that was shipped with 7.6.2? We should only consider bumping that version if, like with 7.6.2, there is a major bug in it that will affect the Platform's users. If there is, we'll want to consider a point release in preference to a major bump to the "latest-n-greatest". Let's try to keep this last minute bumping to a minimum! On Tue, Apr 16, 2013 at 5:17 PM, Ivan Lazar Miljenovic < ivan.miljenovic@gmail.com> wrote:
Thanks for all the switft work. Here's my understanding of the situation:
7.6.2 has a bug (#7748) in it, which also appears in a lesser form in 7.6.1. SPJ has a fix, that works for the minimal code given in the bug report. Others are now trying to verify it fixes the bug as it was discovered in
On 16 April 2013 23:17, Mark Lentczner
wrote: the wild, in the hets package. Assuming it does fix, Ian will prepare a 7.6.3 release which is just this bug fix as a delta from 7.6.2.
Can we please get the version of Cabal bumped as well?
If that is the state of the world, then we'll delay the HP 2012.2.0.0 a
week
for 7.6.3.
- Mark
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com http://IvanMiljenovic.wordpress.com

i'm nearly through getting a build done (soonish)
do i just need to test the loop file on the ticket, or this "hets" package
too? (which i can't seem to find...)
On Tue, Apr 16, 2013 at 11:44 PM, Mark Lentczner
Can anyone comment on the state of cabal, and in particular the version that was shipped with 7.6.2?
We should only consider bumping that version if, like with 7.6.2, there is a major bug in it that will affect the Platform's users. If there is, we'll want to consider a point release in preference to a major bump to the "latest-n-greatest".
Let's try to keep this last minute bumping to a minimum!
On Tue, Apr 16, 2013 at 5:17 PM, Ivan Lazar Miljenovic < ivan.miljenovic@gmail.com> wrote:
Thanks for all the switft work. Here's my understanding of the situation:
7.6.2 has a bug (#7748) in it, which also appears in a lesser form in 7.6.1. SPJ has a fix, that works for the minimal code given in the bug report. Others are now trying to verify it fixes the bug as it was discovered in the wild, in the hets package. Assuming it does fix, Ian will prepare a 7.6.3 release which is just
On 16 April 2013 23:17, Mark Lentczner
wrote: this bug fix as a delta from 7.6.2.
Can we please get the version of Cabal bumped as well?
If that is the state of the world, then we'll delay the HP 2012.2.0.0 a
week
for 7.6.3.
- Mark
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com http://IvanMiljenovic.wordpress.com
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

On Tue, 2013-04-16 at 20:44 -0700, Mark Lentczner wrote:
Can anyone comment on the state of cabal, and in particular the version that was shipped with 7.6.2?
GHC-7.6.1 shipped with Cabal-1.16.0 We subsequently found a few bugs and released Cabal-1.16.0.3 (1.16.0.2 was the brown paper bag release, oops). We (cabal devs) assumed that GHC-7.6.2 would just automatically pick up the latest bug fix release in the Cabal-1.16.0.x series but for some reason that did not happen. Yes ideally we should be using Cabal-1.16.0.3 and if there is a GHC-7.6.3 then that should certainly use Cabal-1.16.0.3. In the absence of a GHC-7.6.3, I'm not sure if it's practical for the HP to bump the Cabal version. Duncan

Well.... based on Christian's excellent news, looks to mee like there is a candidate for a GHC-7.6.3. And so it sounds like that should pick up Cabal-1.16.0.3. I'd like to limit the micro-bumps as much as possible, is that it, everyone? I'd also like to double confirm with all concerned that we agree that this bug in GHC was serious enough to hold the Platform for (only a week), and deal with potential "last minute scrambling" from library devs and packagers that may result. I don't anticipate any real issue, but we are accepting the risk and stepping up to deal with any. For the record: I'm thumbs up. - Mark

On Wed, Apr 17, 2013 at 02:48:26PM +0100, Duncan Coutts wrote:
In the absence of a GHC-7.6.3, I'm not sure if it's practical for the HP to bump the Cabal version.
My proposal was 7.6.3 was a minimal release in a very short timeframe, to just fix #7748. Any additional changes introduce a possibility of regression. If you think that 7.6.2+1.16.0 would be OK, then it sounds like the fixes in 1.16.0.3 wouldn't be worth the risk (there are a number of GHC fixes that we won't be merging either, for the same reason). Thanks Ian

Hello,
cabal-install 1.16.0 and 1.16.0.1 have some serious bugs that one
encounters rather quickly. For example, at work I wasted some time until I
figured out that cabal was generating a 'Paths_' module that does not
compile. Because of this, you can't even use it to install a newer
version of itself, where the problem is fixed: you have to manually
bootstrap the new version with the script!
I think it would be quite unfortunate to make yet another GHC release that
ships with it, let alone add it to the Haskell platform.
-Iavor
*
*
*
*
On Wed, Apr 17, 2013 at 7:17 AM, Ian Lynagh
On Wed, Apr 17, 2013 at 02:48:26PM +0100, Duncan Coutts wrote:
In the absence of a GHC-7.6.3, I'm not sure if it's practical for the HP to bump the Cabal version.
My proposal was 7.6.3 was a minimal release in a very short timeframe, to just fix #7748. Any additional changes introduce a possibility of regression. If you think that 7.6.2+1.16.0 would be OK, then it sounds like the fixes in 1.16.0.3 wouldn't be worth the risk (there are a number of GHC fixes that we won't be merging either, for the same reason).
Thanks Ian
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Even though there's some risk bumping the Cabal version used in GHC, I
think it would be worth it given that quite a few people have tripped
over the bugs fixed in 1.16.0.3.
On Wed, Apr 17, 2013 at 8:20 AM, Iavor Diatchki
Hello,
cabal-install 1.16.0 and 1.16.0.1 have some serious bugs that one encounters rather quickly. For example, at work I wasted some time until I figured out that cabal was generating a 'Paths_' module that does not compile. Because of this, you can't even use it to install a newer version of itself, where the problem is fixed: you have to manually bootstrap the new version with the script!
I think it would be quite unfortunate to make yet another GHC release that ships with it, let alone add it to the Haskell platform.
-Iavor
On Wed, Apr 17, 2013 at 7:17 AM, Ian Lynagh
wrote: On Wed, Apr 17, 2013 at 02:48:26PM +0100, Duncan Coutts wrote:
In the absence of a GHC-7.6.3, I'm not sure if it's practical for the HP to bump the Cabal version.
My proposal was 7.6.3 was a minimal release in a very short timeframe, to just fix #7748. Any additional changes introduce a possibility of regression. If you think that 7.6.2+1.16.0 would be OK, then it sounds like the fixes in 1.16.0.3 wouldn't be worth the risk (there are a number of GHC fixes that we won't be merging either, for the same reason).
Thanks Ian
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries

On 4/17/13, Iavor Diatchki
Hello,
cabal-install 1.16.0 and 1.16.0.1 have some serious bugs that one encounters rather quickly. For example, at work I wasted some time until I figured out that cabal was generating a 'Paths_' module that does not compile. Because of this, you can't even use it to install a newer version of itself, where the problem is fixed: you have to manually bootstrap the new version with the script!
I came up with this. http://heisenbug.blogspot.fr/2013/02/old-cabal-subhell.html Pretty much what you have experienced. Cheers, Gabor
I think it would be quite unfortunate to make yet another GHC release that ships with it, let alone add it to the Haskell platform.
-Iavor
* * * *
On Wed, Apr 17, 2013 at 7:17 AM, Ian Lynagh
wrote: On Wed, Apr 17, 2013 at 02:48:26PM +0100, Duncan Coutts wrote:
In the absence of a GHC-7.6.3, I'm not sure if it's practical for the HP to bump the Cabal version.
My proposal was 7.6.3 was a minimal release in a very short timeframe, to just fix #7748. Any additional changes introduce a possibility of regression. If you think that 7.6.2+1.16.0 would be OK, then it sounds like the fixes in 1.16.0.3 wouldn't be worth the risk (there are a number of GHC fixes that we won't be merging either, for the same reason).
Thanks Ian
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

On Wed, Apr 17, 2013 at 05:37:37PM +0200, Gabor Greif wrote:
On 4/17/13, Iavor Diatchki
wrote: Hello,
cabal-install 1.16.0 and 1.16.0.1 have some serious bugs that one encounters rather quickly. For example, at work I wasted some time until I figured out that cabal was generating a 'Paths_' module that does not compile. Because of this, you can't even use it to install a newer version of itself, where the problem is fixed: you have to manually bootstrap the new version with the script!
I came up with this.
http://heisenbug.blogspot.fr/2013/02/old-cabal-subhell.html
Pretty much what you have experienced.
This doesn't appear to affect the Cabal that GHC 7.6.2 ships with. I get ... catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a catchIO = Exception.catch ... getBinDir = catchIO (getEnv "HTTP_bindir") (\_ -> return bindir) in Paths_HTTP. Thanks Ian

If the bug is in cabal-install 0.3, that is easy - as HP picks and builds
that.
If the bug in cabal, that requires a bump in what GHC central builds and
packages.
Which is it?
- Mark
On Wed, Apr 17, 2013 at 8:46 AM, Ian Lynagh
On Wed, Apr 17, 2013 at 05:37:37PM +0200, Gabor Greif wrote:
On 4/17/13, Iavor Diatchki
wrote: Hello,
cabal-install 1.16.0 and 1.16.0.1 have some serious bugs that one encounters rather quickly. For example, at work I wasted some time until I figured out that cabal was generating a 'Paths_' module that does not compile. Because of this, you can't even use it to install a newer version of itself, where the problem is fixed: you have to manually bootstrap the new version with the script!
I came up with this.
http://heisenbug.blogspot.fr/2013/02/old-cabal-subhell.html
Pretty much what you have experienced.
This doesn't appear to affect the Cabal that GHC 7.6.2 ships with. I get
...
catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a catchIO = Exception.catch
...
getBinDir = catchIO (getEnv "HTTP_bindir") (\_ -> return bindir)
in Paths_HTTP.
Thanks Ian
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries

These are the bugs in *Cabal* that got fixed between 1.16.0 and
1.16.0.3 that are relevant:
* Fix bug that makes setting "verbose: 1" or "jobs: N" in the
~/.cabal/config file crash (#980)
* Fix the logic for building profiled executables with TemplateHaskell.
* Fix logic for building dynamic executables with TemplateHaskell
Nothing major. We could probably live without these fixes.
We do need a new *cabal-install* however, as it fixes:
Disable setting the jobs: $nprocs line in default ~/.cabal config
It breaks for fresh installs with users who have Cabal-1.6.0
rather than Cabal-1.6.0.1, ie users of ghc-7.6.1.
On Wed, Apr 17, 2013 at 10:15 AM, Mark Lentczner
If the bug is in cabal-install 0.3, that is easy - as HP picks and builds that. If the bug in cabal, that requires a bump in what GHC central builds and packages.
Which is it?
- Mark
On Wed, Apr 17, 2013 at 8:46 AM, Ian Lynagh
wrote: On Wed, Apr 17, 2013 at 05:37:37PM +0200, Gabor Greif wrote:
On 4/17/13, Iavor Diatchki
wrote: Hello,
cabal-install 1.16.0 and 1.16.0.1 have some serious bugs that one encounters rather quickly. For example, at work I wasted some time until I figured out that cabal was generating a 'Paths_' module that does not compile. Because of this, you can't even use it to install a newer version of itself, where the problem is fixed: you have to manually bootstrap the new version with the script!
I came up with this.
http://heisenbug.blogspot.fr/2013/02/old-cabal-subhell.html
Pretty much what you have experienced.
This doesn't appear to affect the Cabal that GHC 7.6.2 ships with. I get
...
catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a catchIO = Exception.catch
...
getBinDir = catchIO (getEnv "HTTP_bindir") (\_ -> return bindir)
in Paths_HTTP.
Thanks Ian
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
participants (7)
-
Carter Schonwald
-
Duncan Coutts
-
Gabor Greif
-
Ian Lynagh
-
Iavor Diatchki
-
Johan Tibell
-
Mark Lentczner