You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
This issue is similar to #1110 but that one is fixed for me, and this isn't. If I compile Cabal-22.214.171.124 on a custom snapshot based on ghc-7.8 which includes a newer unix than comes with that ghc (126.96.36.199 instead of 188.8.131.52), there is an error linking the setup executable for Cabal:
-- While building package Cabal-184.108.40.206 using:
/usr/local/bin/ghc --make -odir /tmp/stack31011/Cabal-220.127.116.11/.stack-work/dist/x86_64-linux/Cabal-18.104.22.168/setup/ -hidir /tmp/stack31011/Cabal-22.214.171.124/.stack-work/dist/x86_64-linux/Cabal-126.96.36.199/setup/ -i -i. -package=Cabal-188.8.131.52 -clear-package-db -global-package-db -package-db=/home/erik/.stack/snapshots/x86_64-linux/custom-silk-2015-09/7.8.3/pkgdb/ /tmp/stack31011/Cabal-184.108.40.206/Setup.hs -o /tmp/stack31011/Cabal-220.127.116.11/.stack-work/dist/x86_64-linux/Cabal-18.104.22.168/setup/setup
<snip compiling modules>
Linking /tmp/stack31011/Cabal-22.214.171.124/.stack-work/dist/x86_64-linux/Cabal-126.96.36.199/setup/setup ...
/usr/local/lib/ghc-7.8.3/unix-188.8.131.52/libHSunix-184.108.40.206.a(execvpe.o): In function `pPrPr_disableITimers':
execvpe.c:(.text+0x340): multiple definition of `pPrPr_disableITimers'
/home/erik/.stack/snapshots/x86_64-linux/custom-silk-2015-09/7.8.3/lib/x86_64-linux-ghc-7.8.3/unix-220.127.116.11/libHSunix-18.104.22.168.a(ghcrts.o):(.text+0x0): first defined here
The weird thing is that this only happens on linux (Ubuntu 14.04.1 LTS), not on Mac. I've uploaded a reproduction here. Further information: stack Version 0.1.6.0, Git revision e22271f5ce9afa2cb5be3bad9cafa392c623f85c (2313 commits) x86_64, ghc 7.8.3.