`cabal new-build` failed with "ghc-pkg: 1: Parse of field 'name' failed"
Open
cabal-install: v2-build system
type: bug
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
I'm trying to install 'cabal/Cabal' from git, and getting this:
```
>> cabal new-build exe:cabal
In order, the following will be built (use -v for more details):
cabal-install-2.1.0.0
Preprocessing executable 'cabal' for cabal-install-2.1.0.0..
Building executable 'cabal' for cabal-install-2.1.0.0..
Generating manual page
/Users/m/git/cabal/dist-newstyle/build/cabal-install-2.1.0.0/build/cabal/cabal.1
...
Package contains no library to register: cabal-install-2.1.0.0...
cabal: '/usr/local/bin/ghc-pkg' exited with an error:
ghc-pkg: 1: Parse of field 'name' failed.
```
Contributor guide
Assessment
This issue has not been assessed yet.