intero 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 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
To Reproduce Steps to reproduce the behavior:
- Install everything via
bootstrap-haskell
cabal install stack
- Since the above reports that this stack build is unsupported - re-do it via
stack upgrade --force-download
, and removestack
from~/.cabal/bin
to avoid conflicts. - 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
config.yaml.txt