darcs

Patch 147 Require Cabal 1.8, fix the build-deps du... (and 1 more)

Title Require Cabal 1.8, fix the build-deps du... (and 1 more)
Superseder Nosy List dagit, darcs-users, duncan, ganesh, kowey, mornfall
Related Issues
Status obsoleted Assigned To
Milestone

Created on 2010-01-19.19:02:15 by mornfall, last changed 2011-05-10.22:07:41 by darcswatch. Tracked on DarcsWatch.

Files
File name Status Uploaded Type Edit Remove
require-cabal-1_8_-fix-the-build_deps-dump-in-__exact_version_.dpatch mornfall, 2010-01-19.19:02:14 text/x-darcs-patch
require-cabal-1_8_-fix-the-build_deps-dump-in-__exact_version_.dpatch mornfall, 2010-01-20.20:18:59 text/x-darcs-patch
require-cabal-1_8_-fix-the-build_deps-dump-in-__exact_version_.dpatch mornfall, 2010-01-20.22:02:29 text/x-darcs-patch
unnamed mornfall, 2010-01-19.19:02:14 text/plain
unnamed mornfall, 2010-01-20.20:18:59 text/plain
unnamed mornfall, 2010-01-20.22:02:29 text/plain
See mailing list archives for discussion on individual patches.
Messages
msg9866 (view) Author: mornfall Date: 2010-01-19.19:02:14
There come patches that make darcs use Cabal 1.8.  The latter patch fixes the
excessive recompilation we have been hating since forever.

Probably in draft status, but could go in if deemed good enough.

Yours,
   Petr.

2 patches for repository darcs-unstable@darcs.net:darcs:

Tue Jan 19 19:55:33 CET 2010  Petr Rockai <me@mornfall.net>
  * Require Cabal 1.8, fix the build-deps dump in --exact-version.

Tue Jan 19 19:56:21 CET 2010  Petr Rockai <me@mornfall.net>
  * Take advantage of Cabal 1.8 internal library capability.
Attachments
msg9872 (view) Author: mornfall Date: 2010-01-20.20:18:59
Amended to avoid conflict with Ganesh's extensible-exceptions work. A timely
review would be quite useful, as this is currently blocking the 3 of our
buildslaves that use Cabal 1.8 from building darcs. (Applying this will likely
break the others, but we can fix those by installing Cabal 1.8. I would have to
pull the 6.12 buildslave in order to avoid 1.8...)

Yours,
   Petr.

2 patches for repository darcs-unstable@darcs.net:darcs:

Tue Jan 19 19:55:33 CET 2010  Petr Rockai <me@mornfall.net>
  * Require Cabal 1.8, fix the build-deps dump in --exact-version.

Wed Jan 20 20:55:15 CET 2010  Petr Rockai <me@mornfall.net>
  * Take advantage of Cabal 1.8 internal library capability.
Attachments
msg9877 (view) Author: mornfall Date: 2010-01-20.22:02:29
This amendment fixes witnesses and unit tests (now they work after first patch
as well after second patch).

However, it seems that it's not such a great idea to apply the second patch
just yet, as Duncan says (and I can confirm) that cabal-install does not grok
this yet. Also, he said it is broken with GHC 6.12, which is probably even
worse.

Anyway, after this iteration, at least the 1.8 bump should work.

Yours,
   Petr.

2 patches for repository darcs-unstable@darcs.net:darcs:

Wed Jan 20 22:51:58 CET 2010  Petr Rockai <me@mornfall.net>
  * Require Cabal 1.8, fix the build-deps dump in --exact-version.

Wed Jan 20 22:53:33 CET 2010  Petr Rockai <me@mornfall.net>
  * Take advantage of Cabal 1.8 internal library capability.
Attachments
msg9880 (view) Author: ganesh Date: 2010-01-20.22:27:39
I've so far tried this on GHC 6.8.3 and 6.12.1, using cabal-install
0.8.0 built against Cabal 1.8.0.2.

6.12.1 is fine.
with 6.8.3, I had to install the Cabal 1.8.0.2 library before I could
cabal install darcs (it wasn't installed already as cabal-install was
built with a different GHC). Is there any alternative to this, like
adding Cabal 1.8 as an explicit build-dep too?

I also want to try with GHC 6.10.4 before accepting this patch, which
I'll do tomorrow night. If anyone else wants to do it in the meantime
and apply this, go ahead. Remember only to apply the first patch.
msg10006 (view) Author: kowey Date: 2010-02-14.21:55:20
I've created http://hackage.haskell.org/trac/hackage/ticket/634 for the
cabal-install issue.  

I'd like to wait maybe one week (till 21 Feb) to see if the Cabal folks
can tell us if (A) this will be fixed by Darcs 2.5 (July 2010?) and (B)
if this will be fixed any sooner than that.

If we don't hear back from them by next week, we should make a decision
about how to move forward.  I've been polling the Review Team about this
(still need to ask/hear from Trent and Reinier).  If we don't reach a
consensus, I can make any one of these Iron Fist decisions to unblock
things.  It sounds like nobody is really that bothered either way, so
it'll really just be a very lightly plated fist.

(we may need a new 'blocked' patchstatus)
msg10249 (view) Author: dagit Date: 2010-03-18.02:44:49
It doesn't look like the cabal team has reviewed the ticket Eric 
created.

Eric, what is the next step?

Thanks,
Jason
msg10263 (view) Author: kowey Date: 2010-03-18.07:43:00
Thanks for the patch management.  The next step is to see if Duncan can
be persuaded to work on this during ZuriHac :-)
msg10353 (view) Author: kowey Date: 2010-03-21.11:20:14
Here's the current progress on this.  Duncan has fixed hackage #634 (and
more importantly) the GHC 6.12 support for this.  Progress!

Looks like our next job is to (a) wait for the releases of Cabal and
cabal-install respectively and (b1) bump the Cabal version requirement
on darcs.cabal or (b2) wait for the next point release of the GHC 6.12
Haskell Platform to be released.

Either way, we can afford to wait, because it turns out I was wrong
about this blocking other work.

Using amend-in-progress.  Maybe we need a patchstatus to mean
waiting-for-precondition
msg11716 (view) Author: mornfall Date: 2010-07-11.17:05:50
This has been fixed in cabal-install 0.8.2, but it'll take a while until 
it gets widespread-enough for us to require it, I guess. The patch is 
also woefully out of date. If there's still demand for this, someone will 
need to do the .cabal changes again, I think.
History
Date User Action Args
2010-01-19 19:02:15mornfallcreate
2010-01-19 19:03:28darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-4d6f45310d29ceef2f6cf770d7ac9a751c766da7
2010-01-20 20:19:00mornfallsetfiles: + require-cabal-1_8_-fix-the-build_deps-dump-in-__exact_version_.dpatch, unnamed
messages: + msg9872
2010-01-20 20:20:39darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-4d6f45310d29ceef2f6cf770d7ac9a751c766da7 -> http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-3811d67f19da19ba28c75b63855010995e0832df
2010-01-20 20:55:24ganeshsetstatus: needs-review -> review-in-progress
nosy: + ganesh
assignedto: ganesh
2010-01-20 22:02:29mornfallsetfiles: + require-cabal-1_8_-fix-the-build_deps-dump-in-__exact_version_.dpatch, unnamed
messages: + msg9877
2010-01-20 22:03:39darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-3811d67f19da19ba28c75b63855010995e0832df -> http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-51850548cb7c24e7d3d440b1cdc8e458f0f07225
2010-01-20 22:27:39ganeshsetmessages: + msg9880
2010-02-14 21:55:25koweysetnosy: + kowey, duncan
messages: + msg10006
2010-03-18 02:44:50dagitsetnosy: + dagit
messages: + msg10249
assignedto: ganesh -> kowey
2010-03-18 07:43:00koweysetmessages: + msg10263
2010-03-21 11:20:16koweysetstatus: review-in-progress -> followup-in-progress
assignedto: kowey ->
messages: + msg10353
2010-07-11 17:05:50mornfallsetstatus: followup-in-progress -> obsoleted
messages: + msg11716
2011-05-10 19:06:43darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-51850548cb7c24e7d3d440b1cdc8e458f0f07225 -> http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-3811d67f19da19ba28c75b63855010995e0832df
2011-05-10 21:05:42darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-3811d67f19da19ba28c75b63855010995e0832df -> http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-4d6f45310d29ceef2f6cf770d7ac9a751c766da7
2011-05-10 22:07:41darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-4d6f45310d29ceef2f6cf770d7ac9a751c766da7 -> http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-51850548cb7c24e7d3d440b1cdc8e458f0f07225