#42079: [hs-citeproc] configure step fails with "missing dependency: json -any" -----------------------------+------------------- Reporter: kurt.pfeifle@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: hs-citeproc | -----------------------------+------------------- Comment (by cal@…): It seems there is a number of problems with your state of Haskell packages: - There are lots of older versions of some packages still installed, e.g. you have five different versions of http-conduit, only one of which has ever been in MacPorts - Thus, you must have used cabal or some other method to install Haskell packages. When you do this, cabal will re-use Haskell packages installed by MacPorts, but those might be removed by MacPorts breaking your dependency tree. - MacPorts Haskell packages had a bug where they wouldn't be correctly uninstalled and unregistered if there were dependents registered, leaving outdated package registrations in place. While the problem has since been fixed, it seems some of those leftovers are still in place on your system. - The last two points lead to all the missing files and missing dependencies in the output of `ghc-pkg check`. You should avoid using cabal to install Haskell packages and use the MacPorts port where possible. MacPorts Haskell package upgrades might break packages installed manually using cabal. It seems a lot of the broken packages are in your user tree. Please attach the output of `ghc-pkg --global list` and `ghc-pkg --global check` so I can check whether you need to modify any packages installed system-wide or whether the problems are caused by your user packages only. -- Ticket URL: <https://trac.macports.org/ticket/42079#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X