Skip to content

Instantly share code, notes, and snippets.

@kindaro
Created July 10, 2019 18:43
Show Gist options
  • Save kindaro/afbb13eaef42cfe43dc6de27b96e5911 to your computer and use it in GitHub Desktop.
Save kindaro/afbb13eaef42cfe43dc6de27b96e5911 to your computer and use it in GitHub Desktop.
Stack 2.1.1.1 build optparse-applicative-1.14.3.0 failure
2.1.1.1 x86_64 hpack-0.31.2
2019-07-10 21:42:46.487217: [debug] Checking for project config at: /tmp/optparse-applicative-0.14.3.0/stack.yaml
2019-07-10 21:42:46.487412: [debug] Loading project config file stack.yaml
2019-07-10 21:42:46.494693: [debug] SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2019-07-09 18:42:46.494620975 UTC]
2019-07-10 21:42:46.495365: [debug] Using package location completions from a lock file
2019-07-10 21:42:46.680505: [debug] Asking for a supported GHC version
2019-07-10 21:42:46.680776: [debug] Installed tools:
- ghc-tinfo6-8.6.5
2019-07-10 21:42:46.680896: [debug] Run process: /sbin/ldconfig -p
2019-07-10 21:42:46.682594: [debug] Process finished in 2ms: /sbin/ldconfig -p
2019-07-10 21:42:46.683356: [debug] Did not find shared library libtinfo.so.5
2019-07-10 21:42:46.683455: [debug] Found shared library libtinfo.so.6 in /usr/lib/
2019-07-10 21:42:46.683507: [debug] Found shared library libncursesw.so.6 in 'ldconfig -p' output
2019-07-10 21:42:46.683558: [debug] Found shared library libgmp.so.10 in 'ldconfig -p' output
2019-07-10 21:42:46.683650: [debug] Did not find shared library libgmp.so.3
2019-07-10 21:42:46.683684: [debug] Potential GHC builds: tinfo6, ncurses6
2019-07-10 21:42:46.683728: [debug] Found already installed GHC builds: tinfo6
2019-07-10 21:42:46.684005: [debug] SELECT "id","actual_version","arch","ghc_path","ghc_size","ghc_modified","ghc_pkg_path","runghc_path","haddock_path","cabal_version","global_db","global_db_cache_size","global_db_cache_modified","info","global_dump" FROM "compiler_cache" WHERE "ghc_path"=?; [PersistText "/home/kindaro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.5/bin/ghc-8.6.5"]
2019-07-10 21:42:46.760359: [debug] Loaded compiler information from cache
2019-07-10 21:42:46.761231: [debug] Asking for a supported GHC version
2019-07-10 21:42:46.761431: [debug] Resolving package entries
2019-07-10 21:42:46.761480: [debug] Parsing the targets
2019-07-10 21:42:46.764675: [debug] Checking flags
2019-07-10 21:42:46.764774: [debug] SourceMap constructed
2019-07-10 21:42:46.770711: [debug] Starting to execute command inside EnvConfig
2019-07-10 21:42:46.773937: [debug] Finding out which packages are already installed
2019-07-10 21:42:46.774146: [debug] Run process: /srv/stack/programs/x86_64-linux/ghc-tinfo6-8.6.5/bin/ghc-pkg-8.6.5 --global --no-user-package-db dump --expand-pkgroot
2019-07-10 21:42:46.832445: [debug] Process finished in 58ms: /srv/stack/programs/x86_64-linux/ghc-tinfo6-8.6.5/bin/ghc-pkg-8.6.5 --global --no-user-package-db dump --expand-pkgroot
2019-07-10 21:42:46.835442: [debug] Ignoring package haskeline due to wanting version 0.7.5.0 instead of 0.7.4.3
2019-07-10 21:42:46.840392: [debug] Ignoring package Cabal due to wanting version 2.4.1.0 instead of 2.4.0.1
2019-07-10 21:42:46.842850: [debug] Run process: /srv/stack/programs/x86_64-linux/ghc-tinfo6-8.6.5/bin/ghc-pkg-8.6.5 --user --no-user-package-db --package-db /home/kindaro/.stack/snapshots/x86_64-linux-tinfo6/1757c4020f57d26577b6c1f29ec01e0e689765eae2563e6eace2e3494ebaec82/8.6.5/pkgdb dump --expand-pkgroot
2019-07-10 21:42:46.882045: [debug] Process finished in 39ms: /srv/stack/programs/x86_64-linux/ghc-tinfo6-8.6.5/bin/ghc-pkg-8.6.5 --user --no-user-package-db --package-db /home/kindaro/.stack/snapshots/x86_64-linux-tinfo6/1757c4020f57d26577b6c1f29ec01e0e689765eae2563e6eace2e3494ebaec82/8.6.5/pkgdb dump --expand-pkgroot
2019-07-10 21:42:46.883183: [debug] Run process: /srv/stack/programs/x86_64-linux/ghc-tinfo6-8.6.5/bin/ghc-pkg-8.6.5 --user --no-user-package-db --package-db /tmp/optparse-applicative-0.14.3.0/.stack-work/install/x86_64-linux-tinfo6/1757c4020f57d26577b6c1f29ec01e0e689765eae2563e6eace2e3494ebaec82/8.6.5/pkgdb dump --expand-pkgroot
2019-07-10 21:42:46.917703: [debug] Process finished in 34ms: /srv/stack/programs/x86_64-linux/ghc-tinfo6-8.6.5/bin/ghc-pkg-8.6.5 --user --no-user-package-db --package-db /tmp/optparse-applicative-0.14.3.0/.stack-work/install/x86_64-linux-tinfo6/1757c4020f57d26577b6c1f29ec01e0e689765eae2563e6eace2e3494ebaec82/8.6.5/pkgdb dump --expand-pkgroot
2019-07-10 21:42:46.918470: [debug] Constructing the build plan
2019-07-10 21:42:46.920073: [debug] Checking if we are going to build multiple executables with the same name
2019-07-10 21:42:46.920371: [debug] Executing the build plan
2019-07-10 21:42:46.922080: [debug] SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "/tmp/optparse-applicative-0.14.3.0/",PersistText "config"]
2019-07-10 21:42:46.922387: [debug] SELECT "id", "config_cache_id", "index", "option" FROM "config_cache_dir_option" WHERE ("config_cache_id"=?) ORDER BY "index"; [PersistInt64 94]
2019-07-10 21:42:46.922750: [debug] SELECT "id", "config_cache_id", "index", "option" FROM "config_cache_no_dir_option" WHERE ("config_cache_id"=?) ORDER BY "index"; [PersistInt64 94]
2019-07-10 21:42:46.923030: [debug] SELECT "id", "config_cache_id", "ghc_pkg_id" FROM "config_cache_dep" WHERE ("config_cache_id"=?); [PersistInt64 94]
2019-07-10 21:42:46.923248: [debug] SELECT "id", "config_cache_id", "component" FROM "config_cache_component" WHERE ("config_cache_id"=?); [PersistInt64 94]
2019-07-10 21:42:46.924125: [debug] Start: getPackageFiles /tmp/optparse-applicative-0.14.3.0/optparse-applicative.cabal
2019-07-10 21:42:46.940154: [debug] Finished in 16ms: getPackageFiles /tmp/optparse-applicative-0.14.3.0/optparse-applicative.cabal
2019-07-10 21:42:46.944119: [info] optparse-applicative> build (lib)
2019-07-10 21:42:46.944333: [debug] Run process within /tmp/optparse-applicative-0.14.3.0/: /home/kindaro/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1 build lib:optparse-applicative --ghc-options ""
2019-07-10 21:42:47.002830: [info] Preprocessing library for optparse-applicative-0.14.3.0..
2019-07-10 21:42:47.002952: [info] Building library for optparse-applicative-0.14.3.0..
2019-07-10 21:42:47.207733: [info] [ 8 of 16] Compiling Options.Applicative.Help.Core
2019-07-10 21:42:48.092712: [debug] Start: getPackageFiles /tmp/optparse-applicative-0.14.3.0/optparse-applicative.cabal
2019-07-10 21:42:48.120151: [debug] Finished in 27ms: getPackageFiles /tmp/optparse-applicative-0.14.3.0/optparse-applicative.cabal
2019-07-10 21:42:48.123431: [error]
-- While building package optparse-applicative-0.14.3.0 using:
/home/kindaro/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1 build lib:optparse-applicative --ghc-options ""
Process exited with code: ExitFailure (-11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment