[MacPorts] #42079: [hs-citeproc] configure step fails with "missing dependency: json -any"
#42079: [hs-citeproc] configure step fails with "missing dependency: json -any" ----------------------------+-------------------------------- Reporter: kurt.pfeifle@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ----------------------------+-------------------------------- I cannot upgrade hs-citeproc on my Mavericks system. This is the relevant extract of "port log hs-citeproc": {{{ DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports .org_release_ports_devel_hs-citeproc/hs-citeproc/work/citeproc-hs-0.3.9" && runhaskell Setup configure --prefix=/opt/local --with- compiler=/opt/local/bin/ghc -v --enable-library-profiling --with- gcc=/usr/bin/clang' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports .org_release_ports_devel_hs-citeproc/hs-citeproc/work/citeproc-hs-0.3.9" && runhaskell Setup configure --prefix=/opt/local --with- compiler=/opt/local/bin/ghc -v --enable-library-profiling --with- gcc=/usr/bin/clang Configuring citeproc-hs-0.3.9... Setup: At least the following dependencies are missing: json -any Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports .org_release_ports_devel_hs-citeproc/hs-citeproc/work/citeproc-hs-0.3.9" && runhaskell Setup configure --prefix=/opt/local --with- compiler=/opt/local/bin/ghc -v --enable-library-profiling --with- gcc=/usr/bin/clang Exit code: 1 Error: org.macports.configure for port hs-citeproc returned: configure failure: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: configure failure: command execution failed Warning: targets not executed for hs-citeproc: org.macports.install org.macports.configure org.macports.build org.macports.destroot }}} -- Ticket URL: <https://trac.macports.org/ticket/42079> MacPorts <http://www.macports.org/> Ports system for OS X
#42079: [hs-citeproc] configure step fails with "missing dependency: json -any" -----------------------------+-------------------------------- Reporter: kurt.pfeifle@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | -----------------------------+-------------------------------- Comment (by kurt.pfeifle@…): Forgot to mention: {{{ kp@mb: > port installed hs-json The following ports are currently installed: hs-json @0.7_3 (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/42079#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | -----------------------------+------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => cal@… * port: => hs-citeproc Comment: In the future, please fill in the Port field and Cc the port maintainers ({{{port info --maintainers hs-citeproc}}}). -- Ticket URL: <https://trac.macports.org/ticket/42079#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#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 kurt.pfeifle@…): Replying to [comment:2 macsforever2000@…]:
In the future, please fill in the Port field and Cc the port maintainers ({{{port info --maintainers hs-citeproc}}}).
Sorry -- forgotten to fill the fields... -- Ticket URL: <https://trac.macports.org/ticket/42079#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#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@…): Same here, please run `sudo ghc-pkg recache` and provide the output of `ghc-pkg list` and `ghc-pkg check`. -- Ticket URL: <https://trac.macports.org/ticket/42079#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#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 kurt.pfeifle@…): Ok, these logs proof there's a problem with my installed packages. But they leave me clueless about how to fix it. (I have no idea about Haskell/ghc/cabal packages.) -- Ticket URL: <https://trac.macports.org/ticket/42079#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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 kurt.pfeifle@…): Indeed, I started to "cabal install" the most recent version of pandoc... but only **after** the `port upgrade pandoc` turned out to be b0rken for me. I appreciate your help. I'll get rid of all the cabal-installed stuff if it helps me getting the MacPorts-provided packages into the right order. -- Ticket URL: <https://trac.macports.org/ticket/42079#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#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 kurt.pfeifle@…): I did run the command `"ghc-pkg --global check 2> ghc-pkg--global- check.txt"`. However, the output is identical to the one which is contained in previously attached file `"ghc-pkg--check.txt"` (I checked using `"md5sum"`...). The output of `"ghc-pkg --user check"` is also exactly identical. So the `"--global/--user"` switches don't seem to have any effect on `"ghc-pgk check"`... Outputs of `"ghc-pkg --user list"` and `"ghc-pkg --global list"` are different, though. I'll attach them. -- Ticket URL: <https://trac.macports.org/ticket/42079#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#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@…): OK, if `ghc-pkg check` doesn't support `--global`, can you please try `sudo ghc-pkg check` or if that doesn't help, move `/Users/kurtpfeifle/.ghc` and `/Users/kurtpfeifle/.cabal` aside, run `sudo ghc-pkg recache` and run `ghc-pkg check` again? -- Ticket URL: <https://trac.macports.org/ticket/42079#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts