[darcs-devel] [issue2498] ghc 8 breakage and workaround
ilovezfs
bugs at darcs.net
Sat May 28 06:49:19 UTC 2016
ilovezfs <ilovezfs at icloud.com> added the comment:
Sure, all the same outcome:
```
iMac-TMP:~ joe$ curl -OL
https://hackage.haskell.org/package/darcs-2.12.0/darcs-2.12.0.tar.gz
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 1431k 100 1431k 0 0 802k 0 0:00:01 0:00:01 --:--:--
802k
iMac-TMP:~ joe$ tar xf darcs-2.12.0.tar.gz
iMac-TMP:~ joe$ cd darcs-2.12.0
iMac-TMP:darcs-2.12.0 joe$ cabal sandbox init
Writing a default package environment file to
/Users/joe/darcs-2.12.0/cabal.sandbox.config
Creating a new sandbox at /Users/joe/darcs-2.12.0/.cabal-sandbox
iMac-TMP:darcs-2.12.0 joe$ cabal update
Downloading the latest package list from hackage.haskell.org
Skipping download: local and remote files match.
iMac-TMP:darcs-2.12.0 joe$ cabal install --only-dependencies
Resolving dependencies...
All the requested packages are already installed:
Use --reinstall if you want to reinstall anyway.
iMac-TMP:darcs-2.12.0 joe$ cabal configure
Resolving dependencies...
[1 of 1] Compiling Main ( dist/setup/setup.hs,
dist/setup/Main.o )
Linking ./dist/setup/setup ...
Configuring darcs-2.12.0...
checking whether to use -liconv... dist/setup/setup.hs:149:15-41:
Irrefutable pattern failed for pattern Just lib
iMac-TMP:darcs-2.12.0 joe$ cabal build
Package has never been configured. Configuring with default flags. If this
fails, please run configure manually.
Resolving dependencies...
Configuring darcs-2.12.0...
checking whether to use -liconv... dist/setup/setup.hs:149:15-41:
Irrefutable pattern failed for pattern Just lib
iMac-TMP:darcs-2.12.0 joe$ cabal install
Resolving dependencies...
Notice: installing into a sandbox located at
/Users/joe/darcs-2.12.0/.cabal-sandbox
Configuring darcs-2.12.0...
Failed to install darcs-2.12.0
Build log ( /Users/joe/darcs-2.12.0/.cabal-sandbox/logs/darcs-2.12.0.log ):
cabal: Entering directory '.'
[1 of 1] Compiling Main (
dist/dist-sandbox-434e74af/setup/setup.hs,
dist/dist-sandbox-434e74af/setup/Main.o )
Linking ./dist/dist-sandbox-434e74af/setup/setup ...
Configuring darcs-2.12.0...
checking whether to use -liconv...
dist/dist-sandbox-434e74af/setup/setup.hs:149:15-41: Irrefutable pattern
failed for pattern Just lib
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
darcs-2.12.0 failed during the configure step. The exception was:
ExitFailure 1
iMac-TMP:darcs-2.12.0 joe$
```
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2498>
__________________________________
More information about the darcs-devel
mailing list