Skip to content

Instantly share code, notes, and snippets.

@arotenberg
Created September 7, 2015 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arotenberg/030e00254737a98496b5 to your computer and use it in GitHub Desktop.
Save arotenberg/030e00254737a98496b5 to your computer and use it in GitHub Desktop.
Stack output for MinGHC issue 85
C:\Users\certon\Desktop\Foo\stack-test>stack haddock
Setting codepage to UTF-8 (65001) to ensure correct output from GHC
NOTE: the haddock command is functionally equivalent to 'build --haddock'
While constructing the BuildPlan the following exceptions were encountered:
-- While attempting to add dependency,
Could not find package base in known packages
-- Failure when adding dependencies:
base: needed (>=4.7 && <5), latest is 4.8.1.0, but not present in build pl
an
needed for package: stack-test-0.1.0.0
Recommended action: try adding the following to your extra-deps in C:\Users\cert
on\Desktop\Foo\stack-test\stack.yaml
- base-4.8.1.0
You may also want to try the 'stack solver' command
C:\Users\certon\Desktop\Foo\stack-test>stack path
Setting codepage to UTF-8 (65001) to ensure correct output from GHC
global-stack-root: C:\Users\certon\AppData\Roaming\stack
project-root: C:\Users\certon\Desktop\Foo\stack-test
config-location: C:\Users\certon\Desktop\Foo\stack-test\stack.yaml
bin-path: C:\Users\certon\AppData\Roaming\stack\snapshots\x86_64-windows\lts-3.4
\7.10.2\bin:C:\jet11.0-beta1-x86\bin:C:\ProgramData\Oracle\Java\javapath:C:\jet1
0.5-pro-x86\bin:C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common:C:\Progra
m Files (x86)\Intel\iCLS Client\:C:\Program Files\Intel\iCLS Client\:C:\WINDOWS\
system32:C:\WINDOWS:C:\WINDOWS\System32\Wbem:C:\WINDOWS\System32\WindowsPowerShe
ll\v1.0\:C:\Program Files (x86)\Windows Live\Shared:C:\Program Files\Intel\Intel
(R) Management Engine Components\DAL:C:\Program Files\Intel\Intel(R) Management
Engine Components\IPT:C:\Program Files (x86)\Intel\Intel(R) Management Engine Co
mponents\DAL:C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\
IPT:C:\Program Files\TortoiseSVN\bin:C:\jython2.7b2:C:\Program Files (x86)\IVI F
oundation\VISA\WinNT\Bin:C:\Program Files\IVI Foundation\VISA\Win64\Bin\:C:\Prog
ram Files (x86)\IVI Foundation\VISA\WinNT\Bin\:C:\Program Files\MATLAB\R2015a\bi
n:C:\Program Files\doxygen\bin:C:\GNATPRO\bin:C:\Program Files\Java\jdk1.8.0_60\
bin:C:\Program Files (x86)\maven\bin:C:\Program Files\MinGHC\minghc-7.10.2-x86_6
4\switch:C:\Program Files\MinGHC\minghc-7.10.2-x86_64\git-2.4.5.1\cmd:C:\Program
Files\MinGHC\minghc-7.10.2-x86_64\git-2.4.5.1\usr\bin:C:\Program Files\MinGHC\m
inghc-7.10.2-x86_64\ghc-7.10.2\mingw\bin:C:\Program Files\MinGHC\minghc-7.10.2-x
86_64\ghc-7.10.2\bin:C:\Program Files\MinGHC\minghc-7.10.2-x86_64\bin:C:\Users\c
erton\AppData\Roaming\cabal\bin:C:\Program Files\Boot2Docker for Windows:C:\Pyth
on27
ghc-paths: C:\Users\certon\AppData\Local\Programs\stack\x86_64-windows
local-bin-path: C:\Users\certon\AppData\Roaming\local\bin
extra-include-dirs:
extra-library-dirs:
snapshot-pkg-db: C:\Users\certon\AppData\Roaming\stack\snapshots\x86_64-windows\
lts-3.4\7.10.2\pkgdb
local-pkg-db: C:\Users\certon\Desktop\Foo\stack-test\.stack-work\install\x86_64-
windows\lts-3.4\7.10.2\pkgdb
snapshot-install-root: C:\Users\certon\AppData\Roaming\stack\snapshots\x86_64-wi
ndows\lts-3.4\7.10.2
local-install-root: C:\Users\certon\Desktop\Foo\stack-test\.stack-work\install\x
86_64-windows\lts-3.4\7.10.2
snapshot-doc-root: C:\Users\certon\AppData\Roaming\stack\snapshots\x86_64-window
s\lts-3.4\7.10.2\doc
local-doc-root: C:\Users\certon\Desktop\Foo\stack-test\.stack-work\install\x86_6
4-windows\lts-3.4\7.10.2\doc
dist-dir: .stack-work\dist\x86_64-windows\Cabal-1.22.4.0
C:\Users\certon\Desktop\Foo\stack-test>stack exec which ghc
Setting codepage to UTF-8 (65001) to ensure correct output from GHC
/c/Program Files/MinGHC/minghc-7.10.2-x86_64/ghc-7.10.2/bin/ghc
C:\Users\certon\Desktop\Foo\stack-test>stack haddock --verbose
Version 0.1.3.1, Git revision 908b04205e6f436d4a5f420b1c6c646ed2b804d7
Setting codepage to UTF-8 (65001) to ensure correct output from GHC
2015-09-07 14:41:19.0263286: [debug] Checking for project config at: C:\Users\ce
rton\Desktop\Foo\stack-test\stack.yaml @(stack-0.1.3.1:Stack.Config src/Stack\Co
nfig.hs:459:9)
2015-09-07 14:41:19.0273061: [debug] Loading project config file stack.yaml @(st
ack-0.1.3.1:Stack.Config src/Stack\Config.hs:482:13)
2015-09-07 14:41:19.0370741: [debug] Run process: ghc --info @(stack-0.1.3.1:Sys
tem.Process.Read src/System\Process\Read.hs:255:3)
2015-09-07 14:41:19.0673884: [debug] Run process: ghc --numeric-version @(stack-
0.1.3.1:System.Process.Read src/System\Process\Read.hs:255:3)
2015-09-07 14:41:19.0791198: [debug] Run process: ghc-pkg --no-user-package-db f
ield --simple-output Cabal id @(stack-0.1.3.1:System.Process.Read src/System\Pro
cess\Read.hs:255:3)
2015-09-07 14:41:19.1221357: [debug] Run process: ghc-pkg --no-user-package-db l
ist --global @(stack-0.1.3.1:System.Process.Read src/System\Process\Read.hs:255:
3)
2015-09-07 14:41:19.1641662: [info] NOTE: the haddock command is functionally eq
uivalent to 'build --haddock' @(main:Main src\main\Main.hs:670:32)
2015-09-07 14:41:19.1641662: [debug] Checking resolver: lts-3.4 @(stack-0.1.3.1:
Stack.Build.Source src/Stack\Build\Source.hs:76:13)
2015-09-07 14:41:19.2980988: [debug] Run process: ghc-pkg --global --no-user-pac
kage-db dump --expand-pkgroot @(stack-0.1.3.1:System.Process.Read src/System\Pro
cess\Read.hs:255:3)
2015-09-07 14:41:19.3440465: [debug] Run process: ghc-pkg --user --no-user-packa
ge-db --package-db C:\Users\certon\AppData\Roaming\stack\snapshots\x86_64-window
s\lts-3.4\7.10.2\pkgdb\ dump --expand-pkgroot @(stack-0.1.3.1:System.Process.Rea
d src/System\Process\Read.hs:255:3)
2015-09-07 14:41:19.384143: [debug] Run process: ghc-pkg --user --no-user-packag
e-db --package-db C:\Users\certon\Desktop\Foo\stack-test\.stack-work\install\x86
_64-windows\lts-3.4\7.10.2\pkgdb\ dump --expand-pkgroot @(stack-0.1.3.1:System.P
rocess.Read src/System\Process\Read.hs:255:3)
While constructing the BuildPlan the following exceptions were encountered:
-- While attempting to add dependency,
Could not find package base in known packages
-- Failure when adding dependencies:
base: needed (>=4.7 && <5), latest is 4.8.1.0, but not present in build pl
an
needed for package: stack-test-0.1.0.0
Recommended action: try adding the following to your extra-deps in C:\Users\cert
on\Desktop\Foo\stack-test\stack.yaml
- base-4.8.1.0
You may also want to try the 'stack solver' command
C:\Users\certon\Desktop\Foo\stack-test>ghc-pkg describe base --expand-pkgroot
WARNING: cache is out of date: C:/Program Files/MinGHC/minghc-7.10.2-x86_64/ghc-
7.10.2\lib\package.conf.d\package.cache
ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix.
name: base
version: 4.8.1.0
id: base-4.8.1.0-5e8cb96faebe2db97f24c6e11c6070d6
key: base_GDytRqRVSUX7zckgKqJjgw
license: BSD3
maintainer: libraries@haskell.org
synopsis: Basic libraries
description:
This package contains the "Prelude" and its support libraries,
and a large collection of useful libraries ranging from data
structures to parsing combinators and debugging utilities.
category: Prelude
exposed: True
exposed-modules:
Control.Applicative Control.Arrow Control.Category
Control.Concurrent Control.Concurrent.Chan Control.Concurrent.MVar
Control.Concurrent.QSem Control.Concurrent.QSemN Control.Exception
Control.Exception.Base Control.Monad Control.Monad.Fix
Control.Monad.Instances Control.Monad.ST Control.Monad.ST.Lazy
Control.Monad.ST.Lazy.Safe Control.Monad.ST.Lazy.Unsafe
Control.Monad.ST.Safe Control.Monad.ST.Strict
Control.Monad.ST.Unsafe Control.Monad.Zip Data.Bifunctor Data.Bits
Data.Bool Data.Char Data.Coerce Data.Complex Data.Data Data.Dynamic
Data.Either Data.Eq Data.Fixed Data.Foldable Data.Function
Data.Functor Data.Functor.Identity Data.IORef Data.Int Data.Ix
Data.List Data.Maybe Data.Monoid Data.Ord Data.Proxy Data.Ratio
Data.STRef Data.STRef.Lazy Data.STRef.Strict Data.String
Data.Traversable Data.Tuple Data.Type.Bool Data.Type.Coercion
Data.Type.Equality Data.Typeable Data.Typeable.Internal Data.Unique
Data.Version Data.Void Data.Word Debug.Trace Foreign Foreign.C
Foreign.C.Error Foreign.C.String Foreign.C.Types Foreign.Concurrent
Foreign.ForeignPtr Foreign.ForeignPtr.Safe
Foreign.ForeignPtr.Unsafe Foreign.Marshal Foreign.Marshal.Alloc
Foreign.Marshal.Array Foreign.Marshal.Error Foreign.Marshal.Pool
Foreign.Marshal.Safe Foreign.Marshal.Unsafe Foreign.Marshal.Utils
Foreign.Ptr Foreign.Safe Foreign.StablePtr Foreign.Storable GHC.Arr
GHC.Base GHC.Char GHC.Conc GHC.Conc.IO GHC.Conc.Signal
GHC.Conc.Sync GHC.ConsoleHandler GHC.Constants GHC.Desugar GHC.Enum
GHC.Environment GHC.Err GHC.Exception GHC.Exts GHC.Fingerprint
GHC.Fingerprint.Type GHC.Float GHC.Float.ConversionUtils
GHC.Float.RealFracMethods GHC.Foreign GHC.ForeignPtr GHC.GHCi
GHC.Generics GHC.IO GHC.IO.Buffer GHC.IO.BufferedIO GHC.IO.Device
GHC.IO.Encoding GHC.IO.Encoding.CodePage GHC.IO.Encoding.Failure
GHC.IO.Encoding.Iconv GHC.IO.Encoding.Latin1 GHC.IO.Encoding.Types
GHC.IO.Encoding.UTF16 GHC.IO.Encoding.UTF32 GHC.IO.Encoding.UTF8
GHC.IO.Exception GHC.IO.FD GHC.IO.Handle GHC.IO.Handle.FD
GHC.IO.Handle.Internals GHC.IO.Handle.Text GHC.IO.Handle.Types
GHC.IO.IOMode GHC.IOArray GHC.IORef GHC.IP GHC.Int GHC.List
GHC.MVar GHC.Natural GHC.Num GHC.OldList GHC.PArr GHC.Pack
GHC.Profiling GHC.Ptr GHC.Read GHC.Real GHC.RTS.Flags GHC.ST
GHC.StaticPtr GHC.STRef GHC.Show GHC.SrcLoc GHC.Stable GHC.Stack
GHC.Stats GHC.Storable GHC.TopHandler GHC.TypeLits GHC.Unicode
GHC.Weak GHC.Word Numeric Numeric.Natural Prelude System.CPUTime
System.Console.GetOpt System.Environment System.Exit System.IO
System.IO.Error System.IO.Unsafe System.Info System.Mem
System.Mem.StableName System.Mem.Weak System.Posix.Internals
System.Posix.Types System.Timeout Text.ParserCombinators.ReadP
Text.ParserCombinators.ReadPrec Text.Printf Text.Read Text.Read.Lex
Text.Show Text.Show.Functions Unsafe.Coerce
GHC.IO.Encoding.CodePage.API GHC.IO.Encoding.CodePage.Table
GHC.Conc.Windows GHC.Windows
hidden-modules: Control.Monad.ST.Imp Control.Monad.ST.Lazy.Imp
Data.OldList Foreign.ForeignPtr.Imp
System.Environment.ExecutablePath
trusted: False
import-dirs: "C:\\Program Files\\MinGHC\\minghc-7.10.2-x86_64\\ghc-7.10.2\\lib\\
base_GDytRqRVSUX7zckgKqJjgw"
library-dirs: "C:\\Program Files\\MinGHC\\minghc-7.10.2-x86_64\\ghc-7.10.2\\lib\
\base_GDytRqRVSUX7zckgKqJjgw"
data-dir: $topdir\x86_64-windows-ghc-7.10.2\base-4.8.1.0
hs-libraries: HSbase-4.8.1.0-GDytRqRVSUX7zckgKqJjgw
extra-libraries:
wsock32 user32 shell32
include-dirs: "C:\\Program Files\\MinGHC\\minghc-7.10.2-x86_64\\ghc-7.10.2\\lib\
\base_GDytRqRVSUX7zckgKqJjgw\\include"
includes:
HsBase.h
depends:
builtin_rts ghc-prim-0.4.0.0-e59f0439fd9b762d6ef8e2863f9993df
integer-gmp-1.0.0.0-8e0f14d0262184533b417ca1f8b44482
haddock-interfaces: "C:\\Program Files\\MinGHC\\minghc-7.10.2-x86_64\\ghc-7.10.2
\\lib/../doc/html/libraries/base-4.8.1.0\\base.haddock"
haddock-html: "C:\\Program Files\\MinGHC\\minghc-7.10.2-x86_64\\ghc-7.10.2\\lib/
../doc/html/libraries/base-4.8.1.0"
C:\Users\certon\Desktop\Foo\stack-test>stack exec -- ghc-pkg describe base --exp
and-pkgroot
Setting codepage to UTF-8 (65001) to ensure correct output from GHC
WARNING: cache is out of date: C:\Program Files\MinGHC\minghc-7.10.2-x86_64\ghc-
7.10.2\lib\package.conf.d\package.cache
ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix.
name: base
version: 4.8.1.0
id: base-4.8.1.0-5e8cb96faebe2db97f24c6e11c6070d6
key: base_GDytRqRVSUX7zckgKqJjgw
license: BSD3
maintainer: libraries@haskell.org
synopsis: Basic libraries
description:
This package contains the "Prelude" and its support libraries,
and a large collection of useful libraries ranging from data
structures to parsing combinators and debugging utilities.
category: Prelude
exposed: True
exposed-modules:
Control.Applicative Control.Arrow Control.Category
Control.Concurrent Control.Concurrent.Chan Control.Concurrent.MVar
Control.Concurrent.QSem Control.Concurrent.QSemN Control.Exception
Control.Exception.Base Control.Monad Control.Monad.Fix
Control.Monad.Instances Control.Monad.ST Control.Monad.ST.Lazy
Control.Monad.ST.Lazy.Safe Control.Monad.ST.Lazy.Unsafe
Control.Monad.ST.Safe Control.Monad.ST.Strict
Control.Monad.ST.Unsafe Control.Monad.Zip Data.Bifunctor Data.Bits
Data.Bool Data.Char Data.Coerce Data.Complex Data.Data Data.Dynamic
Data.Either Data.Eq Data.Fixed Data.Foldable Data.Function
Data.Functor Data.Functor.Identity Data.IORef Data.Int Data.Ix
Data.List Data.Maybe Data.Monoid Data.Ord Data.Proxy Data.Ratio
Data.STRef Data.STRef.Lazy Data.STRef.Strict Data.String
Data.Traversable Data.Tuple Data.Type.Bool Data.Type.Coercion
Data.Type.Equality Data.Typeable Data.Typeable.Internal Data.Unique
Data.Version Data.Void Data.Word Debug.Trace Foreign Foreign.C
Foreign.C.Error Foreign.C.String Foreign.C.Types Foreign.Concurrent
Foreign.ForeignPtr Foreign.ForeignPtr.Safe
Foreign.ForeignPtr.Unsafe Foreign.Marshal Foreign.Marshal.Alloc
Foreign.Marshal.Array Foreign.Marshal.Error Foreign.Marshal.Pool
Foreign.Marshal.Safe Foreign.Marshal.Unsafe Foreign.Marshal.Utils
Foreign.Ptr Foreign.Safe Foreign.StablePtr Foreign.Storable GHC.Arr
GHC.Base GHC.Char GHC.Conc GHC.Conc.IO GHC.Conc.Signal
GHC.Conc.Sync GHC.ConsoleHandler GHC.Constants GHC.Desugar GHC.Enum
GHC.Environment GHC.Err GHC.Exception GHC.Exts GHC.Fingerprint
GHC.Fingerprint.Type GHC.Float GHC.Float.ConversionUtils
GHC.Float.RealFracMethods GHC.Foreign GHC.ForeignPtr GHC.GHCi
GHC.Generics GHC.IO GHC.IO.Buffer GHC.IO.BufferedIO GHC.IO.Device
GHC.IO.Encoding GHC.IO.Encoding.CodePage GHC.IO.Encoding.Failure
GHC.IO.Encoding.Iconv GHC.IO.Encoding.Latin1 GHC.IO.Encoding.Types
GHC.IO.Encoding.UTF16 GHC.IO.Encoding.UTF32 GHC.IO.Encoding.UTF8
GHC.IO.Exception GHC.IO.FD GHC.IO.Handle GHC.IO.Handle.FD
GHC.IO.Handle.Internals GHC.IO.Handle.Text GHC.IO.Handle.Types
GHC.IO.IOMode GHC.IOArray GHC.IORef GHC.IP GHC.Int GHC.List
GHC.MVar GHC.Natural GHC.Num GHC.OldList GHC.PArr GHC.Pack
GHC.Profiling GHC.Ptr GHC.Read GHC.Real GHC.RTS.Flags GHC.ST
GHC.StaticPtr GHC.STRef GHC.Show GHC.SrcLoc GHC.Stable GHC.Stack
GHC.Stats GHC.Storable GHC.TopHandler GHC.TypeLits GHC.Unicode
GHC.Weak GHC.Word Numeric Numeric.Natural Prelude System.CPUTime
System.Console.GetOpt System.Environment System.Exit System.IO
System.IO.Error System.IO.Unsafe System.Info System.Mem
System.Mem.StableName System.Mem.Weak System.Posix.Internals
System.Posix.Types System.Timeout Text.ParserCombinators.ReadP
Text.ParserCombinators.ReadPrec Text.Printf Text.Read Text.Read.Lex
Text.Show Text.Show.Functions Unsafe.Coerce
GHC.IO.Encoding.CodePage.API GHC.IO.Encoding.CodePage.Table
GHC.Conc.Windows GHC.Windows
hidden-modules: Control.Monad.ST.Imp Control.Monad.ST.Lazy.Imp
Data.OldList Foreign.ForeignPtr.Imp
System.Environment.ExecutablePath
trusted: False
import-dirs: "C:\\Program Files\\MinGHC\\minghc-7.10.2-x86_64\\ghc-7.10.2\\lib\\
base_GDytRqRVSUX7zckgKqJjgw"
library-dirs: "C:\\Program Files\\MinGHC\\minghc-7.10.2-x86_64\\ghc-7.10.2\\lib\
\base_GDytRqRVSUX7zckgKqJjgw"
data-dir: $topdir\x86_64-windows-ghc-7.10.2\base-4.8.1.0
hs-libraries: HSbase-4.8.1.0-GDytRqRVSUX7zckgKqJjgw
extra-libraries:
wsock32 user32 shell32
include-dirs: "C:\\Program Files\\MinGHC\\minghc-7.10.2-x86_64\\ghc-7.10.2\\lib\
\base_GDytRqRVSUX7zckgKqJjgw\\include"
includes:
HsBase.h
depends:
builtin_rts ghc-prim-0.4.0.0-e59f0439fd9b762d6ef8e2863f9993df
integer-gmp-1.0.0.0-8e0f14d0262184533b417ca1f8b44482
haddock-interfaces: "C:\\Program Files\\MinGHC\\minghc-7.10.2-x86_64\\ghc-7.10.2
\\lib/../doc/html/libraries/base-4.8.1.0\\base.haddock"
haddock-html: "C:\\Program Files\\MinGHC\\minghc-7.10.2-x86_64\\ghc-7.10.2\\lib/
../doc/html/libraries/base-4.8.1.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment