Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - feedback on Mac OS

2015-01-01 Thread George Colpitts
I built from source on Mac OS and found the following issues:


   - llvm , compiling with llvm (3.4.2) gives the following warnings:
  - $ ghc  -fllvm cubeFast.hs
  [1 of 1] Compiling Main ( cubeFast.hs, cubeFast.o )
  clang: warning: argument unused during compilation:
  '-fno-stack-protector'
  clang: warning: argument unused during compilation: '-D
  TABLES_NEXT_TO_CODE'
  clang: warning: argument unused during compilation: '-I .'
  clang: warning: argument unused during compilation: '-fno-common'
  clang: warning: argument unused during compilation: '-U __PIC__'
  clang: warning: argument unused during compilation: '-D __PIC__'
  Linking cubeFast ...
  - running the resulting executable crashes (compiling without -fllvm
  gives no warnings and executable works properly)
  -  cat bigCube.txt | ./cubeFast  /dev/null
  Segmentation fault: 11
  - Exception Type:EXC_BAD_ACCESS (SIGSEGV)
  Exception Codes:   KERN_INVALID_ADDRESS at 0xfffd5bfd8460


   - ​cabal install vector fails:
   - [ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic (
  Data/Vector/Fusion/Stream/Monadic.hs,
  dist/build/Data/Vector/Fusion/Stream/Monadic.o )
  command line: can't load .so/.DLL for:
  
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libiconv.dylib
  
(dlopen(/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libiconv.dylib,
  5): no suitable image found.  Did find:

  
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libiconv.dylib:
  mach-o, but wrong filetype)
   - ​cabal install cpphs fails:​
   -cabal install cpphs
  Resolving dependencies...
  Configuring cpphs-1.13...
  Building cpphs-1.13...
  Failed to install cpphs-1.13
  Build log ( /Users/gcolpitts/.cabal/logs/cpphs-1.13.log ):
  Warning: cpphs.cabal: Unknown fields: build-depends (line 5)
  Fields allowed in this section:
  name, version, cabal-version, build-type, license, license-file,
  license-files, copyright, maintainer, stability, homepage,
  package-url, bug-reports, synopsis, description, category, author,
  tested-with, data-files, data-dir, extra-source-files,
  extra-tmp-files, extra-doc-files
  Configuring cpphs-1.13...
  Building cpphs-1.13...
  Preprocessing library cpphs-1.13...
  - Language/Preprocessor/Cpphs.hs:1:1:
  Could not find module ‘Prelude’
  It is a member of the hidden package ‘base-4.8.0.0’.
  Perhaps you need to add ‘base’ to the build-depends in your
  .cabal file.
  Use -v to see a list of the files searched for.

  Language/Preprocessor/Cpphs/CppIfdef.hs:32:8:
  Could not find module ‘Numeric’
  It is a member of the hidden package ‘base-4.8.0.0’.
  Perhaps you need to add ‘base’ to the build-depends in your
  .cabal file.
  Use -v to see a list of the files searched for.

  Language/Preprocessor/Cpphs/CppIfdef.hs:33:8:
  Could not find module ‘System.IO.Unsafe’
  It is a member of the hidden package ‘base-4.8.0.0’.
  Perhaps you need to add ‘base’ to the build-depends in your
  .cabal file.
  Use -v to see a list of the files searched for.

  Language/Preprocessor/Cpphs/CppIfdef.hs:34:8:
  Could not find module ‘System.IO’
  It is a member of the hidden package ‘base-4.8.0.0’.
  Perhaps you need to add ‘base’ to the build-depends in your
  .cabal file.
  Use -v to see a list of the files searched for.

  Language/Preprocessor/Cpphs/MacroPass.hs:29:8:
  Could not find module ‘Control.Monad’
  It is a member of the hidden package ‘base-4.8.0.0’.
  Perhaps you need to add ‘base’ to the build-depends in your
  .cabal file.
  Use -v to see a list of the files searched for.

  Language/Preprocessor/Cpphs/MacroPass.hs:30:8:
  Could not find module ‘System.Time’
  Perhaps you meant
System.CPUTime (needs flag -package-key base-4.8.0.0)
System.Cmd (needs flag -package-key
  process-1.2.1.0@proce_ADbmNMhxdsoDn9NrOWjezu)
System.Mem (needs flag -package-key base-4.8.0.0)
  Use -v to see a list of the files searched for.

  Language/Preprocessor/Cpphs/MacroPass.hs:31:8:
  Could not find module ‘System.Locale’
  Use -v to see a list of the files searched for.

  Language/Preprocessor/Cpphs/Options.hs:22:8:
  Could not find module ‘Data.Maybe’
  It is a member of the hidden package ‘base-4.8.0.0’.
  Perhaps you need to add ‘base’ to the build-depends in your
  .cabal file.
  Use -v to see a list of the files searched for.

  

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:



 ​$ ​
 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 dependencies:*
 trying: cabal-install-1.20.0.6 (user goal)
 trying: base-4.8.0.0/installed-779... (dependency of
 cabal-install-1.20.0.6)
 next goal: process (dependency of cabal-install-1.20.0.6)
 rejecting: process-1.2.1.0/installed-2db... (conflict: unix==2.7.1.0,
 process
 = unix==2.7.1.0/installed-4ae...)
 trying: process-1.2.1.0
 next goal: directory (dependency of cabal-install-1.20.0.6)
 rejecting: directory-1.2.1.1/installed-b08... (conflict: directory =
 time==1.5.0.1/installed-c23..., cabal-install = time=1.1  1.5)
 rejecting: directory-1.2.1.0 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.5  4.8)
 rejecting: directory-1.2.0.1, 1.2.0.0 (conflict:
 base==4.8.0.0/installed-779..., directory = base=4.2  4.7)
 rejecting: directory-1.1.0.2 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.6)
 rejecting: directory-1.1.0.1 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.5)
 rejecting: directory-1.1.0.0 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.4)
 rejecting: directory-1.0.1.2, 1.0.1.1, 1.0.1.0, 1.0.0.3, 1.0.0.0 (conflict:
 process = directory=1.1  1.3)
 Dependency tree exhaustively searched.

 ___
 ghc-devs mailing list
 ghc-d...@haskell.org
 http://www.haskell.org/mailman/listinfo/ghc-devs


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


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:

  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-install-1.20.0.6)
 next goal: process (dependency of cabal-install-1.20.0.6)
 rejecting: process-1.2.1.0/installed-2db... (conflict: unix==2.7.1.0,
 process
 = unix==2.7.1.0/installed-4ae...)
 trying: process-1.2.1.0
 next goal: directory (dependency of cabal-install-1.20.0.6)
 rejecting: directory-1.2.1.1/installed-b08... (conflict: directory =
 time==1.5.0.1/installed-c23..., cabal-install = time=1.1  1.5)
 rejecting: directory-1.2.1.0 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.5  4.8)
 rejecting: directory-1.2.0.1, 1.2.0.0 (conflict:
 base==4.8.0.0/installed-779..., directory = base=4.2  4.7)
 rejecting: directory-1.1.0.2 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.6)
 rejecting: directory-1.1.0.1 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.5)
 rejecting: directory-1.1.0.0 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.4)
 rejecting: directory-1.0.1.2, 1.0.1.1, 1.0.1.0, 1.0.0.3, 1.0.0.0 (conflict:
 process = directory=1.1  1.3)
 Dependency tree exhaustively searched.

 On Thu, Jan 1, 2015 at 2:15 PM, Mikhail Glushenkov 
 the.dead.shall.r...@gmail.com wrote:

 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
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


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-install-1.20.0.6)
next goal: process (dependency of cabal-install-1.20.0.6)
rejecting: process-1.2.1.0/installed-2db... (conflict: unix==2.7.1.0,
process
= unix==2.7.1.0/installed-4ae...)
trying: process-1.2.1.0
next goal: directory (dependency of cabal-install-1.20.0.6)
rejecting: directory-1.2.1.1/installed-b08... (conflict: directory =
time==1.5.0.1/installed-c23..., cabal-install = time=1.1  1.5)
rejecting: directory-1.2.1.0 (conflict: base==4.8.0.0/installed-779...,
directory = base=4.5  4.8)
rejecting: directory-1.2.0.1, 1.2.0.0 (conflict:
base==4.8.0.0/installed-779..., directory = base=4.2  4.7)
rejecting: directory-1.1.0.2 (conflict: base==4.8.0.0/installed-779...,
directory = base=4.2  4.6)
rejecting: directory-1.1.0.1 (conflict: base==4.8.0.0/installed-779...,
directory = base=4.2  4.5)
rejecting: directory-1.1.0.0 (conflict: base==4.8.0.0/installed-779...,
directory = base=4.2  4.4)
rejecting: directory-1.0.1.2, 1.0.1.1, 1.0.1.0, 1.0.0.3, 1.0.0.0 (conflict:
process = directory=1.1  1.3)
Dependency tree exhaustively searched.

On Thu, Jan 1, 2015 at 2:15 PM, Mikhail Glushenkov 
the.dead.shall.r...@gmail.com wrote:

 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
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


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 dependencies:*
trying: cabal-install-1.20.0.6 (user goal)
trying: base-4.8.0.0/installed-779... (dependency of cabal-install-1.20.0.6)
next goal: process (dependency of cabal-install-1.20.0.6)
rejecting: process-1.2.1.0/installed-2db... (conflict: unix==2.7.1.0,
process
= unix==2.7.1.0/installed-4ae...)
trying: process-1.2.1.0
next goal: directory (dependency of cabal-install-1.20.0.6)
rejecting: directory-1.2.1.1/installed-b08... (conflict: directory =
time==1.5.0.1/installed-c23..., cabal-install = time=1.1  1.5)
rejecting: directory-1.2.1.0 (conflict: base==4.8.0.0/installed-779...,
directory = base=4.5  4.8)
rejecting: directory-1.2.0.1, 1.2.0.0 (conflict:
base==4.8.0.0/installed-779..., directory = base=4.2  4.7)
rejecting: directory-1.1.0.2 (conflict: base==4.8.0.0/installed-779...,
directory = base=4.2  4.6)
rejecting: directory-1.1.0.1 (conflict: base==4.8.0.0/installed-779...,
directory = base=4.2  4.5)
rejecting: directory-1.1.0.0 (conflict: base==4.8.0.0/installed-779...,
directory = base=4.2  4.4)
rejecting: directory-1.0.1.2, 1.0.1.1, 1.0.1.0, 1.0.0.3, 1.0.0.0 (conflict:
process = directory=1.1  1.3)
Dependency tree exhaustively searched.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - feedback on Mac OS

2015-01-01 Thread Malcolm Wallace

On 1 Jan 2015, at 13:58, George Colpitts wrote:

 Configuring cpphs-1.13...
 Building cpphs-1.13...
 Warning: cpphs.cabal: Unknown fields: build-depends (line 5)

 Could not find module ‘Prelude’
 It is a member of the hidden package ‘base-4.8.0.0’.
 Perhaps you need to add ‘base’ to the build-depends in your .cabal file.

The two statements unknown field build-depends and add package to 
build-depends seem rather contradictory.  How can this be fixed?

Regards,
Malcolm

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


Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1 - feedback on Mac OS

2015-01-01 Thread Erik Hesselink
It seems to be building a very old cpphs (1.13) with a new version of
cabal. cpphs-1.13 has a top-level build-depends statement which isn't
allowed anymore: it should now be added to the library section, which
is what the error message tries to indicate.

Erik

On Thu, Jan 1, 2015 at 3:43 PM, Malcolm Wallace malcolm.wall...@me.com wrote:

 On 1 Jan 2015, at 13:58, George Colpitts wrote:

 Configuring cpphs-1.13...
 Building cpphs-1.13...
 Warning: cpphs.cabal: Unknown fields: build-depends (line 5)

 Could not find module ‘Prelude’
 It is a member of the hidden package ‘base-4.8.0.0’.
 Perhaps you need to add ‘base’ to the build-depends in your .cabal file.

 The two statements unknown field build-depends and add package to 
 build-depends seem rather contradictory.  How can this be fixed?

 Regards,
 Malcolm

 ___
 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.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
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


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-1.20.0.3/dist/setup/Main.o
)
Linking
/var/folders/9b/rh4y2gy92hgdb6ktv4df1jv0gn/T/Cabal-1.20.0.3-62215/Cabal-1.20.0.3/dist/setup/setup
...
Configuring Cabal-1.20.0.3...
Building Cabal-1.20.0.3...
Preprocessing library Cabal-1.20.0.3...

on the commandline: Warning:
-package-name is deprecated: Use -this-package-key instead
ghc: ghc no longer supports single-file style package databases
(dist/package.conf.inplace) use 'ghc-pkg init' to create the database with
the correct format.
Updating documentation index
/Users/gcolpitts/Library/Haskell/share/doc/index.html
cabal: Error: some packages failed to install:
Cabal-1.20.0.3 failed during the building phase. The exception was:
ExitFailure 1
cabal-install-1.20.0.6 depends on Cabal-1.20.0.3 which failed to install.

On Thu, Jan 1, 2015 at 2:34 PM, George Colpitts george.colpi...@gmail.com
wrote:

 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:

  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-install-1.20.0.6)
 next goal: process (dependency of cabal-install-1.20.0.6)
 rejecting: process-1.2.1.0/installed-2db... (conflict: unix==2.7.1.0,
 process
 = unix==2.7.1.0/installed-4ae...)
 trying: process-1.2.1.0
 next goal: directory (dependency of cabal-install-1.20.0.6)
 rejecting: directory-1.2.1.1/installed-b08... (conflict: directory =
 time==1.5.0.1/installed-c23..., cabal-install = time=1.1  1.5)
 rejecting: directory-1.2.1.0 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.5  4.8)
 rejecting: directory-1.2.0.1, 1.2.0.0 (conflict:
 base==4.8.0.0/installed-779..., directory = base=4.2  4.7)
 rejecting: directory-1.1.0.2 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.6)
 rejecting: directory-1.1.0.1 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.5)
 rejecting: directory-1.1.0.0 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.4)
 rejecting: directory-1.0.1.2, 1.0.1.1, 1.0.1.0, 1.0.0.3, 1.0.0.0
 (conflict:
 process = directory=1.1  1.3)
 Dependency tree exhaustively searched.

 On Thu, Jan 1, 2015 at 2:15 PM, Mikhail Glushenkov 
 the.dead.shall.r...@gmail.com wrote:

 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
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


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
 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 dependencies:*
 trying: cabal-install-1.20.0.6 (user goal)
 trying: base-4.8.0.0/installed-779... (dependency of cabal-install-1.20.0.6)
 next goal: process (dependency of cabal-install-1.20.0.6)
 rejecting: process-1.2.1.0/installed-2db... (conflict: unix==2.7.1.0,
 process
 = unix==2.7.1.0/installed-4ae...)
 trying: process-1.2.1.0
 next goal: directory (dependency of cabal-install-1.20.0.6)
 rejecting: directory-1.2.1.1/installed-b08... (conflict: directory =
 time==1.5.0.1/installed-c23..., cabal-install = time=1.1  1.5)
 rejecting: directory-1.2.1.0 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.5  4.8)
 rejecting: directory-1.2.0.1, 1.2.0.0 (conflict:
 base==4.8.0.0/installed-779..., directory = base=4.2  4.7)
 rejecting: directory-1.1.0.2 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.6)
 rejecting: directory-1.1.0.1 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.5)
 rejecting: directory-1.1.0.0 (conflict: base==4.8.0.0/installed-779...,
 directory = base=4.2  4.4)
 rejecting: directory-1.0.1.2, 1.0.1.1, 1.0.1.0, 1.0.0.3, 1.0.0.0 (conflict:
 process = directory=1.1  1.3)
 Dependency tree exhaustively searched.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


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...
Installed cabal-install-1.20.0.6
Updating documentation index
/Users/gcolpitts/Library/Haskell/share/doc/index.html




On Thu, Jan 1, 2015 at 2:54 PM, Edward Z. Yang ezy...@mit.edu wrote:

 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
  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 dependencies:*
  trying: cabal-install-1.20.0.6 (user goal)
  trying: base-4.8.0.0/installed-779... (dependency of
 cabal-install-1.20.0.6)
  next goal: process (dependency of cabal-install-1.20.0.6)
  rejecting: process-1.2.1.0/installed-2db... (conflict: unix==2.7.1.0,
  process
  = unix==2.7.1.0/installed-4ae...)
  trying: process-1.2.1.0
  next goal: directory (dependency of cabal-install-1.20.0.6)
  rejecting: directory-1.2.1.1/installed-b08... (conflict: directory =
  time==1.5.0.1/installed-c23..., cabal-install = time=1.1  1.5)
  rejecting: directory-1.2.1.0 (conflict: base==4.8.0.0/installed-779...,
  directory = base=4.5  4.8)
  rejecting: directory-1.2.0.1, 1.2.0.0 (conflict:
  base==4.8.0.0/installed-779..., directory = base=4.2  4.7)
  rejecting: directory-1.1.0.2 (conflict: base==4.8.0.0/installed-779...,
  directory = base=4.2  4.6)
  rejecting: directory-1.1.0.1 (conflict: base==4.8.0.0/installed-779...,
  directory = base=4.2  4.5)
  rejecting: directory-1.1.0.0 (conflict: base==4.8.0.0/installed-779...,
  directory = base=4.2  4.4)
  rejecting: directory-1.0.1.2, 1.0.1.1, 1.0.1.0, 1.0.0.3, 1.0.0.0
 (conflict:
  process = directory=1.1  1.3)
  Dependency tree exhaustively searched.

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


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 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...
 Installed cabal-install-1.20.0.6
 Updating documentation index
 /Users/gcolpitts/Library/Haskell/share/doc/index.html
 
 On Thu, Jan 1, 2015 at 2:54 PM, Edward Z. Yang ezy...@mit.edu wrote:
 
  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
   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 dependencies:*
   trying: cabal-install-1.20.0.6 (user goal)
   trying: base-4.8.0.0/installed-779... (dependency of
  cabal-install-1.20.0.6)
   next goal: process (dependency of cabal-install-1.20.0.6)
   rejecting: process-1.2.1.0/installed-2db... (conflict: unix==2.7.1.0,
   process
   = unix==2.7.1.0/installed-4ae...)
   trying: process-1.2.1.0
   next goal: directory (dependency of cabal-install-1.20.0.6)
   rejecting: directory-1.2.1.1/installed-b08... (conflict: directory =
   time==1.5.0.1/installed-c23..., cabal-install = time=1.1  1.5)
   rejecting: directory-1.2.1.0 (conflict: base==4.8.0.0/installed-779...,
   directory = base=4.5  4.8)
   rejecting: directory-1.2.0.1, 1.2.0.0 (conflict:
   base==4.8.0.0/installed-779..., directory = base=4.2  4.7)
   rejecting: directory-1.1.0.2 (conflict: base==4.8.0.0/installed-779...,
   directory = base=4.2  4.6)
   rejecting: directory-1.1.0.1 (conflict: base==4.8.0.0/installed-779...,
   directory = base=4.2  4.5)
   rejecting: directory-1.1.0.0 (conflict: base==4.8.0.0/installed-779...,
   directory = base=4.2  4.4)
   rejecting: directory-1.0.1.2, 1.0.1.1, 1.0.1.0, 1.0.0.3, 1.0.0.0
  (conflict:
   process = directory=1.1  1.3)
   Dependency tree exhaustively searched.
 
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


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 -0500:
  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...
  Installed cabal-install-1.20.0.6
  Updating documentation index
  /Users/gcolpitts/Library/Haskell/share/doc/index.html
 
  On Thu, Jan 1, 2015 at 2:54 PM, Edward Z. Yang ezy...@mit.edu wrote:
 
   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
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 dependencies:*
trying: cabal-install-1.20.0.6 (user goal)
trying: base-4.8.0.0/installed-779... (dependency of
   cabal-install-1.20.0.6)
next goal: process (dependency of cabal-install-1.20.0.6)
rejecting: process-1.2.1.0/installed-2db... (conflict: unix==2.7.1.0,
process
= unix==2.7.1.0/installed-4ae...)
trying: process-1.2.1.0
next goal: directory (dependency of cabal-install-1.20.0.6)
rejecting: directory-1.2.1.1/installed-b08... (conflict: directory =
time==1.5.0.1/installed-c23..., cabal-install = time=1.1  1.5)
rejecting: directory-1.2.1.0 (conflict: base==
 4.8.0.0/installed-779...,
directory = base=4.5  4.8)
rejecting: directory-1.2.0.1, 1.2.0.0 (conflict:
base==4.8.0.0/installed-779..., directory = base=4.2  4.7)
rejecting: directory-1.1.0.2 (conflict: base==
 4.8.0.0/installed-779...,
directory = base=4.2  4.6)
rejecting: directory-1.1.0.1 (conflict: base==
 4.8.0.0/installed-779...,
directory = base=4.2  4.5)
rejecting: directory-1.1.0.0 (conflict: base==
 4.8.0.0/installed-779...,
directory = base=4.2  4.4)
rejecting: directory-1.0.1.2, 1.0.1.1, 1.0.1.0, 1.0.0.3, 1.0.0.0
   (conflict:
process = directory=1.1  1.3)
Dependency tree exhaustively searched.
  

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