Open TerrorJack opened 4 years ago
Starting distributive-0.6.1 (all, legacy fallback)
cabal: Failed to build distributive-0.6.1 (which is required by
servant-0.16.2). The failure occurred during the configure step. The exception
was:
dieVerbatim: user error (cabal:
'/home/terrorjack/haskell/asterius/.stack-work/install/x86_64-linux-custom-asterius-tinfo6/9883e067de6700be2816f403c113b97139fe0c6f4f074f9d8362f6b96d5a612f/8.6.5/bin/ahc'
exited with an error:
/tmp/cabal-install.-20594/dist-newstyle/tmp/src-20594/distributive-0.6.1/dist/setup/setup.hs:24:1:
error:
Could not find module ‘Warning’
Use -v to see a list of the files searched for.
|
24 | import Warning ()
| ^^^^^^^^^^^^^^^^^
callProcess:
/home/terrorjack/.stack/programs/x86_64-linux/ghc-custom-asterius-tinfo6-8.6.5/bin/ghc
"--make" "-o"
"/tmp/cabal-install.-20594/dist-newstyle/tmp/src-20594/distributive-0.6.1/dist/setup/setup"
"-threaded"
"/tmp/cabal-install.-20594/dist-newstyle/tmp/src-20594/distributive-0.6.1/dist/setup/setup.hs"
(exit 1): failed
)
Happens when compiling
singletons-2.5.1
:Possibly related to #342; this happens with a workaround patch which calls host
ghc
to compile theSetup.hs
script ofsingletons
, since allsetup-deps
are already in host ghc's global pkgdb.