commercialhaskell / stack

The Haskell Tool Stack
http://haskellstack.org
BSD 3-Clause "New" or "Revised" License
3.98k stars 845 forks source link

Dynamically linked stack release binaries aren't really compatible with stack --docker #4087

Open nh2 opened 6 years ago

nh2 commented 6 years ago

Summary

stack --docker doesn't work reliably across Linux distributions because stack is no longer statically linked.

Why we don't have statically linked executables at the moment

In the past, we provided statically linked stack executables. Those worked fine with stack --docker.

We used Alpine Linux to create these stack executables. Unforunately, Alpine Linux doesn't work with GHC >= 8.2 (see https://github.com/commercialhaskell/stack/issues/2387, https://github.com/channable/vaultenv/issues/43#issuecomment-390116575, and https://github.com/alpinelinux/aports/pull/4255).

Stack 1.7 requires GHC >= 8.2. So we don't have staically linked executables for that.

We needed Alpine Linux to create the executables because it provided a full musl based toolchain (musl is a replacement for glibc, and glibc pretty much forbids static linking)

Why static linking is needed for stack --docker to work

When you use stack --docker build, the outer stack executable is re-executed inside the docker container.

If that executable is dynamically linked, and the outer libc is a different version than the inner libc, then stack will fail to run in the container.

Right now, the linked-dynamicall-against-libc generic stack installer we provide works on many Linux distributions, and it works in docker images such as fpco/stack-build:lts-11.13 which is what stack docker pull pulls. But it doesn't work on all distributions, and for those where it doesn't, stack --docker support is completely broken right now. Further, as soon as some distro (like Arch) will advance to an incompatible libc earlier than other distros (e.g. Ubuntu), the generic installer will also stop working nicely.

How it fails

It doesn't fail with a nice error message, leaving the user in doubt:

$ stack --docker build
Received ExitFailure 127 when running

Proposed solution

We need to

Scope

This ticket is specifically for stack --docker problems; I'll file a separate issue (https://github.com/commercialhaskell/stack/issues/4088) about getting statically linked stack back, as that is desiable also for other reasons than Docker.

nh2 commented 6 years ago

Here is a full log of me installing Arch Linux in a vagrant VM, installing stack and Docker, and trying to use Arch's own stack (obtained via pacman) to run stack --docker build.

This does not capture the problem from the issue description precisely, as here the problem is not glibc, but the fact that Arch links stack fully-dynamically (so we get the error /tmp/stack: error while loading shared libraries: libHSstack-1.7.1-7u6zix21rTfHmao1C2GDj1-ghc8.4.3.so: cannot open shared object file: No such file or directory).

But it demonstrates the concept; a glibc mismatch would fail similarly.

Quick command overview:

vagrant init archlinux/archlinux
vagrant up   # ignoring shared folder mount error due to guest additions version mismatch
vagrant ssh
sudo pacman -Syy
sudo pacman -S stack docker
systemctl start docker.service
sudo usermod -aG docker vagrant
exit
vagrant ssh
stack new stack-docker-test
cd stack-docker-test
stack docker pull
stack --docker build

Details and output:

``` niklas@ares /raid/tmp % mkdir archlinux-vagrant niklas@ares /raid/tmp % cd archlinux-vagrant niklas@ares /raid/tmp/archlinux-vagrant % vagrant init archlinux/archlinux A `Vagrantfile` has been placed in this directory. You are now ready to `vagrant up` your first virtual environment! Please read the comments in the Vagrantfile as well as documentation on `vagrantup.com` for more information on using Vagrant. niklas@ares /raid/tmp/archlinux-vagrant % vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'archlinux/archlinux' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Loading metadata for box 'archlinux/archlinux' default: URL: https://vagrantcloud.com/archlinux/archlinux ==> default: Adding box 'archlinux/archlinux' (v2018.06.05) for provider: virtualbox default: Downloading: https://vagrantcloud.com/archlinux/boxes/archlinux/versions/2018.06.05/providers/virtualbox.box ==> default: Successfully added box 'archlinux/archlinux' (v2018.06.05) for 'virtualbox'! ==> default: Importing base box 'archlinux/archlinux'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'archlinux/archlinux' is up to date... ==> default: Setting the name of the VM: archlinux-vagrant_default_1528976754323_91760 ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key :paranoid is deprecated, please use :verify_host_key. Supported values are exactly the same, only the name of the option has changed. :paranoid is deprecated, please use :verify_host_key. Supported values are exactly the same, only the name of the option has changed. default: default: Vagrant insecure key detected. Vagrant will automatically replace default: this with a newly generated keypair for better security. default: default: Inserting generated public key within guest... default: Removing insecure key from the guest if it's present... default: Key inserted! Disconnecting and reconnecting using new SSH key... :paranoid is deprecated, please use :verify_host_key. Supported values are exactly the same, only the name of the option has changed. ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... default: The guest additions on this VM do not match the installed version of default: VirtualBox! In most cases this is fine, but in rare cases it can default: prevent things such as shared folders from working properly. If you see default: shared folder errors, please make sure the guest additions within the default: virtual machine match the version of VirtualBox you have installed on default: your host and reload your VM. default: default: Guest Additions Version: 5.2.12 default: VirtualBox Version: 5.1 ==> default: Mounting shared folders... default: /vagrant => /raid/tmp/archlinux-vagrant Failed to mount folders in Linux guest. This is usually because the "vboxsf" file system is not available. Please verify that the guest additions are properly installed in the guest and can work properly. The command attempted was: mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` vagrant /vagrant mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant The error output from the last command was: mount.vboxsf cannot be used with mainline vboxsf; instead use: mount -cit vboxsf NAME MOUNTPOINT vagrant up 5.56s user 3.52s system 4% cpu 3:32.19 total 1 niklas@ares /raid/tmp/archlinux-vagrant % vagrant ssh [vagrant@archlinux ~]$ curl -sSL https://get.haskellstack.org/ | sh Detected Linux distribution: arch This installer doesn't support your Linux distribution, trying generic bindist... main: line 67: arch: command not found main: line 69: arch: command not found main: line 67: arch: command not found main: line 69: arch: command not found % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 621 0 621 0 0 1169 0 --:--:-- --:--:-- --:--:-- 1169 100 13.3M 100 13.3M 0 0 2570k 0 0:00:05 0:00:05 --:--:-- 2900k Installing Stack to: /usr/local/bin/stack... ------------------------------------------------------------------------------- Stack has been installed to: /usr/local/bin/stack Since this installer doesn't support your Linux distribution, there is no guarantee that 'stack' will work at all! You may need to manually install some system info dependencies for GHC: gcc, make, libffi, zlib, libgmp and libtinfo Please see http://docs.haskellstack.org/en/stable/install_and_upgrade/ Pull requests to add support for this distro would be welcome! WARNING: '/home/vagrant/.local/bin' is not on your PATH. For best results, please add it to the beginning of PATH in your profile. [vagrant@archlinux ~]$ ls /home/vagrant/.local/bin ls: cannot access '/home/vagrant/.local/bin': No such file or directory [vagrant@archlinux ~]$ ^C [vagrant@archlinux ~]$ /usr/local/bin/stack ^C [vagrant@archlinux ~]$ sta stack stat [vagrant@archlinux ~]$ stack stack - The Haskell Tool Stack Usage: stack [--help] [--version] [--numeric-version] [--hpack-numeric-version] [--docker*] [--nix*] ([--verbosity VERBOSITY] | [-v|--verbose] | [--silent]) [--[no-]time-in-log] [--stack-root STACK-ROOT] [--work-dir WORK-DIR] [--[no-]system-ghc] [--[no-]install-ghc] [--arch ARCH] [--ghc-variant VARIANT] [--ghc-build BUILD] [-j|--jobs JOBS] [--extra-include-dirs DIR] [--extra-lib-dirs DIR] [--with-gcc PATH-TO-GCC] [--with-hpack HPACK] [--[no-]skip-ghc-check] [--[no-]skip-msys] [--local-bin-path DIR] [--[no-]modify-code-page] [--[no-]allow-different-user] [--[no-]dump-logs] [--resolver RESOLVER] [--compiler COMPILER] [--[no-]terminal] [--color WHEN] [--terminal-width INT] [--stack-yaml STACK-YAML] COMMAND|FILE Available options: --help Show this help text --version Show version --numeric-version Show only version number --hpack-numeric-version Show only hpack's version number --docker* Run 'stack --docker-help' for details --nix* Run 'stack --nix-help' for details --verbosity VERBOSITY Verbosity: silent, error, warn, info, debug -v,--verbose Enable verbose mode: verbosity level "debug" --silent Enable silent mode: verbosity level "silent" --[no-]time-in-log Enable/disable inclusion of timings in logs, for the purposes of using diff with logs --stack-root STACK-ROOT Absolute path to the global stack root directory (Overrides any STACK_ROOT environment variable) --work-dir WORK-DIR Relative path of work directory (Overrides any STACK_WORK environment variable, default is '.stack-work') --[no-]system-ghc Enable/disable using the system installed GHC (on the PATH) if it is available and its version matches. Disabled by default. --[no-]install-ghc Enable/disable downloading and installing GHC if necessary (can be done manually with stack setup) --arch ARCH System architecture, e.g. i386, x86_64 --ghc-variant VARIANT Specialized GHC variant, e.g. integersimple (incompatible with --system-ghc) --ghc-build BUILD Specialized GHC build, e.g. 'gmp4' or 'standard' (usually auto-detected) -j,--jobs JOBS Number of concurrent jobs to run --extra-include-dirs DIR Extra directories to check for C header files --extra-lib-dirs DIR Extra directories to check for libraries --with-gcc PATH-TO-GCC Use gcc found at PATH-TO-GCC --with-hpack HPACK Use HPACK executable (overrides bundled Hpack) --[no-]skip-ghc-check Enable/disable skipping the GHC version and architecture check --[no-]skip-msys Enable/disable skipping the local MSYS installation (Windows only) --local-bin-path DIR Install binaries to DIR --[no-]modify-code-page Enable/disable setting the codepage to support UTF-8 (Windows only) --[no-]allow-different-user Enable/disable permission for users other than the owner of the stack root directory to use a stack installation (POSIX only) --[no-]dump-logs Enable/disable dump the build output logs for local packages to the console --resolver RESOLVER Override resolver in project file --compiler COMPILER Use the specified compiler --[no-]terminal Enable/disable overriding terminal detection in the case of running in a false terminal --color WHEN Specify when to use color in output; WHEN is 'always', 'never', or 'auto' --terminal-width INT Specify the width of the terminal, used for pretty-print messages --stack-yaml STACK-YAML Override project stack.yaml file (overrides any STACK_YAML environment variable) Available commands: build Build the package(s) in this directory/configuration install Shortcut for 'build --copy-bins' uninstall DEPRECATED: This command performs no actions, and is present for documentation only test Shortcut for 'build --test' bench Shortcut for 'build --bench' haddock Shortcut for 'build --haddock' new Create a new project from a template. Run `stack templates' to see available templates. Note: you can also specify a local file or a remote URL as a template. templates List the templates available for `stack new'. Templates are drawn from https://github.com/commercialhaskell/stack-templates Note: `stack new' can also accept a template from a local file or a remote URL. init Create stack project config from cabal or hpack package specifications solver Add missing extra-deps to stack project config setup Get the appropriate GHC for your project path Print out handy path information ls List command. (Supports snapshots and dependencies) unpack Unpack one or more packages locally update Update the package index upgrade Upgrade to the latest stack upload Upload a package to Hackage sdist Create source distribution tarballs dot Visualize your project's dependency graph using Graphviz dot ghc Run ghc hoogle Run hoogle, the Haskell API search engine. Use 'stack exec' syntax to pass Hoogle arguments, e.g. stack hoogle -- --count=20 exec Execute a command ghci Run ghci in the context of package(s) (experimental) repl Run ghci in the context of package(s) (experimental) (alias for 'ghci') runghc Run runghc runhaskell Run runghc (alias for 'runghc') script Run a Stack Script eval Evaluate some haskell code inline. Shortcut for 'stack exec ghc -- -e CODE' clean Clean the local packages list-dependencies List the dependencies query Query general build information (experimental) ide IDE-specific commands docker Subcommands specific to Docker use config Subcommands specific to modifying stack.yaml files image Subcommands specific to imaging hpc Subcommands specific to Haskell Program Coverage stack's documentation is available at https://docs.haskellstack.org/ [vagrant@archlinux ~]$ ldd stack ldd: ./stack: No such file or directory [vagrant@archlinux ~]$ ldd $(which stack) linux-vdso.so.1 (0x00007ffe6cb8f000) libm.so.6 => /usr/lib/libm.so.6 (0x00007fef7d60b000) libz.so.1 => /usr/lib/libz.so.1 (0x00007fef7d3f4000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fef7d1d6000) librt.so.1 => /usr/lib/librt.so.1 (0x00007fef7cfce000) libutil.so.1 => /usr/lib/libutil.so.1 (0x00007fef7cdcb000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fef7cbc7000) libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007fef7c934000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fef7c71c000) libc.so.6 => /usr/lib/libc.so.6 (0x00007fef7c360000) /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fef7d9a0000) [vagrant@archlinux ~]$ ^C /home/vagrant/.local/bin [vagrant@archlinux ~]$ rm $(which stack) rm: remove write-protected regular file '/usr/local/bin/stack'? y rm: cannot remove '/usr/local/bin/stack': Permission denied [vagrant@archlinux ~]$ sudo rm $(which stack) [vagrant@archlinux ~]$ sudo pacman -S stack resolving dependencies... looking for conflicting packages... Packages (174) ghc-libs-8.4.3-1 haskell-aeson-1.3.1.1-13 haskell-aeson-compat-0.3.7.1-41 haskell-annotated-wl-pprint-0.7.0-8 haskell-ansi-terminal-0.8.0.4-5 haskell-ansi-wl-pprint-0.6.8.2-8 haskell-asn1-encoding-0.9.5-53 haskell-asn1-parse-0.9.4-64 haskell-asn1-types-0.3.2-60 haskell-async-2.2.1-2 haskell-attoparsec-0.13.2.2-22 haskell-attoparsec-iso8601-1.0.0.0-38 haskell-auto-update-0.1.4-8 haskell-base-compat-0.10.1-2 haskell-base-orphans-0.7-5 haskell-base-prelude-1.2.1-3 haskell-base16-bytestring-0.1.1.6-9 haskell-base64-bytestring-1.0.0.1-12 haskell-basement-0.0.7-3 haskell-bifunctors-5.5.2-19 haskell-bindings-uname-0.1-6 haskell-bitarray-0.0.1.1-7 haskell-blaze-builder-0.4.1.0-3 haskell-blaze-html-0.9.0.1-22 haskell-blaze-markup-0.8.2.1-9 haskell-byteable-0.1.1-9 haskell-call-stack-0.1.0-7 haskell-case-insensitive-1.2.0.11-3 haskell-cereal-0.5.5.0-3 haskell-clock-0.7.2-8 haskell-cmdargs-0.10.20-3 haskell-colour-2.3.4-8 haskell-comonad-5.0.3-10 haskell-conduit-1.3.0.2-12 haskell-conduit-extra-1.3.0-14 haskell-connection-0.2.8-77 haskell-contravariant-1.4.1-6 haskell-cookie-0.4.4-3 haskell-cpphs-1.20.8-9 haskell-cryptohash-0.11.9-63 haskell-cryptohash-sha256-0.11.101.0-4 haskell-cryptonite-0.25-7 haskell-cryptonite-conduit-0.2.2-68 haskell-data-default-class-0.1.2.0-8 haskell-digest-0.0.1.2-9 haskell-distributive-0.5.3-11 haskell-dlist-0.8.0.4-5 haskell-easy-file-0.2.2-3 haskell-echo-0.1.3-6 haskell-ed25519-0.0.5.0-8 haskell-either-5-56 haskell-exceptions-0.10.0-4 haskell-extra-1.6.8-4 haskell-fast-logger-2.4.11-6 haskell-file-embed-0.0.10.1-5 haskell-filelock-0.1.1.2-6 haskell-foundation-0.0.20-13 haskell-free-5.0.2-12 haskell-fsnotify-0.2.1.2-2 haskell-generic-deriving-1.12.1-14 haskell-gitrev-1.3.1-7 haskell-glob-0.9.2-6 haskell-hackage-security-0.5.3.0-11 haskell-hashable-1.2.7.0-3 haskell-hinotify-0.3.10-2 haskell-hourglass-0.2.11-15 haskell-hpack-0.28.2-18 haskell-hspec-2.5.1-9 haskell-hspec-core-2.5.1-8 haskell-hspec-discover-2.5.1-3 haskell-hspec-expectations-0.8.2-8 haskell-hspec-smallcheck-0.5.2-12 haskell-http-api-data-0.3.8.1-20 haskell-http-client-0.5.12.1-13 haskell-http-client-tls-0.3.5.3-47 haskell-http-conduit-2.3.1-18 haskell-http-types-0.12.1-9 haskell-hunit-1.6.0.0-7 haskell-integer-logarithms-1.0.2.1-3 haskell-lifted-base-0.2.3.12-7 haskell-logict-0.6.0.2-8 haskell-math-functions-0.2.1.0-11 haskell-memory-0.14.16-13 haskell-microlens-0.4.9.1-3 haskell-microlens-th-0.4.2.1-4 haskell-mime-types-0.1.0.7-11 haskell-mintty-0.1.2-2 haskell-monad-control-1.0.2.3-7 haskell-monad-logger-0.3.28.5-20 haskell-monad-loops-0.4.3-9 haskell-mono-traversable-1.0.8.1-28 haskell-mustache-2.3.0-14 haskell-mwc-random-0.13.6.0-9 haskell-neat-interpolation-0.3.2.1-7 haskell-network-2.6.3.5-12 haskell-network-uri-2.6.1.0-13 haskell-old-locale-1.0.0.7-14 haskell-old-time-1.1.0.3-14 haskell-open-browser-0.2.1.0-9 haskell-optparse-applicative-0.14.2.0-7 haskell-optparse-simple-0.1.0-12 haskell-path-0.6.1-45 haskell-path-io-1.3.3-42 haskell-path-pieces-0.2.1-14 haskell-pem-0.2.4-13 haskell-persistent-2.8.2-16 haskell-persistent-sqlite-2.8.1.2-16 haskell-persistent-template-2.5.4-40 haskell-polyparse-1.12-11 haskell-primitive-0.6.4.0-1 haskell-profunctors-5.2.2-22 haskell-project-template-0.2.0.1-44 haskell-quickcheck-2.11.3-4 haskell-quickcheck-io-0.2.0-12 haskell-random-1.1-12 haskell-regex-applicative-0.3.3-8 haskell-regex-applicative-text-0.1.0.1-10 haskell-resource-pool-0.2.3.2-35 haskell-resourcet-1.2.1-10 haskell-retry-0.7.6.2-20 haskell-rio-0.1.2.0-12 haskell-safe-0.3.17-2 haskell-scientific-0.3.6.2-6 haskell-semigroupoids-5.2.2-27 haskell-setenv-0.1.1.3-9 haskell-silently-1.2.5-9 haskell-smallcheck-1.1.4-3 haskell-socks-0.5.6-19 haskell-split-0.2.3.3-5 haskell-src-exts-1.20.2-12 haskell-src-meta-0.8.0.2-24 haskell-statevar-1.1.1.0-3 haskell-stm-chans-3.0.0.4-11 haskell-store-0.4.3.2-98 haskell-store-core-0.4.3-2 haskell-streaming-commons-0.2.0.0-9 haskell-syb-0.7-6 haskell-tagged-0.8.5-8 haskell-tar-0.5.1.0-3 haskell-temporary-1.3-4 haskell-text-metrics-0.3.0-10 haskell-tf-random-0.5-19 haskell-th-abstraction-0.2.6.0-5 haskell-th-expand-syns-0.4.4.0-3 haskell-th-lift-0.7.10-3 haskell-th-lift-instances-0.1.11-18 haskell-th-orphans-0.13.5-19 haskell-th-reify-many-0.1.8-10 haskell-th-utilities-0.2.0.1-42 haskell-time-locale-compat-0.1.1.4-3 haskell-tls-1.4.1-22 haskell-transformers-base-0.4.5.2-5 haskell-transformers-compat-0.6.2-2 haskell-typed-process-0.2.2.0-11 haskell-unicode-transforms-0.3.4-3 haskell-unix-compat-0.5.0.1-3 haskell-unix-time-0.3.8-3 haskell-unliftio-0.2.7.0-10 haskell-unliftio-core-0.1.1.0-3 haskell-unordered-containers-0.2.9.0-8 haskell-uri-bytestring-0.3.2.0-5 haskell-uuid-types-1.0.3-15 haskell-vector-0.12.0.1-10 haskell-vector-algorithms-0.7.0.1-15 haskell-vector-th-unbox-0.2.1.6-12 haskell-void-0.7.2-9 haskell-x509-1.7.3-17 haskell-x509-store-1.6.6-16 haskell-x509-system-1.6.6-45 haskell-x509-validation-1.6.10-16 haskell-yaml-0.8.30-17 haskell-zip-archive-0.3.2.5-4 haskell-zlib-0.6.2-3 stack-1.7.1-21 Total Download Size: 48.87 MiB Total Installed Size: 420.99 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... ghc-libs-8.4.3-1-x86_64 22.3 MiB 6.22M/s 00:04 [##################################################################] 100% haskell-hashable-1.2.7.0-3-x86_64 64.9 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-integer-logarithms-1.0.2.1-3-x86_64 24.9 KiB 8.11M/s 00:00 [##################################################################] 100% haskell-primitive-0.6.4.0-1-x86_64 206.8 KiB 67.3M/s 00:00 [##################################################################] 100% haskell-scientific-0.3.6.2-6-x86_64 88.0 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-attoparsec-0.13.2.2-22-x86_64 310.6 KiB 30.3M/s 00:00 [##################################################################] 100% haskell-base-compat-0.10.1-2-x86_64 66.3 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-dlist-0.8.0.4-5-x86_64 25.9 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-transformers-compat-0.6.2-2-x86_64 55.6 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-tagged-0.8.5-8-x86_64 48.3 KiB 15.7M/s 00:00 [##################################################################] 100% haskell-th-abstraction-0.2.6.0-5-x86_64 111.0 KiB 27.1M/s 00:00 [##################################################################] 100% haskell-time-locale-compat-0.1.1.4-3-x86_64 6.9 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-unordered-containers-0.2.9.0-8-x86_64 133.2 KiB 43.4M/s 00:00 [##################################################################] 100% haskell-random-1.1-12-x86_64 74.5 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-uuid-types-1.0.3-15-x86_64 51.7 KiB 12.6M/s 00:00 [##################################################################] 100% haskell-vector-0.12.0.1-10-x86_64 716.2 KiB 2.91M/s 00:00 [##################################################################] 100% haskell-aeson-1.3.1.1-13-x86_64 768.6 KiB 44.2M/s 00:00 [##################################################################] 100% haskell-annotated-wl-pprint-0.7.0-8-x86_64 37.8 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-colour-2.3.4-8-x86_64 134.3 KiB 21.9M/s 00:00 [##################################################################] 100% haskell-ansi-terminal-0.8.0.4-5-x86_64 94.9 KiB 30.9M/s 00:00 [##################################################################] 100% haskell-async-2.2.1-2-x86_64 43.8 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-base64-bytestring-1.0.0.1-12-x86_64 27.6 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-exceptions-0.10.0-4-x86_64 61.7 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-split-0.2.3.3-5-x86_64 32.9 KiB 10.7M/s 00:00 [##################################################################] 100% haskell-vector-th-unbox-0.2.1.6-12-x86_64 19.5 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-math-functions-0.2.1.0-11-x86_64 150.8 KiB 36.8M/s 00:00 [##################################################################] 100% haskell-mwc-random-0.13.6.0-9-x86_64 139.2 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-vector-algorithms-0.7.0.1-15-x86_64 251.7 KiB 0.00B/s 00:00 [##################################################################] 100% error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.cat.net : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.tuna.tsinghua.edu.cn : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.atviras.lt : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.wbs.co.za : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.nus.edu.sg : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from archlinux.cu.be : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from archlinux.nautile.nc : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.arnoldthebat.co.uk : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from arch.mirror.constant.com : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from archlinux.nullpointer.io : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from br.mirror.archlinux-br.org : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.isoc.org.il : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from archlinux.mirror.wearetriple.com : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from www.gtlib.gatech.edu : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from arch.petarmaric.com : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from ftp.sh.cvut.cz : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.onet.pl : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.xmission.com : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.truenetwork.ru : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.neostrada.nl : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.t-home.mk : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.dal10.us.leaseweb.net : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from ftp.fi.muni.cz : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from osl.ugr.es : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from artfiles.org : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.liquidweb.com : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.cse.iitk.ac.in : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.is.co.za : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.lnx.sk : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.myaegean.gr : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from ftp.linux.org.tr : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.ukfast.co.uk : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.as65535.net : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.easyname.at : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.acm.wpi.edu : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from archlinux.zepto.cloud : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.lastmikoi.net : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.rutgers.edu : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from ftp.yzu.edu.tw : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from archlinux.ip-connect.vn.ua : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from arch.midov.pl : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from ftp.myrveln.se : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from ftp.ntua.gr : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.nav.ro : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.dkm.cz : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.wdc1.us.leaseweb.net : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from archlinux.de-labrusse.fr : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.i3d.net : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirror.rackspace.com : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from mirrors.rit.edu : The requested URL returned error: 404 error: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from ca.us.mirror.archlinux-br.org : The requested URL returned error: 404 ^Cerror: failed retrieving file 'haskell-mono-traversable-1.0.8.1-28-x86_64.pkg.tar.xz' from arch.tamcore.eu : The requested URL returned error: 404 Interrupt signal received [vagrant@archlinux ~]$ sudo pacman -Su :: Starting full system upgrade... there is nothing to do [vagrant@archlinux ~]$ sudo pacman -Syy :: Synchronizing package databases... core 129.8 KiB 162K/s 00:01 [##################################################################] 100% extra 1640.1 KiB 1758K/s 00:01 [##################################################################] 100% community 4.4 MiB 7.13M/s 00:01 [##################################################################] 100% [vagrant@archlinux ~]$ sudo pacman -S stack resolving dependencies... looking for conflicting packages... Packages (174) ghc-libs-8.4.3-1 haskell-aeson-1.3.1.1-13 haskell-aeson-compat-0.3.8-1 haskell-annotated-wl-pprint-0.7.0-8 haskell-ansi-terminal-0.8.0.4-5 haskell-ansi-wl-pprint-0.6.8.2-8 haskell-asn1-encoding-0.9.5-53 haskell-asn1-parse-0.9.4-64 haskell-asn1-types-0.3.2-60 haskell-async-2.2.1-2 haskell-attoparsec-0.13.2.2-22 haskell-attoparsec-iso8601-1.0.0.0-38 haskell-auto-update-0.1.4-8 haskell-base-compat-0.10.1-2 haskell-base-orphans-0.7-5 haskell-base-prelude-1.3-1 haskell-base16-bytestring-0.1.1.6-9 haskell-base64-bytestring-1.0.0.1-12 haskell-basement-0.0.7-3 haskell-bifunctors-5.5.2-19 haskell-bindings-uname-0.1-6 haskell-bitarray-0.0.1.1-7 haskell-blaze-builder-0.4.1.0-3 haskell-blaze-html-0.9.1.0-1 haskell-blaze-markup-0.8.2.1-9 haskell-byteable-0.1.1-9 haskell-call-stack-0.1.0-7 haskell-case-insensitive-1.2.0.11-3 haskell-cereal-0.5.5.0-3 haskell-clock-0.7.2-8 haskell-cmdargs-0.10.20-3 haskell-colour-2.3.4-8 haskell-comonad-5.0.3-10 haskell-conduit-1.3.0.2-13 haskell-conduit-extra-1.3.0-16 haskell-connection-0.2.8-78 haskell-contravariant-1.4.1-6 haskell-cookie-0.4.4-3 haskell-cpphs-1.20.8-9 haskell-cryptohash-0.11.9-63 haskell-cryptohash-sha256-0.11.101.0-4 haskell-cryptonite-0.25-7 haskell-cryptonite-conduit-0.2.2-70 haskell-data-default-class-0.1.2.0-8 haskell-digest-0.0.1.2-9 haskell-distributive-0.5.3-11 haskell-dlist-0.8.0.4-5 haskell-easy-file-0.2.2-3 haskell-echo-0.1.3-6 haskell-ed25519-0.0.5.0-8 haskell-either-5-56 haskell-exceptions-0.10.0-4 haskell-extra-1.6.8-4 haskell-fast-logger-2.4.11-6 haskell-file-embed-0.0.10.1-5 haskell-filelock-0.1.1.2-6 haskell-foundation-0.0.20-13 haskell-free-5.0.2-12 haskell-fsnotify-0.2.1.2-2 haskell-generic-deriving-1.12.1-14 haskell-gitrev-1.3.1-7 haskell-glob-0.9.2-6 haskell-hackage-security-0.5.3.0-12 haskell-hashable-1.2.7.0-3 haskell-hinotify-0.3.10-2 haskell-hourglass-0.2.11-15 haskell-hpack-0.28.2-21 haskell-hspec-2.5.1-9 haskell-hspec-core-2.5.1-8 haskell-hspec-discover-2.5.1-3 haskell-hspec-expectations-0.8.2-8 haskell-hspec-smallcheck-0.5.2-12 haskell-http-api-data-0.3.8.1-20 haskell-http-client-0.5.13-1 haskell-http-client-tls-0.3.5.3-49 haskell-http-conduit-2.3.1-21 haskell-http-types-0.12.1-9 haskell-hunit-1.6.0.0-7 haskell-integer-logarithms-1.0.2.1-3 haskell-lifted-base-0.2.3.12-7 haskell-logict-0.6.0.2-8 haskell-math-functions-0.2.1.0-11 haskell-memory-0.14.16-13 haskell-microlens-0.4.9.1-3 haskell-microlens-th-0.4.2.1-4 haskell-mime-types-0.1.0.7-11 haskell-mintty-0.1.2-2 haskell-monad-control-1.0.2.3-7 haskell-monad-logger-0.3.28.5-22 haskell-monad-loops-0.4.3-9 haskell-mono-traversable-1.0.8.1-29 haskell-mustache-2.3.0-17 haskell-mwc-random-0.13.6.0-9 haskell-neat-interpolation-0.3.2.1-8 haskell-network-2.7.0.0-1 haskell-network-uri-2.6.1.0-13 haskell-old-locale-1.0.0.7-14 haskell-old-time-1.1.0.3-14 haskell-open-browser-0.2.1.0-9 haskell-optparse-applicative-0.14.2.0-7 haskell-optparse-simple-0.1.0-12 haskell-path-0.6.1-45 haskell-path-io-1.3.3-42 haskell-path-pieces-0.2.1-14 haskell-pem-0.2.4-13 haskell-persistent-2.8.2-19 haskell-persistent-sqlite-2.8.1.2-20 haskell-persistent-template-2.5.4-44 haskell-polyparse-1.12-11 haskell-primitive-0.6.4.0-1 haskell-profunctors-5.2.2-22 haskell-project-template-0.2.0.1-46 haskell-quickcheck-2.11.3-4 haskell-quickcheck-io-0.2.0-12 haskell-random-1.1-12 haskell-regex-applicative-0.3.3-8 haskell-regex-applicative-text-0.1.0.1-10 haskell-resource-pool-0.2.3.2-35 haskell-resourcet-1.2.1-10 haskell-retry-0.7.6.2-20 haskell-rio-0.1.2.0-12 haskell-safe-0.3.17-2 haskell-scientific-0.3.6.2-6 haskell-semigroupoids-5.2.2-27 haskell-setenv-0.1.1.3-9 haskell-silently-1.2.5-9 haskell-smallcheck-1.1.4-3 haskell-socks-0.5.6-20 haskell-split-0.2.3.3-5 haskell-src-exts-1.20.2-12 haskell-src-meta-0.8.0.2-24 haskell-statevar-1.1.1.0-3 haskell-stm-chans-3.0.0.4-11 haskell-store-0.4.3.2-100 haskell-store-core-0.4.3-2 haskell-streaming-commons-0.2.0.0-10 haskell-syb-0.7-6 haskell-tagged-0.8.5-8 haskell-tar-0.5.1.0-3 haskell-temporary-1.3-4 haskell-text-metrics-0.3.0-10 haskell-tf-random-0.5-19 haskell-th-abstraction-0.2.6.0-5 haskell-th-expand-syns-0.4.4.0-3 haskell-th-lift-0.7.10-3 haskell-th-lift-instances-0.1.11-18 haskell-th-orphans-0.13.5-19 haskell-th-reify-many-0.1.8-10 haskell-th-utilities-0.2.0.1-42 haskell-time-locale-compat-0.1.1.4-3 haskell-tls-1.4.1-23 haskell-transformers-base-0.4.5.2-5 haskell-transformers-compat-0.6.2-2 haskell-typed-process-0.2.2.0-11 haskell-unicode-transforms-0.3.4-3 haskell-unix-compat-0.5.0.1-3 haskell-unix-time-0.3.8-3 haskell-unliftio-0.2.7.0-10 haskell-unliftio-core-0.1.1.0-3 haskell-unordered-containers-0.2.9.0-8 haskell-uri-bytestring-0.3.2.0-5 haskell-uuid-types-1.0.3-15 haskell-vector-0.12.0.1-10 haskell-vector-algorithms-0.7.0.1-15 haskell-vector-th-unbox-0.2.1.6-12 haskell-void-0.7.2-9 haskell-x509-1.7.3-17 haskell-x509-store-1.6.6-16 haskell-x509-system-1.6.6-45 haskell-x509-validation-1.6.10-16 haskell-yaml-0.8.30-18 haskell-zip-archive-0.3.2.5-4 haskell-zlib-0.6.2-3 stack-1.7.1-27 Total Download Size: 22.88 MiB Total Installed Size: 421.07 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... haskell-mono-traversable-1.0.8.1-29-x86_64 350.9 KiB 304K/s 00:01 [##################################################################] 100% haskell-unliftio-core-0.1.1.0-3-x86_64 17.8 KiB 2.48M/s 00:00 [##################################################################] 100% haskell-resourcet-1.2.1-10-x86_64 66.9 KiB 2.18M/s 00:00 [##################################################################] 100% haskell-conduit-1.3.0.2-13-x86_64 257.6 KiB 1982K/s 00:00 [##################################################################] 100% haskell-network-2.7.0.0-1-x86_64 237.0 KiB 2.05M/s 00:00 [##################################################################] 100% haskell-zlib-0.6.2-3-x86_64 114.5 KiB 2.24M/s 00:00 [##################################################################] 100% haskell-streaming-commons-0.2.0.0-10-x86_64 157.8 KiB 2.00M/s 00:00 [##################################################################] 100% haskell-typed-process-0.2.2.0-11-x86_64 54.0 KiB 2002K/s 00:00 [##################################################################] 100% haskell-conduit-extra-1.3.0-16-x86_64 132.6 KiB 2.16M/s 00:00 [##################################################################] 100% haskell-basement-0.0.7-3-x86_64 764.1 KiB 1725K/s 00:00 [##################################################################] 100% haskell-foundation-0.0.20-13-x86_64 769.0 KiB 4.34M/s 00:00 [##################################################################] 100% haskell-memory-0.14.16-13-x86_64 185.3 KiB 5.48M/s 00:00 [##################################################################] 100% haskell-cryptonite-0.25-7-x86_64 1271.9 KiB 3.76M/s 00:00 [##################################################################] 100% haskell-cryptonite-conduit-0.2.2-70-x86_64 33.3 KiB 10.8M/s 00:00 [##################################################################] 100% haskell-echo-0.1.3-6-x86_64 17.5 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-clock-0.7.2-8-x86_64 40.0 KiB 9.76M/s 00:00 [##################################################################] 100% haskell-extra-1.6.8-4-x86_64 108.1 KiB 10.6M/s 00:00 [##################################################################] 100% haskell-file-embed-0.0.10.1-5-x86_64 25.6 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-filelock-0.1.1.2-6-x86_64 20.8 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-hinotify-0.3.10-2-x86_64 57.4 KiB 8.01M/s 00:00 [##################################################################] 100% haskell-old-locale-1.0.0.7-14-x86_64 25.9 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-old-time-1.1.0.3-14-x86_64 71.5 KiB 23.3M/s 00:00 [##################################################################] 100% haskell-unix-compat-0.5.0.1-3-x86_64 14.1 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-fsnotify-0.2.1.2-2-x86_64 59.2 KiB 14.5M/s 00:00 [##################################################################] 100% haskell-generic-deriving-1.12.1-14-x86_64 452.0 KiB 1738K/s 00:00 [##################################################################] 100% haskell-gitrev-1.3.1-7-x86_64 19.1 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-base16-bytestring-0.1.1.6-9-x86_64 13.7 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-cryptohash-sha256-0.11.101.0-4-x86_64 28.4 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-ed25519-0.0.5.0-8-x86_64 76.1 KiB 12.4M/s 00:00 [##################################################################] 100% haskell-network-uri-2.6.1.0-13-x86_64 74.0 KiB 10.3M/s 00:00 [##################################################################] 100% haskell-tar-0.5.1.0-3-x86_64 160.7 KiB 12.1M/s 00:00 [##################################################################] 100% haskell-hackage-security-0.5.3.0-12-x86_64 465.8 KiB 1941K/s 00:00 [##################################################################] 100% haskell-base-orphans-0.7-5-x86_64 7.4 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-statevar-1.1.1.0-3-x86_64 16.7 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-contravariant-1.4.1-6-x86_64 68.6 KiB 11.2M/s 00:00 [##################################################################] 100% haskell-distributive-0.5.3-11-x86_64 30.8 KiB 10.0M/s 00:00 [##################################################################] 100% haskell-comonad-5.0.3-10-x86_64 81.8 KiB 7.99M/s 00:00 [##################################################################] 100% haskell-bifunctors-5.5.2-19-x86_64 216.6 KiB 8.81M/s 00:00 [##################################################################] 100% haskell-glob-0.9.2-6-x86_64 74.8 KiB 10.4M/s 00:00 [##################################################################] 100% haskell-blaze-builder-0.4.1.0-3-x86_64 54.8 KiB 7.64M/s 00:00 [##################################################################] 100% haskell-case-insensitive-1.2.0.11-3-x86_64 30.6 KiB 9.97M/s 00:00 [##################################################################] 100% haskell-data-default-class-0.1.2.0-8-x86_64 14.1 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-cookie-0.4.4-3-x86_64 30.6 KiB 7.47M/s 00:00 [##################################################################] 100% haskell-http-types-0.12.1-9-x86_64 107.7 KiB 8.09M/s 00:00 [##################################################################] 100% haskell-mime-types-0.1.0.7-11-x86_64 318.5 KiB 1349K/s 00:00 [##################################################################] 100% haskell-http-client-0.5.13-1-x86_64 298.7 KiB 1195K/s 00:00 [##################################################################] 100% haskell-byteable-0.1.1-9-x86_64 11.0 KiB 1099K/s 00:00 [##################################################################] 100% haskell-cereal-0.5.5.0-3-x86_64 131.8 KiB 1232K/s 00:00 [##################################################################] 100% haskell-socks-0.5.6-20-x86_64 133.9 KiB 1263K/s 00:00 [##################################################################] 100% haskell-hourglass-0.2.11-15-x86_64 242.6 KiB 1189K/s 00:00 [##################################################################] 100% haskell-asn1-types-0.3.2-60-x86_64 80.7 KiB 1281K/s 00:00 [##################################################################] 100% haskell-asn1-encoding-0.9.5-53-x86_64 87.4 KiB 1249K/s 00:00 [##################################################################] 100% haskell-asn1-parse-0.9.4-64-x86_64 16.4 KiB 1261K/s 00:00 [##################################################################] 100% haskell-pem-0.2.4-13-x86_64 22.2 KiB 1389K/s 00:00 [##################################################################] 100% haskell-x509-1.7.3-17-x86_64 232.0 KiB 1221K/s 00:00 [##################################################################] 100% haskell-x509-store-1.6.6-16-x86_64 28.5 KiB 1240K/s 00:00 [##################################################################] 100% haskell-x509-validation-1.6.10-16-x86_64 58.5 KiB 1245K/s 00:00 [##################################################################] 100% haskell-tls-1.4.1-23-x86_64 651.2 KiB 1337K/s 00:00 [##################################################################] 100% haskell-x509-system-1.6.6-45-x86_64 16.2 KiB 2.26M/s 00:00 [##################################################################] 100% haskell-connection-0.2.8-78-x86_64 49.5 KiB 1649K/s 00:00 [##################################################################] 100% haskell-http-client-tls-0.3.5.3-49-x86_64 44.8 KiB 1494K/s 00:00 [##################################################################] 100% haskell-yaml-0.8.30-18-x86_64 250.6 KiB 1474K/s 00:00 [##################################################################] 100% haskell-hpack-0.28.2-21-x86_64 404.1 KiB 1519K/s 00:00 [##################################################################] 100% haskell-http-conduit-2.3.1-21-x86_64 47.1 KiB 1743K/s 00:00 [##################################################################] 100% haskell-microlens-0.4.9.1-3-x86_64 46.6 KiB 1553K/s 00:00 [##################################################################] 100% haskell-mintty-0.1.2-2-x86_64 7.6 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-auto-update-0.1.4-8-x86_64 24.2 KiB 1861K/s 00:00 [##################################################################] 100% haskell-easy-file-0.2.2-3-x86_64 29.4 KiB 1471K/s 00:00 [##################################################################] 100% haskell-unix-time-0.3.8-3-x86_64 34.4 KiB 1719K/s 00:00 [##################################################################] 100% haskell-fast-logger-2.4.11-6-x86_64 55.3 KiB 1628K/s 00:00 [##################################################################] 100% haskell-transformers-base-0.4.5.2-5-x86_64 22.9 KiB 1759K/s 00:00 [##################################################################] 100% haskell-monad-control-1.0.2.3-7-x86_64 26.6 KiB 1898K/s 00:00 [##################################################################] 100% haskell-lifted-base-0.2.3.12-7-x86_64 33.5 KiB 1677K/s 00:00 [##################################################################] 100% haskell-monad-loops-0.4.3-9-x86_64 25.3 KiB 1582K/s 00:00 [##################################################################] 100% haskell-stm-chans-3.0.0.4-11-x86_64 35.8 KiB 1490K/s 00:00 [##################################################################] 100% haskell-monad-logger-0.3.28.5-22-x86_64 98.0 KiB 1532K/s 00:00 [##################################################################] 100% haskell-profunctors-5.2.2-22-x86_64 215.2 KiB 1537K/s 00:00 [##################################################################] 100% haskell-semigroupoids-5.2.2-27-x86_64 222.0 KiB 1510K/s 00:00 [##################################################################] 100% haskell-either-5-56-x86_64 29.6 KiB 1742K/s 00:00 [##################################################################] 100% haskell-th-lift-0.7.10-3-x86_64 34.0 KiB 2.37M/s 00:00 [##################################################################] 100% haskell-cmdargs-0.10.20-3-x86_64 322.6 KiB 1255K/s 00:00 [##################################################################] 100% haskell-mustache-2.3.0-17-x86_64 159.0 KiB 1223K/s 00:00 [##################################################################] 100% haskell-base-prelude-1.3-1-x86_64 16.7 KiB 1670K/s 00:00 [##################################################################] 100% haskell-neat-interpolation-0.3.2.1-8-x86_64 30.7 KiB 1334K/s 00:00 [##################################################################] 100% haskell-open-browser-0.2.1.0-9-x86_64 13.4 KiB 1917K/s 00:00 [##################################################################] 100% haskell-ansi-wl-pprint-0.6.8.2-8-x86_64 48.9 KiB 1322K/s 00:00 [##################################################################] 100% haskell-optparse-applicative-0.14.2.0-7-x86_64 200.2 KiB 801K/s 00:00 [##################################################################] 100% haskell-optparse-simple-0.1.0-12-x86_64 28.3 KiB 1233K/s 00:00 [##################################################################] 100% haskell-path-0.6.1-45-x86_64 43.0 KiB 1433K/s 00:00 [##################################################################] 100% haskell-temporary-1.3-4-x86_64 16.5 KiB 1270K/s 00:00 [##################################################################] 100% haskell-path-io-1.3.3-42-x86_64 44.7 KiB 1491K/s 00:00 [##################################################################] 100% haskell-blaze-markup-0.8.2.1-9-x86_64 72.0 KiB 1359K/s 00:00 [##################################################################] 100% haskell-blaze-html-0.9.1.0-1-x86_64 292.7 KiB 944K/s 00:00 [##################################################################] 100% haskell-attoparsec-iso8601-1.0.0.0-38-x86_64 29.0 KiB 880K/s 00:00 [##################################################################] 100% haskell-th-lift-instances-0.1.11-18-x86_64 20.3 KiB 882K/s 00:00 [##################################################################] 100% haskell-uri-bytestring-0.3.2.0-5-x86_64 146.4 KiB 846K/s 00:00 [##################################################################] 100% haskell-http-api-data-0.3.8.1-20-x86_64 157.3 KiB 846K/s 00:00 [##################################################################] 100% haskell-path-pieces-0.2.1-14-x86_64 26.1 KiB 869K/s 00:00 [##################################################################] 100% haskell-resource-pool-0.2.3.2-35-x86_64 26.4 KiB 881K/s 00:00 [##################################################################] 100% haskell-silently-1.2.5-9-x86_64 13.0 KiB 1298K/s 00:00 [##################################################################] 100% haskell-polyparse-1.12-11-x86_64 219.4 KiB 220K/s 00:01 [##################################################################] 100% haskell-cpphs-1.20.8-9-x86_64 160.8 KiB 1277K/s 00:00 [##################################################################] 100% haskell-src-exts-1.20.2-12-x86_64 1983.5 KiB 2.37M/s 00:01 [##################################################################] 100% haskell-syb-0.7-6-x86_64 77.7 KiB 25.3M/s 00:00 [##################################################################] 100% haskell-safe-0.3.17-2-x86_64 54.3 KiB 13.2M/s 00:00 [##################################################################] 100% haskell-th-expand-syns-0.4.4.0-3-x86_64 30.3 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-th-reify-many-0.1.8-10-x86_64 23.4 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-th-orphans-0.13.5-19-x86_64 72.7 KiB 10.1M/s 00:00 [##################################################################] 100% haskell-src-meta-0.8.0.2-24-x86_64 91.3 KiB 12.7M/s 00:00 [##################################################################] 100% haskell-void-0.7.2-9-x86_64 7.2 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-persistent-2.8.2-19-x86_64 545.3 KiB 2.13M/s 00:00 [##################################################################] 100% haskell-microlens-th-0.4.2.1-4-x86_64 60.7 KiB 19.7M/s 00:00 [##################################################################] 100% haskell-persistent-sqlite-2.8.1.2-20-x86_64 120.9 KiB 16.9M/s 00:00 [##################################################################] 100% haskell-aeson-compat-0.3.8-1-x86_64 21.0 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-persistent-template-2.5.4-44-x86_64 138.9 KiB 13.6M/s 00:00 [##################################################################] 100% haskell-project-template-0.2.0.1-46-x86_64 26.3 KiB 8.56M/s 00:00 [##################################################################] 100% haskell-regex-applicative-0.3.3-8-x86_64 69.4 KiB 9.68M/s 00:00 [##################################################################] 100% haskell-regex-applicative-text-0.1.0.1-10-x86_64 16.4 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-retry-0.7.6.2-20-x86_64 34.8 KiB 11.3M/s 00:00 [##################################################################] 100% haskell-unliftio-0.2.7.0-10-x86_64 112.0 KiB 18.2M/s 00:00 [##################################################################] 100% haskell-rio-0.1.2.0-12-x86_64 154.5 KiB 10.8M/s 00:00 [##################################################################] 100% haskell-cryptohash-0.11.9-63-x86_64 88.7 KiB 21.7M/s 00:00 [##################################################################] 100% haskell-free-5.0.2-12-x86_64 390.1 KiB 1625K/s 00:00 [##################################################################] 100% haskell-call-stack-0.1.0-7-x86_64 14.5 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-hunit-1.6.0.0-7-x86_64 69.0 KiB 16.9M/s 00:00 [##################################################################] 100% haskell-tf-random-0.5-19-x86_64 55.1 KiB 17.9M/s 00:00 [##################################################################] 100% haskell-quickcheck-2.11.3-4-x86_64 377.5 KiB 1600K/s 00:00 [##################################################################] 100% haskell-hspec-expectations-0.8.2-8-x86_64 28.3 KiB 9.21M/s 00:00 [##################################################################] 100% haskell-quickcheck-io-0.2.0-12-x86_64 16.4 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-setenv-0.1.1.3-9-x86_64 6.6 KiB 0.00B/s 00:00 [##################################################################] 100% haskell-hspec-core-2.5.1-8-x86_64 293.9 KiB 1209K/s 00:00 [##################################################################] 100% haskell-hspec-discover-2.5.1-3-x86_64 40.8 KiB 1511K/s 00:00 [##################################################################] 100% haskell-hspec-2.5.1-9-x86_64 27.0 KiB 1589K/s 00:00 [##################################################################] 100% haskell-logict-0.6.0.2-8-x86_64 41.3 KiB 1798K/s 00:00 [##################################################################] 100% haskell-smallcheck-1.1.4-3-x86_64 102.9 KiB 1469K/s 00:00 [##################################################################] 100% haskell-hspec-smallcheck-0.5.2-12-x86_64 33.8 KiB 1688K/s 00:00 [##################################################################] 100% haskell-store-core-0.4.3-2-x86_64 43.7 KiB 1618K/s 00:00 [##################################################################] 100% haskell-th-utilities-0.2.0.1-42-x86_64 115.7 KiB 1377K/s 00:00 [##################################################################] 100% haskell-store-0.4.3.2-100-x86_64 472.3 KiB 609K/s 00:01 [##################################################################] 100% haskell-text-metrics-0.3.0-10-x86_64 32.4 KiB 1622K/s 00:00 [##################################################################] 100% haskell-bitarray-0.0.1.1-7-x86_64 38.8 KiB 1687K/s 00:00 [##################################################################] 100% haskell-unicode-transforms-0.3.4-3-x86_64 824.7 KiB 1405K/s 00:01 [##################################################################] 100% haskell-digest-0.0.1.2-9-x86_64 13.1 KiB 3.19M/s 00:00 [##################################################################] 100% haskell-zip-archive-0.3.2.5-4-x86_64 78.5 KiB 1826K/s 00:00 [##################################################################] 100% haskell-bindings-uname-0.1-6-x86_64 8.4 KiB 2.73M/s 00:00 [##################################################################] 100% stack-1.7.1-27-x86_64 3.5 MiB 2.41M/s 00:01 [##################################################################] 100% (174/174) checking keys in keyring [##################################################################] 100% (174/174) checking package integrity [##################################################################] 100% (174/174) loading package files [##################################################################] 100% (174/174) checking for file conflicts [##################################################################] 100% (174/174) checking available disk space [##################################################################] 100% :: Processing package changes... ( 1/174) installing ghc-libs [##################################################################] 100% ( 2/174) installing haskell-hashable [##################################################################] 100% ( 3/174) installing haskell-integer-logarithms [##################################################################] 100% ( 4/174) installing haskell-primitive [##################################################################] 100% ( 5/174) installing haskell-scientific [##################################################################] 100% ( 6/174) installing haskell-attoparsec [##################################################################] 100% ( 7/174) installing haskell-base-compat [##################################################################] 100% ( 8/174) installing haskell-dlist [##################################################################] 100% ( 9/174) installing haskell-transformers-compat [##################################################################] 100% ( 10/174) installing haskell-tagged [##################################################################] 100% ( 11/174) installing haskell-th-abstraction [##################################################################] 100% ( 12/174) installing haskell-time-locale-compat [##################################################################] 100% ( 13/174) installing haskell-unordered-containers [##################################################################] 100% ( 14/174) installing haskell-random [##################################################################] 100% ( 15/174) installing haskell-uuid-types [##################################################################] 100% ( 16/174) installing haskell-vector [##################################################################] 100% ( 17/174) installing haskell-aeson [##################################################################] 100% ( 18/174) installing haskell-annotated-wl-pprint [##################################################################] 100% ( 19/174) installing haskell-colour [##################################################################] 100% ( 20/174) installing haskell-ansi-terminal [##################################################################] 100% ( 21/174) installing haskell-async [##################################################################] 100% ( 22/174) installing haskell-base64-bytestring [##################################################################] 100% ( 23/174) installing haskell-exceptions [##################################################################] 100% ( 24/174) installing haskell-split [##################################################################] 100% ( 25/174) installing haskell-vector-th-unbox [##################################################################] 100% ( 26/174) installing haskell-math-functions [##################################################################] 100% ( 27/174) installing haskell-mwc-random [##################################################################] 100% ( 28/174) installing haskell-vector-algorithms [##################################################################] 100% ( 29/174) installing haskell-mono-traversable [##################################################################] 100% ( 30/174) installing haskell-unliftio-core [##################################################################] 100% ( 31/174) installing haskell-resourcet [##################################################################] 100% ( 32/174) installing haskell-conduit [##################################################################] 100% ( 33/174) installing haskell-network [##################################################################] 100% ( 34/174) installing haskell-zlib [##################################################################] 100% ( 35/174) installing haskell-streaming-commons [##################################################################] 100% ( 36/174) installing haskell-typed-process [##################################################################] 100% ( 37/174) installing haskell-conduit-extra [##################################################################] 100% ( 38/174) installing haskell-basement [##################################################################] 100% ( 39/174) installing haskell-foundation [##################################################################] 100% ( 40/174) installing haskell-memory [##################################################################] 100% ( 41/174) installing haskell-cryptonite [##################################################################] 100% ( 42/174) installing haskell-cryptonite-conduit [##################################################################] 100% ( 43/174) installing haskell-echo [##################################################################] 100% ( 44/174) installing haskell-clock [##################################################################] 100% ( 45/174) installing haskell-extra [##################################################################] 100% ( 46/174) installing haskell-file-embed [##################################################################] 100% ( 47/174) installing haskell-filelock [##################################################################] 100% ( 48/174) installing haskell-hinotify [##################################################################] 100% ( 49/174) installing haskell-old-locale [##################################################################] 100% ( 50/174) installing haskell-old-time [##################################################################] 100% ( 51/174) installing haskell-unix-compat [##################################################################] 100% ( 52/174) installing haskell-fsnotify [##################################################################] 100% ( 53/174) installing haskell-generic-deriving [##################################################################] 100% ( 54/174) installing haskell-gitrev [##################################################################] 100% ( 55/174) installing haskell-base16-bytestring [##################################################################] 100% ( 56/174) installing haskell-cryptohash-sha256 [##################################################################] 100% ( 57/174) installing haskell-ed25519 [##################################################################] 100% ( 58/174) installing haskell-network-uri [##################################################################] 100% ( 59/174) installing haskell-tar [##################################################################] 100% ( 60/174) installing haskell-hackage-security [##################################################################] 100% ( 61/174) installing haskell-base-orphans [##################################################################] 100% ( 62/174) installing haskell-statevar [##################################################################] 100% ( 63/174) installing haskell-contravariant [##################################################################] 100% ( 64/174) installing haskell-distributive [##################################################################] 100% ( 65/174) installing haskell-comonad [##################################################################] 100% ( 66/174) installing haskell-bifunctors [##################################################################] 100% ( 67/174) installing haskell-glob [##################################################################] 100% ( 68/174) installing haskell-blaze-builder [##################################################################] 100% ( 69/174) installing haskell-case-insensitive [##################################################################] 100% ( 70/174) installing haskell-data-default-class [##################################################################] 100% ( 71/174) installing haskell-cookie [##################################################################] 100% ( 72/174) installing haskell-http-types [##################################################################] 100% ( 73/174) installing haskell-mime-types [##################################################################] 100% ( 74/174) installing haskell-http-client [##################################################################] 100% ( 75/174) installing haskell-byteable [##################################################################] 100% ( 76/174) installing haskell-cereal [##################################################################] 100% ( 77/174) installing haskell-socks [##################################################################] 100% ( 78/174) installing haskell-hourglass [##################################################################] 100% ( 79/174) installing haskell-asn1-types [##################################################################] 100% ( 80/174) installing haskell-asn1-encoding [##################################################################] 100% ( 81/174) installing haskell-asn1-parse [##################################################################] 100% ( 82/174) installing haskell-pem [##################################################################] 100% ( 83/174) installing haskell-x509 [##################################################################] 100% ( 84/174) installing haskell-x509-store [##################################################################] 100% ( 85/174) installing haskell-x509-validation [##################################################################] 100% ( 86/174) installing haskell-tls [##################################################################] 100% ( 87/174) installing haskell-x509-system [##################################################################] 100% ( 88/174) installing haskell-connection [##################################################################] 100% ( 89/174) installing haskell-http-client-tls [##################################################################] 100% ( 90/174) installing haskell-yaml [##################################################################] 100% ( 91/174) installing haskell-hpack [##################################################################] 100% ( 92/174) installing haskell-http-conduit [##################################################################] 100% ( 93/174) installing haskell-microlens [##################################################################] 100% ( 94/174) installing haskell-mintty [##################################################################] 100% ( 95/174) installing haskell-auto-update [##################################################################] 100% ( 96/174) installing haskell-easy-file [##################################################################] 100% ( 97/174) installing haskell-unix-time [##################################################################] 100% ( 98/174) installing haskell-fast-logger [##################################################################] 100% ( 99/174) installing haskell-transformers-base [##################################################################] 100% (100/174) installing haskell-monad-control [##################################################################] 100% (101/174) installing haskell-lifted-base [##################################################################] 100% (102/174) installing haskell-monad-loops [##################################################################] 100% (103/174) installing haskell-stm-chans [##################################################################] 100% (104/174) installing haskell-monad-logger [##################################################################] 100% (105/174) installing haskell-profunctors [##################################################################] 100% (106/174) installing haskell-semigroupoids [##################################################################] 100% (107/174) installing haskell-either [##################################################################] 100% (108/174) installing haskell-th-lift [##################################################################] 100% (109/174) installing haskell-cmdargs [##################################################################] 100% (110/174) installing haskell-mustache [##################################################################] 100% (111/174) installing haskell-base-prelude [##################################################################] 100% (112/174) installing haskell-neat-interpolation [##################################################################] 100% (113/174) installing haskell-open-browser [##################################################################] 100% (114/174) installing haskell-ansi-wl-pprint [##################################################################] 100% (115/174) installing haskell-optparse-applicative [##################################################################] 100% (116/174) installing haskell-optparse-simple [##################################################################] 100% (117/174) installing haskell-path [##################################################################] 100% (118/174) installing haskell-temporary [##################################################################] 100% (119/174) installing haskell-path-io [##################################################################] 100% (120/174) installing haskell-blaze-markup [##################################################################] 100% (121/174) installing haskell-blaze-html [##################################################################] 100% (122/174) installing haskell-attoparsec-iso8601 [##################################################################] 100% (123/174) installing haskell-th-lift-instances [##################################################################] 100% (124/174) installing haskell-uri-bytestring [##################################################################] 100% (125/174) installing haskell-http-api-data [##################################################################] 100% (126/174) installing haskell-path-pieces [##################################################################] 100% (127/174) installing haskell-resource-pool [##################################################################] 100% (128/174) installing haskell-silently [##################################################################] 100% (129/174) installing haskell-polyparse [##################################################################] 100% (130/174) installing haskell-cpphs [##################################################################] 100% (131/174) installing haskell-src-exts [##################################################################] 100% (132/174) installing haskell-syb [##################################################################] 100% (133/174) installing haskell-safe [##################################################################] 100% (134/174) installing haskell-th-expand-syns [##################################################################] 100% (135/174) installing haskell-th-reify-many [##################################################################] 100% (136/174) installing haskell-th-orphans [##################################################################] 100% (137/174) installing haskell-src-meta [##################################################################] 100% (138/174) installing haskell-void [##################################################################] 100% (139/174) installing haskell-persistent [##################################################################] 100% (140/174) installing haskell-microlens-th [##################################################################] 100% (141/174) installing haskell-persistent-sqlite [##################################################################] 100% (142/174) installing haskell-aeson-compat [##################################################################] 100% (143/174) installing haskell-persistent-template [##################################################################] 100% (144/174) installing haskell-project-template [##################################################################] 100% (145/174) installing haskell-regex-applicative [##################################################################] 100% (146/174) installing haskell-regex-applicative-text [##################################################################] 100% (147/174) installing haskell-retry [##################################################################] 100% (148/174) installing haskell-unliftio [##################################################################] 100% (149/174) installing haskell-rio [##################################################################] 100% (150/174) installing haskell-cryptohash [##################################################################] 100% (151/174) installing haskell-free [##################################################################] 100% (152/174) installing haskell-call-stack [##################################################################] 100% (153/174) installing haskell-hunit [##################################################################] 100% (154/174) installing haskell-tf-random [##################################################################] 100% (155/174) installing haskell-quickcheck [##################################################################] 100% (156/174) installing haskell-hspec-expectations [##################################################################] 100% (157/174) installing haskell-quickcheck-io [##################################################################] 100% (158/174) installing haskell-setenv [##################################################################] 100% (159/174) installing haskell-hspec-core [##################################################################] 100% (160/174) installing haskell-hspec-discover [##################################################################] 100% (161/174) installing haskell-hspec [##################################################################] 100% (162/174) installing haskell-logict [##################################################################] 100% (163/174) installing haskell-smallcheck [##################################################################] 100% (164/174) installing haskell-hspec-smallcheck [##################################################################] 100% (165/174) installing haskell-store-core [##################################################################] 100% (166/174) installing haskell-th-utilities [##################################################################] 100% (167/174) installing haskell-store [##################################################################] 100% (168/174) installing haskell-text-metrics [##################################################################] 100% (169/174) installing haskell-bitarray [##################################################################] 100% (170/174) installing haskell-unicode-transforms [##################################################################] 100% (171/174) installing haskell-digest [##################################################################] 100% (172/174) installing haskell-zip-archive [##################################################################] 100% (173/174) installing haskell-bindings-uname [##################################################################] 100% (174/174) installing stack [##################################################################] 100% You need to either 1) install latest stable ghc package from [extra] or 2) install ncurses5-compat-libs from AUR for the prebuilt binaries installed by stack to work. :: Running post-transaction hooks... (1/2) Registering Haskell modules... (2/2) Arming ConditionNeedsUpdate... [vagrant@archlinux ~]$ stackk --^C [vagrant@archlinux ~]$ stack --help -bash: /usr/local/bin/stack: No such file or directory [vagrant@archlinux ~]$ stack -bash: /usr/local/bin/stack: No such file or directory [vagrant@archlinux ~]$ /usr/bin/st stack stat stdbuf stty [vagrant@archlinux ~]$ /usr/bin/stack stack - The Haskell Tool Stack Usage: stack [--help] [--version] [--numeric-version] [--hpack-numeric-version] [--docker*] [--nix*] ([--verbosity VERBOSITY] | [-v|--verbose] | [--silent]) [--[no-]time-in-log] [--stack-root STACK-ROOT] [--work-dir WORK-DIR] [--[no-]system-ghc] [--[no-]install-ghc] [--arch ARCH] [--ghc-variant VARIANT] [--ghc-build BUILD] [-j|--jobs JOBS] [--extra-include-dirs DIR] [--extra-lib-dirs DIR] [--with-gcc PATH-TO-GCC] [--with-hpack HPACK] [--[no-]skip-ghc-check] [--[no-]skip-msys] [--local-bin-path DIR] [--[no-]modify-code-page] [--[no-]allow-different-user] [--[no-]dump-logs] [--resolver RESOLVER] [--compiler COMPILER] [--[no-]terminal] [--color WHEN] [--terminal-width INT] [--stack-yaml STACK-YAML] COMMAND|FILE Available options: --help Show this help text --version Show version --numeric-version Show only version number --hpack-numeric-version Show only hpack's version number --docker* Run 'stack --docker-help' for details --nix* Run 'stack --nix-help' for details --verbosity VERBOSITY Verbosity: silent, error, warn, info, debug -v,--verbose Enable verbose mode: verbosity level "debug" --silent Enable silent mode: verbosity level "silent" --[no-]time-in-log Enable/disable inclusion of timings in logs, for the purposes of using diff with logs --stack-root STACK-ROOT Absolute path to the global stack root directory (Overrides any STACK_ROOT environment variable) --work-dir WORK-DIR Relative path of work directory (Overrides any STACK_WORK environment variable, default is '.stack-work') --[no-]system-ghc Enable/disable using the system installed GHC (on the PATH) if it is available and its version matches. Disabled by default. --[no-]install-ghc Enable/disable downloading and installing GHC if necessary (can be done manually with stack setup) --arch ARCH System architecture, e.g. i386, x86_64 --ghc-variant VARIANT Specialized GHC variant, e.g. integersimple (incompatible with --system-ghc) --ghc-build BUILD Specialized GHC build, e.g. 'gmp4' or 'standard' (usually auto-detected) -j,--jobs JOBS Number of concurrent jobs to run --extra-include-dirs DIR Extra directories to check for C header files --extra-lib-dirs DIR Extra directories to check for libraries --with-gcc PATH-TO-GCC Use gcc found at PATH-TO-GCC --with-hpack HPACK Use HPACK executable (overrides bundled Hpack) --[no-]skip-ghc-check Enable/disable skipping the GHC version and architecture check --[no-]skip-msys Enable/disable skipping the local MSYS installation (Windows only) --local-bin-path DIR Install binaries to DIR --[no-]modify-code-page Enable/disable setting the codepage to support UTF-8 (Windows only) --[no-]allow-different-user Enable/disable permission for users other than the owner of the stack root directory to use a stack installation (POSIX only) --[no-]dump-logs Enable/disable dump the build output logs for local packages to the console --resolver RESOLVER Override resolver in project file --compiler COMPILER Use the specified compiler --[no-]terminal Enable/disable overriding terminal detection in the case of running in a false terminal --color WHEN Specify when to use color in output; WHEN is 'always', 'never', or 'auto' --terminal-width INT Specify the width of the terminal, used for pretty-print messages --stack-yaml STACK-YAML Override project stack.yaml file (overrides any STACK_YAML environment variable) Available commands: build Build the package(s) in this directory/configuration install Shortcut for 'build --copy-bins' uninstall DEPRECATED: This command performs no actions, and is present for documentation only test Shortcut for 'build --test' bench Shortcut for 'build --bench' haddock Shortcut for 'build --haddock' new Create a new project from a template. Run `stack templates' to see available templates. Note: you can also specify a local file or a remote URL as a template. templates List the templates available for `stack new'. Templates are drawn from https://github.com/commercialhaskell/stack-templates Note: `stack new' can also accept a template from a local file or a remote URL. init Create stack project config from cabal or hpack package specifications solver Add missing extra-deps to stack project config setup Get the appropriate GHC for your project path Print out handy path information ls List command. (Supports snapshots and dependencies) unpack Unpack one or more packages locally update Update the package index upgrade Upgrade to the latest stack upload Upload a package to Hackage sdist Create source distribution tarballs dot Visualize your project's dependency graph using Graphviz dot ghc Run ghc hoogle Run hoogle, the Haskell API search engine. Use 'stack exec' syntax to pass Hoogle arguments, e.g. stack hoogle -- --count=20 exec Execute a command ghci Run ghci in the context of package(s) (experimental) repl Run ghci in the context of package(s) (experimental) (alias for 'ghci') runghc Run runghc runhaskell Run runghc (alias for 'runghc') script Run a Stack Script eval Evaluate some haskell code inline. Shortcut for 'stack exec ghc -- -e CODE' clean Clean the local packages list-dependencies List the dependencies query Query general build information (experimental) ide IDE-specific commands docker Subcommands specific to Docker use config Subcommands specific to modifying stack.yaml files image Subcommands specific to imaging hpc Subcommands specific to Haskell Program Coverage stack's documentation is available at https://docs.haskellstack.org/ [vagrant@archlinux ~]$ ldd /usr/bin/stack linux-vdso.so.1 (0x00007ffcaa7ee000) libm.so.6 => /usr/lib/libm.so.6 (0x00007f7d9b470000) libHSstack-1.7.1-7u6zix21rTfHmao1C2GDj1-ghc8.4.3.so => /usr/lib/libHSstack-1.7.1-7u6zix21rTfHmao1C2GDj1-ghc8.4.3.so (0x00007f7d9a20d000) libHSrio-0.1.2.0-GGZywX1V6w39JElvLi9Gyf-ghc8.4.3.so => /usr/lib/libHSrio-0.1.2.0-GGZywX1V6w39JElvLi9Gyf-ghc8.4.3.so (0x00007f7d9b9b4000) libHSunliftio-0.2.7.0-IIHVMt2dfs4I5n8MaHTdAm-ghc8.4.3.so => /usr/lib/libHSunliftio-0.2.7.0-IIHVMt2dfs4I5n8MaHTdAm-ghc8.4.3.so (0x00007f7d9b950000) libHSpath-io-1.3.3-54QqQysyv2EGrAd34l1vCX-ghc8.4.3.so => /usr/lib/libHSpath-io-1.3.3-54QqQysyv2EGrAd34l1vCX-ghc8.4.3.so (0x00007f7d9b92a000) libHSpath-0.6.1-4RDSDjy0ZM1FihAjJvGgs2-ghc8.4.3.so => /usr/lib/libHSpath-0.6.1-4RDSDjy0ZM1FihAjJvGgs2-ghc8.4.3.so (0x00007f7d9b907000) libHSoptparse-applicative-0.14.2.0-2eDVpgsAe1xL6LOfCGKJrU-ghc8.4.3.so => /usr/lib/libHSoptparse-applicative-0.14.2.0-2eDVpgsAe1xL6LOfCGKJrU-ghc8.4.3.so (0x00007f7d9b846000) libHSansi-wl-pprint-0.6.8.2-8f94dKGUwBPE80RGxGBXOm-ghc8.4.3.so => /usr/lib/libHSansi-wl-pprint-0.6.8.2-8f94dKGUwBPE80RGxGBXOm-ghc8.4.3.so (0x00007f7d9a1dd000) libHSfsnotify-0.2.1.2-7avDZxOYVYMB5AT9Iwi6nP-ghc8.4.3.so => /usr/lib/libHSfsnotify-0.2.1.2-7avDZxOYVYMB5AT9Iwi6nP-ghc8.4.3.so (0x00007f7d9a1ac000) libHSfilelock-0.1.1.2-BfxQr4k9W7HCNDMTD4DiWO-ghc8.4.3.so => /usr/lib/libHSfilelock-0.1.1.2-BfxQr4k9W7HCNDMTD4DiWO-ghc8.4.3.so (0x00007f7d9b837000) libHSunliftio-core-0.1.1.0-LMRC2BJekXQHTjQ89kypYp-ghc8.4.3.so => /usr/lib/libHSunliftio-core-0.1.1.0-LMRC2BJekXQHTjQ89kypYp-ghc8.4.3.so (0x00007f7d9b82a000) libHSexceptions-0.10.0-7epDYg20HTz9YX9m9nzGfO-ghc8.4.3.so => /usr/lib/libHSexceptions-0.10.0-7epDYg20HTz9YX9m9nzGfO-ghc8.4.3.so (0x00007f7d9a171000) libHSannotated-wl-pprint-0.7.0-5EJhaPPvnKODWMqVOHKqvI-ghc8.4.3.so => /usr/lib/libHSannotated-wl-pprint-0.7.0-5EJhaPPvnKODWMqVOHKqvI-ghc8.4.3.so (0x00007f7d9a14e000) libHSCabal-2.2.0.1-ghc8.4.3.so => /usr/lib/ghc-8.4.3/Cabal-2.2.0.1/libHSCabal-2.2.0.1-ghc8.4.3.so (0x00007f7d985e2000) libHStext-1.2.3.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/text-1.2.3.0/libHStext-1.2.3.0-ghc8.4.3.so (0x00007f7d98391000) libHSdirectory-1.3.1.5-ghc8.4.3.so => /usr/lib/ghc-8.4.3/directory-1.3.1.5/libHSdirectory-1.3.1.5-ghc8.4.3.so (0x00007f7d9833a000) libHSunix-2.7.2.2-ghc8.4.3.so => /usr/lib/ghc-8.4.3/unix-2.7.2.2/libHSunix-2.7.2.2-ghc8.4.3.so (0x00007f7d98258000) libHSpretty-1.1.3.6-ghc8.4.3.so => /usr/lib/ghc-8.4.3/pretty-1.1.3.6/libHSpretty-1.1.3.6-ghc8.4.3.so (0x00007f7d981e9000) libHSfilepath-1.4.2-ghc8.4.3.so => /usr/lib/ghc-8.4.3/filepath-1.4.2/libHSfilepath-1.4.2-ghc8.4.3.so (0x00007f7d981c5000) libHScontainers-0.5.11.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/containers-0.5.11.0/libHScontainers-0.5.11.0-ghc8.4.3.so (0x00007f7d97eca000) libHSbytestring-0.10.8.2-ghc8.4.3.so => /usr/lib/ghc-8.4.3/bytestring-0.10.8.2/libHSbytestring-0.10.8.2-ghc8.4.3.so (0x00007f7d97dda000) libHSbase-4.11.1.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/base-4.11.1.0/libHSbase-4.11.1.0-ghc8.4.3.so (0x00007f7d97461000) libHSghc-prim-0.5.2.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/ghc-prim-0.5.2.0/libHSghc-prim-0.5.2.0-ghc8.4.3.so (0x00007f7d96fd3000) libHSrts_thr-ghc8.4.3.so => /usr/lib/ghc-8.4.3/rts/libHSrts_thr-ghc8.4.3.so (0x00007f7d96f5c000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f7d96d3e000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f7d96982000) /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f7d9b805000) libHSzip-archive-0.3.2.5-Dw6hJGiVaJg4ZjVkdEghyy-ghc8.4.3.so => /usr/lib/libHSzip-archive-0.3.2.5-Dw6hJGiVaJg4ZjVkdEghyy-ghc8.4.3.so (0x00007f7d9692d000) libHSdigest-0.0.1.2-I31fG7Yb9KfF2Ii6LMYpjd-ghc8.4.3.so => /usr/lib/libHSdigest-0.0.1.2-I31fG7Yb9KfF2Ii6LMYpjd-ghc8.4.3.so (0x00007f7d96925000) libHSunicode-transforms-0.3.4-5P4LCfTDNbdLioVPnYnusa-ghc8.4.3.so => /usr/lib/libHSunicode-transforms-0.3.4-5P4LCfTDNbdLioVPnYnusa-ghc8.4.3.so (0x00007f7d963bf000) libHSbitarray-0.0.1.1-VluIDj01KE7ojj4GIWFXd-ghc8.4.3.so => /usr/lib/libHSbitarray-0.0.1.1-VluIDj01KE7ojj4GIWFXd-ghc8.4.3.so (0x00007f7d9639f000) libHStext-metrics-0.3.0-4nWyQlaprvU1ElVFKt403X-ghc8.4.3.so => /usr/lib/libHStext-metrics-0.3.0-4nWyQlaprvU1ElVFKt403X-ghc8.4.3.so (0x00007f7d96381000) libHSstore-0.4.3.2-3x5NAM8q6P7IVeRF7SBp8w-ghc8.4.3.so => /usr/lib/libHSstore-0.4.3.2-3x5NAM8q6P7IVeRF7SBp8w-ghc8.4.3.so (0x00007f7d9611b000) libHSfree-5.0.2-zwNnKyHvow9O4DUGcSom1-ghc8.4.3.so => /usr/lib/libHSfree-5.0.2-zwNnKyHvow9O4DUGcSom1-ghc8.4.3.so (0x00007f7d95f7a000) libHShspec-smallcheck-0.5.2-1XhpCyT3I3S1SDt96l2tx-ghc8.4.3.so => /usr/lib/libHShspec-smallcheck-0.5.2-1XhpCyT3I3S1SDt96l2tx-ghc8.4.3.so (0x00007f7d95f63000) libHSsmallcheck-1.1.4-CnGyVRrYv24DCDBukmNZV6-ghc8.4.3.so => /usr/lib/libHSsmallcheck-1.1.4-CnGyVRrYv24DCDBukmNZV6-ghc8.4.3.so (0x00007f7d95efd000) libHSlogict-0.6.0.2-bTigcTuAfUFUMwCRYsf8L-ghc8.4.3.so => /usr/lib/libHSlogict-0.6.0.2-bTigcTuAfUFUMwCRYsf8L-ghc8.4.3.so (0x00007f7d95edb000) libHShspec-2.5.1-4mko5AGcS2MGo1mWvISV5N-ghc8.4.3.so => /usr/lib/libHShspec-2.5.1-4mko5AGcS2MGo1mWvISV5N-ghc8.4.3.so (0x00007f7d95ecd000) libHShspec-discover-2.5.1-DiqdfzoXsf8Fk8K4iRybKu-ghc8.4.3.so => /usr/lib/libHShspec-discover-2.5.1-DiqdfzoXsf8Fk8K4iRybKu-ghc8.4.3.so (0x00007f7d95ea8000) libHShspec-core-2.5.1-AIdQcMJAAoXHjzqriebHVq-ghc8.4.3.so => /usr/lib/libHShspec-core-2.5.1-AIdQcMJAAoXHjzqriebHVq-ghc8.4.3.so (0x00007f7d95d8c000) libHSsetenv-0.1.1.3-H1xmIqlPy4yIDquO6eJhBl-ghc8.4.3.so => /usr/lib/libHSsetenv-0.1.1.3-H1xmIqlPy4yIDquO6eJhBl-ghc8.4.3.so (0x00007f7d95d89000) libHSquickcheck-io-0.2.0-Ecz5aZHo1Ni4V43YDiqW58-ghc8.4.3.so => /usr/lib/libHSquickcheck-io-0.2.0-Ecz5aZHo1Ni4V43YDiqW58-ghc8.4.3.so (0x00007f7d95d7e000) libHShspec-expectations-0.8.2-CTUpAwnEHwLApugPfKahJk-ghc8.4.3.so => /usr/lib/libHShspec-expectations-0.8.2-CTUpAwnEHwLApugPfKahJk-ghc8.4.3.so (0x00007f7d95d67000) libHSQuickCheck-2.11.3-58QsvdIMmwDDNaUIIDmLAr-ghc8.4.3.so => /usr/lib/libHSQuickCheck-2.11.3-58QsvdIMmwDDNaUIIDmLAr-ghc8.4.3.so (0x00007f7d95bc9000) libHStf-random-0.5-I39p3qgWMzeLwkvBknVuZq-ghc8.4.3.so => /usr/lib/libHStf-random-0.5-I39p3qgWMzeLwkvBknVuZq-ghc8.4.3.so (0x00007f7d95b9a000) libHSHUnit-1.6.0.0-8OmbxYW4AG9PppbZs26Xx-ghc8.4.3.so => /usr/lib/libHSHUnit-1.6.0.0-8OmbxYW4AG9PppbZs26Xx-ghc8.4.3.so (0x00007f7d95b5f000) libHScall-stack-0.1.0-Eiz5FM8yQXpI3vyQ1Rt4Jq-ghc8.4.3.so => /usr/lib/libHScall-stack-0.1.0-Eiz5FM8yQXpI3vyQ1Rt4Jq-ghc8.4.3.so (0x00007f7d95b56000) libHScryptohash-0.11.9-2U8R2Lw6pujHMn8zue6cAL-ghc8.4.3.so => /usr/lib/libHScryptohash-0.11.9-2U8R2Lw6pujHMn8zue6cAL-ghc8.4.3.so (0x00007f7d95b06000) libHSth-utilities-0.2.0.1-BwjK3jEnTRzKdFOh4tQXrQ-ghc8.4.3.so => /usr/lib/libHSth-utilities-0.2.0.1-BwjK3jEnTRzKdFOh4tQXrQ-ghc8.4.3.so (0x00007f7d95a79000) libHSstore-core-0.4.3-LVO1ivprj7zGukCO9W6vNZ-ghc8.4.3.so => /usr/lib/libHSstore-core-0.4.3-LVO1ivprj7zGukCO9W6vNZ-ghc8.4.3.so (0x00007f7d95a55000) libHSretry-0.7.6.2-LZEYKF4Gfpk9CLzMFeGfFs-ghc8.4.3.so => /usr/lib/libHSretry-0.7.6.2-LZEYKF4Gfpk9CLzMFeGfFs-ghc8.4.3.so (0x00007f7d95a3d000) libHSregex-applicative-text-0.1.0.1-4lN95SXMvP73ZwnLQVBPFn-ghc8.4.3.so => /usr/lib/libHSregex-applicative-text-0.1.0.1-4lN95SXMvP73ZwnLQVBPFn-ghc8.4.3.so (0x00007f7d95a31000) libHSregex-applicative-0.3.3-BvKJu2tlAhuf7di0MR5S2-ghc8.4.3.so => /usr/lib/libHSregex-applicative-0.3.3-BvKJu2tlAhuf7di0MR5S2-ghc8.4.3.so (0x00007f7d959f2000) libHSproject-template-0.2.0.1-4Gkh8ETWfrxDu27V449MLp-ghc8.4.3.so => /usr/lib/libHSproject-template-0.2.0.1-4Gkh8ETWfrxDu27V449MLp-ghc8.4.3.so (0x00007f7d959de000) libHSpersistent-template-2.5.4-LE5HylwVgHD9fUR7eIi8wT-ghc8.4.3.so => /usr/lib/libHSpersistent-template-2.5.4-LE5HylwVgHD9fUR7eIi8wT-ghc8.4.3.so (0x00007f7d9592a000) libHSaeson-compat-0.3.8-25ok9aW2VuTLcFKDg5POdH-ghc8.4.3.so => /usr/lib/libHSaeson-compat-0.3.8-25ok9aW2VuTLcFKDg5POdH-ghc8.4.3.so (0x00007f7d9591d000) libHSpersistent-sqlite-2.8.1.2-9qRQ6DpZhf4H93GwlFe1J4-ghc8.4.3.so => /usr/lib/libHSpersistent-sqlite-2.8.1.2-9qRQ6DpZhf4H93GwlFe1J4-ghc8.4.3.so (0x00007f7d95897000) libHSmicrolens-th-0.4.2.1-8kcGgDkORR13vi5AtN2HGZ-ghc8.4.3.so => /usr/lib/libHSmicrolens-th-0.4.2.1-8kcGgDkORR13vi5AtN2HGZ-ghc8.4.3.so (0x00007f7d9585b000) libHSpersistent-2.8.2-8pmCd94r7hl3lh7WzeF34F-ghc8.4.3.so => /usr/lib/libHSpersistent-2.8.2-8pmCd94r7hl3lh7WzeF34F-ghc8.4.3.so (0x00007f7d9559d000) libHSvoid-0.7.2-JAsenjnj1DBHDal2sW0JoW-ghc8.4.3.so => /usr/lib/libHSvoid-0.7.2-JAsenjnj1DBHDal2sW0JoW-ghc8.4.3.so (0x00007f7d95597000) libHSsilently-1.2.5-FZMMMDRxyQgEpFUiscdY08-ghc8.4.3.so => /usr/lib/libHSsilently-1.2.5-FZMMMDRxyQgEpFUiscdY08-ghc8.4.3.so (0x00007f7d9558f000) libHSblaze-html-0.9.1.0-7eFUKdbZvwj2jNr19zpTMj-ghc8.4.3.so => /usr/lib/libHSblaze-html-0.9.1.0-7eFUKdbZvwj2jNr19zpTMj-ghc8.4.3.so (0x00007f7d95309000) libHSblaze-markup-0.8.2.1-FFkiru1HsegAfMrnqJMDug-ghc8.4.3.so => /usr/lib/libHSblaze-markup-0.8.2.1-FFkiru1HsegAfMrnqJMDug-ghc8.4.3.so (0x00007f7d952b4000) libHShaskell-src-meta-0.8.0.2-5O3UpUOZE5UA729Tp276I7-ghc8.4.3.so => /usr/lib/libHShaskell-src-meta-0.8.0.2-5O3UpUOZE5UA729Tp276I7-ghc8.4.3.so (0x00007f7d95257000) libHSth-orphans-0.13.5-5KF2rx3beau4Afz99z5Jxz-ghc8.4.3.so => /usr/lib/libHSth-orphans-0.13.5-5KF2rx3beau4Afz99z5Jxz-ghc8.4.3.so (0x00007f7d951fd000) libHSth-reify-many-0.1.8-LtTyEtBGK5I3tMqmzVk4c8-ghc8.4.3.so => /usr/lib/libHSth-reify-many-0.1.8-LtTyEtBGK5I3tMqmzVk4c8-ghc8.4.3.so (0x00007f7d951ed000) libHSth-expand-syns-0.4.4.0-47lN8Q4mjVf9oH66olShaZ-ghc8.4.3.so => /usr/lib/libHSth-expand-syns-0.4.4.0-47lN8Q4mjVf9oH66olShaZ-ghc8.4.3.so (0x00007f7d951d3000) libHSsafe-0.3.17-HEmZRpXGD3s2ywM3rHJ1ur-ghc8.4.3.so => /usr/lib/libHSsafe-0.3.17-HEmZRpXGD3s2ywM3rHJ1ur-ghc8.4.3.so (0x00007f7d951a6000) libHSsyb-0.7-2jW43lwzJV5e7EQvU8PxV-ghc8.4.3.so => /usr/lib/libHSsyb-0.7-2jW43lwzJV5e7EQvU8PxV-ghc8.4.3.so (0x00007f7d95168000) libHShaskell-src-exts-1.20.2-7ldThCSFJiaCPyoxM9W9TJ-ghc8.4.3.so => /usr/lib/libHShaskell-src-exts-1.20.2-7ldThCSFJiaCPyoxM9W9TJ-ghc8.4.3.so (0x00007f7d9446f000) libHScpphs-1.20.8-EnghLHV7NxH7UxslX9e8Ie-ghc8.4.3.so => /usr/lib/libHScpphs-1.20.8-EnghLHV7NxH7UxslX9e8Ie-ghc8.4.3.so (0x00007f7d943f2000) libHSpolyparse-1.12-AafkYPRdYin98WnFInxf9-ghc8.4.3.so => /usr/lib/libHSpolyparse-1.12-AafkYPRdYin98WnFInxf9-ghc8.4.3.so (0x00007f7d942e5000) libHShttp-api-data-0.3.8.1-K4emXiQFPXKFNpHjfZmlcf-ghc8.4.3.so => /usr/lib/libHShttp-api-data-0.3.8.1-K4emXiQFPXKFNpHjfZmlcf-ghc8.4.3.so (0x00007f7d94215000) libHSuri-bytestring-0.3.2.0-7m7sndgkdxIEMAU6CdT500-ghc8.4.3.so => /usr/lib/libHSuri-bytestring-0.3.2.0-7m7sndgkdxIEMAU6CdT500-ghc8.4.3.so (0x00007f7d94180000) libHSth-lift-instances-0.1.11-5uwdS3hZTXNXGWCgD5xIR-ghc8.4.3.so => /usr/lib/libHSth-lift-instances-0.1.11-5uwdS3hZTXNXGWCgD5xIR-ghc8.4.3.so (0x00007f7d94172000) libHSattoparsec-iso8601-1.0.0.0-EO0YYamhHguIFeJGpN4Hp9-ghc8.4.3.so => /usr/lib/libHSattoparsec-iso8601-1.0.0.0-EO0YYamhHguIFeJGpN4Hp9-ghc8.4.3.so (0x00007f7d9415a000) libHSpath-pieces-0.2.1-Bpsfe2mCPCaEayXevejNMW-ghc8.4.3.so => /usr/lib/libHSpath-pieces-0.2.1-Bpsfe2mCPCaEayXevejNMW-ghc8.4.3.so (0x00007f7d94145000) libHSresource-pool-0.2.3.2-t71T2FJLLPK7kCAPF4aGe-ghc8.4.3.so => /usr/lib/libHSresource-pool-0.2.3.2-t71T2FJLLPK7kCAPF4aGe-ghc8.4.3.so (0x00007f7d94133000) libHStemporary-1.3-Cm1J26GleBtLT04MztsMMY-ghc8.4.3.so => /usr/lib/libHStemporary-1.3-Cm1J26GleBtLT04MztsMMY-ghc8.4.3.so (0x00007f7d94129000) libHSopen-browser-0.2.1.0-Lj74S9sKrTXAgLlyjQqhhk-ghc8.4.3.so => /usr/lib/libHSopen-browser-0.2.1.0-Lj74S9sKrTXAgLlyjQqhhk-ghc8.4.3.so (0x00007f7d94122000) libHSneat-interpolation-0.3.2.1-4zMoFneL1GTKzJU7bQqUv-ghc8.4.3.so => /usr/lib/libHSneat-interpolation-0.3.2.1-4zMoFneL1GTKzJU7bQqUv-ghc8.4.3.so (0x00007f7d94109000) libHSbase-prelude-1.3-6USA4MwBClb3KaEhnb0gD7-ghc8.4.3.so => /usr/lib/libHSbase-prelude-1.3-6USA4MwBClb3KaEhnb0gD7-ghc8.4.3.so (0x00007f7d94104000) libHSmustache-2.3.0-2Ym6gxFsQUrDUCPa1tV06v-ghc8.4.3.so => /usr/lib/libHSmustache-2.3.0-2Ym6gxFsQUrDUCPa1tV06v-ghc8.4.3.so (0x00007f7d94067000) libHSth-lift-0.7.10-75yK075TwMmJKviRYN52Tn-ghc8.4.3.so => /usr/lib/libHSth-lift-0.7.10-75yK075TwMmJKviRYN52Tn-ghc8.4.3.so (0x00007f7d9404e000) libHSeither-5-EF7EimNdjHgITSaU9VjScs-ghc8.4.3.so => /usr/lib/libHSeither-5-EF7EimNdjHgITSaU9VjScs-ghc8.4.3.so (0x00007f7d94038000) libHSsemigroupoids-5.2.2-8mKbj7zzUBBIy2rLU02e4o-ghc8.4.3.so => /usr/lib/libHSsemigroupoids-5.2.2-8mKbj7zzUBBIy2rLU02e4o-ghc8.4.3.so (0x00007f7d93f5c000) libHSprofunctors-5.2.2-KDTw3PF0caSmqK9Pm4TTJ-ghc8.4.3.so => /usr/lib/libHSprofunctors-5.2.2-KDTw3PF0caSmqK9Pm4TTJ-ghc8.4.3.so (0x00007f7d93e98000) libHSmonad-logger-0.3.28.5-JHQdBp19D7w3onMyzT0HI7-ghc8.4.3.so => /usr/lib/libHSmonad-logger-0.3.28.5-JHQdBp19D7w3onMyzT0HI7-ghc8.4.3.so (0x00007f7d93e33000) libHSstm-chans-3.0.0.4-1zxsnYr1r3u2n2uZuqSuqq-ghc8.4.3.so => /usr/lib/libHSstm-chans-3.0.0.4-1zxsnYr1r3u2n2uZuqSuqq-ghc8.4.3.so (0x00007f7d93e11000) libHSmonad-loops-0.4.3-2NGNwTmuzQ8HUga17olMGs-ghc8.4.3.so => /usr/lib/libHSmonad-loops-0.4.3-2NGNwTmuzQ8HUga17olMGs-ghc8.4.3.so (0x00007f7d93dfa000) libHSlifted-base-0.2.3.12-HIBr2fFjqmLwbJ2auwIgh-ghc8.4.3.so => /usr/lib/libHSlifted-base-0.2.3.12-HIBr2fFjqmLwbJ2auwIgh-ghc8.4.3.so (0x00007f7d93de3000) libHSmonad-control-1.0.2.3-1gGLH28moKUENbl4ouk61u-ghc8.4.3.so => /usr/lib/libHSmonad-control-1.0.2.3-1gGLH28moKUENbl4ouk61u-ghc8.4.3.so (0x00007f7d93dce000) libHStransformers-base-0.4.5.2-KW6dpmOXA8I95CecmuGvJB-ghc8.4.3.so => /usr/lib/libHStransformers-base-0.4.5.2-KW6dpmOXA8I95CecmuGvJB-ghc8.4.3.so (0x00007f7d93db5000) libHSfast-logger-2.4.11-6LKqhJmZGwUIa706cRTW3e-ghc8.4.3.so => /usr/lib/libHSfast-logger-2.4.11-6LKqhJmZGwUIa706cRTW3e-ghc8.4.3.so (0x00007f7d93d8c000) libHSunix-time-0.3.8-5fltYDPFAZ5F2GcCyCCBk2-ghc8.4.3.so => /usr/lib/libHSunix-time-0.3.8-5fltYDPFAZ5F2GcCyCCBk2-ghc8.4.3.so (0x00007f7d93d74000) libHSold-time-1.1.0.3-ISACJ3jTIVREs8CzPwsoWu-ghc8.4.3.so => /usr/lib/libHSold-time-1.1.0.3-ISACJ3jTIVREs8CzPwsoWu-ghc8.4.3.so (0x00007f7d93d22000) libHSold-locale-1.0.0.7-26K7wLFR2jK44UeOklvTCh-ghc8.4.3.so => /usr/lib/libHSold-locale-1.0.0.7-26K7wLFR2jK44UeOklvTCh-ghc8.4.3.so (0x00007f7d93d0b000) libHSeasy-file-0.2.2-4l2xgq1xN4PHgDPMu188oI-ghc8.4.3.so => /usr/lib/libHSeasy-file-0.2.2-4l2xgq1xN4PHgDPMu188oI-ghc8.4.3.so (0x00007f7d93cf4000) libHSauto-update-0.1.4-7k5Okr80TfS9UGlvnbDZr0-ghc8.4.3.so => /usr/lib/libHSauto-update-0.1.4-7k5Okr80TfS9UGlvnbDZr0-ghc8.4.3.so (0x00007f7d93ce3000) libHSmintty-0.1.2-JbzlJTT95QQ6PkuXy4kGuG-ghc8.4.3.so => /usr/lib/libHSmintty-0.1.2-JbzlJTT95QQ6PkuXy4kGuG-ghc8.4.3.so (0x00007f7d93cdf000) libHSmicrolens-0.4.9.1-Il1wVteoTNOAmlNI3I8KNh-ghc8.4.3.so => /usr/lib/libHSmicrolens-0.4.9.1-Il1wVteoTNOAmlNI3I8KNh-ghc8.4.3.so (0x00007f7d93cbe000) libHShttp-conduit-2.3.1-GH7uGOYOgWiIAN8iMjjyod-ghc8.4.3.so => /usr/lib/libHShttp-conduit-2.3.1-GH7uGOYOgWiIAN8iMjjyod-ghc8.4.3.so (0x00007f7d93c9e000) libHShpc-0.6.0.3-ghc8.4.3.so => /usr/lib/ghc-8.4.3/hpc-0.6.0.3/libHShpc-0.6.0.3-ghc8.4.3.so (0x00007f7d93c6a000) libHShpack-0.28.2-KWrk5uoFiPg2nsQdk5SivU-ghc8.4.3.so => /usr/lib/libHShpack-0.28.2-KWrk5uoFiPg2nsQdk5SivU-ghc8.4.3.so (0x00007f7d93a8f000) libHSyaml-0.8.30-5OnKsDFfyOUHk5BZ20fF14-ghc8.4.3.so => /usr/lib/libHSyaml-0.8.30-5OnKsDFfyOUHk5BZ20fF14-ghc8.4.3.so (0x00007f7d939ae000) libHShttp-client-tls-0.3.5.3-87ITordiFeaJxpRGoXUThe-ghc8.4.3.so => /usr/lib/libHShttp-client-tls-0.3.5.3-87ITordiFeaJxpRGoXUThe-ghc8.4.3.so (0x00007f7d93987000) libHSconnection-0.2.8-EHYsPcW7TBkJPtGYjchR3w-ghc8.4.3.so => /usr/lib/libHSconnection-0.2.8-EHYsPcW7TBkJPtGYjchR3w-ghc8.4.3.so (0x00007f7d9395b000) libHSx509-system-1.6.6-G0xjeRAhC51FcMFWcdaQgU-ghc8.4.3.so => /usr/lib/libHSx509-system-1.6.6-G0xjeRAhC51FcMFWcdaQgU-ghc8.4.3.so (0x00007f7d93952000) libHStls-1.4.1-1oxdVRA30bhEmlLY19NCmv-ghc8.4.3.so => /usr/lib/libHStls-1.4.1-1oxdVRA30bhEmlLY19NCmv-ghc8.4.3.so (0x00007f7d9367a000) libHSx509-validation-1.6.10-Bw0K2I4FPG7JVtRlZP2ISz-ghc8.4.3.so => /usr/lib/libHSx509-validation-1.6.10-Bw0K2I4FPG7JVtRlZP2ISz-ghc8.4.3.so (0x00007f7d93646000) libHSx509-store-1.6.6-FLMDYsf6bSvDMI3Mhp6bCf-ghc8.4.3.so => /usr/lib/libHSx509-store-1.6.6-FLMDYsf6bSvDMI3Mhp6bCf-ghc8.4.3.so (0x00007f7d93630000) libHSx509-1.7.3-CsWpJq4QQGRHaYch8XYZfa-ghc8.4.3.so => /usr/lib/libHSx509-1.7.3-CsWpJq4QQGRHaYch8XYZfa-ghc8.4.3.so (0x00007f7d9353f000) libHSasn1-parse-0.9.4-6KZIh6E27gj6ma2Ip1bLOZ-ghc8.4.3.so => /usr/lib/libHSasn1-parse-0.9.4-6KZIh6E27gj6ma2Ip1bLOZ-ghc8.4.3.so (0x00007f7d93535000) libHSpem-0.2.4-Ah6LHL9M2k7623ZjOU6w4p-ghc8.4.3.so => /usr/lib/libHSpem-0.2.4-Ah6LHL9M2k7623ZjOU6w4p-ghc8.4.3.so (0x00007f7d93527000) libHSasn1-encoding-0.9.5-HA66FgEvKKQETY5tv3TNY9-ghc8.4.3.so => /usr/lib/libHSasn1-encoding-0.9.5-HA66FgEvKKQETY5tv3TNY9-ghc8.4.3.so (0x00007f7d934db000) libHSasn1-types-0.3.2-JTXhhGhoZcYFVVTnQkvDfL-ghc8.4.3.so => /usr/lib/libHSasn1-types-0.3.2-JTXhhGhoZcYFVVTnQkvDfL-ghc8.4.3.so (0x00007f7d9348b000) libHShourglass-0.2.11-HZDf9BC3ncm8KHsGKeZrlx-ghc8.4.3.so => /usr/lib/libHShourglass-0.2.11-HZDf9BC3ncm8KHsGKeZrlx-ghc8.4.3.so (0x00007f7d93376000) libHSsocks-0.5.6-JxbGCZhJwys5WqOSQGNroJ-ghc8.4.3.so => /usr/lib/libHSsocks-0.5.6-JxbGCZhJwys5WqOSQGNroJ-ghc8.4.3.so (0x00007f7d932df000) libHScereal-0.5.5.0-GXs0HkZKyWNA7Krg63fmZj-ghc8.4.3.so => /usr/lib/libHScereal-0.5.5.0-GXs0HkZKyWNA7Krg63fmZj-ghc8.4.3.so (0x00007f7d9325b000) libHSbyteable-0.1.1-APABKKN6nDlC3QxQBw4YlY-ghc8.4.3.so => /usr/lib/libHSbyteable-0.1.1-APABKKN6nDlC3QxQBw4YlY-ghc8.4.3.so (0x00007f7d93255000) libHShttp-client-0.5.13-oP0CuDy48eCryfgf9zAeZ-ghc8.4.3.so => /usr/lib/libHShttp-client-0.5.13-oP0CuDy48eCryfgf9zAeZ-ghc8.4.3.so (0x00007f7d9312e000) libHSmime-types-0.1.0.7-LUz1fzcauM82P0JAicK9l4-ghc8.4.3.so => /usr/lib/libHSmime-types-0.1.0.7-LUz1fzcauM82P0JAicK9l4-ghc8.4.3.so (0x00007f7d92fa9000) libHScookie-0.4.4-JPTjqtKlVKyLfZoDZSF6OJ-ghc8.4.3.so => /usr/lib/libHScookie-0.4.4-JPTjqtKlVKyLfZoDZSF6OJ-ghc8.4.3.so (0x00007f7d92f90000) libHSdata-default-class-0.1.2.0-EBMa9CD2M17D2Emy9Sff6j-ghc8.4.3.so => /usr/lib/libHSdata-default-class-0.1.2.0-EBMa9CD2M17D2Emy9Sff6j-ghc8.4.3.so (0x00007f7d92f87000) libHSblaze-builder-0.4.1.0-Gz7BwSYlOrTDOutVN7e028-ghc8.4.3.so => /usr/lib/libHSblaze-builder-0.4.1.0-Gz7BwSYlOrTDOutVN7e028-ghc8.4.3.so (0x00007f7d92f60000) libHShttp-types-0.12.1-AvwTvixVY2aCGvkbFE4VfX-ghc8.4.3.so => /usr/lib/libHShttp-types-0.12.1-AvwTvixVY2aCGvkbFE4VfX-ghc8.4.3.so (0x00007f7d92ef5000) libHScase-insensitive-1.2.0.11-GjimmYhRn324HWbQThQUra-ghc8.4.3.so => /usr/lib/libHScase-insensitive-1.2.0.11-GjimmYhRn324HWbQThQUra-ghc8.4.3.so (0x00007f7d92ede000) libHSbifunctors-5.5.2-BrmrG1icAseGpbnKLdYeAh-ghc8.4.3.so => /usr/lib/libHSbifunctors-5.5.2-BrmrG1icAseGpbnKLdYeAh-ghc8.4.3.so (0x00007f7d92e0a000) libHScomonad-5.0.3-85pQKM0zcqm9GBqMGwVBhh-ghc8.4.3.so => /usr/lib/libHScomonad-5.0.3-85pQKM0zcqm9GBqMGwVBhh-ghc8.4.3.so (0x00007f7d92dc6000) libHSdistributive-0.5.3-Ggkwa7XwRejLFdA5oDBaFZ-ghc8.4.3.so => /usr/lib/libHSdistributive-0.5.3-Ggkwa7XwRejLFdA5oDBaFZ-ghc8.4.3.so (0x00007f7d92dab000) libHScontravariant-1.4.1-HAsNOXS6UjNLhhUqovtoIr-ghc8.4.3.so => /usr/lib/libHScontravariant-1.4.1-HAsNOXS6UjNLhhUqovtoIr-ghc8.4.3.so (0x00007f7d92d64000) libHSStateVar-1.1.1.0-BmCYP2gLue736T5hzlFgTZ-ghc8.4.3.so => /usr/lib/libHSStateVar-1.1.1.0-BmCYP2gLue736T5hzlFgTZ-ghc8.4.3.so (0x00007f7d92d59000) libHSbase-orphans-0.7-DFzqJo74HQjHjfhO0xkTzo-ghc8.4.3.so => /usr/lib/libHSbase-orphans-0.7-DFzqJo74HQjHjfhO0xkTzo-ghc8.4.3.so (0x00007f7d92d55000) libHSGlob-0.9.2-AbjvDlFSYnKBsiDSJQ0XCU-ghc8.4.3.so => /usr/lib/libHSGlob-0.9.2-AbjvDlFSYnKBsiDSJQ0XCU-ghc8.4.3.so (0x00007f7d92d11000) libHShackage-security-0.5.3.0-KLQHCPuCgRNJkNLHtDMlc1-ghc8.4.3.so => /usr/lib/libHShackage-security-0.5.3.0-KLQHCPuCgRNJkNLHtDMlc1-ghc8.4.3.so (0x00007f7d92b4b000) libHSnetwork-uri-2.6.1.0-AstEwZoXrlUJQq4VkxaVo9-ghc8.4.3.so => /usr/lib/libHSnetwork-uri-2.6.1.0-AstEwZoXrlUJQq4VkxaVo9-ghc8.4.3.so (0x00007f7d92aea000) libHStar-0.5.1.0-2NE6oowiyVxJcDjgLMgVCm-ghc8.4.3.so => /usr/lib/libHStar-0.5.1.0-2NE6oowiyVxJcDjgLMgVCm-ghc8.4.3.so (0x00007f7d92a56000) libHScryptohash-sha256-0.11.101.0-CJeFvVNcGiT5bH5InaPROn-ghc8.4.3.so => /usr/lib/libHScryptohash-sha256-0.11.101.0-CJeFvVNcGiT5bH5InaPROn-ghc8.4.3.so (0x00007f7d92a47000) libHSed25519-0.0.5.0-J1zl42RyRuN3VNmQie6YiT-ghc8.4.3.so => /usr/lib/libHSed25519-0.0.5.0-J1zl42RyRuN3VNmQie6YiT-ghc8.4.3.so (0x00007f7d92a22000) libHSbase16-bytestring-0.1.1.6-I0igvRcEwRNBMqqPC2yQBh-ghc8.4.3.so => /usr/lib/libHSbase16-bytestring-0.1.1.6-I0igvRcEwRNBMqqPC2yQBh-ghc8.4.3.so (0x00007f7d92a1a000) libHSgeneric-deriving-1.12.1-FuroWhBR2UmCLOpOp0vyS5-ghc8.4.3.so => /usr/lib/libHSgeneric-deriving-1.12.1-FuroWhBR2UmCLOpOp0vyS5-ghc8.4.3.so (0x00007f7d927f6000) libHShinotify-0.3.10-1hds7Zybs3sLhehpuSG4Xi-ghc8.4.3.so => /usr/lib/libHShinotify-0.3.10-1hds7Zybs3sLhehpuSG4Xi-ghc8.4.3.so (0x00007f7d927bd000) libHSunix-compat-0.5.0.1-EHbnKrAgBdbLiFhZ6tM1y-ghc8.4.3.so => /usr/lib/libHSunix-compat-0.5.0.1-EHbnKrAgBdbLiFhZ6tM1y-ghc8.4.3.so (0x00007f7d927b7000) libHSfile-embed-0.0.10.1-JBj0CTa3b3pL2aTV19QFZK-ghc8.4.3.so => /usr/lib/libHSfile-embed-0.0.10.1-JBj0CTa3b3pL2aTV19QFZK-ghc8.4.3.so (0x00007f7d927a3000) libHSextra-1.6.8-BMog8mRY87K2QGBhOnZKiY-ghc8.4.3.so => /usr/lib/libHSextra-1.6.8-BMog8mRY87K2QGBhOnZKiY-ghc8.4.3.so (0x00007f7d92752000) libHSclock-0.7.2-ErKmPTjVISxJnEb9XKUAOs-ghc8.4.3.so => /usr/lib/libHSclock-0.7.2-ErKmPTjVISxJnEb9XKUAOs-ghc8.4.3.so (0x00007f7d9272c000) libHSecho-0.1.3-G7cuM0pWhoYJlNCMI5dtUe-ghc8.4.3.so => /usr/lib/libHSecho-0.1.3-G7cuM0pWhoYJlNCMI5dtUe-ghc8.4.3.so (0x00007f7d92721000) libHScryptonite-conduit-0.2.2-7fInNcTR5Kx5I5kmk22YVP-ghc8.4.3.so => /usr/lib/libHScryptonite-conduit-0.2.2-7fInNcTR5Kx5I5kmk22YVP-ghc8.4.3.so (0x00007f7d92708000) libHScryptonite-0.25-90uxV0bWEYmfC6QouwM7s-ghc8.4.3.so => /usr/lib/libHScryptonite-0.25-90uxV0bWEYmfC6QouwM7s-ghc8.4.3.so (0x00007f7d92190000) libHSmemory-0.14.16-Hs1NDoAVjuC3IQmOlFTQpi-ghc8.4.3.so => /usr/lib/libHSmemory-0.14.16-Hs1NDoAVjuC3IQmOlFTQpi-ghc8.4.3.so (0x00007f7d920f8000) libHSfoundation-0.0.20-9reQZwgIAM5Y7apIRkKr4-ghc8.4.3.so => /usr/lib/libHSfoundation-0.0.20-9reQZwgIAM5Y7apIRkKr4-ghc8.4.3.so (0x00007f7d91dfa000) libHSbasement-0.0.7-2rr6CUCXDXO23STP232Skz-ghc8.4.3.so => /usr/lib/libHSbasement-0.0.7-2rr6CUCXDXO23STP232Skz-ghc8.4.3.so (0x00007f7d91b0e000) libHSconduit-extra-1.3.0-GVcKZHuJmAnHweUkgtQJOi-ghc8.4.3.so => /usr/lib/libHSconduit-extra-1.3.0-GVcKZHuJmAnHweUkgtQJOi-ghc8.4.3.so (0x00007f7d91a8c000) libHStyped-process-0.2.2.0-3fo1SoCDXekCAwgAkvywKY-ghc8.4.3.so => /usr/lib/libHStyped-process-0.2.2.0-3fo1SoCDXekCAwgAkvywKY-ghc8.4.3.so (0x00007f7d91a57000) libHSstreaming-commons-0.2.0.0-BrNx69DIIL221T72J4xzCI-ghc8.4.3.so => /usr/lib/libHSstreaming-commons-0.2.0.0-BrNx69DIIL221T72J4xzCI-ghc8.4.3.so (0x00007f7d919bd000) libHSzlib-0.6.2-HJOgVWrPGFTFgWXcvoaUGH-ghc8.4.3.so => /usr/lib/libHSzlib-0.6.2-HJOgVWrPGFTFgWXcvoaUGH-ghc8.4.3.so (0x00007f7d91943000) libHSnetwork-2.7.0.0-LUBJED3ldrlJLfz5zucb8N-ghc8.4.3.so => /usr/lib/libHSnetwork-2.7.0.0-LUBJED3ldrlJLfz5zucb8N-ghc8.4.3.so (0x00007f7d9185e000) libHSconduit-1.3.0.2-1hBiXB5tszl8pYcAtswbUu-ghc8.4.3.so => /usr/lib/libHSconduit-1.3.0.2-1hBiXB5tszl8pYcAtswbUu-ghc8.4.3.so (0x00007f7d91770000) libHSmono-traversable-1.0.8.1-HSfYkVZf63k6xl2s8yk7dp-ghc8.4.3.so => /usr/lib/libHSmono-traversable-1.0.8.1-HSfYkVZf63k6xl2s8yk7dp-ghc8.4.3.so (0x00007f7d915ed000) libHSvector-algorithms-0.7.0.1-EyyozaUjs08KrqwZf8niHA-ghc8.4.3.so => /usr/lib/libHSvector-algorithms-0.7.0.1-EyyozaUjs08KrqwZf8niHA-ghc8.4.3.so (0x00007f7d91317000) libHSsplit-0.2.3.3-DYHuRk05Zl3FsXrGVgC4fG-ghc8.4.3.so => /usr/lib/libHSsplit-0.2.3.3-DYHuRk05Zl3FsXrGVgC4fG-ghc8.4.3.so (0x00007f7d912fc000) libHSresourcet-1.2.1-4pMMS1UB6fR4Ip7CV9uWB8-ghc8.4.3.so => /usr/lib/libHSresourcet-1.2.1-4pMMS1UB6fR4Ip7CV9uWB8-ghc8.4.3.so (0x00007f7d912bf000) libHSbindings-uname-0.1-C6OZvweSN4S17RBDNVn1Cq-ghc8.4.3.so => /usr/lib/libHSbindings-uname-0.1-C6OZvweSN4S17RBDNVn1Cq-ghc8.4.3.so (0x00007f7d912ba000) libHSbase64-bytestring-1.0.0.1-4OCIe2BZn8jKI191JIXI37-ghc8.4.3.so => /usr/lib/libHSbase64-bytestring-1.0.0.1-4OCIe2BZn8jKI191JIXI37-ghc8.4.3.so (0x00007f7d912a4000) libHSasync-2.2.1-B6m2kYywRJu7nicgTBxsJe-ghc8.4.3.so => /usr/lib/libHSasync-2.2.1-B6m2kYywRJu7nicgTBxsJe-ghc8.4.3.so (0x00007f7d9127e000) libHSstm-2.4.5.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/stm-2.4.5.0/libHSstm-2.4.5.0-ghc8.4.3.so (0x00007f7d9125e000) libHSansi-terminal-0.8.0.4-HZ5uOkWM5Gb4ksiKJemtLG-ghc8.4.3.so => /usr/lib/libHSansi-terminal-0.8.0.4-HZ5uOkWM5Gb4ksiKJemtLG-ghc8.4.3.so (0x00007f7d911e3000) libHScolour-2.3.4-IbbHdQftwa0BPK9B8AserT-ghc8.4.3.so => /usr/lib/libHScolour-2.3.4-IbbHdQftwa0BPK9B8AserT-ghc8.4.3.so (0x00007f7d9115b000) libHSaeson-1.3.1.1-9XRC4e94J4n99AnBXEVUy1-ghc8.4.3.so => /usr/lib/libHSaeson-1.3.1.1-9XRC4e94J4n99AnBXEVUy1-ghc8.4.3.so (0x00007f7d90c82000) libHSvector-0.12.0.1-1fezwShzdEfG3Hp1Pmvjkq-ghc8.4.3.so => /usr/lib/libHSvector-0.12.0.1-1fezwShzdEfG3Hp1Pmvjkq-ghc8.4.3.so (0x00007f7d9087a000) libHSuuid-types-1.0.3-9IxwX10i8f5KLD3aajZO71-ghc8.4.3.so => /usr/lib/libHSuuid-types-1.0.3-9IxwX10i8f5KLD3aajZO71-ghc8.4.3.so (0x00007f7d9084d000) libHSrandom-1.1-9LLJAJa4iQFLJiLXBOBXBV-ghc8.4.3.so => /usr/lib/libHSrandom-1.1-9LLJAJa4iQFLJiLXBOBXBV-ghc8.4.3.so (0x00007f7d907ec000) libHSunordered-containers-0.2.9.0-4xkK4TVeOzU5CT7vUnH40Y-ghc8.4.3.so => /usr/lib/libHSunordered-containers-0.2.9.0-4xkK4TVeOzU5CT7vUnH40Y-ghc8.4.3.so (0x00007f7d90771000) libHStime-locale-compat-0.1.1.4-7wM80GF7eQsF3fUTGOdEvb-ghc8.4.3.so => /usr/lib/libHStime-locale-compat-0.1.1.4-7wM80GF7eQsF3fUTGOdEvb-ghc8.4.3.so (0x00007f7d9076e000) libHSth-abstraction-0.2.6.0-8bhBYrrqrAJFCd9hjMrFb4-ghc8.4.3.so => /usr/lib/libHSth-abstraction-0.2.6.0-8bhBYrrqrAJFCd9hjMrFb4-ghc8.4.3.so (0x00007f7d906ed000) libHStagged-0.8.5-8zhZJ4AR6AIK89q9NUJ4H-ghc8.4.3.so => /usr/lib/libHStagged-0.8.5-8zhZJ4AR6AIK89q9NUJ4H-ghc8.4.3.so (0x00007f7d906c4000) libHStransformers-compat-0.6.2-EZ0ZvADLUlc4V8RuKaJX5W-ghc8.4.3.so => /usr/lib/libHStransformers-compat-0.6.2-EZ0ZvADLUlc4V8RuKaJX5W-ghc8.4.3.so (0x00007f7d90690000) libHStemplate-haskell-2.13.0.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/template-haskell-2.13.0.0/libHStemplate-haskell-2.13.0.0-ghc8.4.3.so (0x00007f7d9033c000) libHSghc-boot-th-8.4.3-ghc8.4.3.so => /usr/lib/ghc-8.4.3/ghc-boot-th-8.4.3/libHSghc-boot-th-8.4.3-ghc8.4.3.so (0x00007f7d902fd000) libHSdlist-0.8.0.4-CrGJIvQnsM82JxkEwejrYD-ghc8.4.3.so => /usr/lib/libHSdlist-0.8.0.4-CrGJIvQnsM82JxkEwejrYD-ghc8.4.3.so (0x00007f7d902e8000) libHSbase-compat-0.10.1-LjQCAvvrOQx72iD1hHVjc6-ghc8.4.3.so => /usr/lib/libHSbase-compat-0.10.1-LjQCAvvrOQx72iD1hHVjc6-ghc8.4.3.so (0x00007f7d902ce000) libHSattoparsec-0.13.2.2-2rSZNTl4Hzq7SdjVOGnWBH-ghc8.4.3.so => /usr/lib/libHSattoparsec-0.13.2.2-2rSZNTl4Hzq7SdjVOGnWBH-ghc8.4.3.so (0x00007f7d900ea000) libHSscientific-0.3.6.2-KcBBbCjUUZZKnRSUL2OTul-ghc8.4.3.so => /usr/lib/libHSscientific-0.3.6.2-KcBBbCjUUZZKnRSUL2OTul-ghc8.4.3.so (0x00007f7d90092000) libHSprimitive-0.6.4.0-39Pwmm1zkQX6bM7xFUT3Jc-ghc8.4.3.so => /usr/lib/libHSprimitive-0.6.4.0-39Pwmm1zkQX6bM7xFUT3Jc-ghc8.4.3.so (0x00007f7d8ffbf000) libHShashable-1.2.7.0-KBRKfoLB8Vi3u8lTX7XQlg-ghc8.4.3.so => /usr/lib/libHShashable-1.2.7.0-KBRKfoLB8Vi3u8lTX7XQlg-ghc8.4.3.so (0x00007f7d8ff88000) libHSinteger-logarithms-1.0.2.1-JUhgLgztEu58YkLteYDxF7-ghc8.4.3.so => /usr/lib/libHSinteger-logarithms-1.0.2.1-JUhgLgztEu58YkLteYDxF7-ghc8.4.3.so (0x00007f7d8ff6e000) libHSparsec-3.1.13.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/parsec-3.1.13.0/libHSparsec-3.1.13.0-ghc8.4.3.so (0x00007f7d8fec3000) libHSbinary-0.8.5.1-ghc8.4.3.so => /usr/lib/ghc-8.4.3/binary-0.8.5.1/libHSbinary-0.8.5.1-ghc8.4.3.so (0x00007f7d8fe22000) libHSmtl-2.2.2-ghc8.4.3.so => /usr/lib/ghc-8.4.3/mtl-2.2.2/libHSmtl-2.2.2-ghc8.4.3.so (0x00007f7d8fdef000) libHStransformers-0.5.5.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/transformers-0.5.5.0/libHStransformers-0.5.5.0-ghc8.4.3.so (0x00007f7d8fcd6000) libHSprocess-1.6.3.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/process-1.6.3.0/libHSprocess-1.6.3.0-ghc8.4.3.so (0x00007f7d8fc97000) libHStime-1.8.0.2-ghc8.4.3.so => /usr/lib/ghc-8.4.3/time-1.8.0.2/libHStime-1.8.0.2-ghc8.4.3.so (0x00007f7d8fb99000) libHSdeepseq-1.4.3.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/deepseq-1.4.3.0/libHSdeepseq-1.4.3.0-ghc8.4.3.so (0x00007f7d8fb7f000) libHSarray-0.5.2.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/array-0.5.2.0/libHSarray-0.5.2.0-ghc8.4.3.so (0x00007f7d8fb02000) libHSinteger-gmp-1.0.2.0-ghc8.4.3.so => /usr/lib/ghc-8.4.3/integer-gmp-1.0.2.0/libHSinteger-gmp-1.0.2.0-ghc8.4.3.so (0x00007f7d8fabf000) libz.so.1 => /usr/lib/libz.so.1 (0x00007f7d8f8a8000) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f7d8f593000) librt.so.1 => /usr/lib/librt.so.1 (0x00007f7d8f389000) libutil.so.1 => /usr/lib/libutil.so.1 (0x00007f7d8f186000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f7d8ef82000) libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007f7d8ecef000) libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f7d8ead6000) [vagrant@archlinux ~]$ ^C [vagrant@archlinux ~]$ ldd /usr/bin/stack ^C [vagrant@archlinux ~]$ sudo pacman -S docker resolving dependencies... looking for conflicting packages... Packages (3) bridge-utils-1.6-2 libtool-2.4.6+40+g6ca5e224-7 docker-1:18.05.0-2 Total Download Size: 33.26 MiB Total Installed Size: 161.68 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... bridge-utils-1.6-2-x86_64 15.2 KiB 65.2K/s 00:00 [##################################################################] 100% libtool-2.4.6+40+g6ca5e224-7-x86_64 399.2 KiB 410K/s 00:01 [##################################################################] 100% docker-1:18.05.0-2-x86_64 32.9 MiB 9.55M/s 00:03 [##################################################################] 100% (3/3) checking keys in keyring [##################################################################] 100% (3/3) checking package integrity [##################################################################] 100% (3/3) loading package files [##################################################################] 100% (3/3) checking for file conflicts [##################################################################] 100% (3/3) checking available disk space [##################################################################] 100% :: Processing package changes... (1/3) installing bridge-utils [##################################################################] 100% (2/3) installing libtool [##################################################################] 100% (3/3) installing docker [##################################################################] 100% Optional dependencies for docker btrfs-progs: btrfs backend support [installed] lxc: lxc backend support pigz: parallel gzip compressor support :: Running post-transaction hooks... (1/5) Reloading system manager configuration... (2/5) Creating system user accounts... (3/5) Reloading device manager configuration... (4/5) Arming ConditionNeedsUpdate... (5/5) Updating the info directory file... [vagrant@archlinux ~]$ docker images Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? [vagrant@archlinux ~]$ systemctl UNIT LOAD ACTIVE SUB DESCRIPTION proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged VBOX_HARDDISK 1 sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged VBOX_HARDDISK rootfs sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged VBOX_HARDDISK sys-devices-pci0000:00-0000:00:03.0-net-eth0.device loaded active plugged 82540EM Gigabit Ethernet Controller (PRO/1000 MT Desktop Adapter) sys-devices-pci0000:00-0000:00:05.0-sound-card0.device loaded active plugged 82801AA AC'97 Audio Controller sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0 sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1 sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2 sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3 sys-module-configfs.device loaded active plugged /sys/module/configfs sys-subsystem-net-devices-eth0.device loaded active plugged 82540EM Gigabit Ethernet Controller (PRO/1000 MT Desktop Adapter) -.mount loaded active mounted Root Mount dev-hugepages.mount loaded active mounted Huge Pages File System dev-mqueue.mount loaded active mounted POSIX Message Queue File System run-user-1000.mount loaded active mounted /run/user/1000 sys-kernel-config.mount loaded active mounted Kernel Configuration File System sys-kernel-debug.mount loaded active mounted Kernel Debug File System tmp.mount loaded active mounted Temporary Directory (/tmp) systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch init.scope loaded active running System and Service Manager session-c3.scope loaded active running Session c3 of user vagrant dbus.service loaded active running D-Bus System Message Bus getty@tty1.service loaded active running Getty on tty1 kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel lvm2-lvmetad.service loaded active running LVM2 metadata daemon lvm2-monitor.service loaded active exited Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress p> sshd.service loaded active running OpenSSH Daemon systemd-firstboot.service loaded active exited First Boot Wizard systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage systemd-journald.service loaded active running Journal Service systemd-logind.service loaded active running Login Service systemd-networkd.service loaded active running Network Service systemd-random-seed.service loaded active exited Load/Save Random Seed systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems systemd-resolved.service loaded active running Network Name Resolution systemd-sysctl.service loaded active exited Apply Kernel Variables systemd-timesyncd.service loaded active running Network Time Synchronization systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories systemd-udev-trigger.service loaded active exited udev Coldplug all Devices systemd-udevd.service loaded active running udev Kernel Device Manager systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown systemd-user-sessions.service loaded active exited Permit User Sessions user@1000.service loaded active running User Manager for UID 1000 vboxservice.service loaded active running VirtualBox Guest Service -.slice loaded active active Root Slice system-getty.slice loaded active active system-getty.slice system.slice loaded active active System Slice user-1000.slice loaded active active User Slice of vagrant user.slice loaded active active User and Session Slice dbus.socket loaded active running D-Bus System Message Bus Socket dm-event.socket loaded active listening Device-mapper event daemon FIFOs lvm2-lvmetad.socket loaded active running LVM2 metadata daemon socket lvm2-lvmpolld.socket loaded active listening LVM2 poll daemon socket systemd-coredump.socket loaded active listening Process Core Dump Socket systemd-initctl.socket loaded active listening initctl Compatibility Named Pipe systemd-journald-dev-log.socket loaded active running Journal Socket (/dev/log) [vagrant@archlinux ~]$ systemctl -a UNIT LOAD ACTIVE SUB DESCRIPTION proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VBcd75bab8\x2d36be35ed.device loaded active plugged VBOX_HARDDISK dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VBcd75bab8\x2d36be35ed\x2dpart1.device loaded active plugged VBOX_HARDDISK 1 dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VBcd75bab8\x2d36be35ed\x2dpart2.device loaded active plugged VBOX_HARDDISK rootfs dev-disk-by\x2dlabel-rootfs.device loaded active plugged VBOX_HARDDISK rootfs dev-disk-by\x2dpartuuid-10fd85d7\x2d01.device loaded active plugged VBOX_HARDDISK 1 dev-disk-by\x2dpartuuid-10fd85d7\x2d02.device loaded active plugged VBOX_HARDDISK rootfs dev-disk-by\x2dpath-pci\x2d0000:00:01.1\x2data\x2d1.device loaded active plugged VBOX_HARDDISK dev-disk-by\x2dpath-pci\x2d0000:00:01.1\x2data\x2d1\x2dpart1.device loaded active plugged VBOX_HARDDISK 1 dev-disk-by\x2dpath-pci\x2d0000:00:01.1\x2data\x2d1\x2dpart2.device loaded active plugged VBOX_HARDDISK rootfs dev-disk-by\x2duuid-0a21ef4c\x2d9f1a\x2d49e3\x2d9ec1\x2dda72834688c3.device loaded active plugged VBOX_HARDDISK 1 dev-disk-by\x2duuid-21d503c1\x2d45b5\x2d40e4\x2d9e47\x2d1a4e43bc9679.device loaded active plugged VBOX_HARDDISK rootfs dev-sda.device loaded active plugged VBOX_HARDDISK dev-sda1.device loaded active plugged VBOX_HARDDISK 1 dev-sda2.device loaded active plugged VBOX_HARDDISK rootfs dev-ttyS0.device loaded active plugged /dev/ttyS0 dev-ttyS1.device loaded active plugged /dev/ttyS1 dev-ttyS2.device loaded active plugged /dev/ttyS2 dev-ttyS3.device loaded active plugged /dev/ttyS3 sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged VBOX_HARDDISK 1 sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged VBOX_HARDDISK rootfs sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged VBOX_HARDDISK sys-devices-pci0000:00-0000:00:03.0-net-eth0.device loaded active plugged 82540EM Gigabit Ethernet Controller (PRO/1000 MT Desktop Adapter) sys-devices-pci0000:00-0000:00:05.0-sound-card0.device loaded active plugged 82801AA AC'97 Audio Controller sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0 sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1 sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2 sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3 sys-module-configfs.device loaded active plugged /sys/module/configfs sys-subsystem-net-devices-eth0.device loaded active plugged 82540EM Gigabit Ethernet Controller (PRO/1000 MT Desktop Adapter) -.mount loaded active mounted Root Mount dev-hugepages.mount loaded active mounted Huge Pages File System dev-mqueue.mount loaded active mounted POSIX Message Queue File System proc-sys-fs-binfmt_misc.mount loaded inactive dead Arbitrary Executable File Formats File System run-user-1000.mount loaded active mounted /run/user/1000 sys-fs-fuse-connections.mount loaded inactive dead FUSE Control File System sys-kernel-config.mount loaded active mounted Kernel Configuration File System sys-kernel-debug.mount loaded active mounted Kernel Debug File System tmp.mount loaded active mounted Temporary Directory (/tmp) var-lib-machines.mount loaded inactive dead Virtual Machine and Container Storage systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch init.scope loaded active running System and Service Manager session-c3.scope loaded active running Session c3 of user vagrant ● auditd.service not-found inactive dead auditd.service dbus.service loaded active running D-Bus System Message Bus ● display-manager.service not-found inactive dead display-manager.service dm-event.service loaded inactive dead Device-mapper event daemon emergency.service loaded inactive dead Emergency Shell getty@tty1.service loaded active running Getty on tty1 initrd-cleanup.service loaded inactive dead Cleaning Up and Shutting Down Daemons initrd-parse-etc.service loaded inactive dead Reload Configuration from the Real Root initrd-switch-root.service loaded inactive dead Switch Root initrd-udevadm-cleanup-db.service loaded inactive dead Cleanup udevd DB kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kern> ldconfig.service loaded inactive dead Rebuild Dynamic Linker Cache logrotate.service loaded inactive dead Rotate log files ● lvm2-activation.service not-found inactive dead lvm2-activation.service lvm2-lvmetad.service loaded active running LVM2 metadata daemon [vagrant@archlinux ~]$ docker images Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? [vagrant@archlinux ~]$ sudo docker images Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? [vagrant@archlinux ~]$ docker i^C [vagrant@archlinux ~]$ systemctl start docker.service [vagrant@archlinux ~]$ docker images Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.37/images/json: dial unix /var/run/docker.sock: connect: permission denied [vagrant@archlinux ~]$ sudo ^C [vagrant@archlinux ~]$ addgr^C [vagrant@archlinux ~]$ sudo docker images REPOSITORY TAG IMAGE ID CREATED SIZE [vagrant@archlinux ~]$ sudo usermod -aG docker vagrant [vagrant@archlinux ~]$ logout Connection to 127.0.0.1 closed. niklas@ares /raid/tmp/archlinux-vagrant % vagrant ssh dockeLast login: Thu Jun 14 11:50:50 2018 from 10.0.2.2 docker[vagrant@archlinux ~]$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE [vagrant@archlinux ~]$ stack new stack-docker-test Downloading template "new-template" to create project "stack-docker-test" in stack-docker-test/ ... The following parameters were needed by the template but not provided: author-email, author-name, category, copyright, github-username You can provide them in /home/vagrant/.stack/config.yaml, like this: templates: params: author-email: value author-name: value category: value copyright: value github-username: value Or you can pass each one as parameters like this: stack new stack-docker-test new-template -p "author-email:value" -p "author-name:value" -p "category:value" -p "copyright:value" -p "github-username:value" Looking for .cabal or package.yaml files to use to init the project. Using cabal packages: - stack-docker-test/ Selecting the best among 13 snapshots... Downloaded lts-11.13 build plan. Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/ Downloading root Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/ Downloading timestamp Downloading snapshot Downloading mirrors Cannot update index (no local copy) Downloading index Updated package index downloaded Update complete Populated index cache. * Matches lts-11.13 Selected resolver: lts-11.13 Initialising configuration using resolver: lts-11.13 Total number of user packages considered: 1 Writing configuration to file: stack-docker-test/stack.yaml All done. [vagrant@archlinux ~]$ cd stack-docker-test [vagrant@archlinux stack-docker-test]$ stack docker pull Pulling image from registry: 'fpco/stack-build:lts-11.13' lts-11.13: Pulling from fpco/stack-build 1be7f2b886e8: Pull complete 6fbc4a21b806: Pull complete c71a6f8e1378: Pull complete 4be3072e5a37: Pull complete 06c6d2f59700: Pull complete f84280d0d4eb: Pull complete 51618bc9125b: Pull complete d4600ac9f822: Pull complete 6c7245ffd75c: Pull complete aef2b69345e2: Pull complete Digest: sha256:0830599b74433d0da428d550a1f6e11d2a092d079a26f1bcdc8299c72907257a Status: Downloaded newer image for fpco/stack-build:lts-11.13 [vagrant@archlinux stack-docker-test]$ stack --docker build Received ExitFailure 127 when running Raw command: /usr/bin/docker run -v /usr/bin/stack:/tmp/stack sha256:91e60896cf307d927f3e6db3e911b7d4fd5fa0a641bc939a6533feda33517a8d /tmp/stack --version [vagrant@archlinux stack-docker-test]$ stack --docker build -v Version 1.7.1 x86_64 Compiled with: - Cabal-2.2.0.1 - Glob-0.9.2 - HUnit-1.6.0.0 - QuickCheck-2.11.3 - StateVar-1.1.1.0 - aeson-1.3.1.1 - aeson-compat-0.3.8 - annotated-wl-pprint-0.7.0 - ansi-terminal-0.8.0.4 - ansi-wl-pprint-0.6.8.2 - array-0.5.2.0 - asn1-encoding-0.9.5 - asn1-parse-0.9.4 - asn1-types-0.3.2 - async-2.2.1 - attoparsec-0.13.2.2 - attoparsec-iso8601-1.0.0.0 - auto-update-0.1.4 - base-4.11.1.0 - base-compat-0.10.1 - base-orphans-0.7 - base-prelude-1.3 - base16-bytestring-0.1.1.6 - base64-bytestring-1.0.0.1 - basement-0.0.7 - bifunctors-5.5.2 - binary-0.8.5.1 - bindings-uname-0.1 - bitarray-0.0.1.1 - blaze-builder-0.4.1.0 - blaze-html-0.9.1.0 - blaze-markup-0.8.2.1 - byteable-0.1.1 - bytestring-0.10.8.2 - call-stack-0.1.0 - case-insensitive-1.2.0.11 - cereal-0.5.5.0 - clock-0.7.2 - colour-2.3.4 - comonad-5.0.3 - conduit-1.3.0.2 - conduit-extra-1.3.0 - connection-0.2.8 - containers-0.5.11.0 - contravariant-1.4.1 - cookie-0.4.4 - cpphs-1.20.8 - cryptohash-0.11.9 - cryptohash-sha256-0.11.101.0 - cryptonite-0.25 - cryptonite-conduit-0.2.2 - data-default-class-0.1.2.0 - deepseq-1.4.3.0 - digest-0.0.1.2 - directory-1.3.1.5 - distributive-0.5.3 - dlist-0.8.0.4 - easy-file-0.2.2 - echo-0.1.3 - ed25519-0.0.5.0 - either-5 - exceptions-0.10.0 - extra-1.6.8 - fast-logger-2.4.11 - file-embed-0.0.10.1 - filelock-0.1.1.2 - filepath-1.4.2 - foundation-0.0.20 - free-5.0.2 - fsnotify-0.2.1.2 - generic-deriving-1.12.1 - ghc-boot-th-8.4.3 - ghc-prim-0.5.2.0 - gitrev-1.3.1 - hackage-security-0.5.3.0 - hashable-1.2.7.0 - haskell-src-exts-1.20.2 - haskell-src-meta-0.8.0.2 - hinotify-0.3.10 - hourglass-0.2.11 - hpack-0.28.2 - hpc-0.6.0.3 - hspec-2.5.1 - hspec-core-2.5.1 - hspec-discover-2.5.1 - hspec-expectations-0.8.2 - hspec-smallcheck-0.5.2 - http-api-data-0.3.8.1 - http-client-0.5.13 - http-client-tls-0.3.5.3 - http-conduit-2.3.1 - http-types-0.12.1 - integer-gmp-1.0.2.0 - integer-logarithms-1.0.2.1 - lifted-base-0.2.3.12 - logict-0.6.0.2 - memory-0.14.16 - microlens-0.4.9.1 - microlens-th-0.4.2.1 - mime-types-0.1.0.7 - mintty-0.1.2 - monad-control-1.0.2.3 - monad-logger-0.3.28.5 - monad-loops-0.4.3 - mono-traversable-1.0.8.1 - mtl-2.2.2 - mustache-2.3.0 - neat-interpolation-0.3.2.1 - network-2.7.0.0 - network-uri-2.6.1.0 - old-locale-1.0.0.7 - old-time-1.1.0.3 - open-browser-0.2.1.0 - optparse-applicative-0.14.2.0 - optparse-simple-0.1.0 - parsec-3.1.13.0 - path-0.6.1 - path-io-1.3.3 - path-pieces-0.2.1 - pem-0.2.4 - persistent-2.8.2 - persistent-sqlite-2.8.1.2 - persistent-template-2.5.4 - polyparse-1.12 - pretty-1.1.3.6 - primitive-0.6.4.0 - process-1.6.3.0 - profunctors-5.2.2 - project-template-0.2.0.1 - quickcheck-io-0.2.0 - random-1.1 - regex-applicative-0.3.3 - regex-applicative-text-0.1.0.1 - resource-pool-0.2.3.2 - resourcet-1.2.1 - retry-0.7.6.2 - rio-0.1.2.0 - rts-1.0 - safe-0.3.17 - scientific-0.3.6.2 - semigroupoids-5.2.2 - setenv-0.1.1.3 - silently-1.2.5 - smallcheck-1.1.4 - socks-0.5.6 - split-0.2.3.3 - stm-2.4.5.0 - stm-chans-3.0.0.4 - store-0.4.3.2 - store-core-0.4.3 - streaming-commons-0.2.0.0 - syb-0.7 - tagged-0.8.5 - tar-0.5.1.0 - template-haskell-2.13.0.0 - temporary-1.3 - text-1.2.3.0 - text-metrics-0.3.0 - tf-random-0.5 - th-abstraction-0.2.6.0 - th-expand-syns-0.4.4.0 - th-lift-0.7.10 - th-lift-instances-0.1.11 - th-orphans-0.13.5 - th-reify-many-0.1.8 - th-utilities-0.2.0.1 - time-1.8.0.2 - time-locale-compat-0.1.1.4 - tls-1.4.1 - transformers-0.5.5.0 - transformers-base-0.4.5.2 - transformers-compat-0.6.2 - typed-process-0.2.2.0 - unicode-transforms-0.3.4 - unix-2.7.2.2 - unix-compat-0.5.0.1 - unix-time-0.3.8 - unliftio-0.2.7.0 - unliftio-core-0.1.1.0 - unordered-containers-0.2.9.0 - uri-bytestring-0.3.2.0 - uuid-types-1.0.3 - vector-0.12.0.1 - vector-algorithms-0.7.0.1 - void-0.7.2 - x509-1.7.3 - x509-store-1.6.6 - x509-system-1.6.6 - x509-validation-1.6.10 - yaml-0.8.30 - zip-archive-0.3.2.5 - zlib-0.6.2 Warning: this is an unsupported build that may use different versions of dependencies and GHC than the officially released binaries, and therefore may not behave identically. If you encounter problems, please try the latest official build by running 'stack upgrade --force-download'. 2018-06-14 12:13:03.951900: [debug] Checking for project config at: /home/vagrant/stack-docker-test/stack.yaml 2018-06-14 12:13:03.952198: [debug] Loading project config file stack.yaml 2018-06-14 12:13:03.952973: [debug] Run process: /usr/bin/docker --version 2018-06-14 12:13:04.007135: [debug] Process finished in 54ms: /usr/bin/docker --version 2018-06-14 12:13:04.007563: [debug] Run process: /usr/bin/docker inspect fpco/stack-build:lts-11.13 2018-06-14 12:13:04.055654: [debug] Process finished in 48ms: /usr/bin/docker inspect fpco/stack-build:lts-11.13 2018-06-14 12:13:04.057902: [debug] Run process: /usr/bin/docker run -v /usr/bin/stack:/tmp/stack sha256:91e60896cf307d927f3e6db3e911b7d4fd5fa0a641bc939a6533feda33517a8d /tmp/stack --version Received ExitFailure 127 when running Raw command: /usr/bin/docker run -v /usr/bin/stack:/tmp/stack sha256:91e60896cf307d927f3e6db3e911b7d4fd5fa0a641bc939a6533feda33517a8d /tmp/stack --version [vagrant@archlinux stack-docker-test]$ /usr/bin/docker run -v /usr/bin/stack:/tmp/stack sha256:91e60896cf307d927f3e6db3e911b7d4fd5fa0a641bc939a6533feda33517a8d /tmp/stack --version /tmp/stack: error while loading shared libraries: libHSstack-1.7.1-7u6zix21rTfHmao1C2GDj1-ghc8.4.3.so: cannot open shared object file: No such file or directory [vagrant@archlinux stack-docker-test]$ curl -sSL https://get.haskellstack.org/ | sh Stack Version 1.7.1 already appears to be installed at: /usr/bin/stack Use 'stack upgrade' or your OS's package manager to upgrade, or pass '-f' to this script to over-write the existing binary, e.g.: curl -sSL https://get.haskellstack.org/ | sh -s - -f [vagrant@archlinux stack-docker-test]$ curl -sSL https://get.haskellstack.org/ | sh -s - -f Detected Linux distribution: arch This installer doesn't support your Linux distribution, trying generic bindist... main: line 67: arch: command not found main: line 69: arch: command not found main: line 67: arch: command not found main: line 69: arch: command not found % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 621 0 621 0 0 1137 0 --:--:-- --:--:-- --:--:-- 1139 100 13.3M 100 13.3M 0 0 2429k 0 0:00:05 0:00:05 --:--:-- 2878k Installing Stack to: /usr/bin/stack... ------------------------------------------------------------------------------- Stack has been installed to: /usr/bin/stack Since this installer doesn't support your Linux distribution, there is no guarantee that 'stack' will work at all! You may need to manually install some system info dependencies for GHC: gcc, make, libffi, zlib, libgmp and libtinfo Please see http://docs.haskellstack.org/en/stable/install_and_upgrade/ Pull requests to add support for this distro would be welcome! WARNING: '/home/vagrant/.local/bin' is not on your PATH. For best results, please add it to the beginning of PATH in your profile. [vagrant@archlinux stack-docker-test]$ /usr/bin/stack --version Version 1.7.1, Git revision 681c800873816c022739ca7ed14755e85a579565 (5807 commits) x86_64 hpack-0.28.2 [vagrant@archlinux stack-docker-test]$ ldd /usr/bin/stack linux-vdso.so.1 (0x00007ffda4bde000) libm.so.6 => /usr/lib/libm.so.6 (0x00007fcde0e4a000) libz.so.1 => /usr/lib/libz.so.1 (0x00007fcde0c33000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fcde0a15000) librt.so.1 => /usr/lib/librt.so.1 (0x00007fcde080d000) libutil.so.1 => /usr/lib/libutil.so.1 (0x00007fcde060a000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fcde0406000) libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007fcde0173000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fcddff5b000) libc.so.6 => /usr/lib/libc.so.6 (0x00007fcddfb9f000) /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fcde11df000) [vagrant@archlinux stack-docker-test]$ stack --docker build [1 of 2] Compiling Main ( /home/vagrant/.stack/setup-exe-src/setup-mPHDZzAJ.hs, /home/vagrant/.stack/setup-exe-src/setup-mPHDZzAJ.o ) [2 of 2] Compiling StackSetupShim ( /home/vagrant/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /home/vagrant/.stack/setup-exe-src/setup-shim-mPHDZzAJ.o ) Linking /home/vagrant/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/tmp-Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 ... Building all executables for `stack-docker-test' once. After a successful build of all of them, only specified executables will be rebuilt. stack-docker-test-0.1.0.0: configure (lib + exe) Configuring stack-docker-test-0.1.0.0... stack-docker-test-0.1.0.0: build (lib + exe) Preprocessing library for stack-docker-test-0.1.0.0.. Building library for stack-docker-test-0.1.0.0.. [1 of 2] Compiling Lib ( src/Lib.hs, .stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.0.1.0/build/Lib.o ) [2 of 2] Compiling Paths_stack_docker_test ( .stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.0.1.0/build/autogen/Paths_stack_docker_test.hs, .stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.0.1.0/build/Paths_stack_docker_test.o ) Preprocessing executable 'stack-docker-test-exe' for stack-docker-test-0.1.0.0.. Building executable 'stack-docker-test-exe' for stack-docker-test-0.1.0.0.. [1 of 2] Compiling Main ( app/Main.hs, .stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.0.1.0/build/stack-docker-test-exe/stack-docker-test-exe-tmp/Main.o ) [2 of 2] Compiling Paths_stack_docker_test ( .stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.0.1.0/build/stack-docker-test-exe/autogen/Paths_stack_docker_test.hs, .stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.0.1.0/build/stack-docker-test-exe/stack-docker-test-exe-tmp/Paths_stack_docker_test.o ) Linking .stack-work/dist/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/Cabal-2.0.1.0/build/stack-docker-test-exe/stack-docker-test-exe ... stack-docker-test-0.1.0.0: copy/register Installing library in /home/vagrant/stack-docker-test/.stack-work/install/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-11.13/8.2.2/lib/x86_64-linux-ghc-8.2.2/stack-docker-test-0.1.0.0-17PvIuZmk4p6nabEKshvZ Installing executable stack-docker-test-exe in /home/vagrant/stack-docker-test/.stack-work/install/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/lts-11.13/8.2.2/bin Registering library for stack-docker-test-0.1.0.0.. ```
nh2 commented 6 years ago

Here is a workaround:

From https://docs.haskellstack.org/en/stable/docker_integration/

  # Location of a Docker container-compatible 'stack' executable with the
  # matching version. This executable must be built on linux-x86_64 and
  # statically linked.
  # Valid values are:
  #   host: use the host's executable.  This is the default when the host's
  #     executable is known to work (e.g., from official linux-x86_64 bindist)
  #   download: download a compatible executable matching the host's version.
  #     This is the default when the host's executable is not known to work
  #   image: use the 'stack' executable baked into the image.  The version
  #     must match the host's version
  #   /path/to/stack: path on the host's local filesystem
  stack-exe: host

executable must be built on linux-x86_64 and statically linked is a bit misleading:

If we have a stack release available for download thats compatible with the docker image the user has chosen, then download will work fine even when the downloaded version is not statically linked.

For example, this works:

vagrant init archlinux/archlinux
vagrant up 
vagrant ssh
sudo pacman -Syy
sudo pacman -S stack docker
systemctl start docker.service
sudo usermod -aG docker vagrant
exit
vagrant ssh
stack new stack-docker-test
cd stack-docker-test
stack docker pull
cat >> stack.yaml <<EOF
docker:
  stack-exe: download
EOF
stack --docker build

I'll update the TODO list in the issue description to reflect that.

Nevertheless, static binaries still seem desirable, so that they work no matter what docker image the user has specified in stack.yaml.

borsboom commented 5 years ago

@nh2 Can this be closed? As you know, since you did most of the work to make it happen, we're now releasing static stack binaries again.

nh2 commented 5 years ago

@borsboom I ticked off

  • [x] get statically linked stack back in order to make stack --docker work everywhere.

but I think we should still do the other points in the issue description (showing a warning when a dynamic stack is re-executing itself in the docker container.

Do you want me to do that?

borsboom commented 5 years ago

Before re-executing itself in a container, Stack does a compatibility check where it tries to run itself with stack --version in a temporary container (and caches the result so this only has to be done once per exe/docker image combination). Only if that succeeds will it re-execute itself in the container (otherwise it will download a statically linked stack and execute that), so I don't think we need any messages around that.

My suspicion is that the Received ExitFailure 127 when running came from the compatibility check not catching the failure properly, after some changes were made to underlying process handling functions that caused them to throw different exceptions. I believe I fixed this in https://github.com/commercialhaskell/stack/commit/e65f4df3e79456ec971ae7a9c2014fa2632f08a5. Can you confirm?

In terms of the docs, I don't think

This executable must be built on linux-x86_64 and statically linked.

is quite right. The requirement is that the executable is compatible (in terms of platform and shared libraries) with the Docker image you're using. Dynamically linked is fine if the image has the right shared library versions installed. Of course, statically linked is going to be the most compatible, so that's preferred, but it's not a must.

nh2 commented 5 years ago

@borsboom

My suspicion is that the Received ExitFailure 127 when running came from the compatibility check not catching the failure properly, after some changes were made to underlying process handling functions that caused them to throw different exceptions. I believe I fixed this in e65f4df.

Ah, that makes sense.

Can you confirm?

Maybe: I can't very easily check the version at your commit for my scenario ("downstream packagers don't seem to know that they break stack --docker when they link stack fully dynamically"), because for my Arch repro I'd have to build the latest master of stack fully dynamically the way that Arch does, for which I probably have to update dependencies as well, which may take many hours.

I'll have a quick shot though at cherry-picking e65f4df3e79456ec971ae7a9c2014fa2632f08a5 on top of the version of stack in Arch that produced the failure.

In terms of the docs, I don't think

This executable must be built on linux-x86_64 and statically linked.

is quite right.

Yes, I agree. That's what it currently says in our docs though. With

  • [ ] improve the docs saying executable must be built on linux-x86_64 and statically linked

I didn't mean we should add the sentence executable must be built on linux-x86_64 and statically linked to the docs (it is already there), but that we should change it to no longer say that, instead saying what you explained above.

borsboom commented 5 years ago

I've opened https://github.com/commercialhaskell/stack/pull/4858 with the documentation change.