When emerging dev-haskell/stack-1.3.2 I'm getting:

<snip>
[ 84 of 121] Compiling Stack.Path       ( src/Stack/Path.hs,
dist/build/Stack/Path.o )
[ 85 of 121] Compiling Stack.Package    ( src/Stack/Package.hs,
dist/build/Stack/Package.o )
[100 of 121] Compiling Stack.Upload     ( src/Stack/Upload.hs,
dist/build/Stack/Upload.o )
[101 of 121] Compiling Control.Concurrent.Execute (
src/Control/Concurrent/Execute.hs, dist/build/Control/Concurrent/Execute.o
)
* ERROR: dev-haskell/stack-1.3.2::gentoo failed (compile phase):
*   setup build failed
*
* Call stack:
*     ebuild.sh, line  124:  Called src_compile
*   environment, line 2851:  Called haskell-cabal_src_compile
*   environment, line 2049:  Called cabal_src_compile
*   environment, line  771:  Called cabal-build
*   environment, line  535:  Called die
* The specific snippet of code:
*       ./setup "$@" || die "setup build failed"
*
<snip>

So _probably_ something went wrong when compiling Control.Concurrent.Execute
-- but I see no way to tell what was the problem. How do I debug this?

The requisite information is below or attached. Thanks!
-- 
Anton


emerge -pqv '=dev-haskell/stack-1.3.2::gentoo'
[ebuild  N    ] dev-haskell/stack-1.3.2  USE="-doc -hscolour -profile {-test}"
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma, 
gcc-6.4.0, glibc-2.25-r10, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: 
Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i5-3337U_CPU_@_1.80GHz-with-gentoo-2.4.1
KiB Mem:     3855216 total,   2080004 free
KiB Swap:    3145724 total,   1141036 free
Timestamp of repository gentoo: Sun, 25 Feb 2018 01:30:01 +0000
Head commit of repository gentoo: c0fe6a0d4e379ce403f88e54f23d77695fe2cf05
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

local
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d 
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks 
ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch 
preserve-libs protect-owned sandbox sfperms strict unknown-features-warn 
unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/ 
http://mirror.leaseweb.com/gentoo/ http://104.19.136.75/gentoo/ 
ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://104.19.137.75/gentoo/";
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times 
--omit-dir-times --compress --force --whole-file --delete --stats 
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
--exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 
cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr 
emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde 
kipi kwallet lcms libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls 
nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml 
qt3support qt5 readline sdl seccomp semantic-desktop spell ssl 
startup-notification svg tcpd tiff truetype udev udisks unicode upower usb 
vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" 
ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 
cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias 
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm 
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 
cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter 
file_cache filter headers include info log_config logio mem_cache mime 
mime_magic negotiation rewrite setenvif speling status unique_id userdir 
usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage 
tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load 
memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" 
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock 
isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 
rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" 
INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad 
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" 
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 
OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" 
POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" 
PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" 
USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa 
dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset 
ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark 
dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, 
LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, 
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

 * Package:    dev-haskell/stack-1.3.2
 * Repository: gentoo
 * Maintainer: hask...@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking stack-1.3.2.tar.gz to /var/tmp/portage/dev-haskell/stack-1.3.2/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/stack-1.3.2/work
>>> Preparing source in /var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2 ...
 * CHDEP: 'directory >=1.2.1.0 && <1.3' -> 'directory >=1.2.1.0'
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2 ...
 * Using cabal-1.24.2.0.
 * Prepending /usr/lib64/ghc-8.0.2 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.24.2.0 --make /var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2/Setup.hs -j4 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2/Setup.hs, /var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2/Setup.o )
Linking setup ...
./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=stack-1.3.2/ghc-8.0.2 --datadir=/usr/share/ --datasubdir=stack-1.3.2/ghc-8.0.2 --disable-tests --ghc-options=-j4 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-O2 --ghc-option=-optc-pipe --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/stack-1.3.2 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping --flag=-disable-git-info --flag=-hide-dependency-versions --flag=-integration-tests --flag=-static
Configuring stack-1.3.2...
Flags chosen: hide-dependency-versions=False, static=False,
disable-git-info=False, integration-tests=False
Dependency Cabal >=1.18.1.5 && <1.25: using Cabal-1.24.2.0
Dependency aeson ==1.0.*: using aeson-1.0.2.1
Dependency annotated-wl-pprint >=0.7.0 && <0.8: using
annotated-wl-pprint-0.7.0
Dependency ansi-terminal >=0.6.2.3 && <0.7: using ansi-terminal-0.6.2.3
Dependency async >=2.0.2 && <2.2: using async-2.1.1
Dependency attoparsec >=0.12.1.5 && <0.14: using attoparsec-0.13.0.1
Dependency base >=4.7 && <5: using base-4.9.1.0
Dependency base-compat >=0.6 && <0.10: using base-compat-0.9.1
Dependency base16-bytestring >=0.1.1.6 && <0.2: using
base16-bytestring-0.1.1.6
Dependency base64-bytestring >=1.0.0.1 && <1.1: using
base64-bytestring-1.0.0.1
Dependency binary >=0.7 && <0.9: using binary-0.8.3.0
Dependency binary-tagged >=0.1.1 && <0.2: using binary-tagged-0.1.4.2
Dependency blaze-builder >=0.4.0.2 && <0.5: using blaze-builder-0.4.0.2
Dependency byteable >=0.1.1 && <0.2: using byteable-0.1.1
Dependency bytestring >=0.10.4.0 && <0.11: using bytestring-0.10.8.1
Dependency clock >=0.7.2 && <0.8: using clock-0.7.2
Dependency conduit >=1.2.8 && <1.3: using conduit-1.2.12.1
Dependency conduit-extra >=1.1.7.1 && <1.2: using conduit-extra-1.1.9.1
Dependency containers >=0.5.5.1 && <0.6: using containers-0.5.7.1
Dependency cryptohash >=0.11.6 && <0.12: using cryptohash-0.11.9
Dependency cryptohash-conduit >=0.1.1 && <0.2: using cryptohash-conduit-0.1.1
Dependency deepseq ==1.4.*: using deepseq-1.4.2.0
Dependency directory >=1.2.1.0: using directory-1.3.0.0
Dependency either >=4.4.1.1 && <4.5: using either-4.4.1.1
Dependency errors >=2.1.2 && <2.2: using errors-2.1.3
Dependency exceptions >=0.8.0.2 && <0.9: using exceptions-0.8.3
Dependency extra >=1.4.10 && <1.6: using extra-1.5.1
Dependency fast-logger >=2.3.1 && <2.5: using fast-logger-2.4.6
Dependency file-embed >=0.0.10 && <0.1: using file-embed-0.0.10
Dependency filelock >=0.1.0.1 && <0.2: using filelock-0.1.0.1
Dependency filepath >=1.3.0.2 && <1.5: using filepath-1.4.1.1
Dependency fsnotify >=0.2.1 && <0.3: using fsnotify-0.2.1
Dependency generic-deriving >=1.10.5 && <1.12: using generic-deriving-1.11.1
Dependency gitrev >=1.1 && <1.3: using gitrev-1.2.0
Dependency hashable >=1.2.3.2 && <1.3: using hashable-1.2.4.0
Dependency hastache >=0.6.1 && <0.7: using hastache-0.6.1
Dependency hit >=0.6.3 && <0.7: using hit-0.6.3
Dependency hpack >=0.14.0 && <0.16: using hpack-0.14.1
Dependency hpc >=0.6.0.2 && <0.7: using hpc-0.6.0.3
Dependency http-client >=0.5.3.3 && <0.6: using http-client-0.5.7.0
Dependency http-client-tls >=0.3.3 && <0.4: using http-client-tls-0.3.3
Dependency http-conduit >=2.2.3 && <2.3: using http-conduit-2.2.3
Dependency http-types >=0.8.6 && <0.10: using http-types-0.8.6
Dependency lifted-async >=0.9.0 && <0.10: using lifted-async-0.9.1.1
Dependency lifted-base >=0.2.3.8 && <0.3: using lifted-base-0.2.3.10
Dependency microlens >=0.3.0.0 && <0.5: using microlens-0.4.8.0
Dependency monad-control >=1.0.1.0 && <1.1: using monad-control-1.0.1.0
Dependency monad-logger >=0.3.13.1 && <0.4: using monad-logger-0.3.20.1
Dependency monad-unlift >=0.2.0 && <0.3: using monad-unlift-0.2.0
Dependency mtl >=2.1.3.1 && <2.3: using mtl-2.2.1
Dependency open-browser >=0.2.1 && <0.3: using open-browser-0.2.1.0
Dependency optparse-applicative ==0.13.*: using optparse-applicative-0.13.0.0
Dependency optparse-simple >=0.0.3 && <0.1: using optparse-simple-0.0.3
Dependency path >=0.5.9 && <0.6: using path-0.5.13
Dependency path-io >=1.1.0 && <2.0.0: using path-io-1.2.2
Dependency persistent >=2.1.2 && <2.7: using persistent-2.6
Dependency persistent-sqlite >=2.1.4 && <2.5.0.1 || >2.5.0.1 && <2.7: using
persistent-sqlite-2.6
Dependency persistent-template >=2.1.1 && <2.6: using
persistent-template-2.5.1.6
Dependency pid1 ==0.1.*: using pid1-0.1.0.1
Dependency pretty >=1.1.1.1 && <1.2: using pretty-1.1.3.3
Dependency process >=1.2.1.0 && <1.5: using process-1.4.3.0
Dependency project-template ==0.2.*: using project-template-0.2.0
Dependency regex-applicative-text >=0.1.0.1 && <0.2: using
regex-applicative-text-0.1.0.1
Dependency resourcet >=1.1.4.1 && <1.2: using resourcet-1.1.7.4
Dependency retry >=0.6 && <0.8: using retry-0.7.4.2
Dependency safe ==0.3.*: using safe-0.3.9
Dependency safe-exceptions >=0.1.4.0 && <0.2: using safe-exceptions-0.1.4.0
Dependency semigroups >=0.5 && <0.19: using semigroups-0.18.2
Dependency split >=0.2.3.1 && <0.3: using split-0.2.3.1
Dependency stack >=1.3.2 && <1.4: using stack-1.3.2
Dependency stm >=2.4.4 && <2.5: using stm-2.4.4.1
Dependency store >=0.2.1.0 && <0.4: using store-0.3.1
Dependency streaming-commons >=0.1.10.0 && <0.2: using
streaming-commons-0.1.12.1
Dependency tar >=0.5.0.3 && <0.6: using tar-0.5.0.3
Dependency template-haskell >=2.9.0.0 && <2.12: using
template-haskell-2.11.1.0
Dependency temporary >=1.2.0.3 && <1.3: using temporary-1.2.0.4
Dependency text >=1.2.0.4 && <1.3: using text-1.2.2.1
Dependency text-binary >=0.2.1.1 && <0.3: using text-binary-0.2.1.1
Dependency text-metrics >=0.1 && <0.3: using text-metrics-0.2.0
Dependency time >=1.4.2 && <1.7: using time-1.6.0.1
Dependency tls >=1.3.8 && <1.4: using tls-1.3.9
Dependency transformers >=0.3.0.0 && <0.6: using transformers-0.5.2.0
Dependency transformers-base >=0.4.4 && <0.5: using transformers-base-0.4.4
Dependency unicode-transforms >=0.1 && <0.3: using unicode-transforms-0.2.1
Dependency unix >=2.7.0.1 && <2.8: using unix-2.7.2.1
Dependency unix-compat >=0.4.1.4 && <0.5: using unix-compat-0.4.3.1
Dependency unordered-containers >=0.2.5.1 && <0.3: using
unordered-containers-0.2.7.0
Dependency vector >=0.10.12.3 && <0.12: using vector-0.11.0.0
Dependency vector-binary-instances >=0.2.3.2 && <0.3: using
vector-binary-instances-0.2.3.2
Dependency yaml >=0.8.20 && <0.9: using yaml-0.8.21.2
Dependency zip-archive >=0.2.3.7 && <0.4: using zip-archive-0.2.3.7
Dependency zlib >=0.5.4.2 && <0.7: using zlib-0.5.4.2
Using Cabal-1.24.2.0 compiled by ghc-8.0
Using compiler: ghc-8.0.2
Using install prefix: /usr
Binaries installed in: /usr/bin
Libraries installed in: /usr/lib64/stack-1.3.2/ghc-8.0.2
Dynamic libraries installed in: /usr/lib64/x86_64-linux-ghc-8.0.2
Private binaries installed in: /usr/libexec
Data files installed in: /usr/share/stack-1.3.2/ghc-8.0.2
Documentation installed in: /usr/share/doc/stack-1.3.2
Configuration files installed in: /etc
No alex found
Using ar given by user at: /usr/bin/x86_64-pc-linux-gnu-ar
No c2hs found
No cpphs found
Using gcc version 6.4.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc
Using ghc version 8.0.2 given by user at: /usr/bin/ghc
Using ghc-pkg version 8.0.2 given by user at: /usr/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.17.3 found on system at: /usr/bin/haddock-ghc-8.0.2
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at: /usr/bin/hpc
Using hsc2hs version 0.68.1 found on system at: /usr/bin/hsc2hs
No hscolour found
No jhc found
Using ld found on system at: /usr/bin/x86_64-pc-linux-gnu-ld
No lhc found
No lhc-pkg found
Using pkg-config version 0.29.2 found on system at: /usr/bin/pkg-config
Using strip version 2.29 found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2 ...
./setup build
Building stack-1.3.2...
Preprocessing library stack-1.3.2...
[  1 of 121] Compiling Text.PrettyPrint.Leijen.Extended ( src/Text/PrettyPrint/Leijen/Extended.hs, dist/build/Text/PrettyPrint/Leijen/Extended.o )
[  2 of 121] Compiling System.Process.PagerEditor ( src/System/Process/PagerEditor.hs, dist/build/System/Process/PagerEditor.o )
[  3 of 121] Compiling System.Process.Log ( src/System/Process/Log.hs, dist/build/System/Process/Log.o )
[  4 of 121] Compiling Stack.Ghci.Script ( src/Stack/Ghci/Script.hs, dist/build/Stack/Ghci/Script.o )
[  5 of 121] Compiling Stack.FileWatch  ( src/Stack/FileWatch.hs, dist/build/Stack/FileWatch.o )
[  6 of 121] Compiling Stack.Constants[boot] ( src/Stack/Constants.hs-boot, dist/build/Stack/Constants.o-boot )
[  7 of 121] Compiling Paths_stack      ( dist/build/autogen/Paths_stack.hs, dist/build/Paths_stack.o )
[  8 of 121] Compiling Path.Find        ( src/Path/Find.hs, dist/build/Path/Find.o )
[  9 of 121] Compiling Path.Extra       ( src/Path/Extra.hs, dist/build/Path/Extra.o )
[ 10 of 121] Compiling System.Process.Read ( src/System/Process/Read.hs, dist/build/System/Process/Read.o )
[ 11 of 121] Compiling System.Process.Run ( src/System/Process/Run.hs, dist/build/System/Process/Run.o )
[ 12 of 121] Compiling Options.Applicative.Complicated ( src/Options/Applicative/Complicated.hs, dist/build/Options/Applicative/Complicated.o )
[ 13 of 121] Compiling Options.Applicative.Builder.Extra ( src/Options/Applicative/Builder/Extra.hs, dist/build/Options/Applicative/Builder/Extra.o )
[ 14 of 121] Compiling Stack.Options.SolverParser ( src/Stack/Options/SolverParser.hs, dist/build/Stack/Options/SolverParser.o )
[ 15 of 121] Compiling Network.HTTP.Download.Verified ( src/Network/HTTP/Download/Verified.hs, dist/build/Network/HTTP/Download/Verified.o )
[ 16 of 121] Compiling Network.HTTP.Download ( src/Network/HTTP/Download.hs, dist/build/Network/HTTP/Download.o )

src/Network/HTTP/Download.hs:105:50: error:
    Not in scope: ‘CB.sinkFileCautious’
    Module ‘Data.Conduit.Binary’ does not export ‘sinkFileCautious’.

src/Network/HTTP/Download.hs:108:40: error:
    Not in scope: ‘CB.sinkFileCautious’
    Module ‘Data.Conduit.Binary’ does not export ‘sinkFileCautious’.
[ 17 of 121] Compiling Distribution.Version.Extra ( src/Distribution/Version/Extra.hs, dist/build/Distribution/Version/Extra.o )
[ 18 of 121] Compiling Data.Text.Extra  ( src/Data/Text/Extra.hs, dist/build/Data/Text/Extra.o )
[ 19 of 121] Compiling Data.Store.VersionTagged ( src/Data/Store/VersionTagged.hs, dist/build/Data/Store/VersionTagged.o )
[ 20 of 121] Compiling Data.Monoid.Extra ( src/Data/Monoid/Extra.hs, dist/build/Data/Monoid/Extra.o )
[ 21 of 121] Compiling Stack.Options.Utils ( src/Stack/Options/Utils.hs, dist/build/Stack/Options/Utils.o )
[ 22 of 121] Compiling Stack.Options.LogLevelParser ( src/Stack/Options/LogLevelParser.hs, dist/build/Stack/Options/LogLevelParser.o )
[ 23 of 121] Compiling Data.Maybe.Extra ( src/Data/Maybe/Extra.hs, dist/build/Data/Maybe/Extra.o )
[ 24 of 121] Compiling Data.IORef.RunOnce ( src/Data/IORef/RunOnce.hs, dist/build/Data/IORef/RunOnce.o )
[ 25 of 121] Compiling Data.Attoparsec.Combinators ( src/Data/Attoparsec/Combinators.hs, dist/build/Data/Attoparsec/Combinators.o )
[ 26 of 121] Compiling Data.Attoparsec.Args ( src/Data/Attoparsec/Args.hs, dist/build/Data/Attoparsec/Args.o )
[ 27 of 121] Compiling Options.Applicative.Args ( src/Options/Applicative/Args.hs, dist/build/Options/Applicative/Args.o )
[ 28 of 121] Compiling Data.Aeson.Extended ( src/Data/Aeson/Extended.hs, dist/build/Data/Aeson/Extended.o )
[ 29 of 121] Compiling Stack.Types.CompilerBuild ( src/Stack/Types/CompilerBuild.hs, dist/build/Stack/Types/CompilerBuild.o )
[ 30 of 121] Compiling Stack.Options.GhcBuildParser ( src/Stack/Options/GhcBuildParser.hs, dist/build/Stack/Options/GhcBuildParser.o )
[ 31 of 121] Compiling Stack.Types.FlagName ( src/Stack/Types/FlagName.hs, dist/build/Stack/Types/FlagName.o )
[ 32 of 121] Compiling Stack.Types.GhcPkgId ( src/Stack/Types/GhcPkgId.hs, dist/build/Stack/Types/GhcPkgId.o )
[ 33 of 121] Compiling Stack.Types.Image ( src/Stack/Types/Image.hs, dist/build/Stack/Types/Image.o )
[ 34 of 121] Compiling Stack.Types.Nix  ( src/Stack/Types/Nix.hs, dist/build/Stack/Types/Nix.o )
[ 35 of 121] Compiling Stack.Types.PackageName ( src/Stack/Types/PackageName.hs, dist/build/Stack/Types/PackageName.o )
[ 36 of 121] Compiling Stack.Options.PackageParser ( src/Stack/Options/PackageParser.hs, dist/build/Stack/Options/PackageParser.o )
[ 37 of 121] Compiling Stack.Types.Config.Build ( src/Stack/Types/Config/Build.hs, dist/build/Stack/Types/Config/Build.o )
[ 38 of 121] Compiling Stack.Types.Sig  ( src/Stack/Types/Sig.hs, dist/build/Stack/Types/Sig.o )
[ 39 of 121] Compiling Stack.Sig.GPG    ( src/Stack/Sig/GPG.hs, dist/build/Stack/Sig/GPG.o )
[ 40 of 121] Compiling Stack.Types.TemplateName ( src/Stack/Types/TemplateName.hs, dist/build/Stack/Types/TemplateName.o )
[ 41 of 121] Compiling Stack.Types.Urls ( src/Stack/Types/Urls.hs, dist/build/Stack/Types/Urls.o )
[ 42 of 121] Compiling Stack.Config.Urls ( src/Stack/Config/Urls.hs, dist/build/Stack/Config/Urls.o )
[ 43 of 121] Compiling Stack.Types.Version ( src/Stack/Types/Version.hs, dist/build/Stack/Types/Version.o )
[ 44 of 121] Compiling Stack.Types.Compiler ( src/Stack/Types/Compiler.hs, dist/build/Stack/Types/Compiler.o )
[ 45 of 121] Compiling Stack.Config.Nix ( src/Stack/Config/Nix.hs, dist/build/Stack/Config/Nix.o )
[ 46 of 121] Compiling Stack.Types.BuildPlan ( src/Stack/Types/BuildPlan.hs, dist/build/Stack/Types/BuildPlan.o )
[ 47 of 121] Compiling Stack.Types.Resolver[boot] ( src/Stack/Types/Resolver.hs-boot, dist/build/Stack/Types/Resolver.o-boot )
[ 48 of 121] Compiling Stack.Types.Config[boot] ( src/Stack/Types/Config.hs-boot, dist/build/Stack/Types/Config.o-boot )
[ 49 of 121] Compiling Stack.Types.Resolver ( src/Stack/Types/Resolver.hs, dist/build/Stack/Types/Resolver.o )
[ 50 of 121] Compiling Stack.Options.ResolverParser ( src/Stack/Options/ResolverParser.hs, dist/build/Stack/Options/ResolverParser.o )
[ 51 of 121] Compiling Stack.Types.Docker ( src/Stack/Types/Docker.hs, dist/build/Stack/Types/Docker.o )
[ 52 of 121] Compiling Stack.Types.PackageIdentifier ( src/Stack/Types/PackageIdentifier.hs, dist/build/Stack/Types/PackageIdentifier.o )
[ 53 of 121] Compiling Stack.Types.PackageDump ( src/Stack/Types/PackageDump.hs, dist/build/Stack/Types/PackageDump.o )
[ 54 of 121] Compiling Stack.Types.PackageIndex ( src/Stack/Types/PackageIndex.hs, dist/build/Stack/Types/PackageIndex.o )
[ 55 of 121] Compiling Stack.Types.Config ( src/Stack/Types/Config.hs, dist/build/Stack/Types/Config.o )
[ 56 of 121] Compiling Stack.Config.Build ( src/Stack/Config/Build.hs, dist/build/Stack/Config/Build.o )
[ 57 of 121] Compiling Stack.Config.Docker ( src/Stack/Config/Docker.hs, dist/build/Stack/Config/Docker.o )
[ 58 of 121] Compiling Stack.Constants  ( src/Stack/Constants.hs, dist/build/Stack/Constants.o )
[ 59 of 121] Compiling Data.Attoparsec.Interpreter ( src/Data/Attoparsec/Interpreter.hs, dist/build/Data/Attoparsec/Interpreter.o )
[ 60 of 121] Compiling Stack.Docker.GlobalDB ( src/Stack/Docker/GlobalDB.hs, dist/build/Stack/Docker/GlobalDB.o )
[ 61 of 121] Compiling Stack.Exec       ( src/Stack/Exec.hs, dist/build/Stack/Exec.o )
[ 62 of 121] Compiling Stack.Options.BenchParser ( src/Stack/Options/BenchParser.hs, dist/build/Stack/Options/BenchParser.o )
[ 63 of 121] Compiling Stack.Options.BuildParser ( src/Stack/Options/BuildParser.hs, dist/build/Stack/Options/BuildParser.o )
[ 64 of 121] Compiling Stack.Options.ExecParser ( src/Stack/Options/ExecParser.hs, dist/build/Stack/Options/ExecParser.o )
[ 65 of 121] Compiling Stack.Options.GhcVariantParser ( src/Stack/Options/GhcVariantParser.hs, dist/build/Stack/Options/GhcVariantParser.o )
[ 66 of 121] Compiling Stack.Options.HaddockParser ( src/Stack/Options/HaddockParser.hs, dist/build/Stack/Options/HaddockParser.o )
[ 67 of 121] Compiling Stack.Options.TestParser ( src/Stack/Options/TestParser.hs, dist/build/Stack/Options/TestParser.o )
[ 68 of 121] Compiling Stack.Types.Internal ( src/Stack/Types/Internal.hs, dist/build/Stack/Types/Internal.o )
[ 69 of 121] Compiling Stack.Types.StackT ( src/Stack/Types/StackT.hs, dist/build/Stack/Types/StackT.o )
[ 70 of 121] Compiling Stack.Image      ( src/Stack/Image.hs, dist/build/Stack/Image.o )
[ 73 of 121] Compiling Stack.Setup.Installed ( src/Stack/Setup/Installed.hs, dist/build/Stack/Setup/Installed.o )

src/Stack/Setup/Installed.hs:191:5: warning: [-Wname-shadowing]
    This binding for ‘reldir’ shadows the existing binding
      imported from ‘Path’ at src/Stack/Setup/Installed.hs:41:1-21

src/Stack/Setup/Installed.hs:199:5: warning: [-Wname-shadowing]
    This binding for ‘reldir’ shadows the existing binding
      imported from ‘Path’ at src/Stack/Setup/Installed.hs:41:1-21
[ 74 of 121] Compiling Stack.Types.Package ( src/Stack/Types/Package.hs, dist/build/Stack/Types/Package.o )
[ 75 of 121] Compiling Stack.PrettyPrint ( src/Stack/PrettyPrint.hs, dist/build/Stack/PrettyPrint.o )
[ 76 of 121] Compiling Stack.Types.Build ( src/Stack/Types/Build.hs, dist/build/Stack/Types/Build.o )
[ 77 of 121] Compiling Stack.Build.Cache ( src/Stack/Build/Cache.hs, dist/build/Stack/Build/Cache.o )
[ 78 of 121] Compiling Stack.Build.Target ( src/Stack/Build/Target.hs, dist/build/Stack/Build/Target.o )
[ 79 of 121] Compiling Stack.GhcPkg     ( src/Stack/GhcPkg.hs, dist/build/Stack/GhcPkg.o )
[ 81 of 121] Compiling Stack.PackageDump ( src/Stack/PackageDump.hs, dist/build/Stack/PackageDump.o )
[ 82 of 121] Compiling Stack.Build.Haddock ( src/Stack/Build/Haddock.hs, dist/build/Stack/Build/Haddock.o )
[ 83 of 121] Compiling Stack.Build.Installed ( src/Stack/Build/Installed.hs, dist/build/Stack/Build/Installed.o )
[ 84 of 121] Compiling Stack.Path       ( src/Stack/Path.hs, dist/build/Stack/Path.o )
[ 85 of 121] Compiling Stack.Package    ( src/Stack/Package.hs, dist/build/Stack/Package.o )
[100 of 121] Compiling Stack.Upload     ( src/Stack/Upload.hs, dist/build/Stack/Upload.o )
[101 of 121] Compiling Control.Concurrent.Execute ( src/Control/Concurrent/Execute.hs, dist/build/Control/Concurrent/Execute.o )
 * ERROR: dev-haskell/stack-1.3.2::gentoo failed (compile phase):
 *   setup build failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 2851:  Called haskell-cabal_src_compile
 *   environment, line 2049:  Called cabal_src_compile
 *   environment, line  771:  Called cabal-build
 *   environment, line  535:  Called die
 * The specific snippet of code:
 *       ./setup "$@" || die "setup build failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/stack-1.3.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/stack-1.3.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-haskell/stack-1.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/stack-1.3.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2'
 * S: '/var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2'

Reply via email to