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 )
  : 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.

  Language/Preprocessor/Cpphs/ReadFirst

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  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 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 - 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 
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
Thanks, there seems to be dependency issues:

cabal install --allow-newer=base -j3 cabal-install
Resolving dependencies...
In order, the following would be installed:
deepseq-1.3.0.2 (latest: 1.4.0.0) (new version)
bytestring-0.10.4.1 (new version)
containers-0.5.6.2 (reinstall) changes: deepseq-1.4.0.0 -> 1.3.0.2
pretty-1.1.2.0 (new version)
text-1.2.0.3 (reinstall) changes: bytestring-0.10.6.0 -> 0.10.4.1,
deepseq-1.4.0.0 -> 1.3.0.2
parsec-3.1.7 (reinstall) changes: bytestring-0.10.6.0 -> 0.10.4.1
network-uri-2.6.0.1 (new package)
time-1.4.2 (latest: 1.5.0.1) (new version)
random-1.1 (reinstall) changes: time-1.5.0.1 -> 1.4.2
unix-2.7.1.0 (reinstall) changes: bytestring-0.10.6.0 -> 0.10.4.1,
time-1.5.0.1 -> 1.4.2
directory-1.2.1.0 (new version)
network-2.6.0.2 (new package)
HTTP-4000.2.19 (new package)
process-1.2.1.0 (reinstall) changes: deepseq-1.4.0.0 -> 1.3.0.2,
directory-1.2.1.1 -> 1.2.1.0
Cabal-1.20.0.3 (new version)
zlib-0.5.4.2 (new package)
cabal-install-1.20.0.6 (new package)
cabal: The following packages are likely to be broken by the reinstalls:
semigroups-0.16.0.1
void-0.7
contravariant-1.2.0.1
semigroupoids-4.2
bifunctors-4.2
comonad-4.2.2
parallel-3.2.0.6
hscolour-1.20.3
hpc-0.6.0.2
ghc-7.10.0.20141222
hoopl-3.10.0.2
hastache-0.6.1
haskeline-0.7.2.0
cereal-0.4.1.0
monad-par-extras-0.3.3
binary-0.7.2.3
bin-package-db-0.0.0.0
Cabal-1.22.0.0
attoparsec-0.12.1.2
abstract-deque-0.3
Glob-0.7.5
scientific-0.3.3.3
polyparse-1.11
cpphs-1.18.6
haskell-src-exts-1.16.0.1
hashable-1.2.3.1
unordered-containers-0.2.5.1
blaze-builder-0.3.3.4
MonadRandom-0.3.0.1
extra-1.0
cmdargs-0.10.12
directory-1.2.1.1
ansi-terminal-0.6.2.1
ansi-wl-pprint-0.6.7.1
Use --force-reinstalls if you want to install anyway.

On Thu, Jan 1, 2015 at 1:34 PM, Johan Tibell  wrote:

> 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 Mikhail Glushenkov
Hi,

On 1 January 2015 at 19:00, George Colpitts  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 
> 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
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 
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 
>> 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 
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  > 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 
>>> 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  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  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  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  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