Comments (25)
@snoyberg I don't see this error, rather the build fails for me because Mac systems don't have an inotify library:
Building hinotify-0.3.5...
Failed to install hinotify-0.3.5
Last 10 lines of the build log ( logs/hinotify.log ):
INotify.hsc:35:25: error: sys/inotify.h: No such file or directory
from stackage.
Can you provide me your build-plan.log file? We need to determine which package is pulling in hinotify.
from stackage.
I have no plan, and I think it is because it fails before, when retrieving the hackage index file.
in a nutshell, I think it moved from being in .cabal to /Users/luc/Library/Haskell/repo…, since HP 2012.4 .
but stackage still look at the old place.
the only thing I have left in my .cabal now are two config and config.platform,
which I copy an extract here:
remote-repo: hackage.haskell.org:http://hackage.haskell.org/packages/archive
remote-repo-cache: /Users/luc/Library/Haskell/repo-cache
ls -l /Users/luc/Library/Haskell/repo-cache/hackage.haskell.org/00-index*
-rw-r--r-- 1 luc luc 933565 Mar 27 13:37 /Users/luc/Library/Haskell/repo-cache/hackage.haskell.org/00-index.cache
-rw-r--r-- 1 luc luc 91217920 Mar 27 13:37 /Users/luc/Library/Haskell/repo-cache/hackage.haskell.org/00-index.tar
-rw-r--r-- 1 luc luc 5829248 Mar 27 13:37 /Users/luc/Library/Haskell/repo-cache/hackage.haskell.org/00-index.tar.gz
mbp2-de-luc:stackage luc$
mbp2-de-luc:stackage luc$ ls -l /Users/luc/.cabal/packages/hackage.haskell.org/00-index.tar
ls: /Users/luc/.cabal/packages/hackage.haskell.org/00-index.tar: No such file or directory
mbp2-de-luc:stackage luc$
I have redone the process to be sure:
mbp2-de-luc:fasthaskell luc$ git clone https://github.com/fpco/stackage
Cloning into 'stackage'...
remote: Counting objects: 816, done.
remote: Compressing objects: 100% (347/347), done.
remote: Total 816 (delta 587), reused 677 (delta 449)
Receiving objects: 100% (816/816), 105.01 KiB | 149 KiB/s, done.
Resolving deltas: 100% (587/587), done.
mbp2-de-luc:fasthaskell luc$ cabal update
Downloading the latest package list from hackage.haskell.org
mbp2-de-luc:fasthaskell luc$ cabal install cabal-dev
Resolving dependencies...
[1 of 1] Compiling Main ( /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-18289/cabal-dev-0.9.2/Setup.hs, /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-18289/cabal-dev-0.9.2/dist/setup/Main.o )
Linking /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-18289/cabal-dev-0.9.2/dist/setup/setup ...
Configuring cabal-dev-0.9.2...
Building cabal-dev-0.9.2...
Preprocessing executable 'ghc-pkg-6_8-compat' for cabal-dev-0.9.2...
[1 of 1] Compiling Main ( src/GhcPkgCompat.hs, dist/build/ghc-pkg-6_8-compat/ghc-pkg-6_8-compat-tmp/Main.o )
Linking dist/build/ghc-pkg-6_8-compat/ghc-pkg-6_8-compat ...
Preprocessing executable 'fake-ghc-cabal-dev' for cabal-dev-0.9.2...
[1 of 2] Compiling Distribution.Dev.GhcArgs ( src/Distribution/Dev/GhcArgs.hs, dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev-tmp/Distribution/Dev/GhcArgs.o )
[2 of 2] Compiling Main ( src/FakeGhc.hs, dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev-tmp/Main.o )
Linking dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev ...
Preprocessing executable 'cabal-dev' for cabal-dev-0.9.2...
[ 1 of 19] Compiling Distribution.Dev.MergeCabalConfig ( src/Distribution/Dev/MergeCabalConfig.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/MergeCabalConfig.o )
[ 2 of 19] Compiling Distribution.Dev.RewriteCabalConfig ( src/Distribution/Dev/RewriteCabalConfig.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/RewriteCabalConfig.o )
[ 3 of 19] Compiling Distribution.Dev.GhcArgs ( src/Distribution/Dev/GhcArgs.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/GhcArgs.o )
[ 4 of 19] Compiling Distribution.Dev.Utilities ( src/Distribution/Dev/Utilities.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Utilities.o )
[ 5 of 19] Compiling Distribution.Dev.InterrogateCabalInstall ( src/Distribution/Dev/InterrogateCabalInstall.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InterrogateCabalInstall.o )
[ 6 of 19] Compiling Distribution.Dev.TH.DeriveCabalCommands ( src/Distribution/Dev/TH/DeriveCabalCommands.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/TH/DeriveCabalCommands.o )
[ 7 of 19] Compiling Paths_cabal_dev ( dist/build/autogen/Paths_cabal_dev.hs, dist/build/cabal-dev/cabal-dev-tmp/Paths_cabal_dev.o )
[ 8 of 19] Compiling Distribution.Dev.CabalInstall ( src/Distribution/Dev/CabalInstall.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/CabalInstall.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package bytestring-0.9.2.1 ... linking ... done.
Loading package zlib-0.5.4.0 ... linking ... done.
Loading package array-0.4.0.0 ... linking ... done.
Loading package deepseq-1.3.0.0 ... linking ... done.
Loading package containers-0.4.2.1 ... linking ... done.
Loading package pretty-1.1.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package filepath-1.3.0.0 ... linking ... done.
Loading package old-locale-1.0.0.4 ... linking ... done.
Loading package old-time-1.1.0.0 ... linking ... done.
Loading package unix-2.5.1.1 ... linking ... done.
Loading package directory-1.1.0.2 ... linking ... done.
Loading package time-1.4 ... linking ... done.
Loading package tar-0.4.0.1 ... linking ... done.
Loading package setenv-0.1.0 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package text-0.11.2.3 ... linking ... done.
Loading package parsec-3.1.3 ... linking ... done.
Loading package network-2.3.1.0 ... linking ... done.
Loading package HTTP-4000.2.5 ... linking ... done.
Loading package process-1.1.0.1 ... linking ... done.
Loading package Cabal-1.16.0.3 ... linking ... done.
cabal --help
Interrogating cabal-install executable:
cabal install --help
cabal install --help
cabal update --help
cabal list --help
cabal info --help
cabal fetch --help
cabal unpack --help
cabal check --help
cabal sdist --help
cabal upload --help
cabal report --help
cabal init --help
cabal configure --help
cabal build --help
cabal copy --help
cabal haddock --help
cabal clean --help
cabal hscolour --help
cabal register --help
cabal test --help
cabal bench --help
cabal upgrade --help
cabal help --help
[ 9 of 19] Compiling Distribution.Dev.Flags ( src/Distribution/Dev/Flags.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Flags.o )
[10 of 19] Compiling Distribution.Dev.Sandbox ( src/Distribution/Dev/Sandbox.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Sandbox.o )
[11 of 19] Compiling Distribution.Dev.InitPkgDb ( src/Distribution/Dev/InitPkgDb.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InitPkgDb.o )
[12 of 19] Compiling Distribution.Dev.Command ( src/Distribution/Dev/Command.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Command.o )
[13 of 19] Compiling Distribution.Dev.AddSource ( src/Distribution/Dev/AddSource.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/AddSource.o )
[14 of 19] Compiling Distribution.Dev.InvokeCabal ( src/Distribution/Dev/InvokeCabal.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InvokeCabal.o )
[15 of 19] Compiling Distribution.Dev.InstallDependencies ( src/Distribution/Dev/InstallDependencies.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InstallDependencies.o )
[16 of 19] Compiling Distribution.Dev.BuildOpts ( src/Distribution/Dev/BuildOpts.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/BuildOpts.o )
[17 of 19] Compiling Distribution.Dev.Ghci ( src/Distribution/Dev/Ghci.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Ghci.o )
[18 of 19] Compiling Distribution.Dev.GhcPkg ( src/Distribution/Dev/GhcPkg.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/GhcPkg.o )
[19 of 19] Compiling Main ( src/Main.hs, dist/build/cabal-dev/cabal-dev-tmp/Main.o )
Linking dist/build/cabal-dev/cabal-dev ...
Warning: No documentation was generated as this package does not contain a
library. Perhaps you want to use the --executables flag.
Installing executable(s) in
/Users/luc/Library/Haskell/ghc-7.4.2/lib/cabal-dev-0.9.2/bin
Installed cabal-dev-0.9.2
Updating documentation index /Users/luc/Library/Haskell/doc/index.html
mbp2-de-luc:fasthaskell luc$ cd stackage
mbp2-de-luc:stackage luc$ git submodule update --init # get the Haskell Platform files
Submodule 'haskell-platform' (https://github.com/haskell/haskell-platform.git) registered for path 'haskell-platform'
Cloning into 'haskell-platform'...
remote: Counting objects: 2213, done.
remote: Compressing objects: 100% (761/761), done.
remote: Total 2213 (delta 1455), reused 2192 (delta 1434)
Receiving objects: 100% (2213/2213), 1.95 MiB | 1.18 MiB/s, done.
Resolving deltas: 100% (1455/1455), done.
Submodule path 'haskell-platform': checked out '73a58050d86cef941fc82a82d52e70c906785b7f'
mbp2-de-luc:stackage luc$ runghc app/stackage.hs select
Loading Haskell Platform
Loading package database
stackage.hs: /Users/luc/.cabal/packages/hackage.haskell.org/00-index.tar: openBinaryFile: does not exist (No such file or directory)
mbp2-de-luc:stackage luc$
mbp2-de-luc:stackage luc$ ls -l /Users/luc/.cabal/packages/hackage.haskell.org/00-index.tar
ls: /Users/luc/.cabal/packages/hackage.haskell.org/00-index.tar: No such file or directory
mbp2-de-luc:stackage luc$
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)
Le mercredi 27 mars 2013 à 10:00, Michael Snoyman a écrit :
build-plan.log
from stackage.
@snoyberg My build-plan.log: https://gist.github.com/5254256
from stackage.
Actually, that's build-plan.txt. The .log file (badly named) gives information on dependencies.
from stackage.
@snoyberg the real build-plan.log: https://gist.github.com/5264466
from stackage.
Just what I needed. The problem was keter, which I've temporarily removed until it grows non-Linux support. When you have a chance, can you try a new Stackage build?
from stackage.
same problem, i.e. not reading the correct place ( see previous mail )
mbp2-de-luc:stackage luc$ runghc app/stackage.hs select
Loading Haskell Platform
Loading package database
stackage.hs: /Users/luc/.cabal/packages/hackage.haskell.org/00-index.tar: openBinaryFile: does not exist (No such file or directory)
mbp2-de-luc:stackage luc$ runghc app/stackage.hs check
stackage.hs: build-plan.txt: openFile: does not exist (No such file or directory)
mbp2-de-luc:stackage luc$
mbp2-de-luc:~ luc$ cd /Users/luc/fasthaskell/stackage
mbp2-de-luc:stackage luc$ git clone https://github.com/fpco/stackage
Cloning into 'stackage'...
remote: Counting objects: 833, done.
remote: Compressing objects: 100% (228/228), done.
remote: Total 833 (delta 599), reused 817 (delta 585)
Receiving objects: 100% (833/833), 106.27 KiB, done.
Resolving deltas: 100% (599/599), done.
mbp2-de-luc:stackage luc$ cabal update
Downloading the latest package list from hackage.haskell.org
mbp2-de-luc:stackage luc$ cabal install cabal-dev
Resolving dependencies...
[1 of 1] Compiling Main ( /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-92237/cabal-dev-0.9.2/Setup.hs, /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-92237/cabal-dev-0.9.2/dist/setup/Main.o )
Linking /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-92237/cabal-dev-0.9.2/dist/setup/setup ...
Configuring cabal-dev-0.9.2...
Building cabal-dev-0.9.2...
Preprocessing executable 'ghc-pkg-6_8-compat' for cabal-dev-0.9.2...
[1 of 1] Compiling Main ( src/GhcPkgCompat.hs, dist/build/ghc-pkg-6_8-compat/ghc-pkg-6_8-compat-tmp/Main.o )
Linking dist/build/ghc-pkg-6_8-compat/ghc-pkg-6_8-compat ...
Preprocessing executable 'fake-ghc-cabal-dev' for cabal-dev-0.9.2...
[1 of 2] Compiling Distribution.Dev.GhcArgs ( src/Distribution/Dev/GhcArgs.hs, dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev-tmp/Distribution/Dev/GhcArgs.o )
[2 of 2] Compiling Main ( src/FakeGhc.hs, dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev-tmp/Main.o )
Linking dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev ...
Preprocessing executable 'cabal-dev' for cabal-dev-0.9.2...
[ 1 of 19] Compiling Distribution.Dev.MergeCabalConfig ( src/Distribution/Dev/MergeCabalConfig.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/MergeCabalConfig.o )
[ 2 of 19] Compiling Distribution.Dev.RewriteCabalConfig ( src/Distribution/Dev/RewriteCabalConfig.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/RewriteCabalConfig.o )
[ 3 of 19] Compiling Distribution.Dev.GhcArgs ( src/Distribution/Dev/GhcArgs.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/GhcArgs.o )
[ 4 of 19] Compiling Distribution.Dev.Utilities ( src/Distribution/Dev/Utilities.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Utilities.o )
[ 5 of 19] Compiling Distribution.Dev.InterrogateCabalInstall ( src/Distribution/Dev/InterrogateCabalInstall.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InterrogateCabalInstall.o )
[ 6 of 19] Compiling Distribution.Dev.TH.DeriveCabalCommands ( src/Distribution/Dev/TH/DeriveCabalCommands.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/TH/DeriveCabalCommands.o )
[ 7 of 19] Compiling Paths_cabal_dev ( dist/build/autogen/Paths_cabal_dev.hs, dist/build/cabal-dev/cabal-dev-tmp/Paths_cabal_dev.o )
[ 8 of 19] Compiling Distribution.Dev.CabalInstall ( src/Distribution/Dev/CabalInstall.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/CabalInstall.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package bytestring-0.9.2.1 ... linking ... done.
Loading package zlib-0.5.4.0 ... linking ... done.
Loading package array-0.4.0.0 ... linking ... done.
Loading package deepseq-1.3.0.0 ... linking ... done.
Loading package containers-0.4.2.1 ... linking ... done.
Loading package pretty-1.1.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package filepath-1.3.0.0 ... linking ... done.
Loading package old-locale-1.0.0.4 ... linking ... done.
Loading package old-time-1.1.0.0 ... linking ... done.
Loading package unix-2.5.1.1 ... linking ... done.
Loading package directory-1.1.0.2 ... linking ... done.
Loading package time-1.4 ... linking ... done.
Loading package tar-0.4.0.1 ... linking ... done.
Loading package setenv-0.1.0 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package text-0.11.2.3 ... linking ... done.
Loading package parsec-3.1.3 ... linking ... done.
Loading package network-2.3.1.0 ... linking ... done.
Loading package HTTP-4000.2.5 ... linking ... done.
Loading package process-1.1.0.1 ... linking ... done.
Loading package Cabal-1.16.0.3 ... linking ... done.
cabal --help
Interrogating cabal-install executable:
cabal install --help
cabal install --help
cabal update --help
cabal list --help
cabal info --help
cabal fetch --help
cabal unpack --help
cabal check --help
cabal sdist --help
cabal upload --help
cabal report --help
cabal init --help
cabal configure --help
cabal build --help
cabal copy --help
cabal haddock --help
cabal clean --help
cabal hscolour --help
cabal register --help
cabal test --help
cabal bench --help
cabal upgrade --help
cabal help --help
[ 9 of 19] Compiling Distribution.Dev.Flags ( src/Distribution/Dev/Flags.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Flags.o )
[10 of 19] Compiling Distribution.Dev.Sandbox ( src/Distribution/Dev/Sandbox.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Sandbox.o )
[11 of 19] Compiling Distribution.Dev.InitPkgDb ( src/Distribution/Dev/InitPkgDb.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InitPkgDb.o )
[12 of 19] Compiling Distribution.Dev.Command ( src/Distribution/Dev/Command.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Command.o )
[13 of 19] Compiling Distribution.Dev.AddSource ( src/Distribution/Dev/AddSource.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/AddSource.o )
[14 of 19] Compiling Distribution.Dev.InvokeCabal ( src/Distribution/Dev/InvokeCabal.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InvokeCabal.o )
[15 of 19] Compiling Distribution.Dev.InstallDependencies ( src/Distribution/Dev/InstallDependencies.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InstallDependencies.o )
[16 of 19] Compiling Distribution.Dev.BuildOpts ( src/Distribution/Dev/BuildOpts.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/BuildOpts.o )
[17 of 19] Compiling Distribution.Dev.Ghci ( src/Distribution/Dev/Ghci.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Ghci.o )
[18 of 19] Compiling Distribution.Dev.GhcPkg ( src/Distribution/Dev/GhcPkg.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/GhcPkg.o )
[19 of 19] Compiling Main ( src/Main.hs, dist/build/cabal-dev/cabal-dev-tmp/Main.o )
Linking dist/build/cabal-dev/cabal-dev ...
Warning: No documentation was generated as this package does not contain a
library. Perhaps you want to use the --executables flag.
Installing executable(s) in
/Users/luc/Library/Haskell/ghc-7.4.2/lib/cabal-dev-0.9.2/bin
Installed cabal-dev-0.9.2
Updating documentation index /Users/luc/Library/Haskell/doc/index.html
mbp2-de-luc:stackage luc$ git clone https://github.com/fpco/stackage
fatal: destination path 'stackage' already exists and is not an empty directory.
mbp2-de-luc:stackage luc$ cd stackage
mbp2-de-luc:stackage luc$ git submodule update --init # get the Haskell Platform files
Submodule 'haskell-platform' (https://github.com/haskell/haskell-platform.git) registered for path 'haskell-platform'
Cloning into 'haskell-platform'...
remote: Counting objects: 2213, done.
remote: Compressing objects: 100% (761/761), done.
remote: Total 2213 (delta 1455), reused 2192 (delta 1434)
Receiving objects: 100% (2213/2213), 1.95 MiB | 313 KiB/s, done.
Resolving deltas: 100% (1455/1455), done.
Submodule path 'haskell-platform': checked out '73a58050d86cef941fc82a82d52e70c906785b7f'
mbp2-de-luc:stackage luc$ runghc app/stackage.hs select
Loading Haskell Platform
Loading package database
stackage.hs: /Users/luc/.cabal/packages/hackage.haskell.org/00-index.tar: openBinaryFile: does not exist (No such file or directory)
mbp2-de-luc:stackage luc$ runghc app/stackage.hs check
stackage.hs: build-plan.txt: openFile: does not exist (No such file or directory)
mbp2-de-luc:stackage luc$
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)
Le vendredi 29 mars 2013 à 07:52, Michael Snoyman a écrit :
Just what I needed. The problem was keter, which I've temporarily removed until it grows non-Linux support. When you have a chance, can you try a new Stackage build?
—
Reply to this email directly or view it on GitHub (#51 (comment)).
from stackage.
John, I am not sure we addressing the same problem .
1/ are you building on Mac ?
2/ have you cleaned your ~/.cabal ?
because on the same mac, HP 2012-4 32 stackage was not breaking so early
it is only since fresh reinstall of HP2012-4 64 AND A DELETE OF ~/.cabal that I had THIS break. ( before I had a build-log for instance)
and I guess this is because the place of changes from ~/.cabal to /Users/luc/Library/Haskell for hackage.haskell.org/00-index.tar (http://hackage.haskell.org/00-index.tar)
but ONLY if it does not exists yet (My guess at least)
3/ test this for instance : where is your hackage.haskell.org/00-index.tar (http://hackage.haskell.org/00-index.tar) ?
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)
Le vendredi 29 mars 2013 à 10:13, Luc TAESCH a écrit :
same problem, i.e. not reading the correct place ( see previous mail )
mbp2-de-luc:stackage luc$ runghc app/stackage.hs select
Loading Haskell Platform
Loading package database
stackage.hs: /Users/luc/.cabal/packages/hackage.haskell.org/00-index.tar (http://hackage.haskell.org/00-index.tar): openBinaryFile: does not exist (No such file or directory)
mbp2-de-luc:stackage luc$ runghc app/stackage.hs check
stackage.hs: build-plan.txt: openFile: does not exist (No such file or directory)mbp2-de-luc:stackage luc$
mbp2-de-luc:~ luc$ cd /Users/luc/fasthaskell/stackage
mbp2-de-luc:stackage luc$ git clone https://github.com/fpco/stackage
Cloning into 'stackage'...
remote: Counting objects: 833, done.
remote: Compressing objects: 100% (228/228), done.
remote: Total 833 (delta 599), reused 817 (delta 585)
Receiving objects: 100% (833/833), 106.27 KiB, done.
Resolving deltas: 100% (599/599), done.
mbp2-de-luc:stackage luc$ cabal update
Downloading the latest package list from hackage.haskell.org (http://hackage.haskell.org)
mbp2-de-luc:stackage luc$ cabal install cabal-dev
Resolving dependencies...
[1 of 1] Compiling Main ( /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-92237/cabal-dev-0.9.2/Setup.hs, /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-92237/cabal-dev-0.9.2/dist/setup/Main.o )
Linking /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-92237/cabal-dev-0.9.2/dist/setup/setup ...
Configuring cabal-dev-0.9.2...
Building cabal-dev-0.9.2...
Preprocessing executable 'ghc-pkg-6_8-compat' for cabal-dev-0.9.2...
[1 of 1] Compiling Main ( src/GhcPkgCompat.hs, dist/build/ghc-pkg-6_8-compat/ghc-pkg-6_8-compat-tmp/Main.o )
Linking dist/build/ghc-pkg-6_8-compat/ghc-pkg-6_8-compat ...
Preprocessing executable 'fake-ghc-cabal-dev' for cabal-dev-0.9.2...
[1 of 2] Compiling Distribution.Dev.GhcArgs ( src/Distribution/Dev/GhcArgs.hs, dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev-tmp/Distribution/Dev/GhcArgs.o )
[2 of 2] Compiling Main ( src/FakeGhc.hs, dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev-tmp/Main.o )
Linking dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev ...
Preprocessing executable 'cabal-dev' for cabal-dev-0.9.2...
[ 1 of 19] Compiling Distribution.Dev.MergeCabalConfig ( src/Distribution/Dev/MergeCabalConfig.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/MergeCabalConfig.o )
[ 2 of 19] Compiling Distribution.Dev.RewriteCabalConfig ( src/Distribution/Dev/RewriteCabalConfig.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/RewriteCabalConfig.o )
[ 3 of 19] Compiling Distribution.Dev.GhcArgs ( src/Distribution/Dev/GhcArgs.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/GhcArgs.o )
[ 4 of 19] Compiling Distribution.Dev.Utilities ( src/Distribution/Dev/Utilities.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Utilities.o )
[ 5 of 19] Compiling Distribution.Dev.InterrogateCabalInstall ( src/Distribution/Dev/InterrogateCabalInstall.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InterrogateCabalInstall.o )
[ 6 of 19] Compiling Distribution.Dev.TH.DeriveCabalCommands ( src/Distribution/Dev/TH/DeriveCabalCommands.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/TH/DeriveCabalCommands.o )
[ 7 of 19] Compiling Paths_cabal_dev ( dist/build/autogen/Paths_cabal_dev.hs, dist/build/cabal-dev/cabal-dev-tmp/Paths_cabal_dev.o )
[ 8 of 19] Compiling Distribution.Dev.CabalInstall ( src/Distribution/Dev/CabalInstall.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/CabalInstall.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package bytestring-0.9.2.1 ... linking ... done.
Loading package zlib-0.5.4.0 ... linking ... done.
Loading package array-0.4.0.0 ... linking ... done.
Loading package deepseq-1.3.0.0 ... linking ... done.
Loading package containers-0.4.2.1 ... linking ... done.
Loading package pretty-1.1.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package filepath-1.3.0.0 ... linking ... done.
Loading package old-locale-1.0.0.4 ... linking ... done.
Loading package old-time-1.1.0.0 ... linking ... done.
Loading package unix-2.5.1.1 ... linking ... done.
Loading package directory-1.1.0.2 ... linking ... done.
Loading package time-1.4 ... linking ... done.
Loading package tar-0.4.0.1 ... linking ... done.
Loading package setenv-0.1.0 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package text-0.11.2.3 ... linking ... done.
Loading package parsec-3.1.3 ... linking ... done.
Loading package network-2.3.1.0 ... linking ... done.
Loading package HTTP-4000.2.5 ... linking ... done.
Loading package process-1.1.0.1 ... linking ... done.
Loading package Cabal-1.16.0.3 ... linking ... done.
cabal --help
Interrogating cabal-install executable:
cabal install --help
cabal install --help
cabal update --help
cabal list --help
cabal info --help
cabal fetch --help
cabal unpack --help
cabal check --help
cabal sdist --help
cabal upload --help
cabal report --help
cabal init --help
cabal configure --help
cabal build --help
cabal copy --help
cabal haddock --help
cabal clean --help
cabal hscolour --help
cabal register --help
cabal test --help
cabal bench --help
cabal upgrade --help
cabal help --help
[ 9 of 19] Compiling Distribution.Dev.Flags ( src/Distribution/Dev/Flags.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Flags.o )
[10 of 19] Compiling Distribution.Dev.Sandbox ( src/Distribution/Dev/Sandbox.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Sandbox.o )
[11 of 19] Compiling Distribution.Dev.InitPkgDb ( src/Distribution/Dev/InitPkgDb.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InitPkgDb.o )
[12 of 19] Compiling Distribution.Dev.Command ( src/Distribution/Dev/Command.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Command.o )
[13 of 19] Compiling Distribution.Dev.AddSource ( src/Distribution/Dev/AddSource.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/AddSource.o )
[14 of 19] Compiling Distribution.Dev.InvokeCabal ( src/Distribution/Dev/InvokeCabal.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InvokeCabal.o )
[15 of 19] Compiling Distribution.Dev.InstallDependencies ( src/Distribution/Dev/InstallDependencies.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InstallDependencies.o )
[16 of 19] Compiling Distribution.Dev.BuildOpts ( src/Distribution/Dev/BuildOpts.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/BuildOpts.o )
[17 of 19] Compiling Distribution.Dev.Ghci ( src/Distribution/Dev/Ghci.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Ghci.o )
[18 of 19] Compiling Distribution.Dev.GhcPkg ( src/Distribution/Dev/GhcPkg.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/GhcPkg.o )
[19 of 19] Compiling Main ( src/Main.hs, dist/build/cabal-dev/cabal-dev-tmp/Main.o )
Linking dist/build/cabal-dev/cabal-dev ...
Warning: No documentation was generated as this package does not contain a
library. Perhaps you want to use the --executables flag.
Installing executable(s) in
/Users/luc/Library/Haskell/ghc-7.4.2/lib/cabal-dev-0.9.2/bin
Installed cabal-dev-0.9.2
Updating documentation index /Users/luc/Library/Haskell/doc/index.html
mbp2-de-luc:stackage luc$ git clone https://github.com/fpco/stackage
fatal: destination path 'stackage' already exists and is not an empty directory.
mbp2-de-luc:stackage luc$ cd stackage
mbp2-de-luc:stackage luc$ git submodule update --init # get the Haskell Platform files
Submodule 'haskell-platform' (https://github.com/haskell/haskell-platform.git) registered for path 'haskell-platform'
Cloning into 'haskell-platform'...
remote: Counting objects: 2213, done.
remote: Compressing objects: 100% (761/761), done.
remote: Total 2213 (delta 1455), reused 2192 (delta 1434)
Receiving objects: 100% (2213/2213), 1.95 MiB | 313 KiB/s, done.
Resolving deltas: 100% (1455/1455), done.
Submodule path 'haskell-platform': checked out '73a58050d86cef941fc82a82d52e70c906785b7f'
mbp2-de-luc:stackage luc$ runghc app/stackage.hs select
Loading Haskell Platform
Loading package database
stackage.hs: /Users/luc/.cabal/packages/hackage.haskell.org/00-index.tar (http://hackage.haskell.org/00-index.tar): openBinaryFile: does not exist (No such file or directory)
mbp2-de-luc:stackage luc$ runghc app/stackage.hs check
stackage.hs: build-plan.txt: openFile: does not exist (No such file or directory)
mbp2-de-luc:stackage luc$
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)Le vendredi 29 mars 2013 à 07:52, Michael Snoyman a écrit :
Just what I needed. The problem was keter, which I've temporarily removed until it grows non-Linux support. When you have a chance, can you try a new Stackage build?
—
Reply to this email directly or view it on GitHub (#51 (comment)).
from stackage.
@snoyberg Right away now it dies with:
Hermes:~/Products/src/stackage $ runghc app/stackage.hs select
Loading Haskell Platform
Loading package database
Narrowing package database
Printing build plan to build-plan.log
Checking for bad versions
diagrams-lib-0.6.0.1 (Brent Yorgey <[email protected]> @diagrams) cannot use:
- NumInstances-1.2 -- ==1.0.*
stackage.hs: Conflicting build plan, exiting
from stackage.
@jwiegley You need to cabal update
, there's a newer version of diagrams-lib available.
But more to the point on @luctaesch's original issue: do you know why Stackage can find the 00-index.tar file on your system but not on @luctaesch's? I know nothing about how Mac cabal files are stored.
from stackage.
Hmm... I have no idea why there would be such a difference between our systems. In terms of which files get created, it's my understanding that there is no difference between Mac and Linux in that regard.
from stackage.
John , I realized that before 2012. 4 my cabal files were under ~.cabal . now they are no more.
I had to clean my ~/.cabal to trash and reinstall to experiment this . I have found a thread where relocation of files re mentioned . see previous mail.
what is there in you ~./cabal ?
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)
Le dimanche 31 mars 2013 à 13:38, John Wiegley a écrit :
Hmm... I have no idea why there would be such a difference between our systems. In terms of which files get created, it's my understanding that there is no difference between Mac and Linux in that regard.
—
Reply to this email directly or view it on GitHub (#51 (comment)).
from stackage.
@luctaesch I have a ton of data in my ~/.cabal, what in particular are you looking for?
from stackage.
@john this is exactly my point. mine is now nearly empty . you are still in the old config:
look at mine:
mbp2-de-luc:~ luc$ cd /Users/luc/.cabal
mbp2-de-luc:.cabal luc$ ls
config config.platform
mbp2-de-luc:.cabal luc$
this is my old cabal dir :
mbp2-de-luc:.cabal luc$ cd /Users/luc/_cabal_32_deprecated
mbp2-de-luc:_cabal_32_deprecated luc$ ls
bin config.platform logs setup-exe-cache world
config lib packages share
mbp2-de-luc:_cabal_32_deprecated luc$
most of the install now is in now in ~/Library/Haskell
I found this :
http://www.haskell.org/haskellwiki/Mac_OS_X_Common_Installation_Paths
Haskell Platform 2011.2.0.0 (March 2011) and later uses this layout and sets up cabal to use it for built packages. On new installs, if you didn't already have a ~/.cabal/config file, then it is set up by default. Otherwise, the config file for this layout is placed in ~/.cabal/config.platform and you can manually move it over, or incorporate it into your existing config file.
you have to clean or move your cabal dir, and reinstall the HP , I would say.
thats how I noticed it for me., at least.
and thats why stockage fails, at it still looks at the old place for the hackage directory.
HIH,
Luc
Le dimanche 31 mars 2013 à 15:06, John Wiegley a écrit :
@luctaesch (https://github.com/luctaesch) I have a ton of data in my ~/.cabal, what in particular are you looking for?
—
Reply to this email directly or view it on GitHub (#51 (comment)).
from stackage.
@luctaesch I just pushed a commit to use remote-repo-cache from the config file. Can you see if that fixes the problem?
from stackage.
yes !!
First Stages passed !! well done Michael !
I'll keep you posted with the final result when done
(but the initial problem is now passed)
mbp2-de-luc:stackage luc$ runghc app/stackage.hs select
Loading Haskell Platform
Loading package database
Narrowing package database
Printing build plan to build-plan.log
Checking for bad versions
mbp2-de-luc:stackage luc$
mbp2-de-luc:stackage luc$ runghc app/stackage.hs check
Checking Cabal version
Checking build plan
Build plan checked, no mismatches
mbp2-de-luc:stackage luc$
runghc app/stackage.hs build # takes a long time
Checking Cabal version
Wiping out old sandbox folder
Creating new package database
Installing build tool: alex-3.0.2
alex-3.0.2 built
Installing build tool: happy-1.18.10
happy-1.18.10 built
Installing build tool: gtk2hs-buildtools-0.12.4
….
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)
Le mardi 2 avril 2013 à 10:42, Michael Snoyman a écrit :
@luctaesch (https://github.com/luctaesch) I just pushed a commit to use remote-repo-cache from the config file. Can you see if that fixes the problem?
—
Reply to this email directly or view it on GitHub (#51 (comment)).
from stackage.
gtk2hs-buildtools-0.12.4 built
Beginning Stackage build
Build failed, please see build.log
mbp2-de-luc:stackage luc$
files attached
the essence :
cabal: Error: some packages failed to install:
BlogLiterately-0.6.0.1 depends on lens-3.9.0.2 which failed to install.
BlogLiterately-diagrams-0.1.2 depends on lens-3.9.0.2 which failed to install.
authenticate-1.3.2.6 depends on tls-extra-0.6.1 which failed to install.
cairo-0.12.4 failed during the configure step. The exception was:
ExitFailure 1
clientsession-0.9 failed during the building phase. The exception was:
ExitFailure 1
connection-0.1.3 depends on tls-extra-0.6.1 which failed to install.
diagrams-0.6 depends on lens-3.9.0.2 which failed to install.
diagrams-cairo-0.6 depends on cairo-0.12.4 which failed to install.
diagrams-contrib-0.6.1 depends on lens-3.9.0.2 which failed to install.
force-layout-0.2 depends on lens-3.9.0.2 which failed to install.
http-conduit-1.9.2.2 depends on tls-extra-0.6.1 which failed to install.
http-reverse-proxy-0.1.1.3 depends on tls-extra-0.6.1 which failed to install.
idna-0.2 depends on text-icu-0.6.3.5 which failed to install.
lens-3.9.0.2 failed during the building phase. The exception was:
ExitFailure 1
mime-mail-ses-0.2.1.1 depends on tls-extra-0.6.1 which failed to install.
network-conduit-tls-1.0.0.2 depends on tls-extra-0.6.1 which failed to
install.
snap-core-0.9.3.1 failed during the building phase. The exception was:
ExitFailure 1
snap-server-0.9.3.3 depends on snap-core-0.9.3.1 which failed to install.
stringprep-0.1.5 depends on text-icu-0.6.3.5 which failed to install.
text-icu-0.6.3.5 failed during the configure step. The exception was:
ExitFailure 1
tls-debug-0.2.3 depends on tls-extra-0.6.1 which failed to install.
tls-extra-0.6.1 failed during the building phase. The exception was:
ExitFailure 1
web-fpco-0.1.0.0 depends on snap-core-0.9.3.1 which failed to install.
yackage-0.6.0.5 depends on tls-extra-0.6.1 which failed to install.
yesod-1.1.9.2 depends on tls-extra-0.6.1 which failed to install.
yesod-auth-1.1.6 depends on tls-extra-0.6.1 which failed to install.
yesod-core-1.1.8.3 depends on clientsession-0.9 which failed to install.
yesod-default-1.1.3.2 depends on clientsession-0.9 which failed to install.
yesod-form-1.2.1.3 depends on clientsession-0.9 which failed to install.
yesod-json-1.1.2.2 depends on clientsession-0.9 which failed to install.
yesod-newsfeed-1.1.0.1 depends on clientsession-0.9 which failed to install.
yesod-persistent-1.1.0.1 depends on clientsession-0.9 which failed to install.
yesod-sitemap-1.1.0.1 depends on clientsession-0.9 which failed to install.
yesod-static-1.1.2.2 depends on clientsession-0.9 which failed to install.
setup-Cabal-1.16.0.3-ghc-7.4.2: Missing dependencies on foreign libraries:
- Missing C libraries: icui18n, icudata, icuuc
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
Failed to install snap-core-0.9.3.1
Last 10 lines of the build log ( logs/snap-core.log ):
[ 1 of 22] Compiling Snap.Util.Readable ( src/Snap/Util/Readable.hs,
dist/build/Snap/Util/Readable.o )
[ 2 of 22] Compiling Snap.Internal.Iteratee.BoyerMooreHorspool (
src/Snap/Internal/Iteratee/BoyerMooreHorspool.hs,
dist/build/Snap/Internal/Iteratee/BoyerMooreHorspool.o )
[ 3 of 22] Compiling Snap.Internal.Parsing.FastSet (
src/Snap/Internal/Parsing/FastSet.hs,
dist/build/Snap/Internal/Parsing/FastSet.o )
[ 4 of 22] Compiling Snap.Internal.Debug ( src/Snap/Internal/Debug.hs,
dist/build/Snap/Internal/Debug.o )
[ 5 of 22] Compiling Snap.Types.Headers ( src/Snap/Types/Headers.hs,
dist/build/Snap/Types/Headers.o )
[ 6 of 22] Compiling Snap.Iteratee ( src/Snap/Iteratee.hs,
dist/build/Snap/Iteratee.o )
src/Snap/Iteratee.hs:112:1:
Bad interface file:
/Users/luc/fasthaskell/stackage/sandbox/lib/Control/Monad/CatchIO.hi
Something is amiss; requested module
MonadCatchIO-transformers-0.3.0.0:Control.Monad.CatchIO differs from name
found in the interface file MonadCatchIO-mtl-0.3.0.5:Control.Monad.CatchIO
Failed to install clientsession-0.9
Last 10 lines of the build log ( logs/clientsession.log ):
Building clientsession-0.9...
Preprocessing library clientsession-0.9...
Building library...
creating dist/build
/usr/bin/ghc --make -fbuilding-cabal-package -O -odir dist/build -hidir
dist/build -stubdir dist/build -i -idist/build -isrc -idist/build/autogen
-Idist/build/autogen -Idist/build -optP-include
-optPdist/build/autogen/cabal_macros.h -package-name clientsession-0.9
-hide-all-packages -no-user-package-conf -package-conf
/Users/luc/fasthaskell/stackage/sandbox/package-db -package-conf
dist/package.conf.inplace -package-id
base-4.5.1.0-81d626fb996bc7e140a3fd4481b338cd -package-id
base64-bytestring-1.0.0.1-ffac0c3b5b4052ba238123e750610a46 -package-id
bytestring-0.9.2.1-0044644a71adfe5e950e6c6f6ca13065 -package-id
cereal-0.3.5.2-807bd944bfc86ac5df2f667be96ad9f0 -package-id
cipher-aes-0.1.7-0bd8591b0cfd267e8a77f4b85151372e -package-id
cprng-aes-0.3.4-94bcf8a00e12761be2e514856126839a -package-id
crypto-api-0.11-57c8e08d916a8c078e5f083640a14ae7 -package-id
directory-1.1.0.2-72e928d14fc50f31f7e6404839a15691 -package-id
entropy-0.2.1-a19c58af92384bcdd6ff4e2354a56d6d -package-id
skein-1.0.0-653baa4db8f255145836a0e590497969 -package-id
tagged-0.4.5-309e8c4f2021455e40306b4b9a1bb63b -XHaskell98 Web.ClientSession
-Wall
[1 of 1] Compiling Web.ClientSession ( src/Web/ClientSession.hs,
dist/build/Web/ClientSession.o )
src/Web/ClientSession.hs:84:1:
Bad interface file:
/Users/luc/fasthaskell/stackage/sandbox/lib/Crypto/Cipher/AES.hi
Something is amiss; requested module cipher-aes-0.1.7:Crypto.Cipher.AES
differs from name found in the interface file
cryptocipher-0.4.0:Crypto.Cipher.AES
Building crypto-pubkey-0.1.2…
Building tls-extra-0.6.1...
Configuring project-template-0.1.3...
Installed yaml-0.8.2.3
Downloading stylish-haskell-0.5.6.1...
Configuring haxr-3000.9.0.1...
Failed to install tls-extra-0.6.1
Last 10 lines of the build log ( logs/tls-extra.log ):
except perhaps to import instances from `Network.TLS.Compression'
To import instances alone, use: import Network.TLS.Compression()
[3 of 7] Compiling Network.TLS.Extra.File ( Network/TLS/Extra/File.hs,
dist/build/Network/TLS/Extra/File.o )
[4 of 7] Compiling Network.TLS.Extra.Connection (
Network/TLS/Extra/Connection.hs, dist/build/Network/TLS/Extra/Connection.o )
[5 of 7] Compiling Network.TLS.Extra.Certificate (
Network/TLS/Extra/Certificate.hs, dist/build/Network/TLS/Extra/Certificate.o )
[6 of 7] Compiling Network.TLS.Extra.Cipher ( Network/TLS/Extra/Cipher.hs,
dist/build/Network/TLS/Extra/Cipher.o )
Network/TLS/Extra/Cipher.hs:33:1:
Bad interface file:
/Users/luc/fasthaskell/stackage/sandbox/lib/Crypto/Cipher/RC4.hi
Something is amiss; requested module cipher-rc4-0.1.2:Crypto.Cipher.RC4
differs from name found in the interface file
cryptocipher-0.4.0:Crypto.Cipher.RC4
Building persistent-template-1.1.3.1...
Configuring persistent-sqlite-1.1.5...
Failed to install lens-3.9.0.2
Last 10 lines of the build log ( logs/lens.log ):
[43 of 79] Compiling Control.Lens.At ( src/Control/Lens/At.hs,
dist/build/Control/Lens/At.o )
[44 of 79] Compiling Language.Haskell.TH.Lens (
src/Language/Haskell/TH/Lens.hs, dist/build/Language/Haskell/TH/Lens.o )
[45 of 79] Compiling Control.Lens.TH ( src/Control/Lens/TH.hs,
dist/build/Control/Lens/TH.o )
[46 of 79] Compiling Control.Lens.Action ( src/Control/Lens/Action.hs,
dist/build/Control/Lens/Action.o )
[47 of 79] Compiling Control.Lens.Operators ( src/Control/Lens/Operators.hs,
dist/build/Control/Lens/Operators.o )
[48 of 79] Compiling Control.Lens.Internal.Exception (
src/Control/Lens/Internal/Exception.hs,
dist/build/Control/Lens/Internal/Exception.o )
src/Control/Lens/Internal/Exception.hs:33:1:
Bad interface file:
/Users/luc/fasthaskell/stackage/sandbox/lib/Control/Monad/CatchIO.hi
Something is amiss; requested module
MonadCatchIO-transformers-0.3.0.0:Control.Monad.CatchIO differs from name
found in the interface file MonadCatchIO-mtl-0.3.0.5:Control.Monad.CatchIO
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)
Le mardi 2 avril 2013 à 11:32, Luc TAESCH a écrit :
yes !!
First Stages passed !! well done Michael !
I'll keep you posted with the final result when done
(but the initial problem is now passed)mbp2-de-luc:stackage luc$ runghc app/stackage.hs select
Loading Haskell Platform
Loading package database
Narrowing package database
Printing build plan to build-plan.log
Checking for bad versions
mbp2-de-luc:stackage luc$mbp2-de-luc:stackage luc$ runghc app/stackage.hs check
Checking Cabal version
Checking build plan
Build plan checked, no mismatches
mbp2-de-luc:stackage luc$runghc app/stackage.hs build # takes a long time
Checking Cabal version
Wiping out old sandbox folder
Creating new package database
Installing build tool: alex-3.0.2
alex-3.0.2 built
Installing build tool: happy-1.18.10
happy-1.18.10 built
Installing build tool: gtk2hs-buildtools-0.12.4….
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)Le mardi 2 avril 2013 à 10:42, Michael Snoyman a écrit :
@luctaesch (https://github.com/luctaesch) I just pushed a commit to use remote-repo-cache from the config file. Can you see if that fixes the problem?
—
Reply to this email directly or view it on GitHub (#51 (comment)).
from stackage.
out of curiosity , I just did cabal install client session out of the sandbox, and it works
mbp2-de-luc:CestCommeCa luc$ cabal install clientsession
Resolving dependencies...
Configuring skein-1.0.0...
Building skein-1.0.0...
Preprocessing library skein-1.0.0...
[1 of 2] Compiling Crypto.Skein.Internal ( dist/build/Crypto/Skein/Internal.hs, dist/build/Crypto/Skein/Internal.o )
[2 of 2] Compiling Crypto.Skein ( src/Crypto/Skein.hs, dist/build/Crypto/Skein.o )
[1 of 2] Compiling Crypto.Skein.Internal ( dist/build/Crypto/Skein/Internal.hs, dist/build/Crypto/Skein/Internal.p_o )
[2 of 2] Compiling Crypto.Skein ( src/Crypto/Skein.hs, dist/build/Crypto/Skein.p_o )
In-place registering skein-1.0.0...
Running Haddock for skein-1.0.0...
Preprocessing library skein-1.0.0...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Haddock coverage:
25% ( 8 / 32) in 'Crypto.Skein.Internal'
100% ( 60 / 60) in 'Crypto.Skein'
Warning: Crypto.Skein: could not find link destinations for:
Crypto.Skein.updateCtxSkein
Documentation created: dist/doc/html/skein/index.html
Installing library in /Users/luc/Library/Haskell/ghc-7.4.2/lib/skein-1.0.0/lib
Registering skein-1.0.0...
Installed skein-1.0.0
Configuring clientsession-0.9...
Building clientsession-0.9...
Preprocessing library clientsession-0.9...
[1 of 1] Compiling Web.ClientSession ( src/Web/ClientSession.hs, dist/build/Web/ClientSession.o )
[1 of 1] Compiling Web.ClientSession ( src/Web/ClientSession.hs, dist/build/Web/ClientSession.p_o )
In-place registering clientsession-0.9...
Running Haddock for clientsession-0.9...
Preprocessing library clientsession-0.9...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Haddock coverage:
100% ( 15 / 15) in 'Web.ClientSession'
Documentation created: dist/doc/html/clientsession/index.html
Installing library in
/Users/luc/Library/Haskell/ghc-7.4.2/lib/clientsession-0.9/lib
Registering clientsession-0.9...
Installed clientsession-0.9
Updating documentation index /Users/luc/Library/Haskell/doc/index.html
mbp2-de-luc:CestCommeCa luc$
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)
Le mardi 2 avril 2013 à 12:29, Luc TAESCH a écrit :
gtk2hs-buildtools-0.12.4 built
Beginning Stackage build
Build failed, please see build.log
mbp2-de-luc:stackage luc$files attached
the essence :
cabal: Error: some packages failed to install:
BlogLiterately-0.6.0.1 depends on lens-3.9.0.2 which failed to install.
BlogLiterately-diagrams-0.1.2 depends on lens-3.9.0.2 which failed to install.
authenticate-1.3.2.6 depends on tls-extra-0.6.1 which failed to install.
cairo-0.12.4 failed during the configure step. The exception was:
ExitFailure 1
clientsession-0.9 failed during the building phase. The exception was:
ExitFailure 1
connection-0.1.3 depends on tls-extra-0.6.1 which failed to install.
diagrams-0.6 depends on lens-3.9.0.2 which failed to install.
diagrams-cairo-0.6 depends on cairo-0.12.4 which failed to install.
diagrams-contrib-0.6.1 depends on lens-3.9.0.2 which failed to install.
force-layout-0.2 depends on lens-3.9.0.2 which failed to install.
http-conduit-1.9.2.2 depends on tls-extra-0.6.1 which failed to install.
http-reverse-proxy-0.1.1.3 depends on tls-extra-0.6.1 which failed to install.
idna-0.2 depends on text-icu-0.6.3.5 which failed to install.
lens-3.9.0.2 failed during the building phase. The exception was:
ExitFailure 1
mime-mail-ses-0.2.1.1 depends on tls-extra-0.6.1 which failed to install.
network-conduit-tls-1.0.0.2 depends on tls-extra-0.6.1 which failed to
install.
snap-core-0.9.3.1 failed during the building phase. The exception was:
ExitFailure 1
snap-server-0.9.3.3 depends on snap-core-0.9.3.1 which failed to install.
stringprep-0.1.5 depends on text-icu-0.6.3.5 which failed to install.
text-icu-0.6.3.5 failed during the configure step. The exception was:
ExitFailure 1
tls-debug-0.2.3 depends on tls-extra-0.6.1 which failed to install.
tls-extra-0.6.1 failed during the building phase. The exception was:
ExitFailure 1
web-fpco-0.1.0.0 depends on snap-core-0.9.3.1 which failed to install.
yackage-0.6.0.5 depends on tls-extra-0.6.1 which failed to install.
yesod-1.1.9.2 depends on tls-extra-0.6.1 which failed to install.
yesod-auth-1.1.6 depends on tls-extra-0.6.1 which failed to install.
yesod-core-1.1.8.3 depends on clientsession-0.9 which failed to install.
yesod-default-1.1.3.2 depends on clientsession-0.9 which failed to install.
yesod-form-1.2.1.3 depends on clientsession-0.9 which failed to install.
yesod-json-1.1.2.2 depends on clientsession-0.9 which failed to install.
yesod-newsfeed-1.1.0.1 depends on clientsession-0.9 which failed to install.
yesod-persistent-1.1.0.1 depends on clientsession-0.9 which failed to install.
yesod-sitemap-1.1.0.1 depends on clientsession-0.9 which failed to install.
yesod-static-1.1.2.2 depends on clientsession-0.9 which failed to install.setup-Cabal-1.16.0.3-ghc-7.4.2: Missing dependencies on foreign libraries:
- Missing C libraries: icui18n, icudata, icuuc
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.Failed to install snap-core-0.9.3.1
Last 10 lines of the build log ( logs/snap-core.log ):
[ 1 of 22] Compiling Snap.Util.Readable ( src/Snap/Util/Readable.hs,
dist/build/Snap/Util/Readable.o )
[ 2 of 22] Compiling Snap.Internal.Iteratee.BoyerMooreHorspool (
src/Snap/Internal/Iteratee/BoyerMooreHorspool.hs,
dist/build/Snap/Internal/Iteratee/BoyerMooreHorspool.o )
[ 3 of 22] Compiling Snap.Internal.Parsing.FastSet (
src/Snap/Internal/Parsing/FastSet.hs,
dist/build/Snap/Internal/Parsing/FastSet.o )
[ 4 of 22] Compiling Snap.Internal.Debug ( src/Snap/Internal/Debug.hs,
dist/build/Snap/Internal/Debug.o )
[ 5 of 22] Compiling Snap.Types.Headers ( src/Snap/Types/Headers.hs,
dist/build/Snap/Types/Headers.o )
[ 6 of 22] Compiling Snap.Iteratee ( src/Snap/Iteratee.hs,
dist/build/Snap/Iteratee.o )
src/Snap/Iteratee.hs:112:1:
Bad interface file:
/Users/luc/fasthaskell/stackage/sandbox/lib/Control/Monad/CatchIO.hi
Something is amiss; requested module
MonadCatchIO-transformers-0.3.0.0:Control.Monad.CatchIO differs from name
found in the interface file MonadCatchIO-mtl-0.3.0.5:Control.Monad.CatchIOFailed to install clientsession-0.9
Last 10 lines of the build log ( logs/clientsession.log ):
Building clientsession-0.9...
Preprocessing library clientsession-0.9...
Building library...
creating dist/build
/usr/bin/ghc --make -fbuilding-cabal-package -O -odir dist/build -hidir
dist/build -stubdir dist/build -i -idist/build -isrc -idist/build/autogen
-Idist/build/autogen -Idist/build -optP-include
-optPdist/build/autogen/cabal_macros.h -package-name clientsession-0.9
-hide-all-packages -no-user-package-conf -package-conf
/Users/luc/fasthaskell/stackage/sandbox/package-db -package-conf
dist/package.conf.inplace -package-id
base-4.5.1.0-81d626fb996bc7e140a3fd4481b338cd -package-id
base64-bytestring-1.0.0.1-ffac0c3b5b4052ba238123e750610a46 -package-id
bytestring-0.9.2.1-0044644a71adfe5e950e6c6f6ca13065 -package-id
cereal-0.3.5.2-807bd944bfc86ac5df2f667be96ad9f0 -package-id
cipher-aes-0.1.7-0bd8591b0cfd267e8a77f4b85151372e -package-id
cprng-aes-0.3.4-94bcf8a00e12761be2e514856126839a -package-id
crypto-api-0.11-57c8e08d916a8c078e5f083640a14ae7 -package-id
directory-1.1.0.2-72e928d14fc50f31f7e6404839a15691 -package-id
entropy-0.2.1-a19c58af92384bcdd6ff4e2354a56d6d -package-id
skein-1.0.0-653baa4db8f255145836a0e590497969 -package-id
tagged-0.4.5-309e8c4f2021455e40306b4b9a1bb63b -XHaskell98 Web.ClientSession (http://Web.ClientSession)
-Wall
[1 of 1] Compiling Web.ClientSession (http://Web.ClientSession) ( src/Web/ClientSession.hs,
dist/build/Web/ClientSession.o )
src/Web/ClientSession.hs:84:1:
Bad interface file:
/Users/luc/fasthaskell/stackage/sandbox/lib/Crypto/Cipher/AES.hi
Something is amiss; requested module cipher-aes-0.1.7:Crypto.Cipher.AES
differs from name found in the interface file
cryptocipher-0.4.0:Crypto.Cipher.AES
Building crypto-pubkey-0.1.2…Building tls-extra-0.6.1...
Configuring project-template-0.1.3...
Installed yaml-0.8.2.3
Downloading stylish-haskell-0.5.6.1...
Configuring haxr-3000.9.0.1...
Failed to install tls-extra-0.6.1
Last 10 lines of the build log ( logs/tls-extra.log ):
except perhaps to import instances from `Network.TLS.Compression'
To import instances alone, use: import Network.TLS.Compression()
[3 of 7] Compiling Network.TLS.Extra.File ( Network/TLS/Extra/File.hs,
dist/build/Network/TLS/Extra/File.o )
[4 of 7] Compiling Network.TLS.Extra.Connection (
Network/TLS/Extra/Connection.hs, dist/build/Network/TLS/Extra/Connection.o )
[5 of 7] Compiling Network.TLS.Extra.Certificate (
Network/TLS/Extra/Certificate.hs, dist/build/Network/TLS/Extra/Certificate.o )
[6 of 7] Compiling Network.TLS.Extra.Cipher ( Network/TLS/Extra/Cipher.hs,
dist/build/Network/TLS/Extra/Cipher.o )
Network/TLS/Extra/Cipher.hs:33:1:
Bad interface file:
/Users/luc/fasthaskell/stackage/sandbox/lib/Crypto/Cipher/RC4.hi
Something is amiss; requested module cipher-rc4-0.1.2:Crypto.Cipher.RC4
differs from name found in the interface file
cryptocipher-0.4.0:Crypto.Cipher.RC4Building persistent-template-1.1.3.1...
Configuring persistent-sqlite-1.1.5...
Failed to install lens-3.9.0.2
Last 10 lines of the build log ( logs/lens.log ):
[43 of 79] Compiling Control.Lens.At ( src/Control/Lens/At.hs,
dist/build/Control/Lens/At.o )
[44 of 79] Compiling Language.Haskell.TH.Lens (
src/Language/Haskell/TH/Lens.hs, dist/build/Language/Haskell/TH/Lens.o )
[45 of 79] Compiling Control.Lens.TH ( src/Control/Lens/TH.hs,
dist/build/Control/Lens/TH.o )
[46 of 79] Compiling Control.Lens.Action ( src/Control/Lens/Action.hs,
dist/build/Control/Lens/Action.o )
[47 of 79] Compiling Control.Lens.Operators ( src/Control/Lens/Operators.hs,
dist/build/Control/Lens/Operators.o )
[48 of 79] Compiling Control.Lens.Internal.Exception (
src/Control/Lens/Internal/Exception.hs,
dist/build/Control/Lens/Internal/Exception.o )
src/Control/Lens/Internal/Exception.hs:33:1:
Bad interface file:
/Users/luc/fasthaskell/stackage/sandbox/lib/Control/Monad/CatchIO.hi
Something is amiss; requested module
MonadCatchIO-transformers-0.3.0.0:Control.Monad.CatchIO differs from name
found in the interface file MonadCatchIO-mtl-0.3.0.5:Control.Monad.CatchIO
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)Le mardi 2 avril 2013 à 11:32, Luc TAESCH a écrit :
yes !!
First Stages passed !! well done Michael !
I'll keep you posted with the final result when done
(but the initial problem is now passed)mbp2-de-luc:stackage luc$ runghc app/stackage.hs select
Loading Haskell Platform
Loading package database
Narrowing package database
Printing build plan to build-plan.log
Checking for bad versions
mbp2-de-luc:stackage luc$mbp2-de-luc:stackage luc$ runghc app/stackage.hs check
Checking Cabal version
Checking build plan
Build plan checked, no mismatches
mbp2-de-luc:stackage luc$runghc app/stackage.hs build # takes a long time
Checking Cabal version
Wiping out old sandbox folder
Creating new package database
Installing build tool: alex-3.0.2
alex-3.0.2 built
Installing build tool: happy-1.18.10
happy-1.18.10 built
Installing build tool: gtk2hs-buildtools-0.12.4….
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)Le mardi 2 avril 2013 à 10:42, Michael Snoyman a écrit :
@luctaesch (https://github.com/luctaesch) I just pushed a commit to use remote-repo-cache from the config file. Can you see if that fixes the problem?
—
Reply to this email directly or view it on GitHub (#51 (comment)).Pièces jointes :
- build.log
- build-plan.txt
from stackage.
@snoyberg I cannot get past the check
phase. I get the following output, but cannot find any meaningful indication in the logs of what went wrong. What should I be looking at?
Checking Cabal version
Checking build plan
Warning: The package list for the local repo
'/Users/johnw/.cabal/packages/cabal-src/' is missing. The repo is invalid.
Resolving dependencies...
In order, the following would be installed (use -v for more details):
Boolean-0.2
Diff-0.3.0
HUnit-1.2.5.2
NumInstances-1.2
SHA-1.6.1
abstract-deque-0.1.6
abstract-par-0.3.1
ansi-terminal-0.6
ansi-wl-pprint-0.6.6
base-compat-0.2.1
base-unicode-symbols-0.2.2.4
base16-bytestring-0.1.1.5
base64-bytestring-1.0.0.1
bool-extras-0.3.0
bytedump-1.0
byteorder-1.0.3
bytestring-mmap-0.2.2
cereal-0.3.5.2
cipher-aes-0.1.8
cipher-rc4-0.1.2
circle-packing-0.1.0.2
colour-2.3.3
containers-unicode-symbols-0.3.1.1
cpphs-1.16
cpu-0.1.1
crypto-pubkey-types-0.2.0
data-default-class-0.0.1
data-default-instances-base-0.0.1
data-default-instances-containers-0.0.1
data-default-instances-old-locale-0.0.1
data-reify-0.6
date-cache-0.3.0
digest-0.0.1.2
dlist-0.5
data-default-instances-dlist-0.0.1
data-default-0.5.3
entropy-0.2.1
crypto-random-api-0.2.0
erf-2.0.0.0
file-embed-0.0.4.7
fingertree-0.0.1.1
generic-deriving-1.5.0
ghc-paths-0.1.0.9
haskell-src-exts-1.13.5
heaps-0.2.3
hostname-1.0
hscolour-1.20.3
hspec-expectations-0.3.2
html-1.0.1.2
ieee754-0.7.3
lca-0.2.2
markdown-unlit-0.2.0.1
mmap-0.5.8
nanospec-0.1.0
nats-0.1
newtype-0.2
constraints-0.3.2
numeric-extras-0.0.2.3
intervals-0.2.1.1
parallel-3.2.0.3
integration-0.1.1
parseargs-0.1.3.4
prelude-extras-0.3
primitive-0.5.0.1
random-1.0.1.1
QuickCheck-2.5.1.1
mersenne-random-pure64-0.2.0.3
quickcheck-io-0.1.0
ranges-0.2.4
safe-0.3.3
semigroups-0.9
monoid-extras-0.2.2.3
dual-tree-0.1.0.2
setenv-0.1.0
silently-1.2.4.1
simple-reflect-0.3.1
siphash-1.0.3
split-0.2.1.3
stm-2.4.2
stm-stats-0.2.0.0
storable-endian-0.2.5
strict-0.3.2
stringbuilder-0.4.0
stringsearch-0.3.6.4
syb-0.3.7
haskell-src-1.0.1.5
hs-bibutils-4.17
pandoc-types-1.10
tag-bits-0.1.1.2
tagged-0.4.5
reflection-1.2.0.1
tar-0.4.0.1
temporary-1.1.2.4
terminfo-0.3.2.5
text-0.11.2.3
attoparsec-0.10.4.0
blaze-builder-0.3.1.1
blaze-markup-0.5.1.5
blaze-html-0.6.1.1
cookie-0.4.0.1
css-text-0.1.1
email-validate-1.0.0
hashable-1.2.0.5
case-insensitive-1.0.0.1
concurrent-supply-0.1.4.1
hfsevents-0.1.4
http-date-0.0.4
http-types-0.8.0
mime-mail-0.4.1.2
mime-types-0.1.0.3
path-pieces-0.1.2
polyparse-1.8
HaXml-1.23.3
system-filepath-0.4.7
ReadArgs-1.2.1
system-fileio-0.3.11
fsnotify-0.0.7.1
tagsoup-0.12.8
text-icu-0.6.3.5
stringprep-0.1.5
threads-0.5.0.2
time-compat-0.1.0.3
transformers-0.3.0.0
Glob-0.7.2
List-0.5.1
MonadCatchIO-transformers-0.3.0.0
cmdargs-0.10.3
comonad-3.0.2
crypto-api-0.11
cprng-aes-0.3.4
cryptohash-0.9.0
cryptohash-cryptoapi-0.1.0
doctest-0.9.6
enumerator-0.4.19
attoparsec-enumerator-0.3.1
blaze-builder-enumerator-0.2.0.5
failure-0.2.0.1
hspec-1.5.3
hspec-meta-1.5.3
mmorph-1.0.0
monad-peel-0.1.1
monad-st-0.2.2
monadic-arrays-0.2.1.2
mtl-2.1.2
ChasingBottoms-1.3.0.5
MonadCatchIO-mtl-0.3.0.5
MonadRandom-0.1.8
arithmoi-0.4.0.3
asn1-data-0.7.1
blaze-svg-0.3.3.0
cairo-0.12.4
ghc-mtl-1.0.1.2
hscurses-1.4.1.2
libgit-0.3.0
monad-par-extras-0.3.2
optparse-applicative-0.5.2.1
parsec-3.1.3
json-0.7
language-java-0.2.2
maccatcher-2.1.5
network-2.4.1.2
HTTP-4000.2.8
hslogger-1.2.1
httpd-shed-0.4
pem-0.1.2
certificate-1.3.6
profunctors-3.3.0.1
punycode-2.0
idna-0.2
pureMD5-2.1.2.1
gravatar-0.5.2
pwstore-fast-2.3
regex-base-0.93.2
regex-pcre-builtin-0.94.4.5.8.31
highlighting-kate-0.5.3.8
regex-posix-0.95.2
language-haskell-extract-0.2.4
regex-compat-0.95.1
encoding-0.6.7.2
sendfile-0.7.9
shakespeare-1.0.4
hamlet-1.1.7
shakespeare-css-1.0.3
shakespeare-i18n-1.0.0.2
shakespeare-text-1.0.0.5
simple-sendfile-0.2.11
skein-1.0.0
clientsession-0.9
socks-0.5.0
speculation-1.4.1.2
transformers-base-0.4.1
monad-control-0.3.2
lifted-base-0.2.0.3
file-location-0.4.5.2
resourcet-0.4.7
transformers-compat-0.1.1.1
contravariant-0.4
distributive-0.3.1
semigroupoids-3.0.2
bifunctors-3.2.0.1
comonad-transformers-3.0.1
comonads-fd-3.0.1
comonad-extras-3.0.1
either-3.4
free-3.4.1
ad-3.4
groupoids-3.0.1.1
eq-3.1
hashable-extras-0.1.0.1
bound-0.7
keys-3.0.2
monad-products-3.0
pointed-3.0.2
machines-0.2.3.1
recursion-schemes-3.0.0.2
representable-functors-3.1
semigroupoid-extras-3.0.1
profunctor-extras-3.3
streams-3.1
syb-extras-0.2.4.1
unbounded-delays-0.1.0.5
concurrent-extra-0.7.0.5
uniqueid-0.1.1
unix-compat-0.4.1.1
unix-time-0.1.6
fast-logger-0.3.1
unordered-containers-0.2.3.0
charset-0.3.4
hyphenation-0.2.1.8
parsers-0.6
reducers-3.0.1
compressed-3.0.1
shake-0.10.2
uniplate-1.6.10
hlint-1.8.43
utf8-light-0.4.0.1
utf8-string-0.3.7
hastache-0.5.0
haxr-3000.9.0.1
hexpat-0.20.3
citeproc-hs-0.3.8
hint-0.3.3.6
language-javascript-0.5.7
hjsmin-0.1.4.1
publicsuffixlist-0.1
udbus-0.2.0
uuid-1.2.10
vault-0.2.0.4
vector-0.10.0.1
aeson-0.6.1.0
HTF-0.10.0.7
basic-prelude-0.3.4.0
classy-prelude-0.5.4
crypto-numbers-0.1.3
crypto-pubkey-0.1.2
cryptocipher-0.4.0
linear-1.1.1
math-functions-0.1.3.0
mwc-random-0.12.0.1
monad-par-0.3.4.1
resource-pool-0.2.1.1
pool-conduit-0.1.1
shakespeare-js-1.1.3
tls-1.1.2
tls-extra-0.6.1
connection-0.1.3
tls-debug-0.2.3
vector-algorithms-0.5.4.2
statistics-0.10.2.0
criterion-0.6.2.1
vector-instances-3.2.1
vhd-0.2
void-0.6
MemoTrie-0.6.1
adjunctions-3.2
categories-1.0.5
conduit-1.0.4.2
attoparsec-conduit-1.0.1
base64-conduit-1.0.0
blaze-builder-conduit-1.0.0
crypto-conduit-0.5.1
filesystem-conduit-1.0.0
graphs-0.4.1
kan-extensions-3.1.1
lens-3.9.0.2
monad-logger-0.3.1.1
network-conduit-1.0.0
network-conduit-tls-1.0.0.2
persistent-1.1.5.1
esqueleto-1.0.8
persistent-sqlite-1.1.5
persistent-template-1.1.3.1
project-template-0.1.3
representable-tries-3.0.2
tagstream-conduit-0.5.4
vector-space-0.8.6
active-0.1.0.4
vector-space-points-0.1.2.1
diagrams-core-0.6.0.2
diagrams-lib-0.6.0.2
diagrams-builder-0.3.0.1
diagrams-cairo-0.6
diagrams-postscript-0.6.0.1
diagrams-svg-0.6.0.1
force-layout-0.2
diagrams-contrib-0.6.1
diagrams-0.6
wai-1.4.0
wai-app-static-1.3.1.2
wai-logger-0.3.0
wai-test-1.3.0.5
warp-1.3.8
hoogle-4.2.16
wl-pprint-extras-3.4
wl-pprint-terminfo-3.6
word8-0.0.3
xenstore-0.1.1
xhtml-3000.2.1
xml-1.3.13
test-framework-0.8
test-framework-hunit-0.3.0
test-framework-quickcheck2-0.3.0.1
test-framework-th-0.2.4
test-framework-th-prime-0.0.5
texmath-0.6.1.3
xml-types-0.3.3
xml-conduit-1.1.0.3
html-conduit-1.1.0
xmlgen-0.4.0.3
xss-sanitize-0.3.3
markdown-0.1.2.1
yaml-0.8.2.3
stylish-haskell-0.5.6.1
yesod-routes-1.1.2
yesod-test-0.3.5
zlib-0.5.4.1
happstack-server-7.1.7
zip-archive-0.1.3.4
pandoc-1.11.1
BlogLiterately-0.6.0.1
BlogLiterately-diagrams-0.1.2
zlib-bindings-0.1.1.3
hit-0.5.0
zlib-conduit-1.0.0
http-conduit-1.9.3
authenticate-1.3.2.6
fb-0.14.4.1
fb-persistent-0.2.1
http-reverse-proxy-0.1.1.4
mime-mail-ses-0.2.1.1
wai-extra-1.3.4
yesod-core-1.1.8.3
yesod-default-1.1.3.2
yesod-fb-0.2.3
yesod-json-1.1.2.2
yesod-newsfeed-1.1.0.1
yesod-persistent-1.1.0.1
yesod-form-1.2.1.3
yackage-0.6.0.5
yesod-auth-1.1.7
yesod-1.1.9.2
yesod-auth-fb-1.5.1
yesod-sitemap-1.1.0.1
yesod-static-1.1.2.2
zlib-enum-0.2.3
snap-core-0.9.3.1
snap-server-0.9.3.3
web-fpco-0.1.0.0
cabal returned a bad result, exiting
from stackage.
'/Users/johnw/.cabal/packages/cabal-src/' is missing. The repo is invalid.
Remove cabal-src from your ~/.cabal/config. I've had the same issue many times in the past.
from stackage.
@snoyberg Thanks, that solved that problem, now seeing how far I can get...
from stackage.
@snoyberg I can now successfully build Stackage on the Mac, with more test successes than expected:
Vulcan:~/Products/jenkins/jobs/stackage/workspace $ runghc app/stackage.hs test
Running test suites
hyphenation-0.2.1.8 passed, but I didn't think it would.
monad-par-0.3.4.1 passed, but I didn't think it would.
network-2.4.1.2 passed, but I didn't think it would.
transformers-compat-0.1.1.1 passed, but I didn't think it would.
unix-time-0.1.6 passed, but I didn't think it would.
from stackage.
@snoyberg: it fails early (first tools) , on a funny thing.
alex is installed, I can see it, and still a failure is detected
Maybe in the parameters of the cabal ? of in the cabal itself ?
attached all build plans
extract go built--plan.log:
Configuring alex-3.0.2...
Building alex-3.0.2...
Installed alex-3.0.2
cabal: ../../../fasthaskell/statest/stackage/sandbox/bin/alex: already exists
mbp2-de-luc:fasthaskell luc$ mkdir statest
mbp2-de-luc:fasthaskell luc$ cd statest
mbp2-de-luc:statest luc$ cabal update
Downloading the latest package list from hackage.haskell.org
mbp2-de-luc:statest luc$ cabal install cabal-dev
Resolving dependencies...
[1 of 1] Compiling Main ( /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-55035/cabal-dev-0.9.2/Setup.hs, /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-55035/cabal-dev-0.9.2/dist/setup/Main.o )
Linking /var/folders/wv/r_3xq7s12573p1s44c_9v43c0000gx/T/cabal-dev-0.9.2-55035/cabal-dev-0.9.2/dist/setup/setup ...
Configuring cabal-dev-0.9.2...
Building cabal-dev-0.9.2...
Preprocessing executable 'ghc-pkg-6_8-compat' for cabal-dev-0.9.2...
[1 of 1] Compiling Main ( src/GhcPkgCompat.hs, dist/build/ghc-pkg-6_8-compat/ghc-pkg-6_8-compat-tmp/Main.o )
Linking dist/build/ghc-pkg-6_8-compat/ghc-pkg-6_8-compat ...
Preprocessing executable 'fake-ghc-cabal-dev' for cabal-dev-0.9.2...
[1 of 2] Compiling Distribution.Dev.GhcArgs ( src/Distribution/Dev/GhcArgs.hs, dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev-tmp/Distribution/Dev/GhcArgs.o )
[2 of 2] Compiling Main ( src/FakeGhc.hs, dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev-tmp/Main.o )
Linking dist/build/fake-ghc-cabal-dev/fake-ghc-cabal-dev ...
Preprocessing executable 'cabal-dev' for cabal-dev-0.9.2...
[ 1 of 19] Compiling Distribution.Dev.MergeCabalConfig ( src/Distribution/Dev/MergeCabalConfig.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/MergeCabalConfig.o )
[ 2 of 19] Compiling Distribution.Dev.RewriteCabalConfig ( src/Distribution/Dev/RewriteCabalConfig.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/RewriteCabalConfig.o )
[ 3 of 19] Compiling Distribution.Dev.GhcArgs ( src/Distribution/Dev/GhcArgs.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/GhcArgs.o )
[ 4 of 19] Compiling Distribution.Dev.Utilities ( src/Distribution/Dev/Utilities.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Utilities.o )
[ 5 of 19] Compiling Distribution.Dev.InterrogateCabalInstall ( src/Distribution/Dev/InterrogateCabalInstall.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InterrogateCabalInstall.o )
[ 6 of 19] Compiling Distribution.Dev.TH.DeriveCabalCommands ( src/Distribution/Dev/TH/DeriveCabalCommands.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/TH/DeriveCabalCommands.o )
[ 7 of 19] Compiling Paths_cabal_dev ( dist/build/autogen/Paths_cabal_dev.hs, dist/build/cabal-dev/cabal-dev-tmp/Paths_cabal_dev.o )
[ 8 of 19] Compiling Distribution.Dev.CabalInstall ( src/Distribution/Dev/CabalInstall.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/CabalInstall.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package bytestring-0.9.2.1 ... linking ... done.
Loading package zlib-0.5.4.0 ... linking ... done.
Loading package array-0.4.0.0 ... linking ... done.
Loading package deepseq-1.3.0.0 ... linking ... done.
Loading package containers-0.4.2.1 ... linking ... done.
Loading package pretty-1.1.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package filepath-1.3.0.0 ... linking ... done.
Loading package old-locale-1.0.0.4 ... linking ... done.
Loading package old-time-1.1.0.0 ... linking ... done.
Loading package unix-2.5.1.1 ... linking ... done.
Loading package directory-1.1.0.2 ... linking ... done.
Loading package time-1.4 ... linking ... done.
Loading package tar-0.4.0.1 ... linking ... done.
Loading package setenv-0.1.0 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package text-0.11.2.3 ... linking ... done.
Loading package parsec-3.1.3 ... linking ... done.
Loading package network-2.3.1.0 ... linking ... done.
Loading package HTTP-4000.2.5 ... linking ... done.
Loading package process-1.1.0.1 ... linking ... done.
Loading package Cabal-1.16.0.3 ... linking ... done.
cabal --help
Interrogating cabal-install executable:
cabal install --help
cabal install --help
cabal update --help
cabal list --help
cabal info --help
cabal fetch --help
cabal unpack --help
cabal check --help
cabal sdist --help
cabal upload --help
cabal report --help
cabal init --help
cabal configure --help
cabal build --help
cabal copy --help
cabal haddock --help
cabal clean --help
cabal hscolour --help
cabal register --help
cabal test --help
cabal bench --help
cabal upgrade --help
cabal help --help
[ 9 of 19] Compiling Distribution.Dev.Flags ( src/Distribution/Dev/Flags.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Flags.o )
[10 of 19] Compiling Distribution.Dev.Sandbox ( src/Distribution/Dev/Sandbox.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Sandbox.o )
[11 of 19] Compiling Distribution.Dev.InitPkgDb ( src/Distribution/Dev/InitPkgDb.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InitPkgDb.o )
[12 of 19] Compiling Distribution.Dev.Command ( src/Distribution/Dev/Command.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Command.o )
[13 of 19] Compiling Distribution.Dev.AddSource ( src/Distribution/Dev/AddSource.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/AddSource.o )
[14 of 19] Compiling Distribution.Dev.InvokeCabal ( src/Distribution/Dev/InvokeCabal.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InvokeCabal.o )
[15 of 19] Compiling Distribution.Dev.InstallDependencies ( src/Distribution/Dev/InstallDependencies.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/InstallDependencies.o )
[16 of 19] Compiling Distribution.Dev.BuildOpts ( src/Distribution/Dev/BuildOpts.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/BuildOpts.o )
[17 of 19] Compiling Distribution.Dev.Ghci ( src/Distribution/Dev/Ghci.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/Ghci.o )
[18 of 19] Compiling Distribution.Dev.GhcPkg ( src/Distribution/Dev/GhcPkg.hs, dist/build/cabal-dev/cabal-dev-tmp/Distribution/Dev/GhcPkg.o )
[19 of 19] Compiling Main ( src/Main.hs, dist/build/cabal-dev/cabal-dev-tmp/Main.o )
Linking dist/build/cabal-dev/cabal-dev ...
Warning: No documentation was generated as this package does not contain a
library. Perhaps you want to use the --executables flag.
Installing executable(s) in
/Users/luc/Library/Haskell/ghc-7.4.2/lib/cabal-dev-0.9.2/bin
Installed cabal-dev-0.9.2
Updating documentation index /Users/luc/Library/Haskell/doc/index.html
mbp2-de-luc:statest luc$ git clone https://github.com/fpco/stackage
Cloning into 'stackage'...
remote: Counting objects: 884, done.
remote: Compressing objects: 100% (276/276), done.
remote: Total 884 (delta 635), reused 835 (delta 588)
Receiving objects: 100% (884/884), 111.93 KiB, done.
Resolving deltas: 100% (635/635), done.
mbp2-de-luc:statest luc$ cd stackage
mbp2-de-luc:stackage luc$ git submodule update --init
Submodule 'haskell-platform' (https://github.com/haskell/haskell-platform.git) registered for path 'haskell-platform'
Cloning into 'haskell-platform'...
remote: Counting objects: 2213, done.
remote: Compressing objects: 100% (761/761), done.
remote: Total 2213 (delta 1455), reused 2192 (delta 1434)
Receiving objects: 100% (2213/2213), 1.95 MiB | 481 KiB/s, done.
Resolving deltas: 100% (1455/1455), done.
Submodule path 'haskell-platform': checked out '73a58050d86cef941fc82a82d52e70c906785b7f'
mbp2-de-luc:stackage luc$ runghc app/stackage.hs select
Loading Haskell Platform
Loading package database
Narrowing package database
Printing build plan to build-plan.log
Checking for bad versions
mbp2-de-luc:stackage luc$ runghc app/stackage.hs check
Checking Cabal version
Checking build plan
Build plan checked, no mismatches
mbp2-de-luc:stackage luc$ runghc app/stackage.hs build
Checking Cabal version
Wiping out old sandbox folder
Creating new package database
Installing build tool: alex-3.0.2
Building of alex-3.0.2 failed, please see build-tools.log
mbp2-de-luc:stackage luc$
cabal '--package-db=clear' '--package-db=global' '--package-db=/Users/luc/fasthaskell/statest/stackage/sandbox/package-db' '--libdir=/Users/luc/fasthaskell/statest/stackage/sandbox/lib' '--bindir=/Users/luc/fasthaskell/statest/stackage/sandbox/bin' '--datadir=/Users/luc/fasthaskell/statest/stackage/sandbox/share' '--docdir=/Users/luc/fasthaskell/statest/stackage/sandbox/share/doc/$pkgid' '-fnetwork23' 'install' '--cabal-lib-version=1.16.0.3' '--build-log=logs-tools/$pkg.log' '-j' 'alex-3.0.2'
Resolving dependencies...
Configuring alex-3.0.2...
Building alex-3.0.2...
Installed alex-3.0.2
cabal: ../../../fasthaskell/statest/stackage/sandbox/bin/alex: already exists
Luc
be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/)
Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig)
Le jeudi 11 avril 2013 à 23:57, John Wiegley a écrit :
@snoyberg (https://github.com/snoyberg) I can now successfully build Stackage on the Mac, with more test successes than expected:
Vulcan:~/Products/jenkins/jobs/stackage/workspace $ runghc app/stackage.hs test Running test suites hyphenation-0.2.1.8 passed, but I didn't think it would. monad-par-0.3.4.1 passed, but I didn't think it would. network-2.4.1.2 passed, but I didn't think it would. transformers-compat-0.1.1.1 passed, but I didn't think it would. unix-time-0.1.6 passed, but I didn't think it would.—
Reply to this email directly or view it on GitHub (#51 (comment)).
from stackage.
I don't think this ticket needs to remain open any longer.
from stackage.
Related Issues (20)
- tasty-bench-0.4 HOT 2
- network-run-0.4 HOT 1
- comfort-glpk-0.1 test failure HOT 1
- text-rope-0.3
- hedgehog out of bounds HOT 7
- hspec-hedgehog-0.2.0.0 HOT 2
- Build cycle detected HOT 3
- fits-parse-0.4.1 HOT 1
- pandoc-3.3 HOT 1
- crypton-connection-0.4.1, hoogle-5.0.18.4 HOT 1
- envparse 0.5.2 HOT 2
- vector-space 0.19
- shakespeare 2.1.1 test failure HOT 1
- sequence-formats 1.8.1.0
- path 0.9.6
- nothunks 0.3 HOT 1
- postgresql-libpq-0.11 out of bounds for hasql-listen-notify-0.1.0.1 HOT 2
- doclayout-0.5 HOT 1
- typst-0.6
- pandoc-3.4 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stackage.