Skip to content

Instantly share code, notes, and snippets.

@kindaro
Created January 29, 2018 22:09
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 kindaro/aa18ee8dfbb9be792cca3e4304e8e13c to your computer and use it in GitHub Desktop.
Save kindaro/aa18ee8dfbb9be792cca3e4304e8e13c to your computer and use it in GitHub Desktop.
stack repl -- <stdin>: hGetChar: hardware fault (Input/output error)
Version 1.7.0, Git revision 2631803b9c502fa5225eac3536acda9d1d314aa7 (5619 commits) x86_64 hpack-0.20.0
2018-01-30 05:06:20.660731: [debug] Checking for project config at: /home/kindaro/code/algebra/stack.yaml
@(Stack/Config.hs:851:9)
2018-01-30 05:06:20.661079: [debug] Checking for project config at: /home/kindaro/code/stack.yaml
@(Stack/Config.hs:851:9)
2018-01-30 05:06:20.661147: [debug] Checking for project config at: /home/kindaro/stack.yaml
@(Stack/Config.hs:851:9)
2018-01-30 05:06:20.661206: [debug] Checking for project config at: /home/stack.yaml
@(Stack/Config.hs:851:9)
2018-01-30 05:06:20.661256: [debug] Checking for project config at: /stack.yaml
@(Stack/Config.hs:851:9)
2018-01-30 05:06:20.661302: [debug] No project config file found, using defaults.
@(Stack/Config.hs:881:13)
2018-01-30 05:06:20.662207: [debug] Run from outside a project, using implicit global project config
@(Stack/Config.hs:568:13)
2018-01-30 05:06:20.662559: [debug] Using resolver: lts-10.3 from implicit global project's config file: /home/kindaro/.stack/global-project/stack.yaml
@(Stack/Config.hs:582:32)
2018-01-30 05:06:20.662647: [debug] Decoding build plan from: /home/kindaro/.stack/build-plan/lts-10.3.yaml
@(Stack/Snapshot.hs:149:5)
2018-01-30 05:06:20.662706: [debug] Trying to decode /home/kindaro/.stack/build-plan-cache/lts-10.3.cache
@(Stack/Snapshot.hs:141:32)
2018-01-30 05:06:20.668807: [debug] Success decoding /home/kindaro/.stack/build-plan-cache/lts-10.3.cache
@(Stack/Snapshot.hs:141:32)
2018-01-30 05:06:20.669565: [debug] Run process: /sbin/ldconfig -p
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 05:06:20.677554: [debug] Process finished in 7ms: /sbin/ldconfig -p
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 05:06:20.678556: [debug] Found shared library libtinfo.so.5 in /usr/lib
@(Stack/Setup.hs:598:38)
2018-01-30 05:06:20.678688: [debug] Did not find shared library libtinfo.so.6
@(Stack/Setup.hs:599:38)
2018-01-30 05:06:20.678777: [debug] Found shared library libncursesw.so.6 in 'ldconfig -p' output
@(Stack/Setup.hs:585:29)
2018-01-30 05:06:20.678862: [debug] Found shared library libgmp.so.10 in 'ldconfig -p' output
@(Stack/Setup.hs:585:29)
2018-01-30 05:06:20.678965: [debug] Did not find shared library libgmp.so.3
@(Stack/Setup.hs:599:38)
2018-01-30 05:06:20.679024: [debug] Potential GHC builds: standard, ncurses6
@(Stack/Setup.hs:627:9)
2018-01-30 05:06:20.679105: [debug] Found already installed GHC builds: ncurses6
@(Stack/Setup.hs:456:13)
2018-01-30 05:06:20.679819: [debug] Getting global package database location
@(Stack/GhcPkg.hs:47:5)
2018-01-30 05:06:20.680026: [debug] Asking GHC for its version
@(Stack/Setup/Installed.hs:98:13)
2018-01-30 05:06:20.680229: [debug] Run process: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc --numeric-version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 05:06:20.680716: [debug] Getting Cabal package version
@(Stack/GhcPkg.hs:181:5)
2018-01-30 05:06:20.681156: [debug] Run process: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --no-user-package-db list --global
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 05:06:20.681966: [debug] Run process: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 05:06:20.707505: [debug] Process finished in 26ms: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --no-user-package-db list --global
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 05:06:20.716938: [debug] Process finished in 34ms: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 05:06:20.724755: [debug] Process finished in 44ms: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc --numeric-version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 05:06:20.724970: [debug] GHC version is: ghc-8.2.2
@(Stack/Setup/Installed.hs:102:13)
2018-01-30 05:06:20.725112: [debug] Resolving package entries
@(Stack/Setup.hs:254:5)
2018-01-30 05:06:20.725269: [debug] Trying to decode /home/kindaro/.stack/loaded-snapshot-cache/x86_64-linux/ghc-8.2.2/lts-10.3.cache
@(Stack/Snapshot.hs:355:9)
2018-01-30 05:06:20.768240: [debug] Success decoding /home/kindaro/.stack/loaded-snapshot-cache/x86_64-linux/ghc-8.2.2/lts-10.3.cache
@(Stack/Snapshot.hs:355:9)
2018-01-30 05:06:20.768972: [debug] Starting to execute command inside EnvConfig
@(Stack/Runners.hs:172:18)
2018-01-30 05:06:20.769140: [debug] Run process: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghci
@(subs/rio/src/RIO/Process.hs:391:5)
Version 1.7.0, Git revision 2631803b9c502fa5225eac3536acda9d1d314aa7 (5619 commits) x86_64 hpack-0.20.0
2018-01-30 04:54:49.393723: [debug] Checking for project config at: /home/kindaro/code/algebra/stack.yaml
@(Stack/Config.hs:851:9)
2018-01-30 04:54:49.394205: [debug] Checking for project config at: /home/kindaro/code/stack.yaml
@(Stack/Config.hs:851:9)
2018-01-30 04:54:49.394269: [debug] Checking for project config at: /home/kindaro/stack.yaml
@(Stack/Config.hs:851:9)
2018-01-30 04:54:49.394320: [debug] Checking for project config at: /home/stack.yaml
@(Stack/Config.hs:851:9)
2018-01-30 04:54:49.394367: [debug] Checking for project config at: /stack.yaml
@(Stack/Config.hs:851:9)
2018-01-30 04:54:49.394410: [debug] No project config file found, using defaults.
@(Stack/Config.hs:881:13)
2018-01-30 04:54:49.395230: [debug] Run from outside a project, using implicit global project config
@(Stack/Config.hs:568:13)
2018-01-30 04:54:49.395484: [debug] Using resolver: lts-10.3 from implicit global project's config file: /home/kindaro/.stack/global-project/stack.yaml
@(Stack/Config.hs:582:32)
2018-01-30 04:54:49.395556: [debug] Decoding build plan from: /home/kindaro/.stack/build-plan/lts-10.3.yaml
@(Stack/Snapshot.hs:149:5)
2018-01-30 04:54:49.395606: [debug] Trying to decode /home/kindaro/.stack/build-plan-cache/lts-10.3.cache
@(Stack/Snapshot.hs:141:32)
2018-01-30 04:54:49.401010: [debug] Success decoding /home/kindaro/.stack/build-plan-cache/lts-10.3.cache
@(Stack/Snapshot.hs:141:32)
2018-01-30 04:54:49.401755: [debug] Run process: /sbin/ldconfig -p
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.408578: [debug] Process finished in 6ms: /sbin/ldconfig -p
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.409290: [debug] Found shared library libtinfo.so.5 in /usr/lib
@(Stack/Setup.hs:598:38)
2018-01-30 04:54:49.409397: [debug] Did not find shared library libtinfo.so.6
@(Stack/Setup.hs:599:38)
2018-01-30 04:54:49.409464: [debug] Found shared library libncursesw.so.6 in 'ldconfig -p' output
@(Stack/Setup.hs:585:29)
2018-01-30 04:54:49.409535: [debug] Found shared library libgmp.so.10 in 'ldconfig -p' output
@(Stack/Setup.hs:585:29)
2018-01-30 04:54:49.409627: [debug] Did not find shared library libgmp.so.3
@(Stack/Setup.hs:599:38)
2018-01-30 04:54:49.409673: [debug] Potential GHC builds: standard, ncurses6
@(Stack/Setup.hs:627:9)
2018-01-30 04:54:49.409732: [debug] Found already installed GHC builds: ncurses6
@(Stack/Setup.hs:456:13)
2018-01-30 04:54:49.410226: [debug] Getting global package database location
@(Stack/GhcPkg.hs:47:5)
2018-01-30 04:54:49.410440: [debug] Run process: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --no-user-package-db list --global
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.410967: [debug] Asking GHC for its version
@(Stack/Setup/Installed.hs:98:13)
2018-01-30 04:54:49.411393: [debug] Getting Cabal package version
@(Stack/GhcPkg.hs:181:5)
2018-01-30 04:54:49.411518: [debug] Run process: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc --numeric-version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.412385: [debug] Run process: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.437030: [debug] Process finished in 24ms: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.444984: [debug] Process finished in 34ms: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --no-user-package-db list --global
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.457697: [debug] Process finished in 46ms: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc --numeric-version
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.457871: [debug] GHC version is: ghc-8.2.2
@(Stack/Setup/Installed.hs:102:13)
2018-01-30 04:54:49.458013: [debug] Resolving package entries
@(Stack/Setup.hs:254:5)
2018-01-30 04:54:49.458314: [debug] Trying to decode /home/kindaro/.stack/loaded-snapshot-cache/x86_64-linux/ghc-8.2.2/lts-10.3.cache
@(Stack/Snapshot.hs:355:9)
2018-01-30 04:54:49.504598: [debug] Success decoding /home/kindaro/.stack/loaded-snapshot-cache/x86_64-linux/ghc-8.2.2/lts-10.3.cache
@(Stack/Snapshot.hs:355:9)
2018-01-30 04:54:49.505322: [debug] Starting to execute command inside EnvConfig
@(Stack/Runners.hs:172:18)
2018-01-30 04:54:49.505423: [debug] Parsing the targets
@(Stack/Build/Target.hs:459:3)
2018-01-30 04:54:49.527882: [debug] Parsing the targets
@(Stack/Build/Target.hs:459:3)
2018-01-30 04:54:49.549343: [warn]
Warning: No local targets specified, so ghci will not use any options from your package.yaml / *.cabal files.
Potential ways to resolve this:
* If you want to use the package.yaml / *.cabal package in the current directory, use stack init to create a new stack.yaml.
* Add to the 'packages' field of /home/kindaro/.stack/global-project/stack.yaml
@(Stack/Ghci.hs:750:7)
2018-01-30 04:54:49.549548: [debug] Finding out which packages are already installed
@(Stack/Build/Installed.hs:58:5)
2018-01-30 04:54:49.549746: [debug] Run process: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.586272: [debug] Process finished in 36ms: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.587859: [debug] Ignoring package haskeline due to wanting version 0.7.4.2 instead of 0.7.4.0
@(Stack/Build/Installed.hs:187:5)
2018-01-30 04:54:49.588161: [debug] Ignoring package Cabal due to wanting version 2.0.1.1 instead of 2.0.1.0
@(Stack/Build/Installed.hs:187:5)
2018-01-30 04:54:49.588357: [debug] Run process: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --user --no-user-package-db --package-db /home/kindaro/.stack/snapshots/x86_64-linux-ncurses6/lts-10.3/8.2.2/pkgdb dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.652163: [debug] Process finished in 63ms: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --user --no-user-package-db --package-db /home/kindaro/.stack/snapshots/x86_64-linux-ncurses6/lts-10.3/8.2.2/pkgdb dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.652977: [debug] Run process: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --user --no-user-package-db --package-db /home/kindaro/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-10.3/8.2.2/pkgdb dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.676844: [debug] Process finished in 23ms: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc-pkg --user --no-user-package-db --package-db /home/kindaro/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-10.3/8.2.2/pkgdb dump --expand-pkgroot
@(subs/rio/src/RIO/Process.hs:191:3)
2018-01-30 04:54:49.677387: [info] Configuring GHCi with the following packages:
@(Stack/Ghci.hs:363:5)
2018-01-30 04:54:49.677955: [debug] Run process: /home/kindaro/.stack/programs/x86_64-linux/ghc-ncurses6-8.2.2/bin/ghc --interactive -odir=/home/kindaro/.stack/global-project/.stack-work/odir -hidir=/home/kindaro/.stack/global-project/.stack-work/odir -ghci-script=/tmp/ghci14128/ghci-script
@(subs/rio/src/RIO/Process.hs:191:3)
<stdin>: hGetChar: hardware fault (Input/output error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment