Skip to content

Instantly share code, notes, and snippets.

@qxjit
Created December 15, 2022 17:08
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 qxjit/702442014b52aced86a6155aea120ad8 to your computer and use it in GitHub Desktop.
Save qxjit/702442014b52aced86a6155aea120ad8 to your computer and use it in GitHub Desktop.
Verbose output of `stack repl` not respecting `default-language`
Version 2.9.1, Git revision 409d56031b4240221d656db09b2ba476fe6bb5b1 x86_64 hpack-0.35.0
2022-12-15 11:06:14.483184: [debug] Checking for project config at: /home/qxjit/work/heb/stack-bug-test/stack.yaml
2022-12-15 11:06:14.483328: [debug] Loading project config file stack.yaml
2022-12-15 11:06:14.486134: [debug] (SQL) SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2022-12-14 17:06:14.486109085 UTC]
2022-12-15 11:06:14.486406: [debug] Using package location completions from a lock file
2022-12-15 11:06:14.487679: [debug] Loaded snapshot from Pantry database.
2022-12-15 11:06:14.644524: [debug] Running hpack on /home/qxjit/work/heb/stack-bug-test/package.yaml
2022-12-15 11:06:14.646648: [debug] hpack output unchanged in /home/qxjit/work/heb/stack-bug-test/stack-bug-test.cabal
2022-12-15 11:06:14.646781: [debug] Prefetching git repos: []
2022-12-15 11:06:14.646803: [debug] []
2022-12-15 11:06:14.648248: [debug] Asking for a supported GHC version
2022-12-15 11:06:14.648449: [debug] Installed tools:
- ghc-tinfo6-8.8.3
- ghc-tinfo6-9.0.1
- ghc-tinfo6-8.10.3
- ghc-tinfo6-8.8.4
- ghc-tinfo6-8.10.4
- ghc-tinfo6-9.2.5
- ghc-tinfo6-8.10.7
- ghc-tinfo6-8.6.5
- ghc-tinfo6-9.0.2
2022-12-15 11:06:14.648653: [debug] Run process: /sbin/ldconfig -p
2022-12-15 11:06:14.650055: [debug] Process finished in 1ms: /sbin/ldconfig -p
2022-12-15 11:06:14.650296: [debug] Did not find shared library libtinfo.so.5
2022-12-15 11:06:14.650318: [debug] Found shared library libtinfo.so.6 in 'ldconfig -p' output
2022-12-15 11:06:14.650338: [debug] Found shared library libncursesw.so.6 in 'ldconfig -p' output
2022-12-15 11:06:14.650360: [debug] Found shared library libgmp.so.10 in 'ldconfig -p' output
2022-12-15 11:06:14.650395: [debug] Did not find shared library libgmp.so.3
2022-12-15 11:06:14.650409: [debug] Potential GHC builds: tinfo6, ncurses6
2022-12-15 11:06:14.650438: [debug] Found already installed GHC builds: tinfo6
2022-12-15 11:06:14.650523: [debug] (SQL) 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/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-9.2.5"]
2022-12-15 11:06:14.681167: [debug] Loaded compiler information from cache
2022-12-15 11:06:14.681280: [debug] Asking for a supported GHC version
2022-12-15 11:06:14.681302: [debug] Resolving package entries
2022-12-15 11:06:14.681333: [debug] Parsing the targets
2022-12-15 11:06:14.683339: [debug] Checking flags
2022-12-15 11:06:14.683366: [debug] SourceMap constructed
2022-12-15 11:06:14.687525: [debug] Starting to execute command inside EnvConfig
2022-12-15 11:06:14.689080: [debug] Parsing the targets
2022-12-15 11:06:14.689260: [debug] Finding out which packages are already installed
2022-12-15 11:06:14.689331: [debug] Run process: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --global --no-user-package-db dump --expand-pkgroot
2022-12-15 11:06:14.713091: [debug] Process finished in 24ms: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --global --no-user-package-db dump --expand-pkgroot
2022-12-15 11:06:14.731509: [debug] Run process: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/.stack/snapshots/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.745579: [debug] Process finished in 14ms: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/.stack/snapshots/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.745760: [debug] Run process: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/work/heb/stack-bug-test/.stack-work/install/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.761407: [debug] Process finished in 16ms: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/work/heb/stack-bug-test/.stack-work/install/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.761734: [debug] Start: getPackageFiles /home/qxjit/work/heb/stack-bug-test/stack-bug-test.cabal
2022-12-15 11:06:14.763848: [debug] Finished in 2ms: getPackageFiles /home/qxjit/work/heb/stack-bug-test/stack-bug-test.cabal
2022-12-15 11:06:14.764183: [info] Using main module: 1. Package `stack-bug-test' component stack-bug-test:exe:stack-bug-test-exe with main-is file: /home/qxjit/work/heb/stack-bug-test/app/Main.hs
2022-12-15 11:06:14.764220: [debug] Parsing the targets
2022-12-15 11:06:14.764467: [debug] Checking flags
2022-12-15 11:06:14.764487: [debug] SourceMap constructed
2022-12-15 11:06:14.765687: [debug] Finding out which packages are already installed
2022-12-15 11:06:14.765758: [debug] Run process: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --global --no-user-package-db dump --expand-pkgroot
2022-12-15 11:06:14.787772: [debug] Process finished in 22ms: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --global --no-user-package-db dump --expand-pkgroot
2022-12-15 11:06:14.795726: [debug] Run process: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/.stack/snapshots/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.809924: [debug] Process finished in 14ms: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/.stack/snapshots/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.809997: [debug] Run process: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/work/heb/stack-bug-test/.stack-work/install/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.824651: [debug] Process finished in 15ms: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/work/heb/stack-bug-test/.stack-work/install/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.824891: [debug] Constructing the build plan
2022-12-15 11:06:14.825525: [debug] Checking if we are going to build multiple executables with the same name
2022-12-15 11:06:14.825558: [debug] Executing the build plan
2022-12-15 11:06:14.826147: [info] Building all executables for `stack-bug-test' once. After a successful build of all of them, only specified executables will be rebuilt.
2022-12-15 11:06:14.826257: [debug] (SQL) SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "/home/qxjit/work/heb/stack-bug-test/",PersistText "config"]
2022-12-15 11:06:14.826517: [debug] (SQL) SELECT "id", "config_cache_id", "index", "option" FROM "config_cache_dir_option" WHERE ("config_cache_id"=?) ORDER BY "index"; [PersistInt64 1]
2022-12-15 11:06:14.826633: [debug] (SQL) SELECT "id", "config_cache_id", "index", "option" FROM "config_cache_no_dir_option" WHERE ("config_cache_id"=?) ORDER BY "index"; [PersistInt64 1]
2022-12-15 11:06:14.826697: [debug] (SQL) SELECT "id", "config_cache_id", "ghc_pkg_id" FROM "config_cache_dep" WHERE ("config_cache_id"=?); [PersistInt64 1]
2022-12-15 11:06:14.826757: [debug] (SQL) SELECT "id", "config_cache_id", "component" FROM "config_cache_component" WHERE ("config_cache_id"=?); [PersistInt64 1]
2022-12-15 11:06:14.827206: [info] stack-bug-test> initial-build-steps (lib + exe)
2022-12-15 11:06:14.827304: [debug] Run process within /home/qxjit/work/heb/stack-bug-test/: /home/qxjit/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_3.6.3.0_ghc-9.2.5 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0 repl stack-initial-build-steps
2022-12-15 11:06:14.838674: [debug] Process finished in 11ms: /home/qxjit/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_3.6.3.0_ghc-9.2.5 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0 repl stack-initial-build-steps
2022-12-15 11:06:14.838808: [debug] Finding out which packages are already installed
2022-12-15 11:06:14.838901: [debug] Run process: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --global --no-user-package-db dump --expand-pkgroot
2022-12-15 11:06:14.862136: [debug] Process finished in 23ms: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --global --no-user-package-db dump --expand-pkgroot
2022-12-15 11:06:14.869641: [debug] Run process: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/.stack/snapshots/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.883613: [debug] Process finished in 14ms: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/.stack/snapshots/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.883773: [debug] Run process: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/work/heb/stack-bug-test/.stack-work/install/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.898417: [debug] Process finished in 15ms: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/qxjit/work/heb/stack-bug-test/.stack-work/install/x86_64-linux-tinfo6/545fdc110b6e9bf775c6df3b0f830791deed45d71d16849c1fe302fa7682008d/9.2.5/pkgdb dump --expand-pkgroot
2022-12-15 11:06:14.898630: [debug] Start: getPackageFiles /home/qxjit/work/heb/stack-bug-test/stack-bug-test.cabal
2022-12-15 11:06:14.900826: [debug] Finished in 2ms: getPackageFiles /home/qxjit/work/heb/stack-bug-test/stack-bug-test.cabal
2022-12-15 11:06:14.901107: [warn] The following GHC options are incompatible with GHCi and have not been passed to it: -threaded
2022-12-15 11:06:14.901132: [info] Configuring GHCi with the following packages: stack-bug-test
2022-12-15 11:06:14.901283: [warn]
2022-12-15 11:06:14.901301: [warn] * * * * * * * *
2022-12-15 11:06:14.901318: [warn]
Warning: Multiple files use the same module name:
* Paths_stack_bug_test found at the following paths
* /home/qxjit/work/heb/stack-bug-test/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0/build/autogen/Paths_stack_bug_test.hs (stack-bug-test:lib)
* /home/qxjit/work/heb/stack-bug-test/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0/build/stack-bug-test-exe/autogen/Paths_stack_bug_test.hs (stack-bug-test:exe:stack-bug-test-exe)
2022-12-15 11:06:14.901357: [warn] * * * * * * * *
2022-12-15 11:06:14.901371: [warn]
2022-12-15 11:06:14.901426: [debug] Run process: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-9.2.5 --version
2022-12-15 11:06:14.929294: [debug] Process finished in 28ms: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-9.2.5 --version
2022-12-15 11:06:14.929453: [debug] Run process within /home/qxjit/work/heb/stack-bug-test/: /home/qxjit/.stack/programs/x86_64-linux/ghc-tinfo6-9.2.5/bin/ghc-9.2.5 --interactive -i -odir=/home/qxjit/work/heb/stack-bug-test/.stack-work/odir -hidir=/home/qxjit/work/heb/stack-bug-test/.stack-work/odir -hide-all-packages -i/home/qxjit/work/heb/stack-bug-test/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0/build -i/home/qxjit/work/heb/stack-bug-test/src -i/home/qxjit/work/heb/stack-bug-test/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0/build/autogen -i/home/qxjit/work/heb/stack-bug-test/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0/build/global-autogen -stubdir=/home/qxjit/work/heb/stack-bug-test/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0/build -package-id=base-4.16.4.0 -i/home/qxjit/work/heb/stack-bug-test/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0/build/stack-bug-test-exe -i/home/qxjit/work/heb/stack-bug-test/app -i/home/qxjit/work/heb/stack-bug-test/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0/build/stack-bug-test-exe/autogen -i/home/qxjit/work/heb/stack-bug-test/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0/build/stack-bug-test-exe/stack-bug-test-exe-tmp -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -rtsopts -with-rtsopts=-N -optP-include -optP/home/qxjit/work/heb/stack-bug-test/.stack-work/ghci/d0f18185/cabal_macros.h -ghci-script=/tmp/haskell-stack-ghci/5e65fc8b/ghci-script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment