I follow the Cabal-messes threads with some interest, since that is the hardest area for me since starting to use Haskell. Probably 40-60% of all package install fail for some mysterious reason, with threats that trying to fix them will break more things, which generally is true. :-) I am not exert in the area, but I wonder how /why/ this is different than other package managers, like apt in Linux, I have never had any problems with it, and I would think that their dependencies are of at least similar complexities. In any case; Trying to do a cabal update" I was told to try to update "cabal-install", which I think means actually updating cabal (since I actually run installs via cabal install...), but that fails with this message below, and I don't know how to proceed. Linking C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-13880\Cabal-1.16.0.3\dist\setup\setup.exe ... Configuring Cabal-1.16.0.3... Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package process-1.1.0.1 requires base-4.5.0.0 package pretty-1.1.1.0 requires base-4.5.0.0 package old-time-1.1.0.0 requires base-4.5.0.0 package old-locale-1.0.0.4 requires base-4.5.0.0 package filepath-1.3.0.0 requires base-4.5.0.0 package directory-1.1.0.2 requires base-4.5.0.0 package deepseq-1.3.0.0 requires base-4.5.0.0 package containers-0.4.2.1 requires base-4.5.0.0 package bytestring-0.9.2.1 requires base-4.5.0.0 package array-0.4.0.0 requires base-4.5.0.0 package Win32-2.2.2.0 requires base-4.5.0.0 package filepath-1.3.0.0 requires base-4.5.1.0 package Cabal-1.16.0.3 requires base-4.5.1.0 package Cabal-1.16.0.3 requires filepath-1.3.0.0 package process-1.1.0.1 requires filepath-1.3.0.0 package directory-1.1.0.2 requires filepath-1.3.0.0 package integer-gmp-0.4.0.0 requires ghc-prim-0.2.0.0 package bytestring-0.9.2.1 requires ghc-prim-0.2.0.0 package base-4.5.0.0 requires ghc-prim-0.2.0.0 package integer-gmp-0.4.0.0 requires ghc-prim-0.2.0.0 package base-4.5.1.0 requires ghc-prim-0.2.0.0 package base-4.5.1.0 requires integer-gmp-0.4.0.0 package base-4.5.0.0 requires integer-gmp-0.4.0.0 Building Cabal-1.16.0.3... Preprocessing library Cabal-1.16.0.3... <command line>: cannot satisfy -package-id array-0.4.0.0-3cf1bc3f5cd0078adea24752c18081b9 (use -v for more information) cabal: Error: some packages failed to install: Cabal-1.16.0.3 failed during the building phase. The exception was: ExitFailure 1 cabal-install-1.16.0.2 depends on Cabal-1.16.0.3 which failed to install. -------------------------------------------
Hi Greg, On Mon, Nov 19, 2012 at 1:25 PM, Gregory Guthrie <guthrie@mum.edu> wrote:
I follow the Cabal-messes threads with some interest, since that is the hardest area for me since starting to use Haskell. Probably 40-60% of all package install fail for some mysterious reason, with threats that trying to fix them will break more things, which generally is true. :-)
We're working on it. Be brave, things are going to get better!
I am not exert in the area, but I wonder how /why/ this is different than other package managers, like apt in Linux, I have never had any problems with it, and I would think that their dependencies are of at least similar complexities.
The Linux package managers solve a different problems. They let you install a set of packages that have been manually curated and are know to work together (i.e. all version dependencies are fixed) while cabal does version resolution on packages that might not ever have been tried together. If you install Haskell packages via your distro's package manager I assume they will always install cleanly. The problem is that people want the latest bleeding edge of packages, which haven't made it into the distros yet, and hence they get to experience some of the pains associated with being on the bleeding edge. Being on Windows also makes things harder, as most developers don't have a Windows box to test their stuff on.
In any case; Trying to do a cabal update" I was told to try to update "cabal-install", which I think means actually updating cabal (since I actually run installs via cabal install...), but that fails with this message below, and I don't know how to proceed.
cabal-install is the package that includes the "cabal" executable. Cabal (with a capital C) is the library that cabal-install uses. The naming is unfortunate but hard to change at this point. To update cabal-install you do: $ cabal update && cabal install cabal-install Make sure that the place that the "cabal" binary gets installed into (which is printed at the end of the install) is on your PATH.
Linking C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-13880\Cabal-1.16.0.3\dist\setup\setup.exe ... Configuring Cabal-1.16.0.3... Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure.
This is a sure sign that things are not going to work well. Could you include the output of cabal install -v cabal-install please. The output here is not enough to tell me what's going on. Please also include the output of cabal --version ghc --version Are you using the Haskell Platform, if so, which version? -- Johan
cabal install -v cabal-install
Not sure if you're running into this one, but a configuration that wasn't working for me: 1) Install Haskell Platform 2) Install GHC 7.6.1 3) cabal install cabal-install As I recall, the error had something to do with a Cabal-generated 'Paths' file assuming the Prelude exported 'catch'. It was affecting a bunch of other packages too, which forced me to upgrade cabal-install. To get things working, I had to boot GHC 7.6 from my system PATH, upgrade cabal-install using GHC 7.4, and then put 7.6 back in the system path. After doing that, everything has worked well with GHC 7.6. -Greg On Mon, Nov 19, 2012 at 1:38 PM, Johan Tibell <johan.tibell@gmail.com> wrote:
Hi Greg,
On Mon, Nov 19, 2012 at 1:25 PM, Gregory Guthrie <guthrie@mum.edu> wrote:
I follow the Cabal-messes threads with some interest, since that is the hardest area for me since starting to use Haskell. Probably 40-60% of all package install fail for some mysterious reason, with threats that trying to fix them will break more things, which generally is true. :-)
We're working on it. Be brave, things are going to get better!
I am not exert in the area, but I wonder how /why/ this is different than other package managers, like apt in Linux, I have never had any problems with it, and I would think that their dependencies are of at least similar complexities.
The Linux package managers solve a different problems. They let you install a set of packages that have been manually curated and are know to work together (i.e. all version dependencies are fixed) while cabal does version resolution on packages that might not ever have been tried together. If you install Haskell packages via your distro's package manager I assume they will always install cleanly. The problem is that people want the latest bleeding edge of packages, which haven't made it into the distros yet, and hence they get to experience some of the pains associated with being on the bleeding edge. Being on Windows also makes things harder, as most developers don't have a Windows box to test their stuff on.
In any case; Trying to do a cabal update" I was told to try to update "cabal-install", which I think means actually updating cabal (since I actually run installs via cabal install...), but that fails with this message below, and I don't know how to proceed.
cabal-install is the package that includes the "cabal" executable. Cabal (with a capital C) is the library that cabal-install uses. The naming is unfortunate but hard to change at this point. To update cabal-install you do:
$ cabal update && cabal install cabal-install
Make sure that the place that the "cabal" binary gets installed into (which is printed at the end of the install) is on your PATH.
Linking C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-13880\Cabal-1.16.0.3\dist\setup\setup.exe ... Configuring Cabal-1.16.0.3... Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure.
This is a sure sign that things are not going to work well. Could you include the output of
cabal install -v cabal-install
please. The output here is not enough to tell me what's going on. Please also include the output of
cabal --version ghc --version
Are you using the Haskell Platform, if so, which version?
-- Johan
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
On Mon, Nov 19, 2012 at 2:55 PM, Greg Fitzgerald <garious@gmail.com> wrote:
cabal install -v cabal-install
Not sure if you're running into this one, but a configuration that wasn't working for me:
1) Install Haskell Platform 2) Install GHC 7.6.1 3) cabal install cabal-install
As I recall, the error had something to do with a Cabal-generated 'Paths' file assuming the Prelude exported 'catch'. It was affecting a bunch of other packages too, which forced me to upgrade cabal-install.
To get things working, I had to boot GHC 7.6 from my system PATH, upgrade cabal-install using GHC 7.4, and then put 7.6 back in the system path. After doing that, everything has worked well with GHC 7.6.
The issue is that cabal-install-1.16.0.1 is broken on Windows. We have a new, fixed cabal-install-1.16.0.2 out, but if you were unlucky enough to install the broken one you need to delete that binary and install cabal-install again (either by using the bootstrap.sh script in the cabal-install repo or by some other means).
Johan, thanks for the note and information. My setup is: (Windows 7) cabal-install version 0.14.0 using version 1.14.0 of the Cabal library The Glorious Glasgow Haskell Compilation System, version 7.4.2 Haskell Platform 2012.4.0.0 I had just done a "cabal update". C:\Users\guthrie>cabal install -v cabal-install Reading available packages... Choosing modular solver. Resolving dependencies... Extracting C:\Users\guthrie\AppData\Roaming\cabal\packages\hackage.haskell.org\Cabal\1.16.0 .3\Cabal-1.16.0.3.tar.gz to C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392... creating C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set up creating C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist creating C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set up e:\Plang\Haskell Platform\bin\ghc.exe --make C:\Users\guthrie\AppData\Local\Temp \Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Setup.hs -o C:\Users\guthrie\AppData\Local\ Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\setup.exe -odir C:\Users\gut hrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup -hidir C: \Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup -i -iC:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3 [ 1 of 65] Compiling Distribution.Compat.Exception ( C:\Users\guthrie\AppData\Lo cal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Compat\Exception.hs, C :\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setu p\Distribution\Compat\Exception.o ) [ 2 of 65] Compiling Distribution.Compat.TempFile ( C:\Users\guthrie\AppData\Loc al\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Compat\TempFile.hs, C:\ Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\ Distribution\Compat\TempFile.o ) [ 3 of 65] Compiling Distribution.Compat.CopyFile ( C:\Users\guthrie\AppData\Loc al\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Compat\CopyFile.hs, C:\ Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\ Distribution\Compat\CopyFile.o ) [ 4 of 65] Compiling Distribution.GetOpt ( C:\Users\guthrie\AppData\Local\Temp\C abal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\GetOpt.hs, C:\Users\guthrie\AppD ata\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\GetOp t.o ) [ 5 of 65] Compiling Distribution.Compat.ReadP ( C:\Users\guthrie\AppData\Local\ Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Compat\ReadP.hs, C:\Users\ guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distri bution\Compat\ReadP.o ) [ 6 of 65] Compiling Distribution.Text ( C:\Users\guthrie\AppData\Local\Temp\Cab al-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Text.hs, C:\Users\guthrie\AppData\ Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Text.o ) [ 7 of 65] Compiling Distribution.Version ( C:\Users\guthrie\AppData\Local\Temp\ Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Version.hs, C:\Users\guthrie\Ap pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Ver sion.o ) [ 8 of 65] Compiling Language.Haskell.Extension ( C:\Users\guthrie\AppData\Local \Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Language\Haskell\Extension.hs, C:\User s\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Lang uage\Haskell\Extension.o ) [ 9 of 65] Compiling Distribution.TestSuite ( C:\Users\guthrie\AppData\Local\Tem p\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\TestSuite.hs, C:\Users\guthri e\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution \TestSuite.o ) [10 of 65] Compiling Distribution.System ( C:\Users\guthrie\AppData\Local\Temp\C abal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\System.hs, C:\Users\guthrie\AppD ata\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Syste m.o ) [11 of 65] Compiling Distribution.Simple.PreProcess.Unlit ( C:\Users\guthrie\App Data\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\PreProce ss\Unlit.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16 .0.3\dist\setup\Distribution\Simple\PreProcess\Unlit.o ) [12 of 65] Compiling Distribution.ReadE ( C:\Users\guthrie\AppData\Local\Temp\Ca bal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\ReadE.hs, C:\Users\guthrie\AppDat a\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\ReadE.o ) [13 of 65] Compiling Distribution.Verbosity ( C:\Users\guthrie\AppData\Local\Tem p\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Verbosity.hs, C:\Users\guthri e\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution \Verbosity.o ) [14 of 65] Compiling Distribution.Package ( C:\Users\guthrie\AppData\Local\Temp\ Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Package.hs, C:\Users\guthrie\Ap pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Pac kage.o ) [15 of 65] Compiling Distribution.ModuleName ( C:\Users\guthrie\AppData\Local\Te mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\ModuleName.hs, C:\Users\guth rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi on\ModuleName.o ) [16 of 65] Compiling Distribution.Simple.Utils ( C:\Users\guthrie\AppData\Local\ Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Utils.hs, C:\Users\ guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distri bution\Simple\Utils.o ) [17 of 65] Compiling Distribution.Simple.Program.Types ( C:\Users\guthrie\AppDat a\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Typ es.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\d ist\setup\Distribution\Simple\Program\Types.o ) [18 of 65] Compiling Distribution.Simple.Program.Builtin ( C:\Users\guthrie\AppD ata\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\B uiltin.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0 .3\dist\setup\Distribution\Simple\Program\Builtin.o ) [19 of 65] Compiling Distribution.Simple.Program.Db ( C:\Users\guthrie\AppData\L ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Db.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se tup\Distribution\Simple\Program\Db.o ) [20 of 65] Compiling Distribution.Simple.Program.Run ( C:\Users\guthrie\AppData\ Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Run.h s, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\ setup\Distribution\Simple\Program\Run.o ) [21 of 65] Compiling Distribution.Simple.Program ( C:\Users\guthrie\AppData\Loca l\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program.hs, C:\Us ers\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Di stribution\Simple\Program.o ) [22 of 65] Compiling Distribution.Simple.Program.Ar ( C:\Users\guthrie\AppData\L ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Ar.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se tup\Distribution\Simple\Program\Ar.o ) [23 of 65] Compiling Distribution.Simple.Program.Hpc ( C:\Users\guthrie\AppData\ Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Hpc.h s, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\ setup\Distribution\Simple\Program\Hpc.o ) [24 of 65] Compiling Distribution.Simple.Program.Ld ( C:\Users\guthrie\AppData\L ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Ld.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se tup\Distribution\Simple\Program\Ld.o ) [25 of 65] Compiling Distribution.Simple.Program.Script ( C:\Users\guthrie\AppDa ta\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Sc ript.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3 \dist\setup\Distribution\Simple\Program\Script.o ) [26 of 65] Compiling Distribution.License ( C:\Users\guthrie\AppData\Local\Temp\ Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\License.hs, C:\Users\guthrie\Ap pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Lic ense.o ) [27 of 65] Compiling Distribution.Compiler ( C:\Users\guthrie\AppData\Local\Temp \Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Compiler.hs, C:\Users\guthrie\ AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\C ompiler.o ) [28 of 65] Compiling Distribution.PackageDescription ( C:\Users\guthrie\AppData\ Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\PackageDescription.h s, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\ setup\Distribution\PackageDescription.o ) [29 of 65] Compiling Distribution.PackageDescription.Configuration ( C:\Users\gu thrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Packag eDescription\Configuration.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0. 3-12392\Cabal-1.16.0.3\dist\setup\Distribution\PackageDescription\Configuration. o ) [30 of 65] Compiling Distribution.PackageDescription.Check ( C:\Users\guthrie\Ap pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\PackageDescrip tion\Check.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1. 16.0.3\dist\setup\Distribution\PackageDescription\Check.o ) [31 of 65] Compiling Distribution.ParseUtils ( C:\Users\guthrie\AppData\Local\Te mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\ParseUtils.hs, C:\Users\guth rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi on\ParseUtils.o ) [32 of 65] Compiling Distribution.InstalledPackageInfo ( C:\Users\guthrie\AppDat a\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\InstalledPackageIn fo.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\d ist\setup\Distribution\InstalledPackageInfo.o ) [33 of 65] Compiling Distribution.Simple.PackageIndex ( C:\Users\guthrie\AppData \Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\PackageIndex .hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dis t\setup\Distribution\Simple\PackageIndex.o ) [34 of 65] Compiling Distribution.Simple.GHC.IPI642 ( C:\Users\guthrie\AppData\L ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\GHC\IPI642.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se tup\Distribution\Simple\GHC\IPI642.o ) [35 of 65] Compiling Distribution.Simple.GHC.IPI641 ( C:\Users\guthrie\AppData\L ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\GHC\IPI641.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se tup\Distribution\Simple\GHC\IPI641.o ) [36 of 65] Compiling Distribution.PackageDescription.Parse ( C:\Users\guthrie\Ap pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\PackageDescrip tion\Parse.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1. 16.0.3\dist\setup\Distribution\PackageDescription\Parse.o ) [37 of 65] Compiling Distribution.Simple.Command ( C:\Users\guthrie\AppData\Loca l\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Command.hs, C:\Us ers\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Di stribution\Simple\Command.o ) [38 of 65] Compiling Distribution.Simple.Compiler ( C:\Users\guthrie\AppData\Loc al\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Compiler.hs, C:\ Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\ Distribution\Simple\Compiler.o ) [39 of 65] Compiling Distribution.Simple.Program.HcPkg ( C:\Users\guthrie\AppDat a\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\HcP kg.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\d ist\setup\Distribution\Simple\Program\HcPkg.o ) [40 of 65] Compiling Distribution.Simple.InstallDirs ( C:\Users\guthrie\AppData\ Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\InstallDirs.h s, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\ setup\Distribution\Simple\InstallDirs.o ) [41 of 65] Compiling Distribution.Simple.Setup ( C:\Users\guthrie\AppData\Local\ Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Setup.hs, C:\Users\ guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distri bution\Simple\Setup.o ) [42 of 65] Compiling Distribution.Simple.LocalBuildInfo ( C:\Users\guthrie\AppDa ta\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\LocalBuild Info.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3 \dist\setup\Distribution\Simple\LocalBuildInfo.o ) [43 of 65] Compiling Distribution.Simple.Build.Macros ( C:\Users\guthrie\AppData \Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Build\Macros .hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dis t\setup\Distribution\Simple\Build\Macros.o ) [44 of 65] Compiling Distribution.Simple.BuildPaths ( C:\Users\guthrie\AppData\L ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\BuildPaths.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se tup\Distribution\Simple\BuildPaths.o ) [45 of 65] Compiling Distribution.Simple.Build.PathsModule ( C:\Users\guthrie\Ap pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Build\P athsModule.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1. 16.0.3\dist\setup\Distribution\Simple\Build\PathsModule.o ) [46 of 65] Compiling Distribution.Simple.LHC ( C:\Users\guthrie\AppData\Local\Te mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\LHC.hs, C:\Users\guth rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi on\Simple\LHC.o ) [47 of 65] Compiling Distribution.Simple.Hpc ( C:\Users\guthrie\AppData\Local\Te mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Hpc.hs, C:\Users\guth rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi on\Simple\Hpc.o ) [48 of 65] Compiling Distribution.Simple.JHC ( C:\Users\guthrie\AppData\Local\Te mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\JHC.hs, C:\Users\guth rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi on\Simple\JHC.o ) [49 of 65] Compiling Distribution.Simple.NHC ( C:\Users\guthrie\AppData\Local\Te mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\NHC.hs, C:\Users\guth rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi on\Simple\NHC.o ) [50 of 65] Compiling Distribution.Simple.UHC ( C:\Users\guthrie\AppData\Local\Te mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\UHC.hs, C:\Users\guth rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi on\Simple\UHC.o ) [51 of 65] Compiling Distribution.Simple.Test ( C:\Users\guthrie\AppData\Local\T emp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Test.hs, C:\Users\gu thrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribu tion\Simple\Test.o ) [52 of 65] Compiling Distribution.Simple.PreProcess ( C:\Users\guthrie\AppData\L ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\PreProcess.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se tup\Distribution\Simple\PreProcess.o ) [53 of 65] Compiling Distribution.Simple.Hugs ( C:\Users\guthrie\AppData\Local\T emp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Hugs.hs, C:\Users\gu thrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribu tion\Simple\Hugs.o ) [54 of 65] Compiling Distribution.Simple.SrcDist ( C:\Users\guthrie\AppData\Loca l\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\SrcDist.hs, C:\Us ers\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Di stribution\Simple\SrcDist.o ) [55 of 65] Compiling Distribution.Simple.UserHooks ( C:\Users\guthrie\AppData\Lo cal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\UserHooks.hs, C :\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setu p\Distribution\Simple\UserHooks.o ) [56 of 65] Compiling Distribution.Simple.Bench ( C:\Users\guthrie\AppData\Local\ Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Bench.hs, C:\Users\ guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distri bution\Simple\Bench.o ) [57 of 65] Compiling Distribution.Simple.Program.GHC ( C:\Users\guthrie\AppData\ Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\GHC.h s, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\ setup\Distribution\Simple\Program\GHC.o ) [58 of 65] Compiling Distribution.Simple.GHC ( C:\Users\guthrie\AppData\Local\Te mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\GHC.hs, C:\Users\guth rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi on\Simple\GHC.o ) [59 of 65] Compiling Distribution.Simple.Configure ( C:\Users\guthrie\AppData\Lo cal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Configure.hs, C :\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setu p\Distribution\Simple\Configure.o ) [60 of 65] Compiling Distribution.Simple.Install ( C:\Users\guthrie\AppData\Loca l\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Install.hs, C:\Us ers\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Di stribution\Simple\Install.o ) [61 of 65] Compiling Distribution.Simple.Register ( C:\Users\guthrie\AppData\Loc al\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Register.hs, C:\ Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\ Distribution\Simple\Register.o ) [62 of 65] Compiling Distribution.Simple.Build ( C:\Users\guthrie\AppData\Local\ Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Build.hs, C:\Users\ guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distri bution\Simple\Build.o ) [63 of 65] Compiling Distribution.Simple.Haddock ( C:\Users\guthrie\AppData\Loca l\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Haddock.hs, C:\Us ers\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Di stribution\Simple\Haddock.o ) [64 of 65] Compiling Distribution.Simple ( C:\Users\guthrie\AppData\Local\Temp\C abal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple.hs, C:\Users\guthrie\AppD ata\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Simpl e.o ) [65 of 65] Compiling Main ( C:\Users\guthrie\AppData\Local\Temp\Caba l-1.16.0.3-12392\Cabal-1.16.0.3\Setup.hs, C:\Users\guthrie\AppData\Local\Temp\Ca bal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Main.o ) Linking C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\ dist\setup\setup.exe ... C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set up\setup.exe configure --verbose=2 --ghc --prefix=C:\Users\guthrie\AppData\Roaming\cabal --user --flags=base4 --flags=base3 --constraint=process ==1.1.0.1 --constraint=pretty ==1.1.1.0 --constraint=old-time ==1.1.0.0 --constraint=filepath ==1.3.0.0 --constraint=directory ==1.1.0.2 --constraint=containers ==0.4.2.1 --constraint=base ==4.5.1.0 --constraint=array ==0.4.0.0 --disable-tests --disable-benchmarks Configuring Cabal-1.16.0.3... Flags chosen: base3=True, base4=True Dependency array ==0.4.0.0: using array-0.4.0.0 Dependency base ==4.5.1.0: using base-4.5.1.0 Dependency containers ==0.4.2.1: using containers-0.4.2.1 Dependency directory ==1.1.0.2: using directory-1.1.0.2 Dependency filepath ==1.3.0.0: using filepath-1.3.0.0 Dependency old-time ==1.1.0.0: using old-time-1.1.0.0 Dependency pretty ==1.1.1.0: using pretty-1.1.1.0 Dependency process ==1.1.0.1: using process-1.1.0.1 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package process-1.1.0.1 requires base-4.5.0.0 package pretty-1.1.1.0 requires base-4.5.0.0 package old-time-1.1.0.0 requires base-4.5.0.0 package old-locale-1.0.0.4 requires base-4.5.0.0 package filepath-1.3.0.0 requires base-4.5.0.0 package directory-1.1.0.2 requires base-4.5.0.0 package deepseq-1.3.0.0 requires base-4.5.0.0 package containers-0.4.2.1 requires base-4.5.0.0 package bytestring-0.9.2.1 requires base-4.5.0.0 package array-0.4.0.0 requires base-4.5.0.0 package Win32-2.2.2.0 requires base-4.5.0.0 package filepath-1.3.0.0 requires base-4.5.1.0 package Cabal-1.16.0.3 requires base-4.5.1.0 package Cabal-1.16.0.3 requires filepath-1.3.0.0 package process-1.1.0.1 requires filepath-1.3.0.0 package directory-1.1.0.2 requires filepath-1.3.0.0 package integer-gmp-0.4.0.0 requires ghc-prim-0.2.0.0 package bytestring-0.9.2.1 requires ghc-prim-0.2.0.0 package base-4.5.0.0 requires ghc-prim-0.2.0.0 package integer-gmp-0.4.0.0 requires ghc-prim-0.2.0.0 package base-4.5.1.0 requires ghc-prim-0.2.0.0 package base-4.5.1.0 requires integer-gmp-0.4.0.0 package base-4.5.0.0 requires integer-gmp-0.4.0.0 Using Cabal-1.9999 compiled by ghc-7.4 Using compiler: ghc-7.4.2 Using install prefix: C:\Users\guthrie\AppData\Roaming\cabal Binaries installed in: C:\Users\guthrie\AppData\Roaming\cabal\bin Libraries installed in: C:\Users\guthrie\AppData\Roaming\cabal\Cabal-1.16.0.3\ghc-7.4.2 Private binaries installed in: C:\Users\guthrie\AppData\Roaming\cabal\Cabal-1.16.0.3 Data files installed in: C:\Users\guthrie\AppData\Roaming\cabal\Cabal-1.16.0.3 Documentation installed in: C:\Users\guthrie\AppData\Roaming\cabal\doc\Cabal-1.16.0.3 Using alex version 3.0.2 found on system at: e:\Plang\Haskell Platform\lib\extralibs\bin\alex.exe Using ar found on system at: e:\Plang\Haskell Platform\mingw\bin\ar.exe No c2hs found Using cpphs version 1.12 found on system at: C:\Users\guthrie\AppData\Roaming\cabal\bin\cpphs.exe No ffihugs found Using gcc version 4.5.2 found on system at: e:\Plang\Haskell Platform\mingw\bin\gcc.exe Using ghc version 7.4.2 found on system at: e:\Plang\Haskell Platform\bin\ghc.exe Using ghc-pkg version 7.4.2 found on system at: e:\Plang\Haskell Platform\bin\ghc-pkg.exe No greencard found Using haddock version 2.11.0 found on system at: e:\Plang\Haskell Platform\bin\haddock.exe Using happy version 1.18.10 found on system at: e:\Plang\Haskell Platform\lib\extralibs\bin\happy.exe No hmake found Using hpc version 0.6 found on system at: e:\Plang\Haskell Platform\bin\hpc.exe Using hsc2hs version 0.67 found on system at: e:\Plang\Haskell Platform\bin\hsc2hs.exe No hscolour found No hugs found No jhc found Using ld found on system at: e:\Plang\Haskell Platform\mingw\bin\ld.exe No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.25 found on system at: E:\Programs\Graphviz 2.28\bin\pkg-config.exe Using ranlib found on system at: e:\developer\MinGW\bin\ranlib.exe Using strip found on system at: e:\Plang\Haskell Platform\mingw\bin\strip.exe Using tar found on system at: e:\Tools\Gnuwin32\bin\tar.exe No uhc found creating C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set up C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set up\setup.exe build --verbose=2 creating dist\build creating dist\build\autogen Building Cabal-1.16.0.3... Preprocessing library Cabal-1.16.0.3... Building library... creating dist\build e:\Plang\Haskell Platform\bin\ghc.exe --make -fbuilding-cabal-package -O -odir d ist\build -hidir dist\build -stubdir dist\build -i -idist\build -i. -idist\build \autogen -Idist\build\autogen -Idist\build -optP-include -optPdist\build\autogen \cabal_macros.h -package-name Cabal-1.16.0.3 -hide-all-packages -package-conf di st\package.conf.inplace -package-id array-0.4.0.0-3cf1bc3f5cd0078adea24752c18081 b9 -package-id base-4.5.1.0-7c83b96f47f23db63c42a56351dcb917 -package-id contain ers-0.4.2.1-7c54595400348f577b3b4a45691c5afd -package-id directory-1.1.0.2-02702 78088d4b2588b52cbec49af4cb7 -package-id filepath-1.3.0.0-2f497f30c85bfb59ab50596 7fb933019 -package-id old-time-1.1.0.0-7b2e123ada736534f8119498399ea8c8 -package -id pretty-1.1.1.0-7e118fa87f5698f5c005fe87b34befe8 -package-id process-1.1.0.1- a1e999172167bbc8a1120e48bbfdef22 -XHaskell98 -XCPP Distribution.Compiler Distrib ution.InstalledPackageInfo Distribution.License Distribution.Make Distribution.M oduleName Distribution.Package Distribution.PackageDescription Distribution.Pack ageDescription.Configuration Distribution.PackageDescription.Parse Distribution. PackageDescription.Check Distribution.PackageDescription.PrettyPrint Distributio n.ParseUtils Distribution.ReadE Distribution.Simple Distribution.Simple.Build Di stribution.Simple.Build.Macros Distribution.Simple.Build.PathsModule Distributio n.Simple.BuildPaths Distribution.Simple.Bench Distribution.Simple.Command Distri bution.Simple.Compiler Distribution.Simple.Configure Distribution.Simple.GHC Dis tribution.Simple.LHC Distribution.Simple.Haddock Distribution.Simple.Hpc Distrib ution.Simple.Hugs Distribution.Simple.Install Distribution.Simple.InstallDirs Di stribution.Simple.JHC Distribution.Simple.LocalBuildInfo Distribution.Simple.NHC Distribution.Simple.PackageIndex Distribution.Simple.PreProcess Distribution.Si mple.PreProcess.Unlit Distribution.Simple.Program Distribution.Simple.Program.Ar Distribution.Simple.Program.Builtin Distribution.Simple.Program.Db Distribution .Simple.Program.GHC Distribution.Simple.Program.HcPkg Distribution.Simple.Progra m.Hpc Distribution.Simple.Program.Ld Distribution.Simple.Program.Run Distributio n.Simple.Program.Script Distribution.Simple.Program.Types Distribution.Simple.Re gister Distribution.Simple.Setup Distribution.Simple.SrcDist Distribution.Simple .Test Distribution.Simple.UHC Distribution.Simple.UserHooks Distribution.Simple. Utils Distribution.System Distribution.TestSuite Distribution.Text Distribution. Verbosity Distribution.Version Distribution.Compat.ReadP Language.Haskell.Extens ion Distribution.GetOpt Distribution.Compat.Exception Distribution.Compat.CopyFi le Distribution.Compat.TempFile Distribution.Simple.GHC.IPI641 Distribution.Simp le.GHC.IPI642 Paths_Cabal -fwarn-tabs -Wall -fno-ignore-asserts <command line>: cannot satisfy -package-id array-0.4.0.0-3cf1bc3f5cd0078adea2475 2c18081b9 (use -v for more information) World file is already up to date. cabal: Error: some packages failed to install: Cabal-1.16.0.3 failed during the building phase. The exception was: ExitFailure 1 cabal-install-1.16.0.2 depends on Cabal-1.16.0.3 which failed to install. ------------------------------------------- Subject: Re: [Haskell-cafe] Cabal failures... Hi Greg, On Mon, Nov 19, 2012 at 1:25 PM, Gregory Guthrie <guthrie@mum.edu<mailto:guthrie@mum.edu>> wrote: I follow the Cabal-messes threads with some interest, since that is the hardest area for me since starting to use Haskell. Probably 40-60% of all package install fail for some mysterious reason, with threats that trying to fix them will break more things, which generally is true. :-) We're working on it. Be brave, things are going to get better! Make sure that the place that the "cabal" binary gets installed into (which is printed at the end of the install) is on your PATH. Linking C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-13880\Cabal-1.16.0.3\dist\setup\setup.exe ... Configuring Cabal-1.16.0.3... Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. This is a sure sign that things are not going to work well. Could you include the output of cabal install -v cabal-install please. The output here is not enough to tell me what's going on. Please also include the output of cabal --version ghc --version Are you using the Haskell Platform, if so, which version? -- Johan
I'm not quite sure what's going on. I've CCed Andres, who wrote the new constraint solver. One especially confusing part is this: C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set **** up\setup.exe**** configure --verbose=2 --ghc --prefix=C:\Users\guthrie\AppData\Roaming\cabal* *** --user --flags=base4 --flags=base3 --constraint=process ==1.1.0.1**** --constraint=pretty ==1.1.1.0 --constraint=old-time ==1.1.0.0**** --constraint=filepath ==1.3.0.0 --constraint=directory ==1.1.0.2**** --constraint=containers ==0.4.2.1 --constraint=base ==4.5.1.0**** --constraint=array ==0.4.0.0 --disable-tests --disable-benchmarks**** Configuring Cabal-1.16.0.3...**** Flags chosen: base3=True, base4=True**** Dependency array ==0.4.0.0: using array-0.4.0.0**** Dependency base ==4.5.1.0: using base-4.5.1.0**** Dependency containers ==0.4.2.1: using containers-0.4.2.1**** Dependency directory ==1.1.0.2: using directory-1.1.0.2**** Dependency filepath ==1.3.0.0: using filepath-1.3.0.0**** Dependency old-time ==1.1.0.0: using old-time-1.1.0.0**** Dependency pretty ==1.1.1.0: using pretty-1.1.1.0**** Dependency process ==1.1.0.1: using process-1.1.0.1**** Warning: This package indirectly depends on multiple versions of the same*** * package. This is highly likely to cause a compile failure. Why is Cabal setting both base3 and base4 to True? P.S. You can try the same command with --solver=topdown and see if that works. On Mon, Nov 19, 2012 at 8:22 PM, Gregory Guthrie <guthrie@mum.edu> wrote:
Johan, thanks for the note and information.****
** **
My setup is: (Windows 7)****
cabal-install version 0.14.0****
using version 1.14.0 of the Cabal library****
The Glorious Glasgow Haskell Compilation System, version 7.4.2****
Haskell Platform 2012.4.0.0****
** **
I had just done a “cabal update”.****
C:\Users\guthrie>cabal install -v cabal-install****
Reading available packages...****
Choosing modular solver.****
Resolving dependencies...****
Extracting****
C:\Users\guthrie\AppData\Roaming\cabal\packages\hackage.haskell.org \Cabal\1.16.0****
.3\Cabal-1.16.0.3.tar.gz****
to C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392...****
creating****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set ****
up****
creating****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist ****
creating****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set ****
up****
e:\Plang\Haskell Platform\bin\ghc.exe --make C:\Users\guthrie\AppData\Local\Temp****
\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Setup.hs -o C:\Users\guthrie\AppData\Local\****
Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\setup.exe -odir C:\Users\gut****
hrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup -hidir C:****
\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup ****
-i -iC:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3* ***
[ 1 of 65] Compiling Distribution.Compat.Exception ( C:\Users\guthrie\AppData\Lo****
cal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Compat\Exception.hs, C****
:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setu ****
p\Distribution\Compat\Exception.o )****
[ 2 of 65] Compiling Distribution.Compat.TempFile ( C:\Users\guthrie\AppData\Loc****
al\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Compat\TempFile.hs, C:\****
Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\ ****
Distribution\Compat\TempFile.o )****
[ 3 of 65] Compiling Distribution.Compat.CopyFile ( C:\Users\guthrie\AppData\Loc****
al\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Compat\CopyFile.hs, C:\****
Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\ ****
Distribution\Compat\CopyFile.o )****
[ 4 of 65] Compiling Distribution.GetOpt ( C:\Users\guthrie\AppData\Local\Temp\C****
abal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\GetOpt.hs, C:\Users\guthrie\AppD****
ata\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\GetOp ****
t.o )****
[ 5 of 65] Compiling Distribution.Compat.ReadP ( C:\Users\guthrie\AppData\Local\****
Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Compat\ReadP.hs, C:\Users\****
guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distri ****
bution\Compat\ReadP.o )****
[ 6 of 65] Compiling Distribution.Text ( C:\Users\guthrie\AppData\Local\Temp\Cab****
al-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Text.hs, C:\Users\guthrie\AppData\****
Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Text.o )****
[ 7 of 65] Compiling Distribution.Version ( C:\Users\guthrie\AppData\Local\Temp\****
Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Version.hs, C:\Users\guthrie\Ap****
pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Ver ****
sion.o )****
[ 8 of 65] Compiling Language.Haskell.Extension ( C:\Users\guthrie\AppData\Local****
\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Language\Haskell\Extension.hs, C:\User****
s\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Lang ****
uage\Haskell\Extension.o )****
[ 9 of 65] Compiling Distribution.TestSuite ( C:\Users\guthrie\AppData\Local\Tem****
p\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\TestSuite.hs, C:\Users\guthri****
e\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution ****
\TestSuite.o )****
[10 of 65] Compiling Distribution.System ( C:\Users\guthrie\AppData\Local\Temp\C****
abal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\System.hs, C:\Users\guthrie\AppD****
ata\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Syste ****
m.o )****
[11 of 65] Compiling Distribution.Simple.PreProcess.Unlit ( C:\Users\guthrie\App****
Data\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\PreProce ****
ss\Unlit.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16****
.0.3\dist\setup\Distribution\Simple\PreProcess\Unlit.o )****
[12 of 65] Compiling Distribution.ReadE ( C:\Users\guthrie\AppData\Local\Temp\Ca****
bal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\ReadE.hs, C:\Users\guthrie\AppDat****
a\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\ReadE.o ****
)****
[13 of 65] Compiling Distribution.Verbosity ( C:\Users\guthrie\AppData\Local\Tem****
p\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Verbosity.hs, C:\Users\guthri****
e\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution ****
\Verbosity.o )****
[14 of 65] Compiling Distribution.Package ( C:\Users\guthrie\AppData\Local\Temp\****
Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Package.hs, C:\Users\guthrie\Ap****
pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Pac ****
kage.o )****
[15 of 65] Compiling Distribution.ModuleName ( C:\Users\guthrie\AppData\Local\Te****
mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\ModuleName.hs, C:\Users\guth****
rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi ****
on\ModuleName.o )****
[16 of 65] Compiling Distribution.Simple.Utils ( C:\Users\guthrie\AppData\Local\****
Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Utils.hs, C:\Users\****
guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distri ****
bution\Simple\Utils.o )****
[17 of 65] Compiling Distribution.Simple.Program.Types ( C:\Users\guthrie\AppDat****
a\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Typ ****
es.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\d* ***
ist\setup\Distribution\Simple\Program\Types.o )****
[18 of 65] Compiling Distribution.Simple.Program.Builtin ( C:\Users\guthrie\AppD****
ata\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\B ****
uiltin.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0****
.3\dist\setup\Distribution\Simple\Program\Builtin.o )****
[19 of 65] Compiling Distribution.Simple.Program.Db ( C:\Users\guthrie\AppData\L****
ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Db.hs, ****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se ****
tup\Distribution\Simple\Program\Db.o )****
[20 of 65] Compiling Distribution.Simple.Program.Run ( C:\Users\guthrie\AppData\****
Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Run.h ****
s, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\ ****
setup\Distribution\Simple\Program\Run.o )****
[21 of 65] Compiling Distribution.Simple.Program ( C:\Users\guthrie\AppData\Loca****
l\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program.hs, C:\Us****
ers\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Di ****
stribution\Simple\Program.o )****
[22 of 65] Compiling Distribution.Simple.Program.Ar ( C:\Users\guthrie\AppData\L****
ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Ar.hs, ****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se ****
tup\Distribution\Simple\Program\Ar.o )****
[23 of 65] Compiling Distribution.Simple.Program.Hpc ( C:\Users\guthrie\AppData\****
Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Hpc.h ****
s, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\ ****
setup\Distribution\Simple\Program\Hpc.o )****
[24 of 65] Compiling Distribution.Simple.Program.Ld ( C:\Users\guthrie\AppData\L****
ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Ld.hs, ****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se ****
tup\Distribution\Simple\Program\Ld.o )****
[25 of 65] Compiling Distribution.Simple.Program.Script ( C:\Users\guthrie\AppDa****
ta\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\Sc ****
ript.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3*** *
\dist\setup\Distribution\Simple\Program\Script.o )****
[26 of 65] Compiling Distribution.License ( C:\Users\guthrie\AppData\Local\Temp\****
Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\License.hs, C:\Users\guthrie\Ap****
pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Lic ****
ense.o )****
[27 of 65] Compiling Distribution.Compiler ( C:\Users\guthrie\AppData\Local\Temp****
\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Compiler.hs, C:\Users\guthrie\****
AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\C ****
ompiler.o )****
[28 of 65] Compiling Distribution.PackageDescription ( C:\Users\guthrie\AppData\****
Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\PackageDescription.h ****
s, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\ ****
setup\Distribution\PackageDescription.o )****
[29 of 65] Compiling Distribution.PackageDescription.Configuration ( C:\Users\gu****
thrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Packag ****
eDescription\Configuration.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.****
3-12392\Cabal-1.16.0.3\dist\setup\Distribution\PackageDescription\Configuration. ****
o )****
[30 of 65] Compiling Distribution.PackageDescription.Check ( C:\Users\guthrie\Ap****
pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\PackageDescrip ****
tion\Check.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.****
16.0.3\dist\setup\Distribution\PackageDescription\Check.o )****
[31 of 65] Compiling Distribution.ParseUtils ( C:\Users\guthrie\AppData\Local\Te****
mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\ParseUtils.hs, C:\Users\guth****
rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi ****
on\ParseUtils.o )****
[32 of 65] Compiling Distribution.InstalledPackageInfo ( C:\Users\guthrie\AppDat****
a\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\InstalledPackageIn ****
fo.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\d* ***
ist\setup\Distribution\InstalledPackageInfo.o )****
[33 of 65] Compiling Distribution.Simple.PackageIndex ( C:\Users\guthrie\AppData****
\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\PackageIndex ****
.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dis ****
t\setup\Distribution\Simple\PackageIndex.o )****
[34 of 65] Compiling Distribution.Simple.GHC.IPI642 ( C:\Users\guthrie\AppData\L****
ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\GHC\IPI642.hs, ****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se ****
tup\Distribution\Simple\GHC\IPI642.o )****
[35 of 65] Compiling Distribution.Simple.GHC.IPI641 ( C:\Users\guthrie\AppData\L****
ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\GHC\IPI641.hs, ****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se ****
tup\Distribution\Simple\GHC\IPI641.o )****
[36 of 65] Compiling Distribution.PackageDescription.Parse ( C:\Users\guthrie\Ap****
pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\PackageDescrip ****
tion\Parse.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.****
16.0.3\dist\setup\Distribution\PackageDescription\Parse.o )****
[37 of 65] Compiling Distribution.Simple.Command ( C:\Users\guthrie\AppData\Loca****
l\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Command.hs, C:\Us****
ers\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Di ****
stribution\Simple\Command.o )****
[38 of 65] Compiling Distribution.Simple.Compiler ( C:\Users\guthrie\AppData\Loc****
al\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Compiler.hs, C:\****
Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\ ****
Distribution\Simple\Compiler.o )****
[39 of 65] Compiling Distribution.Simple.Program.HcPkg ( C:\Users\guthrie\AppDat****
a\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\HcP ****
kg.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\d* ***
ist\setup\Distribution\Simple\Program\HcPkg.o )****
[40 of 65] Compiling Distribution.Simple.InstallDirs ( C:\Users\guthrie\AppData\****
Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\InstallDirs.h ****
s, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\ ****
setup\Distribution\Simple\InstallDirs.o )****
[41 of 65] Compiling Distribution.Simple.Setup ( C:\Users\guthrie\AppData\Local\****
Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Setup.hs, C:\Users\****
guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distri ****
bution\Simple\Setup.o )****
[42 of 65] Compiling Distribution.Simple.LocalBuildInfo ( C:\Users\guthrie\AppDa****
ta\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\LocalBuild ****
Info.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3*** *
\dist\setup\Distribution\Simple\LocalBuildInfo.o )****
[43 of 65] Compiling Distribution.Simple.Build.Macros ( C:\Users\guthrie\AppData****
\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Build\Macros ****
.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dis ****
t\setup\Distribution\Simple\Build\Macros.o )****
[44 of 65] Compiling Distribution.Simple.BuildPaths ( C:\Users\guthrie\AppData\L****
ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\BuildPaths.hs, ****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se ****
tup\Distribution\Simple\BuildPaths.o )****
[45 of 65] Compiling Distribution.Simple.Build.PathsModule ( C:\Users\guthrie\Ap****
pData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Build\P ****
athsModule.hs, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.****
16.0.3\dist\setup\Distribution\Simple\Build\PathsModule.o )****
[46 of 65] Compiling Distribution.Simple.LHC ( C:\Users\guthrie\AppData\Local\Te****
mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\LHC.hs, C:\Users\guth****
rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi ****
on\Simple\LHC.o )****
[47 of 65] Compiling Distribution.Simple.Hpc ( C:\Users\guthrie\AppData\Local\Te****
mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Hpc.hs, C:\Users\guth****
rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi ****
on\Simple\Hpc.o )****
[48 of 65] Compiling Distribution.Simple.JHC ( C:\Users\guthrie\AppData\Local\Te****
mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\JHC.hs, C:\Users\guth****
rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi ****
on\Simple\JHC.o )****
[49 of 65] Compiling Distribution.Simple.NHC ( C:\Users\guthrie\AppData\Local\Te****
mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\NHC.hs, C:\Users\guth****
rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi ****
on\Simple\NHC.o )****
[50 of 65] Compiling Distribution.Simple.UHC ( C:\Users\guthrie\AppData\Local\Te****
mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\UHC.hs, C:\Users\guth****
rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi ****
on\Simple\UHC.o )****
[51 of 65] Compiling Distribution.Simple.Test ( C:\Users\guthrie\AppData\Local\T****
emp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Test.hs, C:\Users\gu****
thrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribu ****
tion\Simple\Test.o )****
[52 of 65] Compiling Distribution.Simple.PreProcess ( C:\Users\guthrie\AppData\L****
ocal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\PreProcess.hs, ****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\se ****
tup\Distribution\Simple\PreProcess.o )****
[53 of 65] Compiling Distribution.Simple.Hugs ( C:\Users\guthrie\AppData\Local\T****
emp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Hugs.hs, C:\Users\gu****
thrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribu ****
tion\Simple\Hugs.o )****
[54 of 65] Compiling Distribution.Simple.SrcDist ( C:\Users\guthrie\AppData\Loca****
l\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\SrcDist.hs, C:\Us****
ers\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Di ****
stribution\Simple\SrcDist.o )****
[55 of 65] Compiling Distribution.Simple.UserHooks ( C:\Users\guthrie\AppData\Lo****
cal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\UserHooks.hs, C****
:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setu ****
p\Distribution\Simple\UserHooks.o )****
[56 of 65] Compiling Distribution.Simple.Bench ( C:\Users\guthrie\AppData\Local\****
Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Bench.hs, C:\Users\****
guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distri ****
bution\Simple\Bench.o )****
[57 of 65] Compiling Distribution.Simple.Program.GHC ( C:\Users\guthrie\AppData\****
Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Program\GHC.h ****
s, C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\ ****
setup\Distribution\Simple\Program\GHC.o )****
[58 of 65] Compiling Distribution.Simple.GHC ( C:\Users\guthrie\AppData\Local\Te****
mp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\GHC.hs, C:\Users\guth****
rie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distributi ****
on\Simple\GHC.o )****
[59 of 65] Compiling Distribution.Simple.Configure ( C:\Users\guthrie\AppData\Lo****
cal\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Configure.hs, C****
:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setu ****
p\Distribution\Simple\Configure.o )****
[60 of 65] Compiling Distribution.Simple.Install ( C:\Users\guthrie\AppData\Loca****
l\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Install.hs, C:\Us****
ers\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Di ****
stribution\Simple\Install.o )****
[61 of 65] Compiling Distribution.Simple.Register ( C:\Users\guthrie\AppData\Loc****
al\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Register.hs, C:\****
Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\ ****
Distribution\Simple\Register.o )****
[62 of 65] Compiling Distribution.Simple.Build ( C:\Users\guthrie\AppData\Local\****
Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Build.hs, C:\Users\****
guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distri ****
bution\Simple\Build.o )****
[63 of 65] Compiling Distribution.Simple.Haddock ( C:\Users\guthrie\AppData\Loca****
l\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple\Haddock.hs, C:\Us****
ers\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Di ****
stribution\Simple\Haddock.o )****
[64 of 65] Compiling Distribution.Simple ( C:\Users\guthrie\AppData\Local\Temp\C****
abal-1.16.0.3-12392\Cabal-1.16.0.3\Distribution\Simple.hs, C:\Users\guthrie\AppD****
ata\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Distribution\Simpl ****
e.o )****
[65 of 65] Compiling Main ( C:\Users\guthrie\AppData\Local\Temp\Caba****
l-1.16.0.3-12392\Cabal-1.16.0.3\Setup.hs, C:\Users\guthrie\AppData\Local\Temp\Ca****
bal-1.16.0.3-12392\Cabal-1.16.0.3\dist\setup\Main.o )****
Linking C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\** **
dist\setup\setup.exe ...****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set ****
up\setup.exe****
configure --verbose=2 --ghc --prefix=C:\Users\guthrie\AppData\Roaming\cabal ****
--user --flags=base4 --flags=base3 --constraint=process ==1.1.0.1****
--constraint=pretty ==1.1.1.0 --constraint=old-time ==1.1.0.0****
--constraint=filepath ==1.3.0.0 --constraint=directory ==1.1.0.2****
--constraint=containers ==0.4.2.1 --constraint=base ==4.5.1.0****
--constraint=array ==0.4.0.0 --disable-tests --disable-benchmarks****
Configuring Cabal-1.16.0.3...****
Flags chosen: base3=True, base4=True****
Dependency array ==0.4.0.0: using array-0.4.0.0****
Dependency base ==4.5.1.0: using base-4.5.1.0****
Dependency containers ==0.4.2.1: using containers-0.4.2.1****
Dependency directory ==1.1.0.2: using directory-1.1.0.2****
Dependency filepath ==1.3.0.0: using filepath-1.3.0.0****
Dependency old-time ==1.1.0.0: using old-time-1.1.0.0****
Dependency pretty ==1.1.1.0: using pretty-1.1.1.0****
Dependency process ==1.1.0.1: using process-1.1.0.1****
Warning: This package indirectly depends on multiple versions of the same* ***
package. This is highly likely to cause a compile failure.****
package process-1.1.0.1 requires base-4.5.0.0****
package pretty-1.1.1.0 requires base-4.5.0.0****
package old-time-1.1.0.0 requires base-4.5.0.0****
package old-locale-1.0.0.4 requires base-4.5.0.0****
package filepath-1.3.0.0 requires base-4.5.0.0****
package directory-1.1.0.2 requires base-4.5.0.0****
package deepseq-1.3.0.0 requires base-4.5.0.0****
package containers-0.4.2.1 requires base-4.5.0.0****
package bytestring-0.9.2.1 requires base-4.5.0.0****
package array-0.4.0.0 requires base-4.5.0.0****
package Win32-2.2.2.0 requires base-4.5.0.0****
package filepath-1.3.0.0 requires base-4.5.1.0****
package Cabal-1.16.0.3 requires base-4.5.1.0****
package Cabal-1.16.0.3 requires filepath-1.3.0.0****
package process-1.1.0.1 requires filepath-1.3.0.0****
package directory-1.1.0.2 requires filepath-1.3.0.0****
package integer-gmp-0.4.0.0 requires ghc-prim-0.2.0.0****
package bytestring-0.9.2.1 requires ghc-prim-0.2.0.0****
package base-4.5.0.0 requires ghc-prim-0.2.0.0****
package integer-gmp-0.4.0.0 requires ghc-prim-0.2.0.0****
package base-4.5.1.0 requires ghc-prim-0.2.0.0****
package base-4.5.1.0 requires integer-gmp-0.4.0.0****
package base-4.5.0.0 requires integer-gmp-0.4.0.0****
Using Cabal-1.9999 compiled by ghc-7.4****
Using compiler: ghc-7.4.2****
Using install prefix: C:\Users\guthrie\AppData\Roaming\cabal****
Binaries installed in: C:\Users\guthrie\AppData\Roaming\cabal\bin****
Libraries installed in:****
C:\Users\guthrie\AppData\Roaming\cabal\Cabal-1.16.0.3\ghc-7.4.2****
Private binaries installed in:****
C:\Users\guthrie\AppData\Roaming\cabal\Cabal-1.16.0.3****
Data files installed in: C:\Users\guthrie\AppData\Roaming\cabal\Cabal-1.16.0.3****
Documentation installed in:****
C:\Users\guthrie\AppData\Roaming\cabal\doc\Cabal-1.16.0.3****
Using alex version 3.0.2 found on system at: e:\Plang\Haskell****
Platform\lib\extralibs\bin\alex.exe****
Using ar found on system at: e:\Plang\Haskell Platform\mingw\bin\ar.exe*** *
No c2hs found****
Using cpphs version 1.12 found on system at:****
C:\Users\guthrie\AppData\Roaming\cabal\bin\cpphs.exe****
No ffihugs found****
Using gcc version 4.5.2 found on system at: e:\Plang\Haskell****
Platform\mingw\bin\gcc.exe****
Using ghc version 7.4.2 found on system at: e:\Plang\Haskell****
Platform\bin\ghc.exe****
Using ghc-pkg version 7.4.2 found on system at: e:\Plang\Haskell****
Platform\bin\ghc-pkg.exe****
No greencard found****
Using haddock version 2.11.0 found on system at: e:\Plang\Haskell****
Platform\bin\haddock.exe****
Using happy version 1.18.10 found on system at: e:\Plang\Haskell****
Platform\lib\extralibs\bin\happy.exe****
No hmake found****
Using hpc version 0.6 found on system at: e:\Plang\Haskell****
Platform\bin\hpc.exe****
Using hsc2hs version 0.67 found on system at: e:\Plang\Haskell****
Platform\bin\hsc2hs.exe****
No hscolour found****
No hugs found****
No jhc found****
Using ld found on system at: e:\Plang\Haskell Platform\mingw\bin\ld.exe*** *
No lhc found****
No lhc-pkg found****
No nhc98 found****
Using pkg-config version 0.25 found on system at: E:\Programs\Graphviz****
2.28\bin\pkg-config.exe****
Using ranlib found on system at: e:\developer\MinGW\bin\ranlib.exe****
Using strip found on system at: e:\Plang\Haskell Platform\mingw\bin\strip.exe****
Using tar found on system at: e:\Tools\Gnuwin32\bin\tar.exe****
No uhc found****
creating****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set ****
up****
C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set ****
up\setup.exe****
build --verbose=2****
creating dist\build****
creating dist\build\autogen****
Building Cabal-1.16.0.3...****
Preprocessing library Cabal-1.16.0.3...****
Building library...****
creating dist\build****
e:\Plang\Haskell Platform\bin\ghc.exe --make -fbuilding-cabal-package -O -odir d****
ist\build -hidir dist\build -stubdir dist\build -i -idist\build -i. -idist\build****
\autogen -Idist\build\autogen -Idist\build -optP-include -optPdist\build\autogen****
\cabal_macros.h -package-name Cabal-1.16.0.3 -hide-all-packages -package-conf di****
st\package.conf.inplace -package-id array-0.4.0.0-3cf1bc3f5cd0078adea24752c18081****
b9 -package-id base-4.5.1.0-7c83b96f47f23db63c42a56351dcb917 -package-id contain****
ers-0.4.2.1-7c54595400348f577b3b4a45691c5afd -package-id directory-1.1.0.2-02702****
78088d4b2588b52cbec49af4cb7 -package-id filepath-1.3.0.0-2f497f30c85bfb59ab50596****
7fb933019 -package-id old-time-1.1.0.0-7b2e123ada736534f8119498399ea8c8 -package****
-id pretty-1.1.1.0-7e118fa87f5698f5c005fe87b34befe8 -package-id process-1.1.0.1-****
a1e999172167bbc8a1120e48bbfdef22 -XHaskell98 -XCPP Distribution.Compiler Distrib****
ution.InstalledPackageInfo Distribution.License Distribution.Make Distribution.M****
oduleName Distribution.Package Distribution.PackageDescription Distribution.Pack****
ageDescription.Configuration Distribution.PackageDescription.Parse Distribution.****
PackageDescription.Check Distribution.PackageDescription.PrettyPrint Distributio****
n.ParseUtils Distribution.ReadE Distribution.Simple Distribution.Simple.Build Di****
stribution.Simple.Build.Macros Distribution.Simple.Build.PathsModule Distributio****
n.Simple.BuildPaths Distribution.Simple.Bench Distribution.Simple.Command Distri****
bution.Simple.Compiler Distribution.Simple.Configure Distribution.Simple.GHC Dis****
tribution.Simple.LHC Distribution.Simple.Haddock Distribution.Simple.Hpc Distrib****
ution.Simple.Hugs Distribution.Simple.Install Distribution.Simple.InstallDirs Di****
stribution.Simple.JHC Distribution.Simple.LocalBuildInfo Distribution.Simple.NHC****
Distribution.Simple.PackageIndex Distribution.Simple.PreProcess Distribution.Si****
mple.PreProcess.Unlit Distribution.Simple.Program Distribution.Simple.Program.Ar****
Distribution.Simple.Program.Builtin Distribution.Simple.Program.Db Distribution****
.Simple.Program.GHC Distribution.Simple.Program.HcPkg Distribution.Simple.Progra****
m.Hpc Distribution.Simple.Program.Ld Distribution.Simple.Program.Run Distributio****
n.Simple.Program.Script Distribution.Simple.Program.Types Distribution.Simple.Re****
gister Distribution.Simple.Setup Distribution.Simple.SrcDist Distribution.Simple****
.Test Distribution.Simple.UHC Distribution.Simple.UserHooks Distribution.Simple.****
Utils Distribution.System Distribution.TestSuite Distribution.Text Distribution.****
Verbosity Distribution.Version Distribution.Compat.ReadP Language.Haskell.Extens****
ion Distribution.GetOpt Distribution.Compat.Exception Distribution.Compat.CopyFi****
le Distribution.Compat.TempFile Distribution.Simple.GHC.IPI641 Distribution.Simp****
le.GHC.IPI642 Paths_Cabal -fwarn-tabs -Wall -fno-ignore-asserts****
<command line>: cannot satisfy -package-id array-0.4.0.0-3cf1bc3f5cd0078adea2475****
2c18081b9****
(use -v for more information)****
World file is already up to date.****
cabal: Error: some packages failed to install:****
Cabal-1.16.0.3 failed during the building phase. The exception was:****
ExitFailure 1****
cabal-install-1.16.0.2 depends on Cabal-1.16.0.3 which failed to install.* ***
** **
** **
-------------------------------------------
****
*Subject:* Re: [Haskell-cafe] Cabal failures...****
Hi Greg,****
On Mon, Nov 19, 2012 at 1:25 PM, Gregory Guthrie <guthrie@mum.edu> wrote:* ***
I follow the Cabal-messes threads with some interest, since that is the hardest area for me since starting to use Haskell. Probably 40-60% of all package install fail for some mysterious reason, with threats that trying to fix them will break more things, which generally is true. :-)****
** **
We're working on it. Be brave, things are going to get better!****
****
Make sure that the place that the "cabal" binary gets installed into (which is printed at the end of the install) is on your PATH.****
****
Linking C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-13880\Cabal-1.16.0.3\dist\setup\setup.exe ... Configuring Cabal-1.16.0.3... Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure.****
** **
This is a sure sign that things are not going to work well. Could you include the output of****
** **
cabal install -v cabal-install****
** **
please. The output here is not enough to tell me what's going on. Please also include the output of****
** **
cabal --version****
ghc --version****
** **
Are you using the Haskell Platform, if so, which version?****
** **
-- Johan****
** **
Thanks for looking at this and the help; Trying with "topdown" changes things, but as often is the case warns that it will break another ~60 packages if I force it, not sure if this will help me or cause the ruin of the rest of the local Haskell library universe. Should I force it?! :-) C:\Users\guthrie>cabal install -v --solver=topdown cabal-install Reading available packages... Resolving dependencies... In order, the following would be installed: Win32-2.2.2.0 (reinstall) changes: base-4.5.0.0 -> 4.5.1.0 array-0.4.0.0 (reinstall) changes: base-4.5.0.0 -> 4.5.1.0 deepseq-1.3.0.0 (reinstall) changes: base-4.5.0.0 -> 4.5.1.0 containers-0.4.2.1 (reinstall) changes: base-4.5.0.0 -> 4.5.1.0 old-locale-1.0.0.4 (reinstall) changes: base-4.5.0.0 -> 4.5.1.0 old-time-1.1.0.0 (reinstall) changes: base-4.5.0.0 -> 4.5.1.0 directory-1.1.0.2 (reinstall) changes: base-4.5.0.0 -> 4.5.1.0 pretty-1.1.1.0 (reinstall) changes: base-4.5.0.0 -> 4.5.1.0 process-1.1.0.1 (reinstall) changes: base-4.5.0.0 -> 4.5.1.0 Cabal-1.16.0.3 (new version) text-0.11.2.3 (reinstall) parsec-3.1.3 (reinstall) network-2.4.0.1 (new version) HTTP-4000.2.5 (reinstall) changes: network-2.3.1.0 -> 2.4.0.1 time-1.4 (reinstall) changes: base-4.5.0.0 -> 4.5.1.0 random-1.0.1.1 (reinstall) changes: base-4.5.0.0 -> 4.5.1.0 cabal-install-1.16.0.2 -bytestring-in-base (new package) cabal: The following packages are likely to be broken by the reinstalls: QuickCheck-2.4.2 haskell98-2.0.0.1 ghc-7.4.1 Cabal-1.14.0 bin-package-db-0.0.0.0 hpc-0.5.1.1 haskell-platform-2012.4.0.0 QuickCheck-2.5.1.1 haskell98-2.0.0.1 ghc-7.4.2 Cabal-1.14.0 bin-package-db-0.0.0.0 hpc-0.5.1.1 text-0.11.2.0 parsec-3.1.2 stm-2.3 regex-posix-0.95.1 regex-compat-0.95.1 regex-base-0.93.2 parallel-3.2.0.2 haskell2010-1.1.0.1 haskell-src-1.0.1.5 fgl-5.4.2.4 template-haskell-2.7.0.0 hoopl-3.8.7.3 binary-0.5.1.0 GLUT-2.1.2.1 network-2.3.1.0 cgi-3001.1.7.4 blaze-builder-0.3.1.0 stm-2.4 async-2.0.1.3 regex-posix-0.95.2 regex-compat-0.95.1 regex-base-0.93.2 parallel-3.2.0.3 haskell2010-1.1.0.1 haskell-src-1.0.1.5 fgl-5.4.2.4 vector-0.10.0.1 vector-algorithms-0.5.4.2 math-functions-0.1.1.2 template-haskell-2.7.0.0 hoopl-3.8.7.3 binary-0.5.1.0 GLUT-2.1.2.1 HUnit-1.2.5.1 Use --force-reinstalls if you want to install anyway. ------------------------------------------- From: Johan Tibell [mailto:johan.tibell@gmail.com] Cc: haskell-cafe@haskell.org; Andres Löh Subject: Re: [Haskell-cafe] Cabal failures... I'm not quite sure what's going on. I've CCed Andres, who wrote the new constraint solver. One especially confusing part is this: C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set up\setup.exe configure --verbose=2 --ghc --prefix=C:\Users\guthrie\AppData\Roaming\cabal --user --flags=base4 --flags=base3 --constraint=process ==1.1.0.1 --constraint=pretty ==1.1.1.0 --constraint=old-time ==1.1.0.0 --constraint=filepath ==1.3.0.0 --constraint=directory ==1.1.0.2 --constraint=containers ==0.4.2.1 --constraint=base ==4.5.1.0 --constraint=array ==0.4.0.0 --disable-tests --disable-benchmarks Configuring Cabal-1.16.0.3... Flags chosen: base3=True, base4=True Dependency array ==0.4.0.0: using array-0.4.0.0 Dependency base ==4.5.1.0: using base-4.5.1.0 Dependency containers ==0.4.2.1: using containers-0.4.2.1 Dependency directory ==1.1.0.2: using directory-1.1.0.2 Dependency filepath ==1.3.0.0: using filepath-1.3.0.0 Dependency old-time ==1.1.0.0: using old-time-1.1.0.0 Dependency pretty ==1.1.1.0: using pretty-1.1.1.0 Dependency process ==1.1.0.1: using process-1.1.0.1 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. Why is Cabal setting both base3 and base4 to True? P.S. You can try the same command with --solver=topdown and see if that works. On Mon, Nov 19, 2012 at 8:22 PM, Gregory Guthrie <guthrie@mum.edu> wrote: Johan, thanks for the note and information. My setup is: (Windows 7) cabal-install version 0.14.0 using version 1.14.0 of the Cabal library The Glorious Glasgow Haskell Compilation System, version 7.4.2 Haskell Platform 2012.4.0.0 ..... cabal-install-1.16.0.2 depends on Cabal-1.16.0.3 which failed to install. -------------------------------------------
Hi Johan. I haven't looked in detail at the overall problem, but:
Flags chosen: base3=True, base4=True
Why is Cabal setting both base3 and base4 to True?
This looks completely fine to me. The Cabal .cabal file is stating: if flag(base4) { build-depends: base >= 4 } else { build-depends: base < 4 } if flag(base3) { build-depends: base >= 3 } else { build-depends: base < 3 } So it's relatively clear to me that both have to be true. Cheers, Andres
On 12-11-19 04:25 PM, Gregory Guthrie wrote:
I am not exert in the area, but I wonder how /why/ this is different than other package managers, like apt in Linux, I have never had any problems with it, and I would think that their dependencies are of at least similar complexities.
I feel very strongly about the dissonance in comparing problems without comparing costs. Debian has a horde of volunteers for just the menial and manual work of perpetually finding one coherent set of versions so end users don't have to. And in practice, There is never one coherent set of versions. There is only a not-too-incoherent set of versions, and the volunteers first have to decide on it, and then manually pick patches from other versions ("backporting patches", "cherry-picking patches") to turn the not-too-incoherent set into a coherent set that does not exist in any pristine version. On top of that, Mark Shuttleworth actually pays money for Ubuntu to start from Debian and further test the set, pick some more patches, unpick some other patches... How many hours and/or dollars are you willing to pay for the menial, manual, perpetual chore of identifying coherent sets of versions so other people don't have to? And if a coherent set does not exist, how many are you willing to pay for backporting patches? At least I paid my 3 hours to explain some cabal stuff at http://www.vex.net/~trebla/haskell/sicp.xhtml Even the Haskell Platform, one very small set, costs volunteer hours.
participants (5)
-
Albert Y. C. Lai -
Andres Löh -
Greg Fitzgerald -
Gregory Guthrie -
Johan Tibell