Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

(cabal) install error and build error #19

Closed
Airini opened this Issue · 13 comments

4 participants

@Airini

Hello,

Have been trying to install scotty without success and I have finally found my error point comes in when configuring unix-time.

First some information on my system:

  • OS X 10.8.5
  • GHC 7.6.3 (had installed it via the Haskell Platform)
  • cabal-install 1.18.0.2 (although it adds: using version 1.18.1.2 of the Cabal library ; I do not know that much about cabal itself yet :/)

I am using the package at Hackage, which seems to be up-to-date.

cabal configure succeeded and created the appropriate config.h. However, cabal build gave the following error:

$ cabal build
Building unix-time-0.2.2...
Preprocessing library unix-time-0.2.2...
[1 of 5] Compiling Data.UnixTime.Types ( dist/build/Data/UnixTime/Types.hs, dist/build/Data/UnixTime/Types.o )
[2 of 5] Compiling Data.UnixTime.Diff ( Data/UnixTime/Diff.hs, dist/build/Data/UnixTime/Diff.o )
[3 of 5] Compiling Data.UnixTime.Sys ( dist/build/Data/UnixTime/Sys.hs, dist/build/Data/UnixTime/Sys.o )
[4 of 5] Compiling Data.UnixTime.Conv ( Data/UnixTime/Conv.hs, dist/build/Data/UnixTime/Conv.o )
[5 of 5] Compiling Data.UnixTime    ( Data/UnixTime.hs, dist/build/Data/UnixTime.o )
[1 of 5] Compiling Data.UnixTime.Types ( dist/build/Data/UnixTime/Types.hs, dist/build/Data/UnixTime/Types.p_o )
[2 of 5] Compiling Data.UnixTime.Diff ( Data/UnixTime/Diff.hs, dist/build/Data/UnixTime/Diff.p_o )
[3 of 5] Compiling Data.UnixTime.Sys ( dist/build/Data/UnixTime/Sys.hs, dist/build/Data/UnixTime/Sys.p_o )
[4 of 5] Compiling Data.UnixTime.Conv ( Data/UnixTime/Conv.hs, dist/build/Data/UnixTime/Conv.p_o )
[5 of 5] Compiling Data.UnixTime    ( Data/UnixTime.hs, dist/build/Data/UnixTime.p_o )

cbits/conv.c:1:20:  error: config.h: No such file or directory

cbits/conv.c:67:0:
     error: static declaration of ‘timegm’ follows non-static declaration

/usr/include/time.h:153:0:
     error: previous declaration of ‘timegm’ was here

I have attempted using sandboxing, by which both configure and build worked fine, although installing does it (neither the unix-time package alone or when sandboxing scotty and installing dependencies).

When not using sandboxing and running cabal install (which is pretty much the same as when sandboxing) I get:

$ cabal install unix-time -v3
Searching for ghc in path.
Found ghc at /usr/bin/ghc
("/usr/bin/ghc",["--numeric-version"])
/usr/bin/ghc is version 7.6.3
looking for tool ghc-pkg near compiler in /usr/bin
found ghc-pkg in /usr/bin/ghc-pkg
("/usr/bin/ghc-pkg",["--version"])
/usr/bin/ghc-pkg is version 7.6.3
("/usr/bin/ghc",["--supported-languages"])
("/usr/bin/ghc",["--info"])
Reading installed packages...
("/usr/bin/ghc-pkg",["dump","--global","-v0"])
("/usr/bin/ghc-pkg",["dump","--user","-v0"])
("/usr/bin/ghc",["--print-libdir"])
Reading available packages...
Choosing modular solver.
Resolving dependencies...
[__0] trying: unix-time-0.2.2 (user goal)
[__1] trying: base-4.6.0.1/installed-6c3... (dependency of unix-time-0.2.2)
[__2] trying: rts-1.0/installedbuil... (dependency of base-4.6.0.1/installed-6c3...)
[__3] trying: integer-gmp-0.5.0.0/installed-2f1... (dependency of base-4.6.0.1/installed-6c3...)
[__4] trying: ghc-prim-0.3.0.0/installed-d52... (dependency of base-4.6.0.1/installed-6c3...)
[__5] trying: unix-time-0.2.2:!test
[__6] trying: old-time-1.1.0.1/installed-409... (dependency of unix-time-0.2.2)
[__7] trying: old-locale-1.0.0.5/installed-672... (dependency of old-time-1.1.0.1/installed-409...)
[__8] trying: bytestring-0.10.0.2/installed-bf7... (dependency of unix-time-0.2.2)
[__9] trying: deepseq-1.3.0.1/installed-5cc... (dependency of bytestring-0.10.0.2/installed-bf7...)
[_10] next goal: array (dependency of deepseq-1.3.0.1/installed-5cc...)
[_10] trying: array-0.4.0.1/installed-3b7...
[_11] done
Ready to install unix-time-0.2.2
Waiting for install task to finish...
Extracting
/Users/dum/Library/Haskell/repo-cache/hackage.haskell.org/unix-time/0.2.2/unix-time-0.2.2.tar.gz
to /var/folders/wd/q3lrhhxn19g2jk8_108dxp240000gn/T/unix-time-0.2.2-15676...
Updating unix-time.cabal with the latest revision from the index.
Using internal setup method with build-type Configure and args:
["configure","--verbose=3","--ghc","--prefix=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2","--bindir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/bin","--libdir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/lib","--libsubdir=","--libexecdir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/libexec","--datadir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/share","--datasubdir=","--docdir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/doc","--htmldir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/doc/html","--haddockdir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/doc/html","--sysconfdir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/etc","--enable-library-profiling","--user","--constraint=old-time
==1.1.0.1","--constraint=bytestring ==0.10.0.2","--constraint=base
==4.6.0.1","--disable-tests","--disable-benchmarks"]
Configuring unix-time-0.2.2...
creating dist
Searching for ghc in path.
Found ghc at /usr/bin/ghc
("/usr/bin/ghc",["--numeric-version"])
/usr/bin/ghc is version 7.6.3
looking for tool ghc-pkg near compiler in /usr/bin
found ghc-pkg in /usr/bin/ghc-pkg
("/usr/bin/ghc-pkg",["--version"])
/usr/bin/ghc-pkg is version 7.6.3
("/usr/bin/ghc",["--supported-languages"])
("/usr/bin/ghc",["--info"])
Reading installed packages...
("/usr/bin/ghc-pkg",["dump","--global","-v0"])
("/usr/bin/ghc-pkg",["dump","--user","-v0"])
("/usr/bin/ghc",["--print-libdir"])
Dependency base ==4.6.0.1: using base-4.6.0.1
Dependency bytestring ==0.10.0.2: using bytestring-0.10.0.2
Dependency old-time ==1.1.0.1: using old-time-1.1.0.1
Searching for alex in path.
Found alex at /usr/bin/alex
("/usr/bin/alex",["--version"])
/usr/bin/alex is version 3.0.5
Searching for ar in path.
Found ar at /usr/bin/ar
Searching for c2hs in path.
Found c2hs at /Users/dum/Library/Haskell/bin/c2hs
("/Users/dum/Library/Haskell/bin/c2hs",["--numeric-version"])
/Users/dum/Library/Haskell/bin/c2hs is version 0.16.5
Searching for cpphs in path.
Found cpphs at /Users/dum/Library/Haskell/bin/cpphs
("/Users/dum/Library/Haskell/bin/cpphs",["--version"])
/Users/dum/Library/Haskell/bin/cpphs is version 1.17.1
Searching for ffihugs in path.
Found ffihugs at /opt/local/bin/ffihugs
Searching for gcc in path.
Found gcc at /usr/bin/gcc
("/usr/bin/gcc",["-dumpversion"])
/usr/bin/gcc is version 4.2.1
Searching for greencard in path.
Found greencard at /Users/dum/Library/Haskell/bin/greencard
Searching for haddock in path.
Found haddock at /usr/bin/haddock
("/usr/bin/haddock",["--version"])
/usr/bin/haddock is version 2.13.2
Searching for happy in path.
Found happy at /usr/bin/happy
("/usr/bin/happy",["--version"])
/usr/bin/happy is version 1.18.10
Searching for hmake in path.
Cannot find hmake on the path
Searching for hpc in path.
Found hpc at /usr/bin/hpc
("/usr/bin/hpc",["version"])
/usr/bin/hpc is version 0.6
looking for tool hsc2hs near compiler in /usr/bin
found hsc2hs in /usr/bin/hsc2hs
("/usr/bin/hsc2hs",["--version"])
/usr/bin/hsc2hs is version 0.67
Searching for HsColour in path.
Found HsColour at /Users/dum/Library/Haskell/bin/HsColour
("/Users/dum/Library/Haskell/bin/HsColour",["-version"])
/Users/dum/Library/Haskell/bin/HsColour is version 1.20
Searching for hugs in path.
Found hugs at /opt/local/bin/hugs
Searching for jhc in path.
Cannot find jhc on the path
Searching for ld in path.
Found ld at /usr/bin/ld
Environment: [("ANDROID_HOME","/Users/dum/Field/adt-bundle-mac-x86_64-20130219/sdk"),("Apple_PubSub_Socket_Render","/tmp/launch-bJLL3s/Render"),("Apple_Ubiquity_Message","/tmp/launch-mUjEP6/Apple_Ubiquity_Message"),("COMMAND_MODE","unix2003"),("DISPLAY","/tmp/launch-IjSFWA/org.macosforge.xquartz:0"),("HOME","/Users/dum"),("LC_CTYPE","UTF-8"),("LOGNAME","dum"),("PATH","/opt/local/bin:/opt/local/sbin:/usr/local/bin/bnfc-2.5.0-mac:/Users/dum/Field/Spin/Src6.2.5/spin:/Users/dum/Library/Haskell/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/Users/dum/Field/adt-bundle-mac-x86_64-20130219/sdk/tools:/Users/dum/Field/adt-bundle-mac-x86_64-20130219/sdk/platform-tools"),("PWD","/Users/dum/Dropbox/ProgLangTech/Assignment2"),("SHELL","/bin/bash"),("SHLVL","1"),("SSH_AUTH_SOCK","/tmp/launch-nsDwEb/Listeners"),("TERM","xterm-256color"),("TERM_PROGRAM","Apple_Terminal"),("TERM_PROGRAM_VERSION","309"),("TERM_SESSION_ID","9DEF1831-DC02-4911-A82E-34E86D7529BE"),("TMPDIR","/var/folders/wd/q3lrhhxn19g2jk8_108dxp240000gn/T/"),("USER","dum"),("_","/Users/dum/Library/Haskell/bin/cabal"),("__CF_USER_TEXT_ENCODING","0x1F5:0:0")]
("/usr/bin/ghc",["-c","/var/folders/wd/q3lrhhxn19g2jk8_108dxp240000gn/T/15676.c","-o","/var/folders/wd/q3lrhhxn19g2jk8_108dxp240000gn/T/15676.o"])
("/usr/bin/ld",["-x","-r","/var/folders/wd/q3lrhhxn19g2jk8_108dxp240000gn/T/15676.o","-o","/var/folders/wd/q3lrhhxn19g2jk8_108dxp240000gn/T/15677.o"])
Searching for lhc in path.
Cannot find lhc on the path
Searching for lhc-pkg in path.
Cannot find lhc-pkg on the path
Searching for nhc98 in path.
Cannot find nhc98 on the path
Searching for pkg-config in path.
Cannot find pkg-config on the path
Searching for ranlib in path.
Found ranlib at /usr/bin/ranlib
Searching for strip in path.
Found strip at /usr/bin/strip
Searching for tar in path.
Found tar at /usr/bin/tar
Searching for uhc in path.
Cannot find uhc on the path
("/usr/bin/ghc",["--info"])
Using Cabal-1.18.1.2 compiled by ghc-7.6
Using compiler: ghc-7.6.3
Using install prefix:
/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2
Binaries installed in:
/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/bin
Libraries installed in:
/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/lib
Private binaries installed in:
/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/libexec
Data files installed in:
/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/share
Documentation installed in:
/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/doc
Configuration files installed in:
/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/etc
Using alex version 3.0.5 found on system at: /usr/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.16.5 found on system at:
/Users/dum/Library/Haskell/bin/c2hs
Using cpphs version 1.17.1 found on system at:
/Users/dum/Library/Haskell/bin/cpphs
Using ffihugs found on system at: /opt/local/bin/ffihugs
Using gcc version 4.2.1 found on system at: /usr/bin/gcc
Using ghc version 7.6.3 found on system at: /usr/bin/ghc
Using ghc-pkg version 7.6.3 found on system at: /usr/bin/ghc-pkg
Using greencard found on system at:
/Users/dum/Library/Haskell/bin/greencard
Using haddock version 2.13.2 found on system at: /usr/bin/haddock
Using happy version 1.18.10 found on system at: /usr/bin/happy
No hmake found
Using hpc version 0.6 found on system at: /usr/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
Using hscolour version 1.20 found on system at:
/Users/dum/Library/Haskell/bin/HsColour
Using hugs found on system at: /opt/local/bin/hugs
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /usr/bin/tar
No uhc found
Environment: [("TERM_PROGRAM","Apple_Terminal"),("ANDROID_HOME","/Users/dum/Field/adt-bundle-mac-x86_64-20130219/sdk"),("SHELL","/bin/bash"),("TERM","xterm-256color"),("TMPDIR","/var/folders/wd/q3lrhhxn19g2jk8_108dxp240000gn/T/"),("Apple_PubSub_Socket_Render","/tmp/launch-bJLL3s/Render"),("TERM_PROGRAM_VERSION","309"),("TERM_SESSION_ID","9DEF1831-DC02-4911-A82E-34E86D7529BE"),("USER","dum"),("COMMAND_MODE","unix2003"),("SSH_AUTH_SOCK","/tmp/launch-nsDwEb/Listeners"),("Apple_Ubiquity_Message","/tmp/launch-mUjEP6/Apple_Ubiquity_Message"),("__CF_USER_TEXT_ENCODING","0x1F5:0:0"),("PATH","/opt/local/bin:/opt/local/sbin:/usr/local/bin/bnfc-2.5.0-mac:/Users/dum/Field/Spin/Src6.2.5/spin:/Users/dum/Library/Haskell/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/Users/dum/Field/adt-bundle-mac-x86_64-20130219/sdk/tools:/Users/dum/Field/adt-bundle-mac-x86_64-20130219/sdk/platform-tools"),("PWD","/Users/dum/Dropbox/ProgLangTech/Assignment2"),("HOME","/Users/dum"),("SHLVL","1"),("LOGNAME","dum"),("LC_CTYPE","UTF-8"),("DISPLAY","/tmp/launch-IjSFWA/org.macosforge.xquartz:0"),("_","/Users/dum/Library/Haskell/bin/cabal"),("CFLAGS","-m64")]
("sh",["./configure","--with-compiler=ghc","--prefix=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2","--bindir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/bin","--libdir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/lib","--libexecdir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/libexec","--datadir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/share","--sysconfdir=/Users/dum/Library/Haskell/ghc-7.6.3/lib/unix-time-0.2.2/etc","--with-gcc=/usr/bin/gcc"])
sh returned ExitFailure 127
Failed to install unix-time-0.2.2
World file is already up to date.
cabal: Error: some packages failed to install:
unix-time-0.2.2 failed during the configure step. The exception was:
ExitFailure 127
@kazu-yamamoto

This is very strange. I'm using almost the same environment except OS X 10.9. "cabal install scotty" does not have any problems.

@Airini

I do agree that it seems strange.

I have attempted an installation on a virtual machine running Ubuntu 12.10, for which unix-time got installed properly (albeit scotty failing).

But the errors I get above are weird. For instance, I don't know why it would be searching for lhc or jhc.

@kazu-yamamoto

Cabal is designed for many Haskell compilers. So, it is not strange to try to find jhc.

@kazu-yamamoto

Did you install "gcc"?

@Airini

I see, but I still find it strange that it fails when it doesn't find the alternative compilers if it already has found at least one. Then again, I suppose that the cause of failure is probably not related to not finding those other compilers, right?

Yes, I already had gcc. Don't know if it makes any difference, but the information on version, etc. for it is:

i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

I believe I installed it when installing Xcode with command-line tools, etc.

@trygvea

I get the same error on my OS X 10.9 - 'cabal install unix-time-v' ends with:

...
("sh",["./configure","--with-compiler=ghc","--prefix=/Users/trygve/.cabal","--bindir=/Users/trygve/.cabal/bin","--libdir=/Users/trygve/.cabal/lib","--libexecdir=/Users/trygve/.cabal/libexec","--datadir=/Users/trygve/.cabal/share","--sysconfdir=/Users/trygve/.cabal/etc","--with-gcc=/usr/bin/gcc"])
sh returned ExitFailure 127
Failed to install unix-time-0.2.2
World file is already up to date.
cabal: Error: some packages failed to install:
unix-time-0.2.2 failed during the configure step. The exception was:
ExitFailure 127

I use cabal-install version 1.18.0.2, and ghc version 7.6.3 (installed with homebrew).

@YongJoonJoe

I also get the same error in today with OS X 10.9. There are no problems with my linux machines.
When I run yesod devel, It returns ExitFailure 127 with exactly same messages above.

It had worked yesterday.

After that, I tried cabal clean && cabal configure && cabal build, I could got message that unix-time-0.2.2 returns.
Even I tried completely removing & installing Haskell platform, and I installed cabal-install, cabal-dev, yesod-platform, yesod-bin only. But it occurs again.
With same packages and configurations, it had worked for many times. But now, it does not.

According to updated date, this version of unix-time had worked well.
However, After I made changes only external environment like installing new programs such as python2/python3, not Haskell/Cabal environment.

Does it depend on some external libraries or binaries outer Cabal/GHC?

I use cabal-install version 1.18.0.3, and ghc version 7.6.3 (installed with Haskell Platform from homepage)

@YongJoonJoe

I'm sorry for serial comment.

I think that I figured out the cause: python2/3 (or its related libraries) from homebrew (and added PATH by user).
When I comment-out PATH=/usr/local/bin/python:/usr/local/bin/python3:$PATH, cabal install unix-time works.
However, with PATH=/usr/local/bin/python:/usr/local/bin/python3:$PATH, it fails.

When I success cabal install unix-time, I run ghc-pkg unregister unix-time and add PATH=/usr/local/bin/python:/usr/local/bin/python3:$PATH again.

Then cabal install unix-time fails again with same messages; ExitFailure 127.

I guess that unix-time is influenced by python2 or python3 (or its related libraries).

(To find out this, I remove and install Haskell-Platform and some packages for 2 times....)

To solve this problem, you may comment-out user-added PATH especially python2/3 PATH.
When you are using default system/configuration of OS X, it may not occurs.

However, Whenever I compile with unix-time, I cannot apply this solution.

I'm not sure which one has bug, but I hope to be fixed.

Update: this happens not just cabal install unix-time but referencing like cabal build which use unix-time or yesod devel when unix-time is already installed.

@kazu-yamamoto

Can you tell a command lists that the python3 package installs? Probably, some names of commands are overridden.

@YongJoonJoe

What I installed are python and python3 only.(brew install python python3)

You may know that /usr/local/bin/python and /usr/local/bin/python3 is not directory, just binary(link) itself. (/usr/local/bin/python actually links the version of homebrew python2 2.7.6)

I've tested more, and found that PATH=/usr/local/bin/python3:$PATH or PATH=/usr/local/bin/python:$PATH does not make trouble.
When I add one or two above, yesod devel fails.
But I'm not sure that python is not really overridden by homebrew version by which.
Whenever yesod devel fails or not (PATH includes /usr/local/bin/python or not),

  • which python is /usr/bin/python
  • which python2 is /usr/local/bin/python2
  • which python3 is /usr/local/bin/python3
    (Does which not tell true?)

You can check my PATH configure.

When fails, echo $PATH is
Case 1:

/Users/yongjoon/Library/Haskell/bin:/Library/Haskell/bin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:
/usr/local/bin/python:/usr/local/sbin:/usr/local/share/python:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin

or Case 2:

/Users/yongjoon/Library/Haskell/bin:/Library/Haskell/bin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:
/usr/local/bin/python3:/usr/local/sbin:/usr/local/share/python:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin

When success,
Case 3:

/Users/yongjoon/Library/Haskell/bin:/Library/Haskell/bin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:
/usr/local/sbin:/usr/local/share/python:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin

It seems to be that /usr/bin/python should be overridden by /usr/local/bin/python in Case 1. But I cannot check it by which.
However, in Case 2, it seems to be that /usr/bin/python is not overridden by /usr/local/bin/python.
But it still fails.

  • Preinstalled version of python(/usr/bin/python) is Python 2.7.5 (default, Sep 12 2013, 21:33:34).
  • The version from homebrew (/usr/local/bin/python == /usr/local/bin/python2) is Python 2.7.6 (default, Mar 8 2014, 03:51:05).
  • The version of python3 is Python 3.3.4 (default, Mar 8 2014, 03:53:03).
@trygvea

I found an easy way to reproduce the bug (OS X 10.9):

touch ~/foo
ln -s ~/foo ~/bar
PATH=~/bar/foobar:$PATH    
cabal install unix-time

returns

...
unix-time-0.2.2 failed during the configure step. The exception was:
ExitFailure 127

The same error occurs when trying to 'cabal install accelerate', so the bug may be in the cabal-install module?

@kazu-yamamoto

Wow. I can reproduce it with cabal-install version 1.18.0.3.
Would you report this to cabal-install?

@YongJoonJoe

Oh, I didn't know what I did. I also could fix with your solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.