-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Milestone
Description
The error is
[1 of 1] Compiling Main ( /tmp/stack1/Setup.hs, /tmp/stack1/Setup.o )
Linking /Users/risto/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/tmp-setup-Simple-Cabal-1.22.5.0-ghc-7.10.3 ...
/usr/bin/ld: fatal error: /Users/risto/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/tmp-setup-Simple-Cabal-1.22.5.0-ghc-7.10.3: Function not implemented
collect2: error: ld returned 1 exit status
Exit code ExitFailure 1 while running ["ghc","-clear-package-db","-global-package-db","-hide-all-packages","-package","base","-package","Cabal-1.22.5.0","/tmp/stack1/Setup.hs","-o","/Users/risto/.stack/setup-exe-cache/x86_64-linux-dkda49f7ca9b244180d3cfb1987cbc9743/tmp-setup-Simple-Cabal-1.22.5.0-ghc-7.10.3","-rtsopts"] in /tmp/stack1/
It can be reproduced (and then worked around) with the following steps
stack new docker-test
cd docker-test
edit stack.yaml and add
docker:
enable: true
set-user: truerun stack build - and it will produce the error above
edit stack.yaml again
docker:
enable: true
set-user: true
image: haskellrun stack build and it will build
Versions:
- OS X 10.11.5 (15F34)
- stack (os x) 1.1.0 x86_64 hpack-0.13.0
- docker 1.11.1-beta12 (build: 7528)
Docker images
- fpco/stack-build d82e549a8ca6
- haskell 55523bbc8107