-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Description
If I (in a custom snapshot) depend on entropy
, and also depend on a newer version of unix
than comes with ghc 7.8, the configure fails:
$ stack build
entropy-0.3.7: configure
Progress: 1/2
-- While building package entropy-0.3.7 using:
/usr/bin/runhaskell -clear-package-db -global-package-db -package-db=/Users/erik/.stack/snapshots/x86_64-osx/custom-custom-test/7.8.3/pkgdb/ -package-db=/Users/erik/temp/test/.stack-work/install/x86_64-osx/custom-custom-test/7.8.3/pkgdb/ -hide-all-packages -package=Cabal-1.18.1.3 -package-id=array-0.5.0.0-98aa445e59f3eb0c886795ff07406d84 -package-id=base-4.7.0.1-c64d224738ec7af4085e89ca9c12c37b -package-id=binary-0.7.1.0-06fe2cfe2c00e6f7d43cdb53345c4945 -package-id=bytestring-0.10.4.0-18fe2f3ce284617c82da1702e16772cf -package-id=containers-0.5.5.1-23e2a2b94d6e452c773209f31d8672c5 -package-id=deepseq-1.3.0.2-733fe43e121f761739636bd6670bea77 -package-id=filepath-1.3.0.2-1580a61d3226e4be45fe2130dc2881e3 -package-id=ghc-prim-0.3.1.0-954cb57749cf319beafdc89b3415422c -package-id=hoopl-3.10.0.1-78e45fe2aae96846315ab833b31e7409 -package-id=integer-gmp-0.5.1.0-d42e6a7874a019e6a0d1c7305ebc83c4 -package-id=mtl-2.1.3.1-8bcc0591131896cfc8761a93703d4c61 -package-id=old-locale-1.0.0.6-09baf1dbc5be8338e5eba7c5bb515505 -package-id=old-time-1.1.0.2-eab97c1e6d2cda84575b30ce4bfcfaf2 -package-id=parsec-3.1.9-26e7a52d0873abf27275d79645acd443 -package-id=pretty-1.1.1.1-055fb3b6b88c48ad1bf91e5cf35828d1 -package-id=template-haskell-2.9.0.0-310613e57f38a482326cc4ba2989009e -package-id=terminfo-0.4.0.0-b02cf5922e12c1a9557df1270cdf18b7 -package-id=text-1.2.0.6-e9cc2f9cbc7fea487488c8ed44ced4c0 -package-id=time-1.4.2-bf925e935c287d0b75398fe297453c28 -package-id=transformers-0.3.0.0-16a97696ae672940f1523b262e566ba5 -package-id=unix-2.7.1.0-184e782f6f9d2dc43807de1f0533a4d1 -package-id=xhtml-3000.2.1-2da8c2cd0581a1aa5b8f1c06f5c3b943 -package-id=zlib-0.5.4.2-4ebdf7bad9192e1149e8553ecd1c3649 /var/folders/qg/4lbbbp0d1hbg7f6_cr2r8h8h0000gn/T/stack58618/entropy-0.3.7/Setup.hs --builddir=.stack-work/dist/x86_64-osx/Cabal-1.18.1.3/ configure --user --package-db=clear --package-db=global --package-db=/Users/erik/.stack/snapshots/x86_64-osx/custom-custom-test/7.8.3/pkgdb/ --libdir=/Users/erik/.stack/snapshots/x86_64-osx/custom-custom-test/7.8.3/lib --bindir=/Users/erik/.stack/snapshots/x86_64-osx/custom-custom-test/7.8.3/bin --datadir=/Users/erik/.stack/snapshots/x86_64-osx/custom-custom-test/7.8.3/share --libexecdir=/Users/erik/.stack/snapshots/x86_64-osx/custom-custom-test/7.8.3/libexec --sysconfdir=/Users/erik/.stack/snapshots/x86_64-osx/custom-custom-test/7.8.3/etc --docdir=/Users/erik/.stack/snapshots/x86_64-osx/custom-custom-test/7.8.3/doc/entropy-0.3.7 --htmldir=/Users/erik/.stack/snapshots/x86_64-osx/custom-custom-test/7.8.3/doc/entropy-0.3.7 --haddockdir=/Users/erik/.stack/snapshots/x86_64-osx/custom-custom-test/7.8.3/doc/entropy-0.3.7 --constraint=base==4.7.0.1 --constraint=bytestring==0.10.4.0 --constraint=unix==2.7.1.0
Process exited with code: ExitFailure 1
Logs have been written to: /Users/erik/temp/test/.stack-work/logs/entropy-0.3.7.log
/var/folders/qg/4lbbbp0d1hbg7f6_cr2r8h8h0000gn/T/stack58618/entropy-0.3.7/Setup.hs:10:8:
Could not find module ‘System.Process’
It is a member of the hidden package ‘process-1.2.0.0’.
Use -v to see a list of the files searched for.
/var/folders/qg/4lbbbp0d1hbg7f6_cr2r8h8h0000gn/T/stack58618/entropy-0.3.7/Setup.hs:11:8:
Could not find module ‘System.Directory’
It is a member of the hidden package ‘directory-1.2.1.0’.
Use -v to see a list of the files searched for.
To reproduce, download this reproduction and issue stack build
.