Re: regression in ghc / cabal integration in 9.2.1

2021-10-30 Thread Albert Y. C. Lai
On 2021-10-30 3:43 p.m., Brandon Allbery wrote: Wasn't there specifically a new cabal version released to deal with 9.2.1? 3.4.1.0 / 3.6.2.0? There is a double fault here. Firstly yes, one should use a newer version of cabal-install that is known to support GHC 9.2. So, 3.6.2.0

Re: regression in ghc / cabal integration in 9.2.1

2021-10-30 Thread Mikolaj Konarski
Hi George, Have you looked at the ticket I gave you? Here's one linked from it mentioning the topic of ghc-pkg compatibility with v2-install: https://github.com/haskell/cabal/issues/6508 I'm afraid we don't have any systematic exposition of cabal history with rationale for its major changes

Re: regression in ghc / cabal integration in 9.2.1

2021-10-30 Thread Brandon Allbery
Wasn't there specifically a new cabal version released to deal with 9.2.1? 3.4.1.0 / 3.6.2.0? On Sat, Oct 30, 2021 at 3:24 PM George Colpitts wrote: > > Thanks for the quick response Mikolaj. Sorry for the confusion, with cabal > install I did use --lib but accidentally omitted t

Re: regression in ghc / cabal integration in 9.2.1

2021-10-30 Thread George Colpitts
Thanks for the quick response Mikolaj. Sorry for the confusion, with cabal install I did use --lib but accidentally omitted that in my original email. In 9.0.1 this results in a successful compilation but in 9.2.1 it does not thus I believe this is a regression. Here's the output I got in 9.2.1

Re: regression in ghc / cabal integration in 9.2.1

2021-10-30 Thread Mikolaj Konarski
Hi George, Since many versions of cabal, `install` only installs executables, not libraries, so if that worked for you, you must have had an old version of cabal. Please see https://github.com/haskell/cabal/issues/6481 for some context and to help you find a new workflow that works for you

regression in ghc / cabal integration in 9.2.1

2021-10-30 Thread George Colpitts
Thanks Ben! There seems to be a regression in ghc / cabal integration in 9.2.1. In 9.2.1 if I do cabal install vector Compilation of a file containing import Data.Vector main = undefined fails with Could not find module ‘Data.Vector’ Perhaps you meant Data.Functor (from base

[ANN] Cabal-3.6.1.0 and cabal-install-3.6.0.0

2021-09-09 Thread Emily Pillmore
Hello all, The Cabal team is excited to announce the release of both `Cabal-3.6.1.0`, and `cabal-install-3.6.0.0`! ## Changelog for `Cabal-3.6.1.0` This release of `Cabal` is a point release that allowed us to get some important features out into the ecosystem that just couldn't wait

Re: [ANN] Cabal-3.6.0.0

2021-08-15 Thread Emily Pillmore
Ah - i didn't even notice the confusion: Cabal (the library) and cabal-install (the tool) are not released in lockstep. The cabal-install-3.6.0.0 release is coming next week, and is currently in review. On Sun, Aug 15, 2021 at 11:05 AM, Tom Smeding < x...@tomsmeding.com >

Re: [ANN] Cabal-3.6.0.0

2021-08-15 Thread Tom Smeding
Cabal-3.6.0.0 is there, but cabal-install-3.6.0.0 is not. :) - Tom On 15/08/2021 18:40, Emily Pillmore wrote: > This may be a local problem with your browser cache. Here's what I see: > > Cabal-3.2.1.0/ <https://downloads.haskell.org/~cabal/C

Re: [ANN] Cabal-3.6.0.0

2021-08-15 Thread Emily Pillmore
This may be a local problem with your browser cache. Here's what I see: > > Cabal-3.2.1.0/ ( https://downloads.haskell.org/~cabal/Cabal-3.2.1.0/ ) > 01-Mar-2021 19:27 - > Cabal-3.4.0.0/ ( https://downloads.haskell.org/~cabal/Cabal-3.4.0.0/ ) > 28

Re: [ANN] Cabal-3.6.0.0

2021-08-15 Thread Steven Smith
Sorry, I still do not see 3.6.0.0 on the downloads site. Here’s the tail of what I see at https://downloads.haskell.org/~cabal/ … > cabal-install-3.2.0.0/ 16-May-2020 07:42 > - > cabal-install-3.4.0.0/ 23-Feb-2

Re: [ANN] Cabal-3.6.0.0

2021-08-14 Thread Emily Pillmore
ug 14, 2021 at 7:56 PM, Steven Smith < steve. t. smith@ gmail. com > ( steve.t.sm...@gmail.com ) > wrote: > >> Thank you! Will the release be posted to the haskell downloads site? >> >> >> https:/ / downloads. haskell. org/ ~cabal/ ( >> https://downloads.h

Re: [ANN] Cabal-3.6.0.0

2021-08-14 Thread Emily Pillmore
It already exists on the site, but it looks like the old dirs are cached On Sat, Aug 14, 2021 at 7:56 PM, Steven Smith < steve.t.sm...@gmail.com > wrote: > > Thank you! Will the release be posted to the haskell downloads site? > > > https:/ / downloads. haskell. o

Re: [ANN] Cabal-3.6.0.0

2021-08-14 Thread Steven Smith
Thank you! Will the release be posted to the haskell downloads site? https://downloads.haskell.org/~cabal/ Several package managers (e.g. MacPorts) build using this site. > On Aug 5, 2021, at 5:27 PM, Emily Pillmore wrote: > > Hello All, > > The Cabal team is excited to annou

Re: [ANN] Cabal-3.6.0.0

2021-08-06 Thread Mikolaj Konarski
Hi Thomas, > The changelog (and the 3.6 branch) does not include > https://github.com/haskell/cabal/pull/7493. This is just as well since HEAD > (with this merge) doesn't fix the related issue in my testing, but I'm > curious if such a fix can be part of a point release or if it

Re: [ANN] Cabal-3.6.0.0

2021-08-05 Thread Emily Pillmore
, Aug 05, 2021 at 4:00 PM, Thomas DuBuisson < thomas.dubuis...@gmail.com > wrote: > > Great news! > > > The changelog (and the 3.6 branch) does not include https:/ / github. com/ > haskell/ cabal/ pull/ 7493 ( https://github.com/haskell/cabal/pull/7493 ). > This

Re: [ANN] Cabal-3.6.0.0

2021-08-05 Thread Thomas DuBuisson
Great news! The changelog (and the 3.6 branch) does not include https://github.com/haskell/cabal/pull/7493. This is just as well since HEAD (with this merge) doesn't fix the related issue in my testing, but I'm curious if such a fix can be part of a point release or if it must be 3.8? -Tom

[ANN] Cabal-3.6.0.0

2021-08-05 Thread Emily Pillmore
Hello All, The Cabal team is excited to announce the release of Cabal-3.6.0.0! This is the fourth release of the 3.0 release series, and highlights include support for GHC 9.2, as well as many new code quality improvements + organization work on the repo itself. For future plans, we've

[ANN] cabal-install-3.4.0.0

2021-02-23 Thread Emily Pillmore
The Cabal team is excited to announce the release of cabal-install 3.4. This is the third release of the 3.0 release series, bringing a support for the `Cabal-Version: 3.4` `.cabal` file format. This introduces a number of user-facing features including: - Support for GHC 9.0 - Package

is cabal-install buildable?

2020-03-28 Thread Evan Laforge
I recently upgraded to ghc 8.8.3, thinking that since it's been around 8 months and 8.10 is already out, maybe things have stabilized enough. But I immediately ran into confusing trouble with cabal-install. It seems like it's just not buildable since 8.8 came out. Can this really be true

GHC 8.8.1 and cabal-install 3.0 not compatible with ghc-pkg

2019-10-07 Thread George Colpitts
Unfortunately ghc 8.8.1 and cabal-install 3.0 are not compatible with ghc-pkg as documented in https://github.com/haskell/cabal/issues/6262#issuecomment-538850477. As Daniel Grober wrote there: I think this is expected behaviour, at least from the cabal side of things. Version 3.0.0.0 switched

Re: GHC 8.8.1 and cabal-install version

2019-09-10 Thread Donn Cave
> What operating system are you on? is it possible for you to use one of the > binaries from http://downloads.haskell.org/~cabal/cabal-install-3.0.0.0/ in > the meantime? It's Haiku, not exactly one of the major operating systems. I'm not in any hurry, I suppose I'll just let it rest

Re: [Haskell-cafe] [ANNOUNCE] GHC 8.8.1 and cabal-install version

2019-09-09 Thread Donn Cave
> https://www.haskell.org/ghc/blog/20190825-ghc-8.8.1-released.html says > > cabal-install users should note that cabal-install-3.0 or later is > required for use with GHC 8.8. I'm not the most sophisticated user of cabal-install ever, but it appears to me that 8.8.1 can't build 3.0.0

Re: [ANNOUNCE] GHC 8.8.1 and cabal-install version

2019-09-07 Thread George Colpitts
Thanks for everybody's responses. I figured out that the following cabal-install users should note that cabal-install-3.0 or later is required for use with GHC 8.8. means I should have cabal-install-3.0 before installing 8.8.1. Once I did that everything is fine. Maybe configure should give

Re: [ANNOUNCE] GHC 8.8.1 and cabal-install version

2019-09-06 Thread Carter Schonwald
V1 or v2 install? On Mon, Sep 2, 2019 at 11:42 AM George Colpitts wrote: > https://www.haskell.org/ghc/blog/20190825-ghc-8.8.1-released.html says > > cabal-install users should note that cabal-install-3.0 or later is > required for use with GHC 8.8. > > but this seems wr

Re: [ANNOUNCE] GHC 8.8.1 and cabal-install version

2019-09-02 Thread George Colpitts
https://www.haskell.org/ghc/blog/20190825-ghc-8.8.1-released.html says cabal-install users should note that cabal-install-3.0 or later is required for use with GHC 8.8. but this seems wrong or have I done something wrong? $ cabal install cabal-install cabal install cabal-install ... Resolving

Re: PSA for Cabal 2.2 new-* users regarding .ghc.environment files

2018-05-13 Thread Carter Schonwald
Seems like that’d be a worthwhile cleanup / fix up release so this can be more visible / less silent. :) On Sat, May 12, 2018 at 6:11 PM Herbert Valerio Riedel wrote: > On Sat, May 12, 2018 at 10:41 PM, Gershom B wrote: > > In particular, there is not

Re: PSA for Cabal 2.2 new-* users regarding .ghc.environment files

2018-05-12 Thread Herbert Valerio Riedel
On Sat, May 12, 2018 at 10:41 PM, Gershom B wrote: > In particular, there is not good information provided by ghc about > when these files are picked up and used. Fwiw, there's already an overdue patch up for that at https://phabricator.haskell.org/D4689 If there's enough

PSA for Cabal 2.2 new-* users regarding .ghc.environment files

2018-05-12 Thread Gershom B
There is an important change in the cabal new- commands for 2.2 that the release docs should have highlighted more significantly. Cabal new-* commands now produce a .ghc.environment file by default. These files [1] are picked up by ghc and ghci automatically (since 8.0.1), and allow them

Re: [Haskell-cafe] PSA: `cabal update` command needs manual unsticking

2018-01-05 Thread Carter Schonwald
My cabal v2 seemed to be using 00 indices. Much to my confusion. Maybe I should reinstall it and check my config ;) On Thu, Jan 4, 2018 at 5:25 PM Brandon Allbery <allber...@gmail.com> wrote: > Correct: cabal-install 1.x still uses the old index format (00-index). The > logic

Re: [Haskell-cafe] PSA: `cabal update` command needs manual unsticking

2018-01-04 Thread Brandon Allbery
Correct: cabal-install 1.x still uses the old index format (00-index). The logic is different for 01-index, in order to support incremental update (appending when possible, instead of always having to download the whole thing again like with 00-index). On Thu, Jan 4, 2018 at 1:38 PM, Nathan

Re: PSA: `cabal update` command needs manual unsticking

2018-01-02 Thread Michael Snoyman
On Tue, Jan 2, 2018 at 11:47 AM, Sven Panne <svenpa...@gmail.com> wrote: > 2018-01-02 2:24 GMT+01:00 Gershom B <gersh...@gmail.com>: > >> A recent update to hackage, which fixed up the 01-index.tar.gz file, >> revealed a bug in existing versions of cabal-install, w

Re: PSA: `cabal update` command needs manual unsticking

2018-01-02 Thread Sven Panne
2018-01-02 2:24 GMT+01:00 Gershom B <gersh...@gmail.com>: > A recent update to hackage, which fixed up the 01-index.tar.gz file, > revealed a bug in existing versions of cabal-install, when index files > are cleaned up. This bug means that the `cabal update` command, which > u

PSA: `cabal update` command needs manual unsticking

2018-01-01 Thread Gershom B
Dear Haskellers, A recent update to hackage, which fixed up the 01-index.tar.gz file, revealed a bug in existing versions of cabal-install, when index files are cleaned up. This bug means that the `cabal update` command, which updates the hackage index file, will fail silently and leave the old

Re: How to uninstall all cabal packages?

2017-12-03 Thread Volker Wysk
AM, "Volker Wysk" <p...@volker-wysk.de> wrote: > > > Hi! > > > > I want to remove eveything which cabal has installed, and begin again with > > a clean installation. How is this accomplished? I've deleted ~/.cabal, but > > it still says that hsshells

Re: How to uninstall all cabal packages?

2017-12-03 Thread Volker Wysk
gt; I want to remove eveything which cabal has installed, and begin again with > > a clean installation. How is this accomplished? I've deleted ~/.cabal, but > > it still says that hsshellscript is already installed: > > > > desktop ~ $ cabal install hsshellscript > > Re

Re: How to uninstall all cabal packages?

2017-12-03 Thread Thomas DuBuisson
Packages registered with ghc are placed in the .ghc directory. You can delete the directory entirely or selectively unregister using ghc-pkg. On Dec 3, 2017 10:31 AM, "Volker Wysk" <p...@volker-wysk.de> wrote: > Hi! > > I want to remove eveything which cabal has i

Re: How to uninstall all cabal packages?

2017-12-03 Thread Michael Snoyman
You'll need to delete your ~/.ghc directory as well. On Sun, Dec 3, 2017 at 8:24 PM, Volker Wysk <p...@volker-wysk.de> wrote: > Hi! > > I want to remove eveything which cabal has installed, and begin again with > a clean installation. How is this accomplished? I'v

How to uninstall all cabal packages?

2017-12-03 Thread Volker Wysk
Hi! I want to remove eveything which cabal has installed, and begin again with a clean installation. How is this accomplished? I've deleted ~/.cabal, but it still says that hsshellscript is already installed: desktop ~ $ cabal install hsshellscript Resolving dependencies... All the requested

Re: Getting segmentation fault on stack/cabal -any command, including stack --install-ghc, On windows.

2017-10-22 Thread Tamar Christina
> > > > > > > if it still crashes can you run procdump on GHC directly and > return the dump? > > > > > > > > https://docs.microsoft.com/en-us/sysinternals/downloads/procdump > > > > > >

Re: Getting segmentation fault on stack/cabal -any command, including stack --install-ghc, On windows.

2017-10-21 Thread Michael McCulloch
lings. > > > > > > > > if it still happens, does ghci -v3 show anything? > > > > > > > > if it still crashes can you run procdump on GHC directly and > return the dump? > > > > > > > > > https://docs.microsoft.com/en-u

Re: Getting segmentation fault on stack/cabal -any command, including stack --install-ghc, On windows.

2017-10-21 Thread Tamar Christina
directly and return > the dump? > > > > > > https://docs.microsoft.com/en-us/sysinternals/downloads/procdump > > > > > > with "procdump -e 1 -x \ghc --interactive" > > > > > > Thanks, > > >

Re: Getting segmentation fault on stack/cabal -any command, including stack --install-ghc, On windows.

2017-10-21 Thread Michael McCulloch
om/en-us/sysinternals/downloads/procdump > > > > > > with "procdump -e 1 -x \ghc --interactive" > > > > > > Thanks, > > > Tamar > > > > > > > > > On Fri, 20 Oct 2017 14:02:31 + Michae

Re: Getting segmentation fault on stack/cabal -any command, including stack --install-ghc, On windows.

2017-10-21 Thread Tamar Christina
> > > On Fri, 20 Oct 2017 14:02:31 + Michael McCulloch > <michael.james.mccull...@gmail.com> wrote > > > Hello. > > > After searching around I can't find people with a similar issue > (Maybe I'm looking in the wrong places

Re: Getting segmentation fault on stack/cabal -any command, including stack --install-ghc, On windows.

2017-10-20 Thread Tamar Christina
> <michael.james.mccull...@gmail.com> wrote > > Hello. > > After searching around I can't find people with a similar issue (Maybe > I'm looking in the wrong places?). > > I installed Haskell platform 8.2.1, using Stack 1.5.1, Cabal 2.0.0.0. > Window

Re: Getting segmentation fault on stack/cabal -any command, including stack --install-ghc, On windows.

2017-10-20 Thread Michael McCulloch
> Thanks, > Tamar > > > On Fri, 20 Oct 2017 14:02:31 + Michael McCulloch < > michael.james.mccull...@gmail.com> wrote > > Hello. > > After searching around I can't find people with a similar issue (Maybe > I'm looking in the wrong places

Re: Getting segmentation fault on stack/cabal -any command, including stack --install-ghc, On windows.

2017-10-20 Thread Tamar Christina
gt; Hello. > After searching around I can't find people with a similar issue (Maybe I'm > looking in the wrong places?). > I installed Haskell platform 8.2.1, using Stack 1.5.1, Cabal 2.0.0.0. > Windows 10 Fall Creators Update( This issue was also occurring pre FCU). The > issue also

Getting segmentation fault on stack/cabal -any command, including stack --install-ghc, On windows.

2017-10-20 Thread Michael McCulloch
Hello. After searching around I can't find people with a similar issue (Maybe I'm looking in the wrong places?). I installed Haskell platform 8.2.1, using Stack 1.5.1, Cabal 2.0.0.0. Windows 10 Fall Creators Update( This issue was also occurring pre FCU). The issue also occurs with 8.0.2a Prior

Re: How to remove a cabal package from the local system?

2015-01-23 Thread Volker Wysk
Am Donnerstag, 22. Januar 2015, 11:19:37 schrieb Albert Y. C. Lai: On 2015-01-21 10:36 AM, Volker Wysk wrote: I have installed/registered a new version of a package with cabal by accident. How can I remove it again? See my http://www.vex.net/~trebla/haskell/sicp.xhtml#remove . In fact

Re: How to remove a cabal package from the local system?

2015-01-22 Thread Volker Wysk
Am Mittwoch, 21. Januar 2015, 19:39:50 schrieben Sie: On 2015-01-21 at 16:36:08 +0100, Volker Wysk wrote: I have installed/registered a new version of a package with cabal by accident. How can I remove it again? Not sure if this is what you want, but the `cab` tool has an `uninstall` sub

Re: How to remove a cabal package from the local system?

2015-01-22 Thread Herbert Valerio Riedel
On 2015-01-22 at 09:04:30 +0100, Volker Wysk wrote: I have installed/registered a new version of a package with cabal by accident. How can I remove it again? Not sure if this is what you want, but the `cab` tool has an `uninstall` sub-command to unregister and remove installed packages

Re: How to remove a cabal package from the local system?

2015-01-22 Thread Albert Y. C. Lai
On 2015-01-21 10:36 AM, Volker Wysk wrote: I have installed/registered a new version of a package with cabal by accident. How can I remove it again? See my http://www.vex.net/~trebla/haskell/sicp.xhtml#remove . In fact, read the whole thing

Re: How to remove a cabal package from the local system?

2015-01-21 Thread Herbert Valerio Riedel
On 2015-01-21 at 16:36:08 +0100, Volker Wysk wrote: I have installed/registered a new version of a package with cabal by accident. How can I remove it again? Not sure if this is what you want, but the `cab` tool has an `uninstall` sub-command to unregister and remove installed packages. [1

Re: How to remove a cabal package from the local system?

2015-01-21 Thread Evan Laforge
-pkg unregister $package; then exit 1 fi rm -rf $libdir $hidir $html fi On Wed, Jan 21, 2015 at 11:36 PM, Volker Wysk vertei...@volker-wysk.de wrote: Hi! I have installed/registered a new version of a package with cabal by accident. How can I remove it again

How to remove a cabal package from the local system?

2015-01-21 Thread Volker Wysk
Hi! I have installed/registered a new version of a package with cabal by accident. How can I remove it again? There is something in ~/.cabal/packages/hackage.haskell.org, but the defective version isn't included. bye V.W. ___ Glasgow-haskell-users

Re: How to remove a cabal package from the local system?

2015-01-21 Thread Brandon Allbery
On Wed, Jan 21, 2015 at 11:19 AM, Volker Wysk vertei...@volker-wysk.de wrote: I'm also missing a command to set the Default available version. You don't set that; it's specified in the downloaded package index in the package repo. -- brandon s allbery kf8nh sine

Re: How to remove a cabal package from the local system?

2015-01-21 Thread Volker Wysk
Am Mittwoch, 21. Januar 2015, 23:56:53 schrieben Sie: I use a shell script. It's really useful, surely there's some official way to do this? It looks like a remove command to cabal has been forgotten... This would be a feature request. I'm also missing a command to set the Default available

Re: Package version question with Cabal

2015-01-20 Thread Volker Wysk
Am Montag, 19. Januar 2015, 23:32:09 schrieben Sie: On Mon, Jan 19, 2015 at 11:14 PM, Volker Wysk vertei...@volker-wysk.de wrote: I've uploaded my library to Hackage, and now I'm trying to install it via cabal: At a guess, the index has not yet been updated --- you may need to wait some

Re: Package version question with Cabal

2015-01-19 Thread Volker Wysk
Am Dienstag, 20. Januar 2015, 05:14:15 schrieb Volker Wysk: ~/src/hsshellscript $ cabal install Oops, this should be cabal install hsshellscript-3.3.3, not just cabal install: ~/src/hsshellscript $ cabal install hsshellscript-3.3.3 Resolving dependencies... All the requested packages

Package version question with Cabal

2015-01-19 Thread Volker Wysk
Hi! I've uploaded my library to Hackage, and now I'm trying to install it via cabal: ~/src/hsshellscript $ cabal install Resolving dependencies... In order, the following will be installed: hsshellscript-3.3.3 (reinstall) Warning: Note that reinstalls are always dangerous. Continuing anyway

Re: Package version question with Cabal

2015-01-19 Thread Brandon Allbery
On Mon, Jan 19, 2015 at 11:14 PM, Volker Wysk vertei...@volker-wysk.de wrote: I've uploaded my library to Hackage, and now I'm trying to install it via cabal: At a guess, the index has not yet been updated --- you may need to wait some time (might be as short as an hour) before trying

Compiling a cabal project with LLVM on GHC 7.10 RC1

2015-01-07 Thread Brandon Simmons
I've tried: $ cabal install --only-dependencies -w /usr/local/bin/ghc-7.10.0.20141222 --enable-tests --enable-benchmarks --ghc-option=-fllvm --ghc-option=-static $ cabal configure -w /usr/local/bin/ghc-7.10.0.20141222 --enable-tests --enable-benchmarks --ghc-option=-fllvm --ghc-option

Re: Compiling a cabal project with LLVM on GHC 7.10 RC1

2015-01-07 Thread Edward Z. Yang
...is there -dynamic in the -v output? Don't you also want --disable-shared? Excerpts from Brandon Simmons's message of 2015-01-07 12:21:48 -0800: I've tried: $ cabal install --only-dependencies -w /usr/local/bin/ghc-7.10.0.20141222 --enable-tests --enable-benchmarks --ghc-option=-fllvm

Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - problem with latest cabal-install

2015-01-01 Thread Johan Tibell
Try cabal install --allow-newer=base -j3 cabal-install Once GHC 7.10 is out we might make another Cabal 1.20 release to bump the upper bound on the base dependency if 1.20 is indeed compatible with the latest base. On Thu, Jan 1, 2015 at 12:08 PM, George Colpitts george.colpi...@gmail.com wrote

Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - problem with latest cabal-install

2015-01-01 Thread George Colpitts
following solves dependency problems, added a few more packages, thanks! cabal install --allow-newer=base,bytestring,deepseq,unix,process,time,random -j3 cabal-install On Thu, Jan 1, 2015 at 2:27 PM, George Colpitts george.colpi...@gmail.com wrote: Thanks but that doesn't seem to work either

Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - problem with latest cabal-install

2015-01-01 Thread George Colpitts
Thanks but that doesn't seem to work either: cabal install --allow-newer=base --allow-newer=bytestring,deepseq -j3 cabal-install Resolving dependencies... cabal: Could not resolve dependencies: trying: cabal-install-1.20.0.6 (user goal) trying: base-4.8.0.0/installed-779... (dependency of cabal

Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - problem with latest cabal-install

2015-01-01 Thread George Colpitts
​$ ​ cabal update Downloading the latest package list from hackage.haskell.org Note: *there is a new version of cabal-install available.* To upgrade, run: cabal install cabal-install bash-3.2$ *cabal install -j3 cabal-install * *​...​* *Resolving dependencies...cabal: Could not resolve

Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - problem with latest cabal-install

2015-01-01 Thread Mikhail Glushenkov
Hi, On 1 January 2015 at 19:00, George Colpitts george.colpi...@gmail.com wrote: Thanks, there seems to be dependency issues: Try also adding '--allow-newer=bytestring,deepseq'. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - problem with latest cabal-install

2015-01-01 Thread George Colpitts
however still fails to install but now due to problems with cabal itself [76 of 76] Compiling Main ( /var/folders/9b/rh4y2gy92hgdb6ktv4df1jv0gn/T/Cabal-1.20.0.3-62215/Cabal-1.20.0.3/dist/setup/setup.hs, /var/folders/9b/rh4y2gy92hgdb6ktv4df1jv0gn/T/Cabal-1.20.0.3-62215/Cabal

Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - problem with latest cabal-install

2015-01-01 Thread Edward Z. Yang
If you still have your old GHC around, it will be much better to compile the newest cabal-install using the *old GHC*, and then use that copy to bootstrap a copy of the newest cabal-install. Edward Excerpts from George Colpitts's message of 2015-01-01 12:08:44 -0500: ​$ ​ cabal update

Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - problem with latest cabal-install

2015-01-01 Thread George Colpitts
I still have 7.8.3 but it doesn't seem to want to build the latest cabal: ghc --version The Glorious Glasgow Haskell Compilation System, version 7.8.3 bash-3.2$ cabal install cabal-install Resolving dependencies... Configuring cabal-install-1.20.0.6... Building cabal-install-1.20.0.6

Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - problem with latest cabal-install

2015-01-01 Thread Edward Z. Yang
Oh, because Cabal HQ hasn't cut a release yet. Try installing out of Git. https://github.com/haskell/cabal/ Edward Excerpts from George Colpitts's message of 2015-01-01 14:23:50 -0500: I still have 7.8.3 but it doesn't seem to want to build the latest cabal: ghc --version The Glorious

Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - problem with latest cabal-install

2015-01-01 Thread George Colpitts
Thanks, I seem to have got that to work On Thu, Jan 1, 2015 at 3:37 PM, Edward Z. Yang ezy...@mit.edu wrote: Oh, because Cabal HQ hasn't cut a release yet. Try installing out of Git. https://github.com/haskell/cabal/ Edward Excerpts from George Colpitts's message of 2015-01-01 14:23:50

Re: cabal repl failing silently on missing exposed-modules

2014-08-08 Thread Edward Z . Yang
If you haven't already, go file a bug on https://github.com/haskell/cabal/issues Edward Excerpts from cheater00 .'s message of 2014-08-06 15:18:04 +0100: Hi, I have just spent some time trying to figure out why all of a sudden cabal repl silently exits without an error message. What helped

cabal repl failing silently on missing exposed-modules

2014-08-06 Thread cheater00 .
Hi, I have just spent some time trying to figure out why all of a sudden cabal repl silently exits without an error message. What helped was to take a project that could launch the repl and compare the cabal files to my new project. It turns out the exposed-modules entry was missing. I

Re: cabal repl failing silently on missing exposed-modules

2014-08-06 Thread Alois Cochard
a more helpful error message in such case. Cheers On 6 August 2014 15:18, cheater00 . cheate...@gmail.com wrote: Hi, I have just spent some time trying to figure out why all of a sudden cabal repl silently exits without an error message. What helped was to take a project that could launch

Re: cabal repl failing silently on missing exposed-modules

2014-08-06 Thread cheater00 .
August 2014 15:18, cheater00 . cheate...@gmail.com wrote: Hi, I have just spent some time trying to figure out why all of a sudden cabal repl silently exits without an error message. What helped was to take a project that could launch the repl and compare the cabal files to my new project

Re: cabal repl failing silently on missing exposed-modules

2014-08-06 Thread cheater00 .
of a sudden cabal repl silently exits without an error message. What helped was to take a project that could launch the repl and compare the cabal files to my new project. It turns out the exposed-modules entry was missing. I was wondering whether this behaviour was intentional, as I don't

Re: cabal repl failing silently on missing exposed-modules

2014-08-06 Thread Alois Cochard
be possible to give a more helpful error message in such case. Cheers On 6 August 2014 15:18, cheater00 . cheate...@gmail.com wrote: Hi, I have just spent some time trying to figure out why all of a sudden cabal repl silently exits without an error message. What helped

Re: RFC: include a cabal-install executable in future GHC releases

2014-05-04 Thread Niklas Larsson
, 2014 at 2:06 AM, Ashley Yakeley ash...@semantic.orgwrote: I couldn't find them, and they're not listed at http://www.haskell.org/cabal/download.html (except OS X), or at http://www.haskell.org/haskellwiki/Cabal-Install, or at http://hackage.haskell.org/package/cabal-install. -- Ashley

Re: RFC: include a cabal-install executable in future GHC releases

2014-05-04 Thread Johan Tibell
...@gmail.com: I just uploaded 1.20.0.1 so there's only an OS X binary so far. I'm waiting for someone to send me a Windows one. On Sun, May 4, 2014 at 2:06 AM, Ashley Yakeley ash...@semantic.orgwrote: I couldn't find them, and they're not listed at http://www.haskell.org/cabal/download.html

Re: RFC: include a cabal-install executable in future GHC releases

2014-05-04 Thread harry
Linux? -- View this message in context: http://haskell.1045720.n5.nabble.com/RFC-include-a-cabal-install-executable-in-future-GHC-releases-tp5742543p5749048.html Sent from the Haskell - Glasgow-haskell-users mailing list archive at Nabble.com

Re: RFC: include a cabal-install executable in future GHC releases

2014-05-03 Thread Carter Schonwald
I think there's now hosted official cabal install binaries online. I'm Afk but they should be a short google away. Should be linked more prominently though On Saturday, May 3, 2014, Ashley Yakeley ash...@semantic.org wrote: So I want to install GHC + cabal on a new system, building cabal

Re: RFC: include a cabal-install executable in future GHC releases

2014-05-03 Thread Ashley Yakeley
I couldn't find them, and they're not listed at http://www.haskell.org/cabal/download.html (except OS X), or at http://www.haskell.org/haskellwiki/Cabal-Install, or at http://hackage.haskell.org/package/cabal-install. -- Ashley On 2014-05-03 17:00, Carter Schonwald wrote: I think there's now

Re: RFC: include a cabal-install executable in future GHC releases

2014-05-03 Thread Johan Tibell
I just uploaded 1.20.0.1 so there's only an OS X binary so far. I'm waiting for someone to send me a Windows one. On Sun, May 4, 2014 at 2:06 AM, Ashley Yakeley ash...@semantic.org wrote: I couldn't find them, and they're not listed at http://www.haskell.org/cabal/download.html (except OS X

Re: Using Cabal to install terminfo-0.4.0.0 breaks GHC on Debian x86_64

2014-04-14 Thread Ramin Honary
I am using Debian, not Mac. It is possible the problem may be with the binary release for Debian x86_64, or it could just be my Cabal config file. When I install the binary distribution onto Debian, I simply run make install in the ghc-7.8.2 directory. I don't know how this install process

Re: Using Cabal to install terminfo-0.4.0.0 breaks GHC on Debian x86_64

2014-04-14 Thread Austin Seipp
Hi Ramin, Can I ask if you're installing packages into the global user database? If so, that's definitely the way for this to happen - otherwise, Cabal should never overwrite *anything* in the 'global' package directory (in your case, under /usr/local/lib/ghc-7.8.2...) This is the only way I can

Fwd: Using Cabal to install terminfo-0.4.0.0 breaks GHC on Debian x86_64

2014-04-14 Thread Ramin Honary
-0.4.0.0 is not something any of my projects depend on, but I had installed it globally anyway and then this problem occurred. Also, the behavior Cabal installing Crypto-4.2.5.1 was odd. As I explained in my first e-mail, some of the shared modules were being built with file extensions of .hi instead

Using Cabal to install terminfo-0.4.0.0 breaks GHC on Debian x86_64

2014-04-13 Thread Ramin Honary
I am posting this to the mailing list, but it is a copy of a post I originally made on Haskell Reddit. http://www.reddit.com/r/haskell/comments/22wu92/problems_installing_ghc_782_on_debian_ubuntu_x86/ My GHC is working fine now. But there seem to be some changes in either GHC 7.8.2 or Cabal

Re: Using Cabal to install terminfo-0.4.0.0 breaks GHC on Debian x86_64

2014-04-13 Thread George Colpitts
I was able to do cabal install of terminfo, crypto and Yi on my mac with ghc 7.8.2 and cabal 1.18.1.3 yi seems to work although I did very little with it On Sun, Apr 13, 2014 at 12:08 PM, Ramin Honary ramin.hon...@gmail.comwrote: I am posting this to the mailing list, but it is a copy

Re: 7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-10 Thread Daniel Fischer
On Wednesday 09 April 2014, 23:42:26, Carter Schonwald wrote: i bet you have cabal --version reply with 1.16 1) cabal update 2) cabal install cabal-install 3) rm ~/.cabal/config # old pre 1.18 config should go! 4) cabal update # also probably add ~/.cabal/bin to path There should

Re: 7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-10 Thread Michael Snoyman
On Thu, Apr 10, 2014 at 6:42 AM, Carter Schonwald carter.schonw...@gmail.com wrote: i bet you have cabal --version reply with 1.16 :) 1) cabal update 2) cabal install cabal-install 3) rm ~/.cabal/config # old pre 1.18 config should go! This was news to me. Is there a list

Re: 7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-10 Thread Herbert Valerio Riedel
On 2014-04-10 at 06:00:43 +0200, Vivian McPhail wrote: Indeed. It was using the wrong cabal-install version. Even though I had installed the newest cabal-install I needed to restart the xterm I was working in. Lemme guess, you're using Bash, and you installed cabal-install into a new

Re: 7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-10 Thread Vivian McPhail
Yes, exactly. On 10 April 2014 22:03, Herbert Valerio Riedel h...@gnu.org wrote: On 2014-04-10 at 06:00:43 +0200, Vivian McPhail wrote: Indeed. It was using the wrong cabal-install version. Even though I had installed the newest cabal-install I needed to restart the xterm I

Re: 7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-10 Thread Alexander McPhail
Yes, exactly. Thank you. On 10 April 2014 22:03, Herbert Valerio Riedel h...@gnu.org wrote: On 2014-04-10 at 06:00:43 +0200, Vivian McPhail wrote: Indeed. It was using the wrong cabal-install version. Even though I had installed the newest cabal-install I needed to restart the xterm

7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-09 Thread Vivian McPhail
Hi, Ubuntu 12.04, 64 bit x86, ghc 7.8.1 gives the following: # cabal install --global vector ... [ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic ( Data/Vector/Fusion/Stream/Monadic.hs, dist/build/Data/Vector/Fusion/Stream/Monadic.o ) Loading package ghc-prim ... linking ... done. Loading

Re: 7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-09 Thread Carter Schonwald
i bet you have cabal --version reply with 1.16 :) 1) cabal update 2) cabal install cabal-install 3) rm ~/.cabal/config # old pre 1.18 config should go! 4) cabal update # also probably add ~/.cabal/bin to path 5) cabal install vector On Wed, Apr 9, 2014 at 11:24 PM, Vivian McPhail

Re: 7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-09 Thread Vivian McPhail
Indeed. It was using the wrong cabal-install version. Even though I had installed the newest cabal-install I needed to restart the xterm I was working in. Thanks, Vivian On 10 April 2014 15:42, Carter Schonwald carter.schonw...@gmail.com wrote: i bet you have cabal --version reply

Re: RFC: include a cabal-install executable in future GHC releases

2014-03-31 Thread harry
Mikhail Glushenkov-2 wrote Austin promised to provide us with build bots for 3/4 of the tier 1 platforms. I assume that he is busy with preparing with the 7.8 release now. How often is cabal-install released? Requiring a dedicated buildbot seems like an overkill just for publishing binaries. I

Re: RFC: include a cabal-install executable in future GHC releases

2014-02-23 Thread harry
Carter Schonwald wrote b) some sort of platform-lite thats the ghc bin dist + cabal-install, targeted at folks using haskell on server rather than desktop envs -- there was a bunch of strong support for this (esp those using haskell and aren't on the major linux distros) Would like

  1   2   3   >