ghcup issueshttps://gitlab.haskell.org/haskell/ghcup/-/issues2019-07-08T22:08:56Zhttps://gitlab.haskell.org/haskell/ghcup/-/issues/99Not working on OS X Yosemite2019-07-08T22:08:56ZKoto OoNot working on OS X YosemiteI've started from here https://www.haskell.org/ghcup/
```
MacBook-Pro-Spike:haskell koto$ curl https://get-ghcup.haskell.org -sSf | sh
Welcome to Haskell!
This will download and install the Glasgow Haskell Compiler (GHC) for
the Hask...I've started from here https://www.haskell.org/ghcup/
```
MacBook-Pro-Spike:haskell koto$ curl https://get-ghcup.haskell.org -sSf | sh
Welcome to Haskell!
This will download and install the Glasgow Haskell Compiler (GHC) for
the Haskell programming language, and the Cabal build tool.
It will add the 'cabal', 'ghc', and 'ghcup' executables to bin directory
located at:
/Users/koto/.ghcup/bin
and create the environment file /Users/koto/.ghcup/env
which you should source in your ~/.bashrc or similar to get the required
PATH components.
To proceed with the ghcup installation press enter, to cancel press ctrl-c.
Note that this script can be re-run at any given time.
To install and run GHC you need the following dependencies:
curl g++ gcc gmp make ncurses python3 realpath xz-utils
You may want to install these now, then press enter to proceed
or press ctrl-c to abort.
Installation may take a while.
Installing GHC-8.6.3 for Darwin on architecture x86_64
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
mktemp [-d] [-q] [-u] -t prefix
Failed to create temporary directory
"ghcup --cache install" failed!
```
I asked on #haskell (http://webchat.freenode.net/?randomnick=1&channels=%23haskell&uio=d4) and I was told that `mktemp` is not POSIX on OS X and somewhat... Okay, they gave me this script https://bpaste.net/raw/e04039585ef4...
```
MacBook-Pro-Spike:haskell koto$ ./e04039585ef4.sh install
Installing GHC-8.6.3 for Darwin on architecture x86_64
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 155M 100 155M 0 0 3945k 0 0:00:40 0:00:40 --:--:-- 3443k
checking build system type... x86_64-apple-darwin14.5.0
checking host system type... x86_64-apple-darwin14.5.0
checking target system type... x86_64-apple-darwin14.5.0
Build platform inferred as: x86_64-apple-darwin
Host platform inferred as: x86_64-apple-darwin
Target platform inferred as: x86_64-apple-darwin
GHC build : x86_64-apple-darwin
GHC host : x86_64-apple-darwin
GHC target : x86_64-apple-darwin
LLVM target: x86_64-apple-darwin
checking for path to top of build tree... /var/folders/yc/kjnp0xvx6t1_vlcz1nxxbrnh0000gn/T/ghcup-tmp.pJMzXD2z/ghc-8.6.3
checking for perl... /usr/bin/perl
checking for a BSD-compatible install... /usr/bin/install -c
checking for gfind... no
checking for find... /usr/bin/find
checking whether ln -s works... yes
checking for gsed... sed
checking XCode version... xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
not found (too old?)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO C99... none needed
checking for -ld.lld... no
checking for ld.lld... no
checking for -ld.gold... no
checking for ld.gold... no
checking for -ld... no
checking for ld... ld
ld: unknown option: --version
configure: unknown linker version
configure: unable to convince 'gcc' to use linker 'ld'
checking for -ld... no
checking for ld... ld
./configure: line 5460: $: command not found
checking whether ld is GNU ld... NO
checking whether ld understands --build-id... no
checking whether ld understands -no_compact_unwind... yes
checking whether ld understands -filelist... yes
checking for -strip... no
checking for strip... strip
checking for llc-6.0... no
checking for llc... no
checking for opt-6.0... no
checking for opt... no
checking version of gcc... 7.0.0
checking whether GCC supports -no-pie... no
checking for extra options to pass gcc when compiling via C... -fwrapv -fno-builtin
checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done
checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done
checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done
checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done
checking for .subsections_via_symbols... yes
checking whether your assembler supports .ident directive... yes
checking for GNU non-executable stack support... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking for -ar... no
checking for ar... ar
checking whether ar is GNU ar... no
checking for ar arguments... qcls
checking whether ar supports @file... no
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating settings
config.status: creating mk/config.mk
config.status: creating mk/install.mk
****************************************************
Configuration done, ready to 'make install'
(see README and INSTALL files for more info.)
****************************************************
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -f ghc.mk install BINDIST=YES NO_INCLUDE_DEPS=YES
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
"rm" -f utils/ghc-pkg/dist-install/build/Version.hs
echo "module Version where" >> utils/ghc-pkg/dist-install/build/Version.hs
echo "version, targetOS, targetARCH :: String" >> utils/ghc-pkg/dist-install/build/Version.hs
echo "version = \"8.6.3\"" >> utils/ghc-pkg/dist-install/build/Version.hs
echo "targetOS = \"darwin\"" >> utils/ghc-pkg/dist-install/build/Version.hs
echo "targetARCH = \"x86_64\"" >> utils/ghc-pkg/dist-install/build/Version.hs
"rm" -f utils/ghc-pkg/dist/build/Version.hs
echo "module Version where" >> utils/ghc-pkg/dist/build/Version.hs
echo "version, targetOS, targetARCH :: String" >> utils/ghc-pkg/dist/build/Version.hs
echo "version = \"8.6.3\"" >> utils/ghc-pkg/dist/build/Version.hs
echo "targetOS = \"darwin\"" >> utils/ghc-pkg/dist/build/Version.hs
echo "targetARCH = \"x86_64\"" >> utils/ghc-pkg/dist/build/Version.hs
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/bin"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/hp2ps"
create () { touch "$1" && chmod 755 "$1" ; } && create "/Users/koto/.ghcup/ghc/8.6.3/bin/hp2ps"
echo '#!/bin/sh' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hp2ps"
echo 'exedir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hp2ps"
echo 'exeprog="hp2ps"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hp2ps"
echo 'executablename="$exedir/$exeprog"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hp2ps"
echo 'datadir="/Users/koto/.ghcup/ghc/8.6.3/share"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hp2ps"
echo 'bindir="/Users/koto/.ghcup/ghc/8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hp2ps"
echo 'topdir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hp2ps"
cat utils/hp2ps/hp2ps.wrapper >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hp2ps"
chmod +x "/Users/koto/.ghcup/ghc/8.6.3/bin/hp2ps"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/bin"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/ghci-8.6.3"
create () { touch "$1" && chmod 755 "$1" ; } && create "/Users/koto/.ghcup/ghc/8.6.3/bin/ghci-8.6.3"
echo '#!/bin/sh' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghci-8.6.3"
echo 'exec "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3" --interactive "$@"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghci-8.6.3"
chmod +x "/Users/koto/.ghcup/ghc/8.6.3/bin/ghci-8.6.3"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/ghci"
ln -s ghci-8.6.3 "/Users/koto/.ghcup/ghc/8.6.3/bin/ghci"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/." && /usr/bin/install -c -m 644 includes/./*.h "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/./" && /usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/rts" && /usr/bin/install -c -m 644 includes/rts/*.h "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/rts/" && /usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/rts/prof" && /usr/bin/install -c -m 644 includes/rts/prof/*.h "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/rts/prof/" && /usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/rts/storage" && /usr/bin/install -c -m 644 includes/rts/storage/*.h "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/rts/storage/" && /usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/stg" && /usr/bin/install -c -m 644 includes/stg/*.h "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/stg/" && true
/usr/bin/install -c -m 644 includes/ghcautoconf.h includes/ghcplatform.h includes/ghcversion.h includes/dist-derivedconstants/header/DerivedConstants.h "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include"
/usr/bin/install -c -m 644 rts/dist/build/ffi.h rts/dist/build/ffitarget.h "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include/"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/bin"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock-ghc-8.6.3"
create () { touch "$1" && chmod 755 "$1" ; } && create "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock-ghc-8.6.3"
echo '#!/bin/sh' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock-ghc-8.6.3"
echo 'exedir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock-ghc-8.6.3"
echo 'exeprog="haddock"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock-ghc-8.6.3"
echo 'executablename="$exedir/$exeprog"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock-ghc-8.6.3"
echo 'datadir="/Users/koto/.ghcup/ghc/8.6.3/share"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock-ghc-8.6.3"
echo 'bindir="/Users/koto/.ghcup/ghc/8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock-ghc-8.6.3"
echo 'topdir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock-ghc-8.6.3"
cat utils/haddock/haddock.wrapper >> "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock-ghc-8.6.3"
chmod +x "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock-ghc-8.6.3"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/Classic.theme/"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/Ocean.std-theme/"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/latex/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/quick-jump.min.js "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/quick-jump.css "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/haddock-bundle.min.js "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Classic.theme/haskell_icon.gif "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/Classic.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Classic.theme/minus.gif "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/Classic.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Classic.theme/plus.gif "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/Classic.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Classic.theme/xhaddock.css "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/Classic.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Ocean.std-theme/hslogo-16.png "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/Ocean.std-theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Ocean.std-theme/minus.gif "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/Ocean.std-theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Ocean.std-theme/ocean.css "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/Ocean.std-theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Ocean.std-theme/plus.gif "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/Ocean.std-theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Ocean.std-theme/synopsis.png "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/Ocean.std-theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/solarized.css "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/highlight.js "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/html/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/latex/haddock.sty "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/latex/"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock"
ln -s haddock-ghc-8.6.3 "/Users/koto/.ghcup/ghc/8.6.3/bin/haddock"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/bin"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
create () { touch "$1" && chmod 755 "$1" ; } && create "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
echo '#!/bin/sh' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
echo 'exedir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
echo 'exeprog="hsc2hs"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
echo 'executablename="$exedir/$exeprog"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
echo 'datadir="/Users/koto/.ghcup/ghc/8.6.3/share"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
echo 'bindir="/Users/koto/.ghcup/ghc/8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
echo 'topdir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
echo 'HSC2HS_EXTRA="--cflag=-fno-stack-protector "' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
cat utils/hsc2hs/hsc2hs.wrapper >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
chmod +x "/Users/koto/.ghcup/ghc/8.6.3/bin/hsc2hs"
/usr/bin/install -c -m 644 utils/hsc2hs/template-hsc.h "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/bin"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg-8.6.3"
create () { touch "$1" && chmod 755 "$1" ; } && create "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg-8.6.3"
echo '#!/bin/sh' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg-8.6.3"
echo 'exedir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg-8.6.3"
echo 'exeprog="ghc-pkg"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg-8.6.3"
echo 'executablename="$exedir/$exeprog"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg-8.6.3"
echo 'datadir="/Users/koto/.ghcup/ghc/8.6.3/share"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg-8.6.3"
echo 'bindir="/Users/koto/.ghcup/ghc/8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg-8.6.3"
echo 'topdir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg-8.6.3"
cat utils/ghc-pkg/ghc-pkg.wrapper >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg-8.6.3"
chmod +x "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg-8.6.3"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/bin"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg"
ln -s ghc-pkg-8.6.3 "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-pkg"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/bin"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/hpc"
create () { touch "$1" && chmod 755 "$1" ; } && create "/Users/koto/.ghcup/ghc/8.6.3/bin/hpc"
echo '#!/bin/sh' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hpc"
echo 'exedir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hpc"
echo 'exeprog="hpc"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hpc"
echo 'executablename="$exedir/$exeprog"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hpc"
echo 'datadir="/Users/koto/.ghcup/ghc/8.6.3/share"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hpc"
echo 'bindir="/Users/koto/.ghcup/ghc/8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hpc"
echo 'topdir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hpc"
cat utils/hpc/hpc.wrapper >> "/Users/koto/.ghcup/ghc/8.6.3/bin/hpc"
chmod +x "/Users/koto/.ghcup/ghc/8.6.3/bin/hpc"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/bin"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
create () { touch "$1" && chmod 755 "$1" ; } && create "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
echo '#!/bin/sh' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
echo 'exedir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
echo 'exeprog="runghc"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
echo 'executablename="$exedir/$exeprog"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
echo 'datadir="/Users/koto/.ghcup/ghc/8.6.3/share"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
echo 'bindir="/Users/koto/.ghcup/ghc/8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
echo 'topdir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
echo 'ghcprog="ghc-8.6.3"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
cat utils/runghc/runghc.wrapper >> "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
chmod +x "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc-8.6.3"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/runhaskell"
ln -s runghc "/Users/koto/.ghcup/ghc/8.6.3/bin/runhaskell"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc"
ln -s runghc-8.6.3 "/Users/koto/.ghcup/ghc/8.6.3/bin/runghc"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/bin"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
create () { touch "$1" && chmod 755 "$1" ; } && create "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
echo '#!/bin/sh' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
echo 'exedir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
echo 'exeprog="ghc-stage2"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
echo 'executablename="$exedir/$exeprog"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
echo 'datadir="/Users/koto/.ghcup/ghc/8.6.3/share"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
echo 'bindir="/Users/koto/.ghcup/ghc/8.6.3/bin"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
echo 'topdir="/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
echo 'executablename="$exedir/ghc"' >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
cat ghc/ghc.wrapper >> "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
chmod +x "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc-8.6.3"
"rm" -f "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc"
ln -s ghc-8.6.3 "/Users/koto/.ghcup/ghc/8.6.3/bin/ghc"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/share/man"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/share/man/man1"
/usr/bin/install -c -m 644 docs/users_guide/build-man/ghc.1 "/Users/koto/.ghcup/ghc/8.6.3/share/man/man1"
# driver/ghc-usage.txt driver/ghci-usage.txt includes/dist-derivedconstants/header/platformConstants settings llvm-targets llvm-passes = libraries to install
# "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" = directory to install to
#
# The .dll case calls STRIP_CMD explicitly, instead of `install -s`, because
# on Win64, "install -s" calls a strip that doesn't understand 64bit binaries.
# For some reason, this means the DLLs end up non-executable, which means
# executables that use them just segfault.
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"
for i in driver/ghc-usage.txt driver/ghci-usage.txt includes/dist-derivedconstants/header/platformConstants settings llvm-targets llvm-passes; do case $i in *.a) /usr/bin/install -c -m 644 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"; ranlib "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"/`basename $i` ;; *.dll) /usr/bin/install -c -m 755 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" ; strip "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"/`basename $i` ;; *.so) /usr/bin/install -c -m 755 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" ;; *.dylib) /usr/bin/install -c -m 755 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3";; *) /usr/bin/install -c -m 644 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"; esac; done
gcc -E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs -P -DINSTALLING -DLIB_DIR='"/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"' -DINCLUDE_DIR='"/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/include"' -DFFI_INCLUDE_DIR= -DFFI_LIB_DIR= '-DFFI_LIB="Cffi"' -x c -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header rts/package.conf.in -o rts/dist/package.conf.install.raw
grep -v '^#pragma GCC' rts/dist/package.conf.install.raw | sed -e 's/""//g' -e 's/:[ ]*,/: /g' >rts/dist/package.conf.install
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin"
for i in utils/unlit/dist-install/build/tmp/unlit utils/hp2ps/dist-install/build/tmp/hp2ps utils/hp2ps/dist-install/build/tmp/hp2ps utils/haddock/dist/build/tmp/haddock utils/haddock/dist/build/tmp/haddock utils/hsc2hs/dist-install/build/tmp/hsc2hs utils/hsc2hs/dist-install/build/tmp/hsc2hs utils/ghc-pkg/dist-install/build/tmp/ghc-pkg utils/ghc-pkg/dist-install/build/tmp/ghc-pkg utils/hpc/dist-install/build/tmp/hpc utils/hpc/dist-install/build/tmp/hpc utils/runghc/dist-install/build/tmp/runghc utils/runghc/dist-install/build/tmp/runghc ghc/stage2/build/tmp/ghc-stage2 ghc/stage2/build/tmp/ghc-stage2 utils/iserv/stage2/build/tmp/ghc-iserv utils/iserv/stage2_p/build/tmp/ghc-iserv-prof utils/iserv/stage2_dyn/build/tmp/ghc-iserv-dyn; do \
/usr/bin/install -c -m 755 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin"; \
done
"mv" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-stage2" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3"
"rm" -rf "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/package.conf.d"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/package.conf.d"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts"
# rts/dist/build/libHSrts.a rts/dist/build/libHSrts_p.a rts/dist/build/libHSrts-ghc8.6.3.dylib rts/dist/build/libHSrts_l.a rts/dist/build/libHSrts_debug.a rts/dist/build/libHSrts_thr.a rts/dist/build/libHSrts_thr_debug.a rts/dist/build/libHSrts_thr_l.a rts/dist/build/libHSrts_thr_p.a rts/dist/build/libHSrts_debug-ghc8.6.3.dylib rts/dist/build/libHSrts_thr-ghc8.6.3.dylib rts/dist/build/libHSrts_thr_debug-ghc8.6.3.dylib rts/dist/build/libHSrts_l-ghc8.6.3.dylib rts/dist/build/libHSrts_thr_l-ghc8.6.3.dylib rts/dist/build/libffi.dylib rts/dist/build/libCffi.a rts/dist/build/libCffi_p.a rts/dist/build/libCffi_l.a rts/dist/build/libCffi_debug.a rts/dist/build/libCffi_thr.a rts/dist/build/libCffi_thr_debug.a rts/dist/build/libCffi_thr_l.a rts/dist/build/libCffi_thr_p.a = libraries to install
# "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts" = directory to install to
#
# The .dll case calls STRIP_CMD explicitly, instead of `install -s`, because
# on Win64, "install -s" calls a strip that doesn't understand 64bit binaries.
# For some reason, this means the DLLs end up non-executable, which means
# executables that use them just segfault.
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts"
for i in rts/dist/build/libHSrts.a rts/dist/build/libHSrts_p.a rts/dist/build/libHSrts-ghc8.6.3.dylib rts/dist/build/libHSrts_l.a rts/dist/build/libHSrts_debug.a rts/dist/build/libHSrts_thr.a rts/dist/build/libHSrts_thr_debug.a rts/dist/build/libHSrts_thr_l.a rts/dist/build/libHSrts_thr_p.a rts/dist/build/libHSrts_debug-ghc8.6.3.dylib rts/dist/build/libHSrts_thr-ghc8.6.3.dylib rts/dist/build/libHSrts_thr_debug-ghc8.6.3.dylib rts/dist/build/libHSrts_l-ghc8.6.3.dylib rts/dist/build/libHSrts_thr_l-ghc8.6.3.dylib rts/dist/build/libffi.dylib rts/dist/build/libCffi.a rts/dist/build/libCffi_p.a rts/dist/build/libCffi_l.a rts/dist/build/libCffi_debug.a rts/dist/build/libCffi_thr.a rts/dist/build/libCffi_thr_debug.a rts/dist/build/libCffi_thr_l.a rts/dist/build/libCffi_thr_p.a; do case $i in *.a) /usr/bin/install -c -m 644 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts"; ranlib "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts"/`basename $i` ;; *.dll) /usr/bin/install -c -m 755 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts" ; strip "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts"/`basename $i` ;; *.so) /usr/bin/install -c -m 755 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts" ;; *.dylib) /usr/bin/install -c -m 755 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts";; *) /usr/bin/install -c -m 644 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts"; esac; done
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(Disassembler.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(LdvProfile.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(OldARMAtomic.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(ProfilerReport.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(ProfilerReportJson.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(Profiling.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(RetainerProfile.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(RetainerSet.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(RtsDllMain.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(Evac_thr.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(Sanity.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(Scav_thr.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(EventLog.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(Elf.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(PEi386.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(elf_got.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(elf_plt.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(elf_plt_aarch64.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(elf_plt_arm.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(elf_reloc.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(elf_reloc_aarch64.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts.a(elf_util.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(Disassembler.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(OldARMAtomic.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(RtsDllMain.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(Evac_thr.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(Sanity.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(Scav_thr.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(Elf.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(PEi386.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(elf_got.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(elf_plt.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(elf_plt_aarch64.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(elf_plt_arm.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(elf_reloc.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(elf_reloc_aarch64.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_p.a(elf_util.p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(Disassembler.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(LdvProfile.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(OldARMAtomic.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(ProfilerReport.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(ProfilerReportJson.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(Profiling.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(RetainerProfile.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(RetainerSet.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(RtsDllMain.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(Evac_thr.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(Sanity.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(Scav_thr.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(Elf.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(PEi386.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(elf_got.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(elf_plt.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(elf_plt_aarch64.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(elf_plt_arm.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(elf_reloc.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(elf_reloc_aarch64.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_l.a(elf_util.l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(LdvProfile.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(OldARMAtomic.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(ProfilerReport.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(ProfilerReportJson.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(Profiling.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(RetainerProfile.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(RetainerSet.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(RtsDllMain.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(Evac_thr.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(Scav_thr.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(Elf.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(PEi386.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(elf_got.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(elf_plt.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(elf_plt_aarch64.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(elf_plt_arm.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(elf_reloc.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(elf_reloc_aarch64.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_debug.a(elf_util.debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(Disassembler.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(LdvProfile.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(OldARMAtomic.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(ProfilerReport.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(ProfilerReportJson.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(Profiling.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(RetainerProfile.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(RetainerSet.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(RtsDllMain.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(Sanity.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(EventLog.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(Elf.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(PEi386.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(elf_got.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(elf_plt.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(elf_plt_aarch64.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(elf_plt_arm.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(elf_reloc.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(elf_reloc_aarch64.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(elf_util.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr.a(Select.thr_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(LdvProfile.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(OldARMAtomic.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(ProfilerReport.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(ProfilerReportJson.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(Profiling.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(RetainerProfile.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(RetainerSet.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(RtsDllMain.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(Elf.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(PEi386.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(elf_got.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(elf_plt.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(elf_plt_aarch64.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(elf_plt_arm.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(elf_reloc.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(elf_reloc_aarch64.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(elf_util.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_debug.a(Select.thr_debug_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(Disassembler.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(LdvProfile.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(OldARMAtomic.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(ProfilerReport.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(ProfilerReportJson.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(Profiling.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(RetainerProfile.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(RetainerSet.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(RtsDllMain.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(Sanity.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(Elf.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(PEi386.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(elf_got.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(elf_plt.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(elf_plt_aarch64.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(elf_plt_arm.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(elf_reloc.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(elf_reloc_aarch64.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(elf_util.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_l.a(Select.thr_l_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(Disassembler.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(OldARMAtomic.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(RtsDllMain.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(Sanity.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(Elf.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(PEi386.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(elf_got.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(elf_plt.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(elf_plt_aarch64.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(elf_plt_arm.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(elf_reloc.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(elf_reloc_aarch64.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(elf_util.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/rts/libHSrts_thr_p.a(Select.thr_p_o) has no symbols
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-prim dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/ghc-prim-0.5.3
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/integer-gmp dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/integer-gmp-1.0.2.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/base dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/base-4.12.0.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/filepath dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/filepath-1.4.2.1
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/array dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/array-0.5.3.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/deepseq dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/deepseq-1.4.4.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/bytestring dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bytestring-0.10.8.2
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/containers dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/containers-0.6.0.1
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/time dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/time-1.8.0.2
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/unix dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/unix-2.7.2.2
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/directory dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/directory-1.3.3.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/process dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/process-1.6.3.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/hpc dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/hpc-0.6.0.3
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/pretty dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/pretty-1.1.3.6
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/binary dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/binary-0.8.6.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/text dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/text-1.2.3.1
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/transformers dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/transformers-0.5.5.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/mtl dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/mtl-2.2.2
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/parsec dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/parsec-3.1.13.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/Cabal/Cabal dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/Cabal-2.4.0.1
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-boot-th dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/ghc-boot-th-8.6.3
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-boot dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/ghc-boot-8.6.3
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/template-haskell dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/template-haskell-2.14.0.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-compact dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/ghc-compact-0.1.0.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-heap dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/ghc-heap-8.6.3
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/xhtml dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/xhtml-3000.2.2.1
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/terminfo dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/terminfo-0.4.1.2
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/stm dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/stm-2.5.0.0
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/haskeline dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/haskeline-0.7.4.3
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghci dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/ghci-8.6.3
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/libiserv dist-install "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/libiserv-8.6.3
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy compiler stage2 "strip" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' 'v p dyn'
Installing library in /Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/ghc-8.6.3
"/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" --force --global-package-db "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/package.conf.d" update rts/dist/package.conf.install
Reading package info from "rts/dist/package.conf.install" ... done.
rts-1.0: Warning: .:739:1: The field "hugs-options" is deprecated. hugs isn't supported anymore
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-prim dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for ghc-prim-0.5.3..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/integer-gmp dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for integer-gmp-1.0.2.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/base dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for base-4.12.0.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/filepath dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for filepath-1.4.2.1..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/array dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for array-0.5.3.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/deepseq dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for deepseq-1.4.4.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/bytestring dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for bytestring-0.10.8.2..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/containers dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for containers-0.6.0.1..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/time dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for time-1.8.0.2..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/unix dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for unix-2.7.2.2..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/directory dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for directory-1.3.3.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/process dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for process-1.6.3.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/hpc dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for hpc-0.6.0.3..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/pretty dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for pretty-1.1.3.6..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/binary dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for binary-0.8.6.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/text dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for text-1.2.3.1..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/transformers dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for transformers-0.5.5.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/mtl dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for mtl-2.2.2..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/parsec dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for parsec-3.1.13.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/Cabal/Cabal dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for Cabal-2.4.0.1..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-boot-th dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for ghc-boot-th-8.6.3..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-boot dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for ghc-boot-8.6.3..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/template-haskell dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for template-haskell-2.14.0.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-compact dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for ghc-compact-0.1.0.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-heap dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for ghc-heap-8.6.3..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/xhtml dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for xhtml-3000.2.2.1..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/terminfo dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for terminfo-0.4.1.2..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/stm dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for stm-2.5.0.0..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/haskeline dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for haskeline-0.7.4.3..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghci dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for ghci-8.6.3..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/libiserv dist-install "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for libiserv-8.6.3..
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register compiler stage2 "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3" '' '/Users/koto/.ghcup/ghc/8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3' '/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries' NO
Registering library for ghc-8.6.3..
for f in '/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/package.conf.d'/*; do create () { touch "$1" && chmod 644 "$1" ; } && create "$f"; done
"/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin/ghc-pkg" --global-package-db "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/package.conf.d" recache
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/bin"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin"
for i in inplace/lib/bin/ghc-split; do \
/usr/bin/install -c -m 755 $i "/Users/koto/.ghcup/ghc/8.6.3/lib/ghc-8.6.3/bin"; \
done
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html"
/usr/bin/install -c -m 644 docs/index.html "/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html"
/usr/bin/install -c -m 755 -d "/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries"
for i in libraries/dist-haddock/*; do \
/usr/bin/install -c -m 644 $i "/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries/"; \
done
/usr/bin/install -c -m 644 libraries/prologue.txt "/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries/"
/usr/bin/install -c -m 755 libraries/gen_contents_index "/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html/libraries/"
for i in utils/haddock/doc/haddock docs/users_guide/build-html/users_guide; do \
cp -Rp $i "/Users/koto/.ghcup/ghc/8.6.3/share/doc/ghc-8.6.3/html"; \
done
Done installing, run "ghci-8.6.3" or set up your current GHC via: e04039585ef4.sh set 8.6.3
```
Okay!
```
MacBook-Pro-Spike:haskell koto$ ghci-8.6.3
-bash: ghci-8.6.3: command not found
MacBook-Pro-Spike:haskell koto$ ghci
-bash: ghci: command not found
MacBook-Pro-Spike:haskell koto$ /usr/bin/ghci
-bash: /usr/bin/ghci: No such file or directory
MacBook-Pro-Spike:haskell koto$ /usr/bin/ghci-8.6.3
-bash: /usr/bin/ghci-8.6.3: No such file or directory
MacBook-Pro-Spike:haskell koto$ /bin/ghci
-bash: /bin/ghci: No such file or directory
MacBook-Pro-Spike:haskell koto$ /bin/ghci-8.6.3
-bash: /bin/ghci-8.6.3: No such file or directory
```
=|
Any suggestions?https://gitlab.haskell.org/haskell/ghcup/-/issues/100Reinstate CI testing2019-06-14T01:56:43ZJulian OspaldReinstate CI testingSince moving away from github we lost our travis integration.
@hvr any pointers?Since moving away from github we lost our travis integration.
@hvr any pointers?https://gitlab.haskell.org/haskell/ghcup/-/issues/101Major version symlinks2019-06-14T01:56:32ZJoachim Breitnermail@joachim-breitner.deMajor version symlinksUntil recently, I managed my own farm of `/opt/ghc-x.y.z` installations. But I guess this is precisly what `ghcup` is for, so I am trying to use it.
One feature that I was hoping to see is that `~/.ghcup/bin/` would contain links `ghc-8...Until recently, I managed my own farm of `/opt/ghc-x.y.z` installations. But I guess this is precisly what `ghcup` is for, so I am trying to use it.
One feature that I was hoping to see is that `~/.ghcup/bin/` would contain links `ghc-8.6`, `ghci-8.6` etc. that point to the latest `ghcup`-installed release of that series.
Usually I don’t care much about the difference between `ghc-8.6.4` and `ghc-8.6.5` and just like to specify `cabal new-build -w ghc-8.6` instead of trying to remember which is the latest version.https://gitlab.haskell.org/haskell/ghcup/-/issues/94Feature request: install alpha, beta, rc versions of ghc2020-01-05T14:41:41ZDan BurtonFeature request: install alpha, beta, rc versions of ghc```
ghcup install 8.8.1-alpha1
```
Current behavior:
`"8.8.1-alpha1" is not a known version or tag!`
Desired behavior:
Installs the specified ghc alpha, symlinks `ghc-8.8.1-alpha1` in `~/.ghcup/bin` to the appropriate binary, a...```
ghcup install 8.8.1-alpha1
```
Current behavior:
`"8.8.1-alpha1" is not a known version or tag!`
Desired behavior:
Installs the specified ghc alpha, symlinks `ghc-8.8.1-alpha1` in `~/.ghcup/bin` to the appropriate binary, and does the same for `ghc-pkg`, etc.https://gitlab.haskell.org/haskell/ghcup/-/issues/98Installation failure failure - Darwin Mojave 10.14.42019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgInstallation failure failure - Darwin Mojave 10.14.4*Created by: justanotherdot*
**Describe the bug**
Tried running the provided installation script on the README:
`$ curl https://raw.githubusercontent.com/haskell/ghcup/master/bootstrap-haskell -sSf | sh`
resulting in an installat...*Created by: justanotherdot*
**Describe the bug**
Tried running the provided installation script on the README:
`$ curl https://raw.githubusercontent.com/haskell/ghcup/master/bootstrap-haskell -sSf | sh`
resulting in an installation failure. I tried the recommended `ghcup upgrade` to no avail. Rerunning the install command directly with verbose gives us:
```
$ ~/.ghcup/bin/ghcup --cache --verbose install
mkdir -p /Users/$USER/.ghcup
mkdir -p /Users/$USER/.ghcup/bin
mkdir -p /Users/$USER.ghcup/cache
rm /Users/$USER/.ghcup/cache/.available-versions
rm /Users/$USER/.ghcup/cache/.download-urls
cd /Users/$USER/.ghcup/cache
curl --fail -O https://raw.githubusercontent.com/haskell/ghcup/master//.available-versions
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 686 100 686 0 0 10630 0 --:--:-- --:--:-- --:--:-- 10718
cd /Users/$USER/.ghcup/cache
curl --fail -O https://raw.githubusercontent.com/haskell/ghcup/master//.download-urls
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9237 100 9237 0 0 165k 0 --:--:-- --:--:-- --:--:-- 167k
Installing GHC-8.6.3 for Darwin on architecture x86_64
cd /var/folders/dx/v1bjflqj2q741k8fy6hpwglm0000gn/T/tmp.TWp3Ad3g
xz -cd "/Users/$USER/.ghcup/cache/ghc-8.6.3-x86_64-apple-darwin.tar.xz" | tar -xf -
cd ghc-8.6.3
/Users/$USER/.ghcup/bin/ghcup: line 498: cd: ghc-8.6.3: No such file or directory
Failed to install, consider updating this script via: ghcup upgrade
```
I think the tarball extraction failed, as there is no directory under temporary directory:
```
$ ls -a /var/folders/dx/v1bjflqj2q741k8fy6hpwglm0000gn/T/tmp.TWp3Ad3g
./ ../
```
However, when I run the same command manually, the directory shows up:
```
$ cd /var/folders/dx/v1bjflqj2q741k8fy6hpwglm0000gn/T/tmp.KnXd9jmC
$ xz -cd ~/.ghcup/cache/ghc-8.6.3-x86_64-apple-darwin.tar.xz | tar -xf -
$ ls
ghc-8.6.3/
```
so it would appear that the tar extraction isn't necessarily failing to produce a directory unless it's something specific to the script. Any ideas?
**To Reproduce**
Steps to reproduce the behavior:
1. ` curl https://raw.githubusercontent.com/haskell/ghcup/master/bootstrap-haskell -sSf | sh`
**System information**
```
Script version: 0.0.7
Script variables:
GHC install location: /Users/$USER/.ghcup/ghc
Binary install location: /Users/$USER/.ghcup/bin
Tarball cache location: /Users/$USER/.ghcup/cache
Downloader: curl --fail -O <url>
Script update url: https://raw.githubusercontent.com/haskell/ghcup/master//ghcup
GHC download baseurl: https://downloads.haskell.org/~ghc
Meta download url https://raw.githubusercontent.com/haskell/ghcup/master//.download-urls
Meta download format 1
Meta version url https://raw.githubusercontent.com/haskell/ghcup/master//.available-versions
Meta version format 1
Detected system information:
Architecture: x86_64
Distribution: Darwin
Distro alias: darwin
Distro version: 18.5.0
```https://gitlab.haskell.org/haskell/ghcup/-/issues/82Unable to install GHC 8.6.3 in Alpine 3.92019-06-14T03:24:00ZHerbert Valerio Riedelhvr@gnu.orgUnable to install GHC 8.6.3 in Alpine 3.9*Created by: naushadh*
Tried to run `ghcup` in an Alpine 3.9 docker container and it failed with `ghc-cabal: not found`
**To Reproduce**
Steps to reproduce the behavior:
1. `docker run -it alpine:3.9 sh`
2. `apk add curl xz perl...*Created by: naushadh*
Tried to run `ghcup` in an Alpine 3.9 docker container and it failed with `ghc-cabal: not found`
**To Reproduce**
Steps to reproduce the behavior:
1. `docker run -it alpine:3.9 sh`
2. `apk add curl xz perl build-base`
3. `curl https://raw.githubusercontent.com/haskell/ghcup/master/bootstrap-haskell -sSf | sh`
[alpine-ghcup-8.6.3.log](https://github.com/haskell/ghcup/files/3026115/alpine-ghcup-8.6.3.log)
**System information**
```bash
$ /root/.ghcup/bin/ghcup debug-info
Script version: 0.0.7
Script variables:
GHC install location: /root/.ghcup/ghc
Binary install location: /root/.ghcup/bin
Tarball cache location: /root/.ghcup/cache
Downloader: curl --fail -O <url>
Script update url: https://raw.githubusercontent.com/haskell/ghcup/master/ghcup
GHC download baseurl: https://downloads.haskell.org/~ghc
Meta download url https://raw.githubusercontent.com/haskell/ghcup/master/.download-urls
Meta download format 1
Meta version url https://raw.githubusercontent.com/haskell/ghcup/master/.available-versions
Meta version format 1
Detected system information:
Architecture: x86_64
Distribution: Alpine Linux
Distro alias: alpine
Distro version: 3.9.2
```https://gitlab.haskell.org/haskell/ghcup/-/issues/97Dependency to Homebrew on macOS2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgDependency to Homebrew on macOS*Created by: m-schmidt*
Is the dependency of `ghcup` to the external utility `xz` intended? `xz` is not installed by default on macOS. Installing Haskell Platform therefore requires the installation of things like Homebrew etc just to g...*Created by: m-schmidt*
Is the dependency of `ghcup` to the external utility `xz` intended? `xz` is not installed by default on macOS. Installing Haskell Platform therefore requires the installation of things like Homebrew etc just to get a compression utility:
To install and run GHC you need the following dependencies:
Following commands are required, but missing, please install: xz
Wouldn't it be better to use `gzip`?https://gitlab.haskell.org/haskell/ghcup/-/issues/95Support WSL better2019-06-08T12:28:22ZGhost UserSupport WSL betterMaybe with a GHC compiled with `--disable-large-address-space` and OS detection via https://stackoverflow.com/questions/38859145/detect-ubuntu-on-windows-vs-native-ubuntu-from-bash-scriptMaybe with a GHC compiled with `--disable-large-address-space` and OS detection via https://stackoverflow.com/questions/38859145/detect-ubuntu-on-windows-vs-native-ubuntu-from-bash-scripthttps://gitlab.haskell.org/haskell/ghcup/-/issues/96ghcup --version needs to end with a newline2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgghcup --version needs to end with a newline*Created by: brodybits*
**Describe the bug**
A clear and concise description of what the bug is, what you did,
what happened and what you expected.
Here are the results of my attempt to do `ghcup --version`:
```sh
Brodys-MacBoo...*Created by: brodybits*
**Describe the bug**
A clear and concise description of what the bug is, what you did,
what happened and what you expected.
Here are the results of my attempt to do `ghcup --version`:
```sh
Brodys-MacBook-Air:~ brodybits$ ghcup --version
0.0.7Brodys-MacBook-Air:~ brodybits$
```
In case of installation/compilation failure, rerun with `ghcup --verbose <your-command>`
and paste the whole log output.
**To Reproduce**
Steps to reproduce the behavior:
1. Install `ghcup` according to <https://github.com/haskell/ghcup#manual-install>
2. Try `ghcup --version` from the command line
**System information**
Paste the output of `ghcup debug-info` and provide additional OS information, if missing.
```sh
Brodys-MacBook-Air:~ brodybits$ ghcup debug-info
Script version: 0.0.7
Script variables:
GHC install location: /Users/brodybits/.ghcup/ghc
Binary install location: /Users/brodybits/.ghcup/bin
Tarball cache location: /Users/brodybits/.ghcup/cache
Downloader: curl --fail -O <url>
Script update url: https://raw.githubusercontent.com/haskell/ghcup/master//ghcup
GHC download baseurl: https://downloads.haskell.org/~ghc
Meta download url https://raw.githubusercontent.com/haskell/ghcup/master//.download-urls
Meta download format 1
Meta version url https://raw.githubusercontent.com/haskell/ghcup/master//.available-versions
Meta version format 1
Detected system information:
Architecture: x86_64
Distribution: Darwin
Distro alias: darwin
Distro version: 18.5.0
Brodys-MacBook-Air:~ brodybits$
```https://gitlab.haskell.org/haskell/ghcup/-/issues/58Manual libnuma install required2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgManual libnuma install required*Created by: lbordowitz*
I ran the following commands:
```bash
$ ghcup install
$ ghcup set 8.4.4
$ ghcup install-cabal
$ cabal update
```
All of these commands executed successfully. However, I then ran this command, and got ...*Created by: lbordowitz*
I ran the following commands:
```bash
$ ghcup install
$ ghcup set 8.4.4
$ ghcup install-cabal
$ cabal update
```
All of these commands executed successfully. However, I then ran this command, and got the following error:
```bash
$ cabal new-install cabal-install
...
Warning: Some package(s) failed to build. Try rerunning with -j1 if you can't
see the error.
Failed to build digest-0.0.1.2.
....
Configuring digest-0.0.1.2...
Preprocessing library for digest-0.0.1.2..
/usr/bin/ld.gold: error: cannot find -lnuma
```
After manually installing the library with `apt install libnuma-devel`, the `cabal-install` worked correctly. However, if I didn't know how to read complex error logs and understand what was missing, it would have taken a lot longer to figure out the problem.
```bash
$ uname -a
Linux [computer-name-here] 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
```https://gitlab.haskell.org/haskell/ghcup/-/issues/85Support "global" and "local" versions2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgSupport "global" and "local" versions*Created by: AlexeyRaga*
Similarly to `jenv` it would be very helpful to be able to set GHC version on per-project basis:
```
ghcup set local 8.4.4
```
In `jenv` case, it would write a local `.java-version` file and the version ...*Created by: AlexeyRaga*
Similarly to `jenv` it would be very helpful to be able to set GHC version on per-project basis:
```
ghcup set local 8.4.4
```
In `jenv` case, it would write a local `.java-version` file and the version that is specified in that file will be used everywhere within that directory.
https://gitlab.haskell.org/haskell/ghcup/-/issues/65Add support for HEAD builds2019-06-08T12:28:22ZMatthew PickeringAdd support for HEAD buildsThe gitlab CI infrastructure builds every commit on a wide number of platforms. It would be useful if users could test out various HEAD builds in some fashion using `ghcup`.
For example:
https://gitlab.haskell.org/ghc/ghc/-/jobs/a...The gitlab CI infrastructure builds every commit on a wide number of platforms. It would be useful if users could test out various HEAD builds in some fashion using `ghcup`.
For example:
https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/download?job=validate-x86_64-linux-deb8
Will get fetch the most recent successful debian 8 build.
There are similar links for OS X, windows and other platforms. https://gitlab.haskell.org/haskell/ghcup/-/issues/93ghcup "latest" and "recommended"?2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgghcup "latest" and "recommended"?*Created by: mouse07410*
`ghcup` lists available GHC compilers, and tells which of them are "recommended". For example, now the "latest" listed is 8.6.5, but the "recommended" one is 8.6.3.
Could you please explain where does this "r...*Created by: mouse07410*
`ghcup` lists available GHC compilers, and tells which of them are "recommended". For example, now the "latest" listed is 8.6.5, but the "recommended" one is 8.6.3.
Could you please explain where does this "recommended" come from? It doesn't seem to come from the GHC developers/maintainers, because they were surprised to hear that. If you decide what to recommend - would you mind sharing your criteria...?
https://gitlab.haskell.org/haskell/ghcup/-/issues/61gcc flavored osx ghc 8.6.3 here !2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orggcc flavored osx ghc 8.6.3 here !*Created by: cartazio*
see attached*Created by: cartazio*
see attachedhttps://gitlab.haskell.org/haskell/ghcup/-/issues/91MacOS: ghcup requires Brew, which is bad2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgMacOS: ghcup requires Brew, which is bad*Created by: mouse07410*
**Describe the bug**
It is unclear to me what's happening. I never had Brew installed on any of my machines, and the shared libraries required are on the search path in `/opt/local/lib`. However,
```
$ghcup ...*Created by: mouse07410*
**Describe the bug**
It is unclear to me what's happening. I never had Brew installed on any of my machines, and the shared libraries required are on the search path in `/opt/local/lib`. However,
```
$ghcup install 8.6.2
. . . . .
ranlib: file: /Users/ur20980/.ghcup/ghc/8.6.2/lib/ghc-8.6.2/rts/libHSrts_thr_p.a(elf_util.thr_p_o) has no symbols
ranlib: file: /Users/ur20980/.ghcup/ghc/8.6.2/lib/ghc-8.6.2/rts/libHSrts_thr_p.a(Select.thr_p_o) has no symbols
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-prim dist-install "strip" '' '/Users/ur20980/.ghcup/ghc/8.6.2' '/Users/ur20980/.ghcup/ghc/8.6.2/lib/ghc-8.6.2' '/Users/ur20980/.ghcup/ghc/8.6.2/share/doc/ghc-8.6.2/html/libraries' 'v p dyn'
dyld: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
Referenced from: /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/tmp.4gjlUil6/ghc-8.6.2/libraries/base/dist-install/build/libHSbase-4.12.0.0-ghc8.6.2.dylib
Reason: image not found
gmake[1]: *** [ghc.mk:990: install_packages] Abort trap: 6
gmake: *** [Makefile:51: install] Error 2
Failed to install, consider updating this script via: ghcup upgrade
$
```
fails because it expects to find `/opt/local/lib/libgmp.10.dylib` in `/usr/local/opt/gmp/lib/libgmp.10.dylib`
**To Reproduce**
Steps to reproduce the behavior:
1. Observe that you have the latest `ghcup`, `ghc-8.6.3` and `ghc-8.6.4` installed, and the required shared libraries are in `/opt/local/lib`
2. Since HIE requires `ghc-8.6.2`, type `ghcup install 8.6.2`
Observe the result:
[ghcup-brew-screwed.txt](https://github.com/haskell/ghcup/files/3109568/ghcup-brew-screwed.txt)
**System information**
```
$ ghcup debug-info
Script version: 0.0.7
Script variables:
GHC install location: /Users/ur20980/.ghcup/ghc
Binary install location: /Users/ur20980/.ghcup/bin
Tarball cache location: /Users/ur20980/.ghcup/cache
Downloader: curl --fail -O <url>
Script update url: https://raw.githubusercontent.com/haskell/ghcup/master//ghcup
GHC download baseurl: https://downloads.haskell.org/~ghc
Meta download url https://raw.githubusercontent.com/haskell/ghcup/master//.download-urls
Meta download format 1
Meta version url https://raw.githubusercontent.com/haskell/ghcup/master//.available-versions
Meta version format 1
Detected system information:
Architecture: x86_64
Distribution: Darwin
Distro alias: darwin
Distro version: 18.5.0
$
```https://gitlab.haskell.org/haskell/ghcup/-/issues/68Allow to compile cabal-install from source2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgAllow to compile cabal-install from source*Created by: jkachmar*
This was mentioned in #3, but it's of some interest to me as I'm adapting `ghcup` to work with Alpine at the moment and I'm compiling `cabal-install` from scratch.
It may still be overkill in the vast majority ...*Created by: jkachmar*
This was mentioned in #3, but it's of some interest to me as I'm adapting `ghcup` to work with Alpine at the moment and I'm compiling `cabal-install` from scratch.
It may still be overkill in the vast majority of use-cases though, so feel free to close if it's out of scope for this project.https://gitlab.haskell.org/haskell/ghcup/-/issues/87ghcup 8.6.4 base library compiled without -haddock support2019-06-08T12:28:22ZMarcin Szamotulskighcup 8.6.4 base library compiled without -haddock support**Describe the bug**
After installing `ghc-8.6.4` with `ghcup`, `ghci` experimental `:doc` command does not show documentation of functions from base.
I noted that `~/.ghcup/ghc/8.6.4/share/doc/ghc-8.6.4/html` seems to be ok.
**To...**Describe the bug**
After installing `ghc-8.6.4` with `ghcup`, `ghci` experimental `:doc` command does not show documentation of functions from base.
I noted that `~/.ghcup/ghc/8.6.4/share/doc/ghc-8.6.4/html` seems to be ok.
**To Reproduce**
Steps to reproduce the behavior:
1. `ghcup install 8.6.4`
2. Run `ghci` and try `:doc print`; I can see the `... Try re-compiling with '-haddock'` message instead of haddock documentation of `print` function.
It works with `ghc-8.6.3` installed with `ghcup`.
**System information**
Paste the output of `ghcup debug-info` and provide additional OS information, if missing.
```
ghcup debug-info
Script version: 0.0.7
Script variables:
GHC install location: /home/marcin/.ghcup/ghc
Binary install location: /home/marcin/.ghcup/bin
Tarball cache location: /home/marcin/.ghcup/cache
Downloader: curl --fail -O <url>
Script update url: https://raw.githubusercontent.com/haskell/ghcup/master/ghcup
GHC download baseurl: https://downloads.haskell.org/~ghc
Meta download url https://raw.githubusercontent.com/haskell/ghcup/master/.download-urls
Meta download format 1
Meta version url https://raw.githubusercontent.com/haskell/ghcup/master/.available-versions
Meta version format 1
Detected system information:
Architecture: x86_64
Distribution: Gentoo
Distro alias: unknown
Distro version:
```https://gitlab.haskell.org/haskell/ghcup/-/issues/56GHC 7.x2021-11-08T20:59:17ZHerbert Valerio Riedelhvr@gnu.orgGHC 7.x*Created by: gwils*
Do you intend to support older GHC versions with this tool, such as those in the GHC 7 family? I would really like at least 7.10, but further back would be better.*Created by: gwils*
Do you intend to support older GHC versions with this tool, such as those in the GHC 7 family? I would really like at least 7.10, but further back would be better.https://gitlab.haskell.org/haskell/ghcup/-/issues/88Feature request: show installed `GHC` and `cabal` versions in the `ghcup list...2019-06-08T12:28:22ZDmitrii KovanikovFeature request: show installed `GHC` and `cabal` versions in the `ghcup list` commandThanks for implementing such an amazing tool! I find it extremely easy to manage ghc versions locally with it 😊
I have an idea for possible improvement. There's `ghcup list` command that shows all available upstream packages:
```s...Thanks for implementing such an amazing tool! I find it extremely easy to manage ghc versions locally with it 😊
I have an idea for possible improvement. There's `ghcup list` command that shows all available upstream packages:
```shell
$ ghcup list
ghc 8.0.2
ghc 8.2.2
ghc 8.4.3
ghc 8.4.4
ghc 8.6.1 bad
ghc 8.6.2
ghc 8.6.3 recommended
ghc 8.6.4 latest
cabal-install 2.2.0.0
cabal-install 2.4.0.0
cabal-install 2.4.1.0 latest,recommended
```
And there is `ghcup show` command that shows locally installed ones:
``` shell
$ ghcup show
Installed GHCs:
8.6.3
8.6.4
Current GHC
8.6.4
```
> **NOTE:** `ghcup show` doesn't show currently installed version of `cabal-install`, but that's separate issue.
I think it can be convenient to show installed `ghc` and `cabal-install` version directly in the output of the `gchup list` command. Something like that:
```shell
$ ghcup list
❌ ghc 8.0.2
❌ ghc 8.2.2
❌ ghc 8.4.3
❌ ghc 8.4.4
❌ ghc 8.6.1 bad
❌ ghc 8.6.2
✅ ghc 8.6.3 recommended
✅ ghc 8.6.4 latest
❌ cabal-install 2.2.0.0
❌ cabal-install 2.4.0.0
✅ cabal-install 2.4.1.0 latest,recommended
```
The particular design of the output is a subject to discussion, I just proposed one single option.https://gitlab.haskell.org/haskell/ghcup/-/issues/37ghc installation is way too verbose2019-06-08T12:28:22ZMatt Renaudghc installation is way too verboseWhen running `ghcup install` it writes everything to the console that its doing in the background (several hundred lines) which I don't need to see unless something goes wrong.
If we were to hide it by default and dump it into a log f...When running `ghcup install` it writes everything to the console that its doing in the background (several hundred lines) which I don't need to see unless something goes wrong.
If we were to hide it by default and dump it into a log file (maybe `~/.ghcup/.log` or something like that) then only important information is surfaced to the user and they're less likely to miss something important (like needing to update their PATH).0.0.7https://gitlab.haskell.org/haskell/ghcup/-/issues/66MacOS fails to install2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgMacOS fails to install*Created by: mouse07410*
**Describe the bug**
`bootstrap-haskell` fails on MacOS Mojave 10.14.3 (Macports present).
Here's the complete log:
[ghcup-failed.txt](https://github.com/haskell/ghcup/files/2826268/ghcup-failed.txt)
It ...*Created by: mouse07410*
**Describe the bug**
`bootstrap-haskell` fails on MacOS Mojave 10.14.3 (Macports present).
Here's the complete log:
[ghcup-failed.txt](https://github.com/haskell/ghcup/files/2826268/ghcup-failed.txt)
It appears to be failing on
```
cabal new-install --symlink-bindir=/Users/ur20980/.cabal/bin --jobs=1 cabal-install
```
Here's "condensed" log:
[new-update2.log.txt](https://github.com/haskell/ghcup/files/2826280/new-update2.log.txt)
It shows the actual error - failure to compile `Network/TCP.hs` because
```
Network/TCP.hs:41:6: error:
Module ‘Network.Socket’ does not export ‘sClose’
|
41 | , sClose, setSocketOption, getPeerName
| ^^^^^^
```
**To Reproduce**
1. Clear the previous (the "real") Haskell Platform installation by removing everything Haskell-related.
2. Clone this repo.
3. Set PATH to `$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH`
3. `cd ghcup; ./bootstrap-haskell`
4. Observe the result.
**System information**
```
$ ghcup debug-info
Script version: 0.0.6
Script variables:
GHC install location: /Users/ur20980/.ghcup/ghc
Binary install location: /Users/ur20980/.ghcup/bin
Tarball cache location: /Users/ur20980/.ghcup/cache
Downloader: curl --fail -O <url>
Script update url: https://raw.githubusercontent.com/haskell/ghcup/master/ghcup
GHC download baseurl: https://downloads.haskell.org/~ghc
Meta download url https://raw.githubusercontent.com/haskell/ghcup/master/.download-urls
Meta download format 1
Meta version url https://raw.githubusercontent.com/haskell/ghcup/master/.available-versions
Meta version format 1
Detected system information:
Architecture: x86_64
Distribution: Darwin
Distro alias: darwin
Distro version: 18.2.0
$
```https://gitlab.haskell.org/haskell/ghcup/-/issues/34Handling of failed configure requirements2019-07-17T07:32:04ZGhost UserHandling of failed configure requirementsStart of discussion at https://github.com/haskell/ghcup/issues/8#issuecomment-434270296Start of discussion at https://github.com/haskell/ghcup/issues/8#issuecomment-434270296https://gitlab.haskell.org/haskell/ghcup/-/issues/67intero fails to install (ghc-paths at fault?)2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgintero fails to install (ghc-paths at fault?)*Created by: mouse07410*
**Describe the bug**
Clean installation of GHC via `bootstrap-haskell`. MacOS Mojave 10.14.3.
Seem unable to install `intero`. It worked with Cabal from Haskell Platform.
```
$ cabal -v new-install inter...*Created by: mouse07410*
**Describe the bug**
Clean installation of GHC via `bootstrap-haskell`. MacOS Mojave 10.14.3.
Seem unable to install `intero`. It worked with Cabal from Haskell Platform.
```
$ cabal -v new-install intero
Reading available packages of hackage.haskell.org...
Using most recent state specified from most recent cabal update
index-state(hackage.haskell.org) = 2019-02-04T00:26:31Z
/Users/ur20980/.ghcup/bin/ghc --numeric-version
looking for tool ghc-pkg near compiler in /Users/ur20980/.ghcup/bin
found ghc-pkg in /Users/ur20980/.ghcup/bin/ghc-pkg
/Users/ur20980/.ghcup/bin/ghc-pkg --version
/Users/ur20980/.ghcup/bin/ghc --supported-languages
/Users/ur20980/.ghcup/bin/ghc --info
creating
/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/cabal-install.-37586/dist-newstyle
creating
/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/cabal-install.-37586/dist-newstyle/cache
Compiler settings changed, reconfiguring...
/Users/ur20980/.ghcup/bin/ghc --numeric-version
looking for tool ghc-pkg near compiler in /Users/ur20980/.ghcup/bin
found ghc-pkg in /Users/ur20980/.ghcup/bin/ghc-pkg
/Users/ur20980/.ghcup/bin/ghc-pkg --version
/Users/ur20980/.ghcup/bin/ghc --supported-languages
/Users/ur20980/.ghcup/bin/ghc --info
/Users/ur20980/.ghcup/bin/ghc --print-global-package-db
Reading available packages of hackage.haskell.org...
Using most recent state specified from most recent cabal update
index-state(hackage.haskell.org) = 2019-02-04T00:26:31Z
/opt/local/bin/pkg-config --version
/opt/local/bin/pkg-config --variable pc_path pkg-config
/opt/local/bin/pkg-config --version
/opt/local/bin/pkg-config --list-all
/opt/local/bin/pkg-config --modversion atk-bridge-2.0 'gtk+-unix-print-2.0' soxr libp11 xft icu-uc libavfilter kbproto libsvn_ra_local scrnsaverproto twolame libpng libwoff2enc libsvn_fs_x libswresample gstreamer-tag-1.0 gstreamer-net-1.0 libsvn_delta dri neon libxdot kdb cairo-fc gdk-x11-3.0 liblzma zzipmmapped xf86vidmodeproto vapigen speex gio-unix-2.0 tinyxml2 glu poppler-splash 'gtk+-unix-print-3.0' libglade-2.0 libsasl2 librsvg-2.0 gstreamer-controller-1.0 cairo-ft ncursesw libsvn_fs_util soxr-lsr jemalloc soundtouch libpcre2-posix x11-xcb resourceproto libproxy-1.0 liblz4 panel libedit gstreamer-fft-1.0 applewmproto xcb-xf86dri libffi theoraenc ykpiv libwebpdecoder Qt5Test libpulse-simple formw libwebpdemux wavpack libcurl Qt5Concurrent libpathplan libpq Qt5Svg libavresample cairo-tee openal graphite2 xcb-atom gstreamer-audio-1.0 cppunit kadm-client libpcreposix libarchive xcb-record libwebpmux libpcrecpp xcb-shape cairo-png gdk-pixbuf-xlib-2.0 xcb-screensaver popt Qt5Script libavdevice pango xtst iso-codes xcb-xv Qt5Xml xcmiscproto opus libsvn_diff apr-util-1 libdvdcss cairo-quartz xcb-render libpsl libmpg123 gstreamer-video-1.0 hogweed gstreamer-sdp-1.0 libass panelw vpx cairo-gobject xorg-sgml-doctools sm cairo-script gail caca Qt5UiTools icu-i18n gstreamer-insertbin-1.0 avahi-glib json-glib-1.0 sqlite3 harfbuzz-subset poppler-glib x11 freetype2 gtk-doc form xmu dvdnav fluidsynth gegl-0.4 libidn libecpg libpulse poppler-data xcb-res xf86miscproto Qt5ScriptTools bigreqsproto osmesa fontconfig inputproto libpulse-mainloop-glib libsvn_fs mit-krb5-gssapi libiodbc lrzip gutenprint libexslt compositeproto libpcre16 zziplib atspi-2 libuv dmxproto presentproto uuid mpfr Qt5Gui zzip-zlib-config cairo-xlib-xrender libbrotlienc cairo cairo-xlib libout123 appstream-builder kadm-server xpm yaml-0.1 gts xext xcomposite xineramaproto cairo-xcb libmodplug pthread-stubs readline botan-1.10 libcgraph xcb-xinput xcursor p11-kit-1 windowswmproto libpcre32 avahi-client ykcs11 xcb-dri2 xcb-dri3 libpng16 dbus-glib-1 xi python-2.7 Qt5OpenGLExtensions dri3proto Qt5Core xt libsvn_fs_base gnutls xv libxml-2.0 Qt5SerialPort xcb-damage gmodule-export-2.0 spandsp libssl ykpers-1 libopenjp2 cairo-ps cairo-quartz-image libsoup-2.4 Qt5Designer xcb-dpms bdw-gc xcb-shm gssdp-1.0 cairo-xlib-xcb libexif isl Qt5SerialBus ogg python-3.6 python-3.7 serf-1 gstreamer-gl-1.0 libdts vorbisfile com_err gmodule-no-export-2.0 glesv2 libraw_r libsvn_client poppler-cairo xf86driproto mypaint-brushes-1.0 xtrans lcms libavcodec xproto flac liblab_gamut Qt5MacExtras libbrotlicommon Qt5NetworkAuth glesv1_cm libpcre gstreamer-rtp-1.0 libpcre2-16 gstreamer-riff-1.0 autoopts libpgtypes libwebp zzipfseeko Qt5Widgets Qt5Help lasi avahi-ui libusb xfixes guile-2.2 gimpui-2.0 glib-2.0 zzipwrap apr-1 xf86dgaproto source-highlight taglib_c krb5-gssapi lqr-1 Qt5Network libpcre2-32 xcb-xtest poppler ruby-2.5 ruby-2.6 xrender nettle libsvn_fs_fs libsvn_repos sndfile xrandr mit-krb5 cairo-quartz-font gail-3.0 gthread-2.0 libzstd gdk-2.0 gstreamer-pbutils-1.0 gstreamer-1.0 graphene-gobject-1.0 gssrpc dbus-1 macfuse vorbisenc cairo-svg xcb-proto pixman-1 xxf86vm gobject-introspection-1.0 Qt5OpenGL libspiro 'gtk+-x11-2.0' icu-io tcl videoproto Qt5XmlPatterns Qt5PrintSupport libsvn_ra_svn xcb-aux libsvn_ra graphene-1.0 fuse shout cairo-xml gupnp-igd-1.0 libcrypto libtasn1 gdk-3.0 libzmq libpcre2-8 xproxymngproto lua libwoff2dec libgvc Qt5DBus portaudiocpp gegl-sc-0.4 libvala-0.42 avahi-compat-libdns_sd harfbuzz zlib libcroco-0.6 ncurses osxfuse 'gtk+-x11-3.0' gobject-2.0 gsettings-desktop-schemas libwoff2common gstreamer-codecparsers-1.0 'flac++' lcms2 Qt5Qml gupnp-1.0 fftw3 libmypaint libecpg_compat xcb-randr gdk-pixbuf-2.0 x264 x265 xcb-event json-c libsodium libdv openssl 'gtk+-2.0' gstreamer-player-1.0 shared-mime-info pangoxft libjpeg theoradec xcb-xvmc libraw xcb-glx 'ncurses++' xf86bigfontproto xdamage xmuu libssh2 theora xcb-composite gobject-introspection-no-export-1.0 libbluray xcb-xfixes libavformat gstreamer-base-1.0 Qt5QuickWidgets Qt5QuickTest avahi-ui-gtk3 xdmcp recordproto sane-backends appstream-glib Qt5Quick gstreamer-mpegts-1.0 gstreamer-app-1.0 glproto libmms xinerama gutenprintui2 libdaemon valadoc-0.42 vapigen-0.42 fontsproto 'gtk+-3.0' gl vorbis libsvn_wc sdl2 libmng menu libsoup-gnome-2.4 menuw libsvn_subr cairo-pdf xcb-xkb libtiff-4 xorg-macros gexiv2 expat xau krb5 libcdt gimp-2.0 xextproto speexdsp avahi-gobject IlmBase libdca librtmp libswscale gimpthumb-2.0 fribidi trapproto botan-2 python-3.6m Qt5WebSockets poppler-cpp xcb libchromaprint ice fixesproto xcb-util portaudio-2.0 randrproto dri2proto dvdread gstreamer-webrtc-1.0 gstreamer-allocators-1.0 atk python-3.7m lensfun libgvpr nice gstreamer-plugins-bad-1.0 gdlib avahi-core gstreamer-bad-audio-1.0 pangoft2 epoxy check fftw3f libpostproc gmodule-2.0 libpcap gstreamer-plugins-base-1.0 libusb-1.0 libxslt xcb-xinerama printproto libbrotlidec libsvn_ra_serf xcb-present gstreamer-check-1.0 renderproto xaw6 xaw7 OpenEXR jasper Qt5Sql gstreamer-rtsp-1.0 pangocairo taglib gstreamer-bad-video-1.0 gio-2.0 damageproto 'ncurses++w' orc-0.4 babl exiv2 libavutil gdk-x11-2.0 netpbm xcb-sync lzo2 libidn2
Resolving dependencies...
CallStack (from HasCallStack):
die', called at ./Distribution/Client/ProjectPlanning.hs:574:42 in main:Distribution.Client.ProjectPlanning
cabal: Could not resolve dependencies:
[__0] trying: directory-1.3.3.2 (user goal)
[__1] next goal: ghc (user goal)
[__1] rejecting: ghc-8.6.3/installed-8.6... (conflict: directory==1.3.3.2, ghc
=> directory==1.3.3.0/installed-1.3...)
[__1] rejecting: ghc-8.6.1, ghc-8.4.3, ghc-8.4.1, ghc-8.2.2, ghc-8.2.1
(constraint from user target requires ==8.6.3)
[__1] fail (backjumping, conflict set: directory, ghc)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: directory (40), ghc (7)
$ cabal -V
cabal-install version 2.4.1.0
compiled using version 2.4.1.0 of the Cabal library
$ ghc -V
The Glorious Glasgow Haskell Compilation System, version 8.6.3
$ type cabal ghc
cabal is hashed (/Users/ur20980/.cabal/bin/cabal)
ghc is hashed (/Users/ur20980/.ghcup/bin/ghc)
$ ghcup -V
0.0.6$
$ stack -v install intero
Version 1.9.3 x86_64
Compiled with:
- Cabal-2.4.0.1
- Glob-0.10.0
- HUnit-1.6.0.0
- QuickCheck-2.12.6.1
- StateVar-1.1.1.1
- aeson-1.4.2.0
- aeson-compat-0.3.9
- annotated-wl-pprint-0.7.0
- ansi-terminal-0.8.2
- ansi-wl-pprint-0.6.8.2
- array-0.5.3.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.1.0
- auto-update-0.1.4
- base-4.12.0.0
- base-compat-0.10.5
- base-orphans-0.8
- base-prelude-1.3
- base16-bytestring-0.1.1.6
- base64-bytestring-1.0.0.2
- basement-0.0.8
- bifunctors-5.5.3
- binary-0.8.6.0
- bindings-uname-0.1
- bitarray-0.0.1.1
- blaze-builder-0.4.1.0
- blaze-html-0.9.1.1
- blaze-markup-0.8.2.2
- byteable-0.1.1
- bytestring-0.10.8.2
- call-stack-0.1.0
- case-insensitive-1.2.0.11
- cereal-0.5.8.0
- clock-0.7.2
- colour-2.3.4
- comonad-5.0.4
- conduit-1.3.1
- conduit-extra-1.3.0
- connection-0.2.8
- containers-0.6.0.1
- contravariant-1.5
- cookie-0.4.4
- 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.4.0
- digest-0.0.1.2
- directory-1.3.3.0
- distributive-0.6
- dlist-0.8.0.5
- easy-file-0.2.2
- echo-0.1.3
- ed25519-0.0.5.0
- either-5.0.1
- erf-2.0.0.0
- exceptions-0.10.0
- extra-1.6.14
- fast-logger-2.4.13
- file-embed-0.0.11
- filelock-0.1.1.2
- filepath-1.4.2.1
- free-5.1
- fsnotify-0.3.0.1
- generic-deriving-1.12.2
- ghc-boot-th-8.6.3
- ghc-prim-0.5.3
- githash-0.1.3.1
- hackage-security-0.5.3.0
- hashable-1.2.7.0
- hfsevents-0.1.6
- hourglass-0.2.12
- hpack-0.31.1
- hpc-0.6.0.3
- hspec-2.7.0
- hspec-core-2.7.0
- hspec-discover-2.7.0
- hspec-expectations-0.8.2
- hspec-smallcheck-0.5.2
- http-api-data-0.4
- http-client-0.5.14
- http-client-tls-0.3.5.3
- http-conduit-2.3.5
- http-types-0.12.2
- infer-license-0.2.0
- integer-gmp-1.0.2.0
- integer-logarithms-1.0.2.2
- libyaml-0.1.0.0
- lifted-base-0.2.3.12
- logict-0.6.0.2
- megaparsec-7.0.4
- memory-0.14.18
- microlens-0.4.10
- microlens-th-0.4.2.3
- mime-types-0.1.0.9
- mintty-0.1.2
- monad-control-1.0.2.3
- monad-logger-0.3.30
- monad-loops-0.4.3
- mono-traversable-1.0.11.0
- mtl-2.2.2
- mustache-2.3.0
- neat-interpolation-0.3.2.4
- network-2.8.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.3.0
- optparse-simple-0.1.1.1
- parsec-3.1.13.0
- parser-combinators-1.0.1
- path-0.6.1
- path-io-1.4.1
- path-pieces-0.2.1
- pem-0.2.4
- persistent-2.9.1
- persistent-sqlite-2.9.2
- persistent-template-2.6.0
- pretty-1.1.3.6
- primitive-0.6.4.0
- process-1.6.3.0
- profunctors-5.3
- 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.2
- retry-0.7.7.0
- rio-0.1.8.0
- rts-1.0
- safe-0.3.17
- scientific-0.3.6.2
- semigroupoids-5.3.2
- semigroups-0.18.5
- setenv-0.1.1.3
- silently-1.2.5
- smallcheck-1.1.5
- socks-0.5.6
- split-0.2.3.3
- stm-2.5.0.0
- stm-chans-3.0.0.4
- store-0.5.0.1
- store-core-0.4.4
- streaming-commons-0.2.1.0
- syb-0.7
- tagged-0.8.6
- tar-0.5.1.0
- template-haskell-2.14.0.0
- temporary-1.3
- text-1.2.3.1
- text-metrics-0.3.0
- tf-random-0.5
- th-abstraction-0.2.10.0
- th-expand-syns-0.4.4.0
- th-lift-0.7.11
- th-lift-instances-0.1.11
- th-orphans-0.13.6
- th-reify-many-0.1.8
- th-utilities-0.2.1.0
- time-1.8.0.2
- time-locale-compat-0.1.1.5
- tls-1.4.1
- transformers-0.5.5.0
- transformers-base-0.4.5.2
- transformers-compat-0.6.2
- typed-process-0.2.4.0
- unicode-transforms-0.3.5
- unix-2.7.2.2
- unix-compat-0.5.1
- unix-time-0.4.5
- unliftio-0.2.10
- unliftio-core-0.1.2.0
- unordered-containers-0.2.10.0
- uuid-types-1.0.3
- vector-0.12.0.2
- vector-algorithms-0.8.0.1
- void-0.7.2
- x509-1.7.5
- x509-store-1.6.7
- x509-system-1.6.6
- x509-validation-1.6.11
- yaml-0.11.0.0
- zip-archive-0.4
- 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'.
2019-02-05 08:09:34.222773: [debug] Checking for project config at: /Users/ur20980/src/stack.yaml
2019-02-05 08:09:34.223479: [debug] Checking for project config at: /Users/ur20980/stack.yaml
2019-02-05 08:09:34.223720: [debug] Checking for project config at: /Users/stack.yaml
2019-02-05 08:09:34.223758: [debug] Checking for project config at: /stack.yaml
2019-02-05 08:09:34.223788: [debug] No project config file found, using defaults.
2019-02-05 08:09:34.228749: [debug] Run from outside a project, using implicit global project config
2019-02-05 08:09:34.229300: [debug] Using resolver: lts-13.6 from implicit global project's config file: /Users/ur20980/.stack/global-project/stack.yaml
2019-02-05 08:09:34.229726: [debug] Decoding build plan from: /Users/ur20980/.stack/build-plan/lts-13.6.yaml
2019-02-05 08:09:34.229770: [debug] Trying to decode /Users/ur20980/.stack/build-plan-cache/lts-13.6.cache
2019-02-05 08:09:34.236621: [debug] Success decoding /Users/ur20980/.stack/build-plan-cache/lts-13.6.cache
2019-02-05 08:09:34.238157: [debug] Getting system compiler version
2019-02-05 08:09:34.238446: [debug] Run process: /Users/ur20980/.ghcup/bin/ghc --info
2019-02-05 08:09:34.352296: [debug] Process finished in 114ms: /Users/ur20980/.ghcup/bin/ghc --info
2019-02-05 08:09:34.354013: [debug] Getting global package database location
2019-02-05 08:09:34.354245: [debug] Asking GHC for its version
2019-02-05 08:09:34.354429: [debug] Run process: /Users/ur20980/.ghcup/bin/ghc-pkg --no-user-package-db list --global
2019-02-05 08:09:34.354954: [debug] Getting Cabal package version
2019-02-05 08:09:34.355044: [debug] Run process: /Users/ur20980/.ghcup/bin/ghc --numeric-version
2019-02-05 08:09:34.355565: [debug] Run process: /Users/ur20980/.ghcup/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
2019-02-05 08:09:34.425375: [debug] Process finished in 70ms: /Users/ur20980/.ghcup/bin/ghc --numeric-version
2019-02-05 08:09:34.425495: [debug] GHC version is: ghc-8.6.3
2019-02-05 08:09:34.429972: [debug] Process finished in 74ms: /Users/ur20980/.ghcup/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
2019-02-05 08:09:34.430342: [debug] Process finished in 76ms: /Users/ur20980/.ghcup/bin/ghc-pkg --no-user-package-db list --global
2019-02-05 08:09:34.430576: [debug] Resolving package entries
2019-02-05 08:09:34.430666: [debug] Trying to decode /Users/ur20980/.stack/loaded-snapshot-cache/x86_64-osx/ghc-8.6.3/lts-13.6.cache
2019-02-05 08:09:34.478468: [debug] Success decoding /Users/ur20980/.stack/loaded-snapshot-cache/x86_64-osx/ghc-8.6.3/lts-13.6.cache
2019-02-05 08:09:34.479413: [debug] Starting to execute command inside EnvConfig
2019-02-05 08:09:34.480589: [debug] Parsing the targets
2019-02-05 08:09:34.480747: [debug] Trying to decode /Users/ur20980/.stack/indices/Hackage/01-index.cache
2019-02-05 08:09:34.717661: [debug] Success decoding /Users/ur20980/.stack/indices/Hackage/01-index.cache
2019-02-05 08:09:34.743365: [debug] Finding out which packages are already installed
2019-02-05 08:09:34.743698: [debug] Run process: /Users/ur20980/.ghcup/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
2019-02-05 08:09:34.819246: [debug] Process finished in 75ms: /Users/ur20980/.ghcup/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
2019-02-05 08:09:34.820181: [debug] Ignoring package haskeline due to wanting version 0.7.5.0 instead of 0.7.4.3
2019-02-05 08:09:34.820301: [debug] Ignoring package Cabal due to wanting version 2.4.1.0 instead of 2.4.0.1
2019-02-05 08:09:34.820491: [debug] Run process: /Users/ur20980/.ghcup/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ur20980/.stack/snapshots/x86_64-osx/lts-13.6/8.6.3/pkgdb dump --expand-pkgroot
2019-02-05 08:09:34.883094: [debug] Process finished in 63ms: /Users/ur20980/.ghcup/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ur20980/.stack/snapshots/x86_64-osx/lts-13.6/8.6.3/pkgdb dump --expand-pkgroot
2019-02-05 08:09:34.883559: [debug] Run process: /Users/ur20980/.ghcup/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ur20980/.stack/global-project/.stack-work/install/x86_64-osx/lts-13.6/8.6.3/pkgdb dump --expand-pkgroot
2019-02-05 08:09:34.946078: [debug] Process finished in 62ms: /Users/ur20980/.ghcup/bin/ghc-pkg --user --no-user-package-db --package-db /Users/ur20980/.stack/global-project/.stack-work/install/x86_64-osx/lts-13.6/8.6.3/pkgdb dump --expand-pkgroot
2019-02-05 08:09:34.946814: [debug] Constructing the build plan
2019-02-05 08:09:34.949835: [debug] Checking if we are going to build multiple executables with the same name
2019-02-05 08:09:34.949930: [debug] Executing the build plan
2019-02-05 08:09:34.952204: [debug] Getting global package database location
2019-02-05 08:09:34.952309: [debug] Run process: /Users/ur20980/.ghcup/bin/ghc-pkg --no-user-package-db list --global
2019-02-05 08:09:35.009060: [debug] Process finished in 57ms: /Users/ur20980/.ghcup/bin/ghc-pkg --no-user-package-db list --global
2019-02-05 08:09:35.012235: [debug] Exception ignored when attempting to load /Users/ur20980/.stack/precompiled/x86_64-osx/ghc-8.6.3/2.4.0.1/ghc-paths-0.1.0.9@sha256:ed18df7b53699446dabd66f6e019e5b156820f0301d8dec0d6385f13b797e0ba,656/KT3ZkQ9jGIwBvXxvuwKDPT1MxGIFeLnNOY8wwB6-KiY=: /Users/ur20980/.stack/precompiled/x86_64-osx/ghc-8.6.3/2.4.0.1/ghc-paths-0.1.0.9@sha256:ed18df7b53699446dabd66f6e019e5b156820f0301d8dec0d6385f13b797e0ba,656/KT3ZkQ9jGIwBvXxvuwKDPT1MxGIFeLnNOY8wwB6-KiY=: openBinaryFile: does not exist (No such file or directory)
2019-02-05 08:09:35.019334: [debug] Exception ignored when attempting to load /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/stack-config-cache: /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/stack-config-cache: openBinaryFile: does not exist (No such file or directory)
2019-02-05 08:09:35.019499: [debug] Exception ignored when attempting to load /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/stack-cabal-mod: /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/stack-cabal-mod: openBinaryFile: does not exist (No such file or directory)
2019-02-05 08:09:35.019851: [info] ghc-paths-0.1.0.9: configure
2019-02-05 08:09:35.022138: [debug] Run process within /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/: /Users/ur20980/.ghcup/ghc/8.6.3/bin/ghc-8.6.3 --make -odir /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup -hidir /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup -i -i. -clear-package-db -global-package-db -package-db=/Users/ur20980/.stack/snapshots/x86_64-osx/lts-13.6/8.6.3/pkgdb -package-db=/Users/ur20980/.stack/global-project/.stack-work/install/x86_64-osx/lts-13.6/8.6.3/pkgdb -hide-all-packages -package-id=Cabal-2.4.1.0-Df4rkGuWEtO4aZs4eesJ3r -package-id=base-4.12.0.0 -package-id=directory-1.3.3.0 -optP-include -optP/private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/setup_macros.h /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/Setup.hs /Users/ur20980/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -main-is StackSetupShim.mainOverride -o /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/setup -threaded
Progress 1/2
-- While building package ghc-paths-0.1.0.9 using:
/Users/ur20980/.ghcup/bin/ghc --make -odir /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup -hidir /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup -i -i. -clear-package-db -global-package-db -package-db=/Users/ur20980/.stack/snapshots/x86_64-osx/lts-13.6/8.6.3/pkgdb -package-db=/Users/ur20980/.stack/global-project/.stack-work/install/x86_64-osx/lts-13.6/8.6.3/pkgdb -hide-all-packages -package-id=Cabal-2.4.1.0-Df4rkGuWEtO4aZs4eesJ3r -package-id=base-4.12.0.0 -package-id=directory-1.3.3.0 -optP-include -optP/private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/setup_macros.h /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/Setup.hs /Users/ur20980/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -main-is StackSetupShim.mainOverride -o /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/setup -threaded
Process exited with code: ExitFailure 1
Logs have been written to: /Users/ur20980/.stack/global-project/.stack-work/logs/ghc-paths-0.1.0.9.log
[1 of 2] Compiling Main ( /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/Setup.hs, /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/Main.o )
/private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/Setup.hs:29:18: warning: [-Wdeprecations]
In the use of ‘rawSystemProgramStdoutConf’
(imported from Distribution.Simple.Program):
Deprecated: "use getDbProgramOutput instead. This symbol will be removed in Cabal-3.0 (est. Mar 2019)."
|
29 | libdir_ <- rawSystemProgramStdoutConf (fromFlag (configVerbosity flags))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
[2 of 2] Compiling StackSetupShim ( /Users/ur20980/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/StackSetupShim.o )
Linking /private/var/folders/c6/lnc_0m093ys8w16md_fm1mnxhtfnj8/T/stack-83c6e172f4b4b419/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/setup ...
Undefined symbols for architecture x86_64:
"_iconv", referenced from:
_hs_iconv in libHSbase-4.12.0.0.a(iconv.o)
(maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncoding_closure, _base_GHCziIOziEncodingziIconv_iconvEncoding1_info , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding15_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding4_info , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _base_GHCziIOziEncodingziIconv_iconvEncoding5_closure , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _base_GHCziIOziEncodingziIconv_iconvEncoding11_info , _base_GHCziIOziEncodingziIconv_iconvEncoding12_info , _base_GHCziIOziEncodingziIconv_iconvEncoding14_bytes , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncoding11_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding15_info , _base_GHCziIOziEncodingziIconv_iconvEncoding_info , _base_GHCziIOziEncodingziIconv_iconvEncoding12_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding10_bytes , _base_GHCziIOziEncodingziIconv_iconvEncoding13_info , _base_GHCziIOziEncodingziIconv_iconvEncoding13_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure )
"_iconv_open", referenced from:
_hs_iconv_open in libHSbase-4.12.0.0.a(iconv.o)
(maybe you meant: _hs_iconv_open)
"_iconv_close", referenced from:
_hs_iconv_close in libHSbase-4.12.0.0.a(iconv.o)
(maybe you meant: _hs_iconv_close)
"_locale_charset", referenced from:
_localeEncoding in libHSbase-4.12.0.0.a(PrelIOUtils.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`clang' failed in phase `Linker'. (Exit code: 1)
$
```
Here's the log from `stack` downloaded via `stack upgrade --force-download`:
[intero-inst-fail.log.txt](https://github.com/haskell/ghcup/files/2832201/intero-inst-fail.log.txt)
**To Reproduce**
Steps to reproduce the behavior:
1. Install everything via `bootstrap-haskell`
2. `cabal install stack`
3. Since the above reports that this stack build is unsupported - re-do it via `stack upgrade --force-download`, and remove `stack` from `~/.cabal/bin` to avoid conflicts.
4. Try `stack install intero`, `cabal install intero`, `cabal new-install intero`
Observer failures.
**System information**
```
$ ghcup debug-info
Script version: 0.0.6
Script variables:
GHC install location: /Users/ur20980/.ghcup/ghc
Binary install location: /Users/ur20980/.ghcup/bin
Tarball cache location: /Users/ur20980/.ghcup/cache
Downloader: curl --fail -O <url>
Script update url: https://raw.githubusercontent.com/haskell/ghcup/master/ghcup
GHC download baseurl: https://downloads.haskell.org/~ghc
Meta download url https://raw.githubusercontent.com/haskell/ghcup/master/.download-urls
Meta download format 1
Meta version url https://raw.githubusercontent.com/haskell/ghcup/master/.available-versions
Meta version format 1
Detected system information:
Architecture: x86_64
Distribution: Darwin
Distro alias: darwin
Distro version: 18.2.0
$
```
One important piece of info: Macports is present, which causes conflict between `/usr/lib/libiconv.dylib` and Macport's `/opt/local/lib/libiconv.dylib`. Here are my stack and cabal config files:
[cabal-config.txt](https://github.com/haskell/ghcup/files/2832216/cabal-config.txt)
[config.yaml.txt](https://github.com/haskell/ghcup/files/2832217/config.yaml.txt)
https://gitlab.haskell.org/haskell/ghcup/-/issues/23Test on major distros on travis2019-06-08T12:28:22ZGhost UserTest on major distros on travisWe should test the script in docker containers on travis. At least these distros:
1. debian
2. ubuntu
3. fedora
4. centos
5. opensuse
6. archlinux
...?We should test the script in docker containers on travis. At least these distros:
1. debian
2. ubuntu
3. fedora
4. centos
5. opensuse
6. archlinux
...?https://gitlab.haskell.org/haskell/ghcup/-/issues/53Failed to update cabal-install on a fresh Arch Linux installation2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgFailed to update cabal-install on a fresh Arch Linux installation*Created by: zhangkaizhao*
On a fresh Arch Linux installation, I'm following the instruction in README:
```
# install the last known "best" GHC version
ghcup install
# install a specific GHC version
ghcup install 8.2.2
# set the c...*Created by: zhangkaizhao*
On a fresh Arch Linux installation, I'm following the instruction in README:
```
# install the last known "best" GHC version
ghcup install
# install a specific GHC version
ghcup install 8.2.2
# set the currently "active" GHC version
ghcup set 8.4.4
# install cabal-install
ghcup install-cabal
# update cabal-install
cabal new-install cabal-install
```
And there is an error raised while processing the last command line task:
```
$ cabal new-install cabal-install
cabal: ghc-pkg dump failed: dieVerbatim: user error (cabal:
'/home/kaizhao/.ghcup/bin/ghc-pkg' exited with an error:
ghc-pkg: /home/kaizhao/.cabal/store/ghc-8.4.4/package.db:
getDirectoryContents:openDirStream: does not exist (No such file or directory)
)
$
```
The error insists after running the `cabal new-update` command to download the latest package list.
Tree of directories and files in `~/.cabal`:
```
$ tree .cabal/
.cabal/
├── bin
├── config
└── packages
└── hackage.haskell.org
├── 01-index.cache
├── 01-index.tar
├── 01-index.tar.gz
├── 01-index.tar.idx
├── 01-index.timestamp
├── hackage-security-lock
├── mirrors.json
├── root.json
├── snapshot.json
└── timestamp.json
3 directories, 11 files
```https://gitlab.haskell.org/haskell/ghcup/-/issues/6ghcup install-cabal is problematic2019-06-08T12:28:22ZGhost Userghcup install-cabal is problematic`cabal new-install cabal-install` will not overwrite the old binary, but we want it to. So how does the user upgrade from pre-built binary downloaded by ghcup to latest cabal-install?`cabal new-install cabal-install` will not overwrite the old binary, but we want it to. So how does the user upgrade from pre-built binary downloaded by ghcup to latest cabal-install?https://gitlab.haskell.org/haskell/ghcup/-/issues/64Error messages in WSL Ubuntu 18.942019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgError messages in WSL Ubuntu 18.94*Created by: cfraz89*
Running ghcup in a WSL install of Ubuntu 18.04 yields the following errors/warnings:
/home/chris/.ghcup/bin/ghcup: 1: /home/chris/.ghcup/bin/ghcup: ot found
/home/chris/.ghcup/bin/ghcup: 1: /home/chris/.ghcup/b...*Created by: cfraz89*
Running ghcup in a WSL install of Ubuntu 18.04 yields the following errors/warnings:
/home/chris/.ghcup/bin/ghcup: 1: /home/chris/.ghcup/bin/ghcup: ot found
/home/chris/.ghcup/bin/ghcup: 1: /home/chris/.ghcup/bin/ghcup: 35mcurl: not found
However the script proceeeds as per usual after this anyway.https://gitlab.haskell.org/haskell/ghcup/-/issues/48Darwin 8.6.2 installation problem2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgDarwin 8.6.2 installation problem*Created by: jtdaugherty*
I attempted to use `ghcup` to install GHC 8.6.2 on OS X (High Sierra, 10.13.6). After `ghcup` fetched the GHC package and began installation, I ultimately saw a great many lines like
```
/Library/Developer/Co...*Created by: jtdaugherty*
I attempted to use `ghcup` to install GHC 8.6.2 on OS X (High Sierra, 10.13.6). After `ghcup` fetched the GHC package and began installation, I ultimately saw a great many lines like
```
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/.../.ghcup/ghc/8.6.2/lib/ghc-8.6.2/rts/libHSrts_thr_p.a(elf_reloc_aarch64.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/.../.ghcup/ghc/8.6.2/lib/ghc-8.6.2/rts/libHSrts_thr_p.a(elf_util.thr_p_o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /Users/.../.ghcup/ghc/8.6.2/lib/ghc-8.6.2/rts/libHSrts_thr_p.a(Select.thr_p_o) has no symbols
```
and then the installation terminated with
```
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-prim dist-install "strip" '' '/Users/.../.ghcup/ghc/8.6.2' '/Users/.../.ghcup/ghc/8.6.2/lib/ghc-8.6.2' '/Users/.../.ghcup/ghc/8.6.2/share/doc/ghc-8.6.2/html/libraries' 'v p dyn'
dyld: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
Referenced from: /private/var/folders/lm/ybj5rc1d5mq7523vdb2fry240000gn/T/tmp.M17dAytH/ghc-8.6.2/libraries/base/dist-install/build/libHSbase-4.12.0.0-ghc8.6.2.dylib
Reason: image not found
make[1]: *** [install_packages] Abort trap: 6
make: *** [install] Error 2
Failed to install, consider updating this script via: ghcup upgrade
```Oleg GrenrusOleg Grenrushttps://gitlab.haskell.org/haskell/ghcup/-/issues/76Improve downloading with redirects2019-06-08T12:28:22ZGhost UserImprove downloading with redirectsfilename detection on redirects is automagic I guess, so curl and wget might behave funny if that is the case? Our `download_tarball_name` and others then might not be correct.filename detection on redirects is automagic I guess, so curl and wget might behave funny if that is the case? Our `download_tarball_name` and others then might not be correct.https://gitlab.haskell.org/haskell/ghcup/-/issues/73Handle ctrl+c2019-06-08T12:28:22ZGhost UserHandle ctrl+cWe don't handle it at all, so you might have a broken tarball if caching is enabled and the user hits `ctrl+c` during download.We don't handle it at all, so you might have a broken tarball if caching is enabled and the user hits `ctrl+c` during download.https://gitlab.haskell.org/haskell/ghcup/-/issues/72Create a "news" command2019-06-08T12:28:22ZGhost UserCreate a "news" commandMaybe having a `news` command to download and print changelog for GHC/cabal versions would be nice.Maybe having a `news` command to download and print changelog for GHC/cabal versions would be nice.https://gitlab.haskell.org/haskell/ghcup/-/issues/10ghcup list - show available ghc versions?2019-06-08T12:28:22ZShae Erissonghcup list - show available ghc versions?I teach Haskell to newbies, they won't know what version to put into `ghcup install <VERSION>` could there be a list command?I teach Haskell to newbies, they won't know what version to put into `ghcup install <VERSION>` could there be a list command?https://gitlab.haskell.org/haskell/ghcup/-/issues/9ghcup install - just grab the latest stable?2019-06-08T12:28:22ZShae Erissonghcup install - just grab the latest stable?my first try was `ghcup install` would it be possible/sensible for that to just grab the latest? or would that special case be inconsistent?my first try was `ghcup install` would it be possible/sensible for that to just grab the latest? or would that special case be inconsistent?https://gitlab.haskell.org/haskell/ghcup/-/issues/54Add cabal-install 2.4.1.0 to metadata2019-06-08T12:28:22ZHerbert Valerio Riedelhvr@gnu.orgAdd cabal-install 2.4.1.0 to metadataSee http://downloads.haskell.org/cabal/cabal-install-2.4.1.0/ for `cabal` bindists available at time of writingSee http://downloads.haskell.org/cabal/cabal-install-2.4.1.0/ for `cabal` bindists available at time of writinghttps://gitlab.haskell.org/haskell/ghcup/-/issues/102aarch64 support2019-06-13T02:32:16ZFrancesco Gazzettafgaz@fgaz.meaarch64 supportThat's the only "big" architecture that's still missingThat's the only "big" architecture that's still missinghttps://gitlab.haskell.org/haskell/ghcup/-/issues/103ghcup install script should explicitly recommend installing command line tool...2019-07-23T02:47:09Zgershombghcup install script should explicitly recommend installing command line tools on os x.As per this thread: https://www.reddit.com/r/haskell/comments/c0djr7/how_the_fk_do_you_install_haskell/
A new haskell user was confused because they were warned about missing libs/tools, but not told that xcode and the relevant command ...As per this thread: https://www.reddit.com/r/haskell/comments/c0djr7/how_the_fk_do_you_install_haskell/
A new haskell user was confused because they were warned about missing libs/tools, but not told that xcode and the relevant command line tools were the "standard" way to get these.https://gitlab.haskell.org/haskell/ghcup/-/issues/104Expose hsc2hs (and other tools distributed with GHC)2019-06-20T16:17:51ZSimon JakobiExpose hsc2hs (and other tools distributed with GHC)`hsc2hs` is included in GHC bindists, but `ghcup` doesn't currently expose it in its `bin/`. (Noticed [here](https://github.com/ghcjs/ghcjs/issues/755))
Same issue with `hp2ps` and `hpc`.
Ideally ghcup should expose all the tools distr...`hsc2hs` is included in GHC bindists, but `ghcup` doesn't currently expose it in its `bin/`. (Noticed [here](https://github.com/ghcjs/ghcjs/issues/755))
Same issue with `hp2ps` and `hpc`.
Ideally ghcup should expose all the tools distributed with GHC IMHO.https://gitlab.haskell.org/haskell/ghcup/-/issues/105Installing ghc on Red Hat Enterprise Linux 7 fails with libtinfo.so.6 dependency2019-06-25T05:44:29ZMichael AbbottInstalling ghc on Red Hat Enterprise Linux 7 fails with libtinfo.so.6 dependencyRunning `ghcup install` on RHEL7 fails during "Installing library" step with a dependency on `libtinfo.so.6`. It seems that on RHEL7 we only have `libtinfo.so.5` available.
However, running `ghcup install 8.0.2` (the oldest version lis...Running `ghcup install` on RHEL7 fails during "Installing library" step with a dependency on `libtinfo.so.6`. It seems that on RHEL7 we only have `libtinfo.so.5` available.
However, running `ghcup install 8.0.2` (the oldest version listed in `.available-versions`) seems to have worked. It would be good to have some way of finding out the most recent version that will work, and presumably `ghcup` tries to get these dependencies right?https://gitlab.haskell.org/haskell/ghcup/-/issues/106Fixing rogue tabs2019-06-24T13:46:27ZMichael AbbottFixing rogue tabsI know this is petty, but the `CONTRIBUTING.md` is pretty clear on this: "whitespaces, no tabs".
First of all, commit 5f04b34b introduced inconsistent tabbing (vim style suggests 4 space tabs). The patch below fixes this (assuming tab ...I know this is petty, but the `CONTRIBUTING.md` is pretty clear on this: "whitespaces, no tabs".
First of all, commit 5f04b34b introduced inconsistent tabbing (vim style suggests 4 space tabs). The patch below fixes this (assuming tab characters survive markdown&web):
```
diff --git a/ghcup b/ghcup
index cc9c3f4..cd5f7e3 100755
--- a/ghcup
+++ b/ghcup
@@ -1102,9 +1102,9 @@ get_distro_alias() {
"Linux Mint"|"LinuxMint")
distro_alias=mint
;;
- "Amazon Linux AMI")
- distro_alias=amazonlinux
- ;;
+ "Amazon Linux AMI")
+ distro_alias=amazonlinux
+ ;;
"AIX")
distro_alias=aix
;;
```
Second, more contentious, and perhaps a bit gratuitous, the "here file" introduced by commit b2b020ef also breaks the "no tabs" rule, and is fixed by the patch below (sorry, it does come out a bit ugly):
```
diff --git a/ghcup b/ghcup
index cc9c3f4..c0af266 100755
--- a/ghcup
+++ b/ghcup
@@ -1752,14 +1752,14 @@ compile_ghc() {
if [ -n "${build_config}" ] ; then
edo cat "${build_config}" > mk/build.mk
else
- cat <<-EOF > mk/build.mk || die
- V=0
- BUILD_MAN = NO
- BUILD_SPHINX_HTML = NO
- BUILD_SPHINX_PDF = NO
- HADDOCK_DOCS = YES
- GhcWithLlvmCodeGen = YES
- EOF
+ cat <<EOF > mk/build.mk || die
+V=0
+BUILD_MAN = NO
+BUILD_SPHINX_HTML = NO
+BUILD_SPHINX_PDF = NO
+HADDOCK_DOCS = YES
+GhcWithLlvmCodeGen = YES
+EOF
fi
```https://gitlab.haskell.org/haskell/ghcup/-/issues/107Incorrect URL in .download-urls2019-06-25T10:14:58ZMichael AbbottIncorrect URL in .download-urlsThis was originally reported in passing here: https://gitlab.haskell.org/haskell/ghcup/issues/105#note_209050 and then reported against ghc here: https://gitlab.haskell.org/ghc/ghc/issues/16861; I didn't realise this is part of ghcup.
T...This was originally reported in passing here: https://gitlab.haskell.org/haskell/ghcup/issues/105#note_209050 and then reported against ghc here: https://gitlab.haskell.org/ghc/ghc/issues/16861; I didn't realise this is part of ghcup.
The binary distribution listed in https://gitlab.haskell.org/haskell/ghcup/blob/master/.download-urls for GHC 8.6.5 on centos links to a non-existent file: the link points to https://downloads.haskell.org/~ghc/8.6.5/ghc-x86_64-centos7-linux.tar.xz which does not exist.https://gitlab.haskell.org/haskell/ghcup/-/issues/108Should we use the Fedora 27 bindist for Ubuntu?2019-07-10T10:41:07ZLeif MetcalfShould we use the Fedora 27 bindist for Ubuntu?The current bindist for ubuntu (https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-deb9-linux.tar.xz) tries to use `libtinfo.so.5`, but since at least 16.04, Ubuntu provides `libtinfo.so.6` but not `libtinfo.so.5`.
The Fedora 27 ...The current bindist for ubuntu (https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-deb9-linux.tar.xz) tries to use `libtinfo.so.5`, but since at least 16.04, Ubuntu provides `libtinfo.so.6` but not `libtinfo.so.5`.
The Fedora 27 bindist (https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-fedora27-linux.tar.xz) uses `libtinfo.so.6`, and is what stack uses.https://gitlab.haskell.org/haskell/ghcup/-/issues/109Provide bash completion2019-07-25T11:20:14ZJulian OspaldProvide bash completionhttps://gitlab.haskell.org/haskell/ghcup/-/issues/110Provide zsh completion2019-07-09T03:04:08ZJulian OspaldProvide zsh completionhttps://gitlab.haskell.org/haskell/ghcup/-/issues/111`libtinfo.so.6` is missing on Ubuntu 18.042019-07-11T02:27:33Zarata, mizuki`libtinfo.so.6` is missing on Ubuntu 18.04When I try to setup GHC with ghcup on Ubuntu 18.04 LTS, `ghc-pkg` fails to run because `libtinfo.so.6` is missing.
Using deb9 bindist seems to work.
According to https://packages.ubuntu.com/cosmic/libtinfo6, the package `libtinfo6`, wh...When I try to setup GHC with ghcup on Ubuntu 18.04 LTS, `ghc-pkg` fails to run because `libtinfo.so.6` is missing.
Using deb9 bindist seems to work.
According to https://packages.ubuntu.com/cosmic/libtinfo6, the package `libtinfo6`, which provides `libtinfo.so.6`, is only available since Ubuntu 18.10 (cosmic).
Therefore, `.download-urls` should be changed like this:
```
ghc 8.6.5 x86_64 debian=9,debian,mint,ubuntu=16.04,ubuntu=18.04 https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-deb9-linux.tar.xz
```
Related issue: #108https://gitlab.haskell.org/haskell/ghcup/-/issues/112www: specify that the installation command should be run as normal user2019-08-15T03:26:54ZFrancesco Gazzettafgaz@fgaz.mewww: specify that the installation command should be run as normal userI just linked the ghcup page to someone, but they ran it as root, thinking that it would perform a global install.
Maybe the website should specify that ghcup is an user-level installer and has to be installed and run as normal user.
A...I just linked the ghcup page to someone, but they ran it as root, thinking that it would perform a global install.
Maybe the website should specify that ghcup is an user-level installer and has to be installed and run as normal user.
A subtle way of doing this is adding a (non copy-able) `$` before the command, like it's done in https://nixos.org/nix/ (click "get nix")https://gitlab.haskell.org/haskell/ghcup/-/issues/113Installation is too difficult2019-08-22T10:14:02ZAlex McLeanInstallation is too difficultI regularly help people install Haskell with no programming experience, and installing ghcup is really difficult.
Here's part of the installer output that they shared:
```
Installing GHC-8.6.5 for Darwin on architecture x86_64
GHC alrea...I regularly help people install Haskell with no programming experience, and installing ghcup is really difficult.
Here's part of the installer output that they shared:
```
Installing GHC-8.6.5 for Darwin on architecture x86_64
GHC already installed in /Users/nojlisftw/.ghcup/ghc/8.6.5, use --force to overwrite
Setting GHC to 8.6.5
Done, make sure "/Users/nojlisftw/.ghcup/bin" is in your PATH!
Installing cabal-install-2.4.1.0 into "/Users/nojlisftw/.ghcup/bin"
Successfully installed cabal-install into
/Users/nojlisftw/.ghcup/bin
You may want to run the following to get the really latest version:
cabal new-install cabal-install
And make sure that "~/.cabal/bin" comes before "/Users/nojlisftw/.ghcup/bin"
in your PATH!
Downloading the latest package list from hackage.haskell.org
To revert to previous state run:
cabal new-update 'hackage.haskell.org,2019-08-18T13:24:34Z'
Installation done!
Don't forget to source /Users/nojlisftw/.ghcup/env in your ~/.bashrc or similar.
```
It asked to 'make sure' the ghcup bin folder is in their PATH, make sure another folder is 'before' it, and not to forget 'sourcing' an env file in '.bashrc or similar'.
None of this is understandable for anyone without advanced skills in unix shells.https://gitlab.haskell.org/haskell/ghcup/-/issues/114Windows Support2021-05-15T12:25:58ZWoodson DelhiaWindows SupportHello,
Is anyone already working on the windows version of ghcup? I am not a windows user but I think that the community might actually need it.
I already started working on a PowerShell version, I'm pretty much just translating the b...Hello,
Is anyone already working on the windows version of ghcup? I am not a windows user but I think that the community might actually need it.
I already started working on a PowerShell version, I'm pretty much just translating the bootstrap script for now. If no one is currently working on it, can you please let me know how you would like to proceed if you were to accept a windows version? Also, what are some issues that I might face trying to work on this support (of course, if you can think of any)?
Thank you,
Woodson D.https://gitlab.haskell.org/haskell/ghcup/-/issues/115compile ghc-8.8.12019-12-16T07:11:05ZSam Hallidaycompile ghc-8.8.1`ghc` no longer supports `--with-ghc` as is used here
```
edo ./configure --prefix="${inst_location}" --with-ghc="${bootstrap_ghc}"
```
and instead requires the full path to ghc to be provided as an envvar, I'm guessing like th...`ghc` no longer supports `--with-ghc` as is used here
```
edo ./configure --prefix="${inst_location}" --with-ghc="${bootstrap_ghc}"
```
and instead requires the full path to ghc to be provided as an envvar, I'm guessing like this
```
GHC=$(which ${bootstrap_ghc}) edo ./configure --prefix="${inst_location}"
```
I'm not aware of anything else that's changed.
My POSIX shell is not so great, I'd be happy to send a Merge Request to update the compile command but could you please help me to do the comparison on `${myghcver}` ? Is there a numeric version available?https://gitlab.haskell.org/haskell/ghcup/-/issues/116Optionally install GHC using musl alongside2019-12-21T15:27:17ZVanessa McHaleOptionally install GHC using musl alongsideIf ghcup is to be a management tool for GHCs (à la rustup), this would be a wonderful feature.If ghcup is to be a management tool for GHCs (à la rustup), this would be a wonderful feature.https://gitlab.haskell.org/haskell/ghcup/-/issues/117Manage cross-compilers2019-09-10T22:36:14ZVanessa McHaleManage cross-compilersCurrently all I've got is `aarch64-linux-gnu`/`arm-linux-gnueabihf` target for `x86_64-unknown-linux` host, but it would be nice to install them as well; rustup does this.
See: https://github.com/vmchale/ghc-cross/releasesCurrently all I've got is `aarch64-linux-gnu`/`arm-linux-gnueabihf` target for `x86_64-unknown-linux` host, but it would be nice to install them as well; rustup does this.
See: https://github.com/vmchale/ghc-cross/releaseshttps://gitlab.haskell.org/haskell/ghcup/-/issues/118`ghcup list` doesn't show `cabal-install` versions2019-09-19T15:05:06ZDmitrii Kovanikov`ghcup list` doesn't show `cabal-install` versionsI'm using `ghcup` on Ubuntu 18.04. My `ghcup` version is `0.0.7`. When I run `ghcup list` command, I see the following output:
```
$ ghcup list
Available versions:
✗ ghc 8.0.2 8.0
✗ ghc 8.2.2 8.2
✗ ghc 8.4.3
✗ ghc 8.4.4 8.4
✗ ghc 8.6.1...I'm using `ghcup` on Ubuntu 18.04. My `ghcup` version is `0.0.7`. When I run `ghcup list` command, I see the following output:
```
$ ghcup list
Available versions:
✗ ghc 8.0.2 8.0
✗ ghc 8.2.2 8.2
✗ ghc 8.4.3
✗ ghc 8.4.4 8.4
✗ ghc 8.6.1 bad
✗ ghc 8.6.2
✗ ghc 8.6.3
✗ ghc 8.6.4
✔ ghc 8.6.5 recommended,8.6
✔ ghc 8.8.1 latest,8.8
```
You can notice that `ghc` versions are displayed but `cabal-install` versions are not present. I wonder, what could be the reason for this?https://gitlab.haskell.org/haskell/ghcup/-/issues/119Wrong tar flag on darwin2019-10-07T03:12:23ZtoonnWrong tar flag on darwinThe proper flag for xz decompression is `J` not `z`, which is for gzip (bzip is lower case `j`).
I suspect the motivation for piping uncompressed archives into tar is compatibility? Why not stick to tar's `bundled-flags` form of argument...The proper flag for xz decompression is `J` not `z`, which is for gzip (bzip is lower case `j`).
I suspect the motivation for piping uncompressed archives into tar is compatibility? Why not stick to tar's `bundled-flags` form of arguments if that's the case? I.e., drop the `-` in `-xf`.
I believe every version of tar on mac os that can handle xz compression also does automatic compression detection so it should be possible to simplify the command for darwin to `tar xf` for all cases. (I haven't bothered verifying my claim but considering most mac os users update fairly regularly I'd risk breaking it for older versions and waiting for a new issue report.)https://gitlab.haskell.org/haskell/ghcup/-/issues/120Installation takes hours long2019-10-16T06:03:46Zshi-xiaopengInstallation takes hours longI used the recommended way, that is `curl https://get-ghcup.haskell.org -sSf | sh`.
But it takes hours to download.
![Screen_Shot_2019-10-14_at_10.40.23_PM](/uploads/74f51c9b64a7b1a34a0ed8f534638751/Screen_Shot_2019-10-14_at_10.40.23_PM...I used the recommended way, that is `curl https://get-ghcup.haskell.org -sSf | sh`.
But it takes hours to download.
![Screen_Shot_2019-10-14_at_10.40.23_PM](/uploads/74f51c9b64a7b1a34a0ed8f534638751/Screen_Shot_2019-10-14_at_10.40.23_PM.png)
I am at shanghai China, First thing I thought is GREAT WALL, so I opened VPN, but the situation doesn't have any improvement. Is there something wrong?
I want to try Haskell, I think more and more Chinese developers would do. If this issue is location related, I hope there would be a solution.https://gitlab.haskell.org/haskell/ghcup/-/issues/121Beginner UX2019-11-28T03:56:02Zf-aBeginner UXNow and then I join `#haskell` on freenode.
Some times a question pops up on ghchup. The details vary, but usually:
0. the question is asked by someone who installs haskell for the first time
1. the question is asked by someon who...Now and then I join `#haskell` on freenode.
Some times a question pops up on ghchup. The details vary, but usually:
0. the question is asked by someone who installs haskell for the first time
1. the question is asked by someon who runs Mac OSX
2. the question is asked by someone who who is not command line savvy (i.e. probably doesn't know what `.bashrc` is)
3. the question revolves around "setting locale up"
E.g. from today:
<Guest_61> In order to run ghc and cabal, you need to adjust your PATH variable.> >
You may want to source '/Users/h/.ghcup/env' in your shell> >
configuration to do so (e.g. ~/.bashrc).
People who dwell in `#haskell` are mostly friendly but sometimes debugging involves a back and forth between the helpers and the person who seeks help: the latter is required to run some shells command, maybe doesn't really know how to do that, frustration builds up.
I am not a `ghcup` user myself so my suggestions might be incorrect. Obviously there is no "one size fits all". Things I have noticed:
- `"You may want to source '/Users/h/.ghcup/env' in your shell"` is clear and concise for someone who knows what a shell is etc. but not for a beginner. Maybe add an example like `as an example: add the line "source xyz" (without quotes) to your .bashrc file` could work.
- related: sometimes `.bashrc` (or similar) is not there. `touch ~/.bashrc` should be harmless enough?
- *"previously the script would consider the user pressing enter without typing YES a no... but that confused users, so now you have to type YES or NO"* is again reasonable for somewhat experienced users. As much as it is not right, most GUI-used users will just skip through prompts like this.
- [Haskell.org](https://www.haskell.org/platform/#osx) page for OSX recommends first to install cabal-install and ghc via `ghcup` and then install `haskell stack`. "The more there is, the easier it breaks."
I hope this brain dump is useful, thanks for such an useful project!https://gitlab.haskell.org/haskell/ghcup/-/issues/122Link man page2020-01-09T00:01:07ZJanfelLink man pageIt would be nice if `ghcup set <version>` would create a symlink from `~/.ghcup/share` to `~/.ghcup/ghc/<version>/share`.
Currently the command `man ghc` fails with `No manual entry for ghc`. When this is implemented, provided `~/.ghcup...It would be nice if `ghcup set <version>` would create a symlink from `~/.ghcup/share` to `~/.ghcup/ghc/<version>/share`.
Currently the command `man ghc` fails with `No manual entry for ghc`. When this is implemented, provided `~/.ghcup/bin` is on the `PATH`, `man` would automatically add `~/.ghcup/share/man` to its internal `MANPATH` and `man ghc` would open the manpage of the current `ghc`.https://gitlab.haskell.org/haskell/ghcup/-/issues/123ln: illegal option -- T on macOS Catalina2020-01-09T13:24:10ZLi Zhuohualn: illegal option -- T on macOS CatalinaI encountered the following error on macOS Catalina:
```
Setting GHC to 8.6.5
ln: illegal option -- T
usage: ln [-Ffhinsv] source_file [target_file]
ln [-Ffhinsv] source_file ... target_dir
link source_file target_file
"gh...I encountered the following error on macOS Catalina:
```
Setting GHC to 8.6.5
ln: illegal option -- T
usage: ln [-Ffhinsv] source_file [target_file]
ln [-Ffhinsv] source_file ... target_dir
link source_file target_file
"ghcup set" failed!
```
Seems like the `ln` command does not support `-T` option.https://gitlab.haskell.org/haskell/ghcup/-/issues/130Mktemp not working properly on macOS2020-01-15T23:02:31ZRicardo Ander-EggMktemp not working properly on macOSOS version: 10.14.6
mktemp: version 8.31 from GNU coreutils (installed with brew)
When trying to install ghcup the command ghcup --cache install throws an error stating there are "X's" missing in the template.
I just changed `mktemp -d...OS version: 10.14.6
mktemp: version 8.31 from GNU coreutils (installed with brew)
When trying to install ghcup the command ghcup --cache install throws an error stating there are "X's" missing in the template.
I just changed `mktemp -d -t ghcup` to `mktemp -d -t ghcup.XXXXXXXX` when `mktemp_mydistro = "darwin"` and ran the install commands by hand and everything worked perfectly.
When using the native mktemp from macOS located in /usr/bin it works as expected, and with the modified command the folder created is named something like: "ghcup.XXXXXXXX.uGWKmA7c"
Maybe the script could be modified to enable cross compatibility both with native mktemp and the one from coreutils.
Related to:
!124
!126
!130https://gitlab.haskell.org/haskell/ghcup/-/issues/131Improving FreeBSD support2020-10-06T11:47:37ZGeorge WilsonImproving FreeBSD supportI added FreeBSD support to GHCUP, but I have come around to the view that we should remove it, as GHC FreeBSD binaries are not published quickly or reliably enough for GHCUP's purposes - it's holding back our "recommended version" from a...I added FreeBSD support to GHCUP, but I have come around to the view that we should remove it, as GHC FreeBSD binaries are not published quickly or reliably enough for GHCUP's purposes - it's holding back our "recommended version" from advancing, isn't it?
Getting FreeBSD back into ghcup should wait until FreeBSD is a first-class-citizen of GHC again.https://gitlab.haskell.org/haskell/ghcup/-/issues/132Can I install multiple versions of cabal at once?2020-05-10T08:43:43ZTom EllisCan I install multiple versions of cabal at once?I would like to do both `ghcup install-cabal 3.0.0.0` and `ghcup install-cabal 2.4.0.0` and have the installed binaries not conflict with each other. Currently they both get installed as `~/.ghcup/bin/cabal` so the `cabal` from the comm...I would like to do both `ghcup install-cabal 3.0.0.0` and `ghcup install-cabal 2.4.0.0` and have the installed binaries not conflict with each other. Currently they both get installed as `~/.ghcup/bin/cabal` so the `cabal` from the command that was run most recently is the only one which will be installed.
Is there an option I can use to install them as `~/.ghcup/bin/cabal-x.x.x.x` or similar? If not, is there somewhere where I can learn about the rationale for that design?https://gitlab.haskell.org/haskell/ghcup/-/issues/133It is not clear that the command on the homepage needs to be scrolled2020-02-11T22:52:37ZAlex MasonIt is not clear that the command on the homepage needs to be scrolledWhen visiting https://www.haskell.org/ghcup/ it isn't clear that the whole command isn't being shown, which has lead at least one used on IRC to fail to install ghcup.
![Screen_Shot_2020-02-07_at_12.45.37_pm](/uploads/ba6acbd124e7fce358...When visiting https://www.haskell.org/ghcup/ it isn't clear that the whole command isn't being shown, which has lead at least one used on IRC to fail to install ghcup.
![Screen_Shot_2020-02-07_at_12.45.37_pm](/uploads/ba6acbd124e7fce35880551399d8770f/Screen_Shot_2020-02-07_at_12.45.37_pm.png)
![Screen_Shot_2020-02-07_at_12.46.24_pm](/uploads/d624aa1e63b5b39f16724dc507d02dcf/Screen_Shot_2020-02-07_at_12.46.24_pm.png)https://gitlab.haskell.org/haskell/ghcup/-/issues/134Please change xattr on Darwin2020-03-25T19:36:42ZMousePlease change xattr on DarwinPlease consider replacing `xattr -cr .` with `xattr -r -d com.apple.quarantine .` to avoid wiping out extended attributes that could be useful/necessary.Please consider replacing `xattr -cr .` with `xattr -r -d com.apple.quarantine .` to avoid wiping out extended attributes that could be useful/necessary.https://gitlab.haskell.org/haskell/ghcup/-/issues/135haskel node on linux debian strech2020-04-15T17:16:22ZGregory Marc Volcyhaskel node on linux debian strechCannot figure out architecture (was: aarch64)
failed to get architecture
Could not find an appropriate download for the requested GHC-8.8.3 on your systeCannot figure out architecture (was: aarch64)
failed to get architecture
Could not find an appropriate download for the requested GHC-8.8.3 on your systehttps://gitlab.haskell.org/haskell/ghcup/-/issues/136Warning to upgrade while upgrading2020-07-17T14:58:59ZglguyWarning to upgrade while upgradingI just ran `ghcup upgrade` and it warned me that I should upgrade. This is a really minor wart, but if it's easy it seems like that warning shouldn't print during an upgrade.
```
➜ ~ ghcup upgrade
[ Warn ] New GHCup version available: ...I just ran `ghcup upgrade` and it warned me that I should upgrade. This is a really minor wart, but if it's easy it seems like that warning shouldn't print during an upgrade.
```
➜ ~ ghcup upgrade
[ Warn ] New GHCup version available: 0.1.6. To upgrade, run 'ghcup upgrade'
[ Info ] Upgrading GHCup...
[ Info ] downloading: https://downloads.haskell.org/~ghcup/0.1.6/x86_64-apple-darwin-ghcup-0.1.6
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7622k 100 7622k 0 0 2876k 0 0:00:02 0:00:02 --:--:-- 2875k
[ Info ] verifying digest of: ghcup
[ Info ] Successfully upgraded GHCup to version 0.1.6
➜ ~ ghcup upgrade
[ Info ] Upgrading GHCup...
[ Warn ] No GHCup update available
```https://gitlab.haskell.org/haskell/ghcup/-/issues/3Allow to install cabal-install2018-10-16T06:17:26ZGhost UserAllow to install cabal-installOpen question: also allow to build it from source? Overkill?Open question: also allow to build it from source? Overkill?https://gitlab.haskell.org/haskell/ghcup/-/issues/2Allow to compile from source2018-10-16T06:17:26ZGhost UserAllow to compile from sourceSimilar to https://gitlab.com/fommil/ghc-env#compileSimilar to https://gitlab.com/fommil/ghc-env#compilehttps://gitlab.haskell.org/haskell/ghcup/-/issues/14Move into `haskell` org on GitHub2018-10-16T08:00:48ZMitchellSaladMove into `haskell` org on GitHubHello! Would you be willing to move this script under the "haskell" org? Gershom on reddit says:
> If the ghcup maintainers want to move it there and give it some broader implicit mandate of "community support" I'd be all for it -- it...Hello! Would you be willing to move this script under the "haskell" org? Gershom on reddit says:
> If the ghcup maintainers want to move it there and give it some broader implicit mandate of "community support" I'd be all for it -- it seems like it's been getting quite a bit of uptake lately
https://www.reddit.com/r/haskell/comments/9o75lb/announce_ghc_844_released/e7tm54i/
Thanks :)https://gitlab.haskell.org/haskell/ghcup/-/issues/19Allow to provide compile configuration2018-10-17T02:20:06ZGhost UserAllow to provide compile configurationhttps://gitlab.haskell.org/haskell/ghcup/-/issues/30When removing all GHC versions, user is left with dangling symlink2018-10-27T07:22:46ZGhost UserWhen removing all GHC versions, user is left with dangling symlinkhttps://gitlab.haskell.org/haskell/ghcup/-/issues/22Problems on CentOS52018-10-27T07:37:01ZGhost UserProblems on CentOS5reported by @hvr reported by @hvr https://gitlab.haskell.org/haskell/ghcup/-/issues/18Make GHC removal safer2018-10-27T08:18:43ZGhost UserMake GHC removal saferShould be interactive and show the user the to-be removed directories/files and let him confirm. Removal is always dangerous, let's not make any mistakes.Should be interactive and show the user the to-be removed directories/files and let him confirm. Removal is always dangerous, let's not make any mistakes.https://gitlab.haskell.org/haskell/ghcup/-/issues/15Allow to use wget instead of curl2018-10-28T09:01:28ZGhost UserAllow to use wget instead of curlhttps://gitlab.haskell.org/haskell/ghcup/-/issues/5Make fetching tarballs more robust2018-10-30T13:23:50ZGhost UserMake fetching tarballs more robusthttps://github.com/hasufell/ghcup/blob/6f70844708304c69a9da71c035b19d72ca732376/ghcup.sh#L224-L263
is currently slightly awkwardhttps://github.com/hasufell/ghcup/blob/6f70844708304c69a9da71c035b19d72ca732376/ghcup.sh#L224-L263
is currently slightly awkwardhttps://gitlab.haskell.org/haskell/ghcup/-/issues/21Create ghcup meta information file2018-10-30T13:23:50ZGhost UserCreate ghcup meta information filePurpose of meta information file:
* detect new GHC and cabal-install versions on-the-fly without requiring users to update the script in-place
* download reliability: meta information may contain download url information in addition ...Purpose of meta information file:
* detect new GHC and cabal-install versions on-the-fly without requiring users to update the script in-place
* download reliability: meta information may contain download url information in addition to versions
Questions to answer:
1. where should this file be hosted? (downloads.haskell.org or this repo?)
2. which format? (should be easily parsable/sourcable by shell/awk or do we want to go for json/toml and use dependencies for parsing)
* consider that the format might be extended in the future
3. what information should it hold exactly?
* available ghc/cabal-install versions?
* latest ghc/cabal-install version?
* "good" or "bad" versions (e.g. known buggy releases) and reason
4. what is the method/process for updating this meta information file?https://gitlab.haskell.org/haskell/ghcup/-/issues/8Properly check for required commands2018-10-30T13:23:51ZGhost UserProperly check for required commandsE.g. `realpath` was missing in travis, which resulted in funny behavior of `ghcup show`.E.g. `realpath` was missing in travis, which resulted in funny behavior of `ghcup show`.https://gitlab.haskell.org/haskell/ghcup/-/issues/38Rename self-update command to upgrade2018-11-04T11:07:24ZMatt RenaudRename self-update command to upgrade`self-update` seems to be a non-standard name for this command and I can almost guarantee I'll need to check the `--help` page every time I want to do it :P Most other tools that I know of (across several ecosystems) use `upgrade`, would...`self-update` seems to be a non-standard name for this command and I can almost guarantee I'll need to check the `--help` page every time I want to do it :P Most other tools that I know of (across several ecosystems) use `upgrade`, would it be possible to change the name of the command in the next version? https://gitlab.haskell.org/haskell/ghcup/-/issues/33Add MacOS support2018-11-12T16:11:36ZGhost UserAdd MacOS supportThe meta file format needs to be adjusted for this to support non-linux systems.The meta file format needs to be adjusted for this to support non-linux systems.https://gitlab.haskell.org/haskell/ghcup/-/issues/50haddock symlink2018-11-20T02:37:22ZSam Hallidayhaddock symlinkI had a quick look to see if I could implement this, but could not... it seems that we only get a `haddock-ghc` not a `haddock` binary when we `set` a specific ghc version. Is that intentional? This is something I would expect to be inst...I had a quick look to see if I could implement this, but could not... it seems that we only get a `haddock-ghc` not a `haddock` binary when we `set` a specific ghc version. Is that intentional? This is something I would expect to be installed.https://gitlab.haskell.org/haskell/ghcup/-/issues/16Suggest using distro packages if known upstream ppas/repos exist2018-11-24T06:10:14ZGhost UserSuggest using distro packages if known upstream ppas/repos existThere are ubuntu and debian ppas maintained by @hvr afaik, which are recent and well maintained, so we could inform users of this possibility.There are ubuntu and debian ppas maintained by @hvr afaik, which are recent and well maintained, so we could inform users of this possibility.https://gitlab.haskell.org/haskell/ghcup/-/issues/32CentOS detection is shaky2018-12-10T02:20:16ZGhost UserCentOS detection is shakyOn CentOS 6.7 we get:
```
Detected system information:
Architecture: x86_64
Distribution: Linux
Distro version: 4.17.14
```
The only file with useful information seems to be:
```
# cat /etc/centos-release
CentOS...On CentOS 6.7 we get:
```
Detected system information:
Architecture: x86_64
Distribution: Linux
Distro version: 4.17.14
```
The only file with useful information seems to be:
```
# cat /etc/centos-release
CentOS release 6.7 (Final)
```https://gitlab.haskell.org/haskell/ghcup/-/issues/36Add get-ghcup installation script2019-02-05T08:11:35ZMatt RenaudAdd get-ghcup installation scriptThe current process to install ghcup, ghc, and cabal requires several steps that could be automated. Other installers (such as [rustup](https://rustup.rs/)) have a very simple process of: `curl https://sh.rustup.rs -sSf | sh` which insta...The current process to install ghcup, ghc, and cabal requires several steps that could be automated. Other installers (such as [rustup](https://rustup.rs/)) have a very simple process of: `curl https://sh.rustup.rs -sSf | sh` which installs the `rustup` tool, `cargo` (package manager), and `rustc` (the compiler) all in one go. It would be really nice if we could do the same thing with ghcup :)
# Overview
I imagine the end-to-end user journey for someone that's never used Haskell before should be as simple as:
```bash
$ curl https://get.ghcup.haskell.org -sSf | sh
$ source $HOME/.ghcup/env
$ echo 'source $HOME/.ghcup/env' >> $HOME/.bashrc
$ mkdir myproject && cd myproject
$ cabal init -n --is-executable
$ cabal v2-run
```
# Details
To break things down a bit:
`curl https://get.ghcup.haskell.org -sSf | sh`
* Downloads and installs the most recent version of ghcup, ghc, and cabal
* Separating out the ghc install and cabal install into follow-up work as described in the README seem like unnecessary steps to me, the first thing folks are going to do when they download it is run these commands.
* If ghcup already exists it should detect this and offer to run `ghcup upgrade`
* Provide instructions for how to add the necessary bin directories to your path: `echo 'source $HOME/.ghcup/env' >> $HOME/.bashrc`
`source $HOME/.ghcup/env`
* The installation script above should create this env file containing: `export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH"`
`echo 'source $HOME/.ghcup/env' >> $HOME/.bashrc`
* Make sure $PATH is set properly for future sessions
* This (and the line above) should be copy and paste from the output of the install script
# Implementation
I have a shell script that a wrote that accomplishes most of this now, it needs some polish but if you think this is a good idea I can send a PR and we can discuss more there.0.0.7https://gitlab.haskell.org/haskell/ghcup/-/issues/4Add FreeBSD support2019-02-20T10:23:06ZGhost UserAdd FreeBSD supporthttps://gitlab.haskell.org/haskell/ghcup/-/issues/46Warn if there are no `cc` command.2019-04-11T02:30:25ZOleg GrenrusWarn if there are no `cc` command.On a fresh Arch Linux install (try e.g. with `docker run -ti --rm base/archlinux`):
```
[root@4d020a477a06 ghcup]# ./ghcup install
Installing GHC-8.4.4 for Arch Linux on architecture x86_64
% Total % Received % Xferd Average ...On a fresh Arch Linux install (try e.g. with `docker run -ti --rm base/archlinux`):
```
[root@4d020a477a06 ghcup]# ./ghcup install
Installing GHC-8.4.4 for Arch Linux on architecture x86_64
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 145M 100 145M 0 0 13.3M 0 0:00:10 0:00:10 --:--:-- 17.7M
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
Build platform inferred as: x86_64-unknown-linux
Host platform inferred as: x86_64-unknown-linux
Target platform inferred as: x86_64-unknown-linux
GHC build : x86_64-unknown-linux
GHC host : x86_64-unknown-linux
GHC target : x86_64-unknown-linux
LLVM target: x86_64-unknown-linux
checking for path to top of build tree... /tmp/tmp.KF7V7gadPN/ghc-8.4.4
checking for perl... /usr/sbin/perl
checking for a BSD-compatible install... /usr/bin/install -c
checking for gfind... no
checking for find... /usr/sbin/find
checking whether ln -s works... yes
checking for gsed... sed
checking for gcc... no
checking for clang... no
configure: error: in `/tmp/tmp.KF7V7gadPN/ghc-8.4.4':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
Failed to install, consider updating this script via: ghcup upgrade
```
Upgrading is a valid thing to offer, but it won't help here. I think checking for existence of `make` and `cc` in `$PATH` will catch clear cases where there are no development tools installed.
---
Btw, sorry for spamming `ghcup` with issues; but I'd like it to become good enough I dare to recommend it! It's close, but not there yet.https://gitlab.haskell.org/haskell/ghcup/-/issues/49How to document bindist requirements2019-04-11T02:31:05ZGhost UserHow to document bindist requirementsImo, these should be documented upstream and we should point users there (in README and in case of failure): https://www.haskell.org/ghc/download_ghc_8_6_2.html#binaries
Related:
* https://github.com/haskell/ghcup/issues/34
* http...Imo, these should be documented upstream and we should point users there (in README and in case of failure): https://www.haskell.org/ghc/download_ghc_8_6_2.html#binaries
Related:
* https://github.com/haskell/ghcup/issues/34
* https://github.com/haskell/ghcup/issues/46
* https://github.com/haskell/ghcup/issues/48https://gitlab.haskell.org/haskell/ghcup/-/issues/137Add GHC release dates to `ghcup list` table2020-11-13T10:28:48ZAndré Szabolcs SzelpAdd GHC release dates to `ghcup list` tableI felt like adding release dates of the GHC to the `ghcup list` table could be useful (e.g. when creating a new library to assess which older versions of GHC to still target, etc.)
I open this issue to see how the maintainers and other ...I felt like adding release dates of the GHC to the `ghcup list` table could be useful (e.g. when creating a new library to assess which older versions of GHC to still target, etc.)
I open this issue to see how the maintainers and other users feel about this.
## Benefit
Added useful information content.
## Drawbacks
- Broader table.
The current table is 61 terminal characters long (60 Unicode characters, but the inital x / tick are displayed with a double width character)
This addition would push it over 80 characters. 80 characters, stemming from old VT100 terminals is sometimes still considered a desideratum.
- Some might perceive it as information overload, making reading or parsing the table harder.
I think this can be helped by judicious choice of colours, e.g. toning it down with grey.
## Options
The date can be displayed either as an ISO8601 YYYY-MM-DD format, or it could be decided here to use human readable relative dates "two years ago". I would suggest deciding for one or the other and *not* introducing a flag to `ghcup list` to provide the functionality.
If going for relative human readable dates, a choice between one of the packages e.g. `dates`, `friendly-time`, `fmt`, `relevant-time`, `chronos` would be made on considerations as dependency size, maintainance status and whether it's already used in `ghcup`.
## Implementation
I could give it a try.
## Example
Tool Version Tags Notes Released
[ ... snip ... ]
✗ ghc 8.6.4 base-4.12.0.0 hls-powered 2019-03-05
✓ ghc 8.6.5 base-4.12.0.0 hls-powered 2019-04-24
✗ ghc 8.8.1 base-4.13.0.0 2019-08-25
✗ ghc 8.8.2 base-4.13.0.0 hls-powered 2020-01-16
✓ ghc 8.8.3 base-4.13.0.0 hls-powered 2020-02-24
✓ ghc 8.8.4 recommended,base-4.13.0.0 hls-powered 2020-07-15
✗ ghc 8.10.1 base-4.14.0.0 hls-powered 2020-03-24
✔✔ ghc 8.10.2 latest,base-4.14.1.0 hls-powered 2020-08-08
[ ... snip ... ]
or
Tool Version Tags Notes Released
[ ... snip ... ]
✗ ghc 8.6.4 base-4.12.0.0 hls-powered 1¾ years ago
✓ ghc 8.6.5 base-4.12.0.0 hls-powered 1½ years ago
✗ ghc 8.8.1 base-4.13.0.0 1¼ years ago
✗ ghc 8.8.2 base-4.13.0.0 hls-powered 10 months ago
✓ ghc 8.8.3 base-4.13.0.0 hls-powered 9 months ago
✓ ghc 8.8.4 recommended,base-4.13.0.0 hls-powered 4 months ago
✗ ghc 8.10.1 base-4.14.0.0 hls-powered 8 months ago
✔✔ ghc 8.10.2 latest,base-4.14.1.0 hls-powered 2 months ago
[ ... snip ... ]
## Further considerations
It could be considered to add release dates not only to GHC, but to the other install options as well (cabal, hls). On the other hand it might be less relevant with those, and its an equally valid stance to just provide it for GHC exactly for keeping the information tight.https://gitlab.haskell.org/haskell/ghcup/-/issues/1Combine powers2018-10-16T06:17:26ZSam HallidayCombine powersShould we combine our projects and try to get this accepted upstream? e.g. maybe as a new way of distributing the Haskell Platform...
https://gitlab.com/fommil/ghc-env
I'm very happy to delete my project if the features can be move...Should we combine our projects and try to get this accepted upstream? e.g. maybe as a new way of distributing the Haskell Platform...
https://gitlab.com/fommil/ghc-env
I'm very happy to delete my project if the features can be moved to ghcup.
Similar projects: https://gitlab.com/fommil/ghc-env/issues/5https://gitlab.haskell.org/haskell/ghcup/-/issues/7Add support for overriding variables such as `INSTALL_BASE`2019-05-30T03:47:45ZHerbert Valerio Riedelhvr@gnu.orgAdd support for overriding variables such as `INSTALL_BASE`I notice global vars such as
```
INSTALL_BASE="$HOME/.ghcup"
GHC_LOCATION="$INSTALL_BASE/ghc"
BIN_LOCATION="$INSTALL_BASE/bin"
```
which would be desirable to allow to be customized in a way that survives `self-update`; I can t...I notice global vars such as
```
INSTALL_BASE="$HOME/.ghcup"
GHC_LOCATION="$INSTALL_BASE/ghc"
BIN_LOCATION="$INSTALL_BASE/bin"
```
which would be desirable to allow to be customized in a way that survives `self-update`; I can think of two common options, either
1. have vars such as `INSTALL_BASE` default to set the value of e.g. a `GHCUP_INSTALL_BASE` env-var *if* it's set and non-empty (useful for `export GHCUP_INSTALL_BASE=...` in your .profile script), or
2. simply add a couple long-opts, `--install-base=`, `--ghc-location=`... etc (this however requires using an `alias` in your .profile scripts if it's supposed to be a persistent setting)
https://gitlab.haskell.org/haskell/ghcup/-/issues/11Swap tarballs caching default to True2019-04-11T02:36:54ZGhost UserSwap tarballs caching default to Truehttps://gitlab.haskell.org/haskell/ghcup/-/issues/31Get rid of realpath2019-04-18T07:57:11ZGhost UserGet rid of realpathrealpath was introduced in coreutils 8.15 [it seems](https://unix.stackexchange.com/a/136527) and is not as portable as we want. E.g., this causes failure on Centos 6.7.realpath was introduced in coreutils 8.15 [it seems](https://unix.stackexchange.com/a/136527) and is not as portable as we want. E.g., this causes failure on Centos 6.7.https://gitlab.haskell.org/haskell/ghcup/-/issues/45Support for using local .available-versions and .download-urls2019-05-30T04:11:23ZOleg GrenrusSupport for using local .available-versions and .download-urlsThat would make adding support for new versions a bit less tricky, as one could try them locally first.
Or am I missing something?
(For macos PR i modified hardcoded variable to `file:///home/...` which worked, but that's not very ...That would make adding support for new versions a bit less tricky, as one could try them locally first.
Or am I missing something?
(For macos PR i modified hardcoded variable to `file:///home/...` which worked, but that's not very nice development ergonimics)0.0.7https://gitlab.haskell.org/haskell/ghcup/-/issues/47Change the arch to be llvm-triple like.2019-05-30T03:47:03ZOleg GrenrusChange the arch to be llvm-triple like.E.g. `rustup.sh` does
```
Current installation options:
default host triple: x86_64-unknown-linux-gnu
```
I think we can borrow the logic from there. Then the `.download-urls` would look like
```
# tool version arch ...E.g. `rustup.sh` does
```
Current installation options:
default host triple: x86_64-unknown-linux-gnu
```
I think we can borrow the logic from there. Then the `.download-urls` would look like
```
# tool version arch distro url
ghc 8.0.2 x86_84-*-darwin * https://...-apple-darwin.tar.xz
ghc 8.0.2 x86_84-*-linux-* debian=8 https://...-deb8-linux.tar.xz
ghc 8.0.2 x86_84-*-linux-* * https://...-unknown-linux.tar.xz
```
See https://github.com/haskell/ghcup/pull/44#issuecomment-437827904 for original idea.https://gitlab.haskell.org/haskell/ghcup/-/issues/138windows feedback2022-09-14T17:27:25Zf-awindows feedbackedit: silly me, wrong repoedit: silly me, wrong repo