Opened 11 years ago

Closed 10 years ago

#42081 closed defect (fixed)

[hs-data-default] configure step fails with "missing dependency: data-default-instances-containers -any"

Reported by: KurtPfeifle (Kurt Pfeifle) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: hs-data-default

Description

I cannot upgrade hs-data-default on my Mavericks system. This is the relevant extract of "port log hs-data-default":

DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_devel_hs-data-default/hs-data-default/work/data-default-0.5.3" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang 
Configuring data-default-0.5.3...
Setup: At least the following dependencies are missing:
data-default-instances-containers -any
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_devel_hs-data-default/hs-data-default/work/data-default-0.5.3" && 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-data-default returned: configure failure: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: configure failure: command execution failed
Warning: targets not executed for hs-data-default: org.macports.install org.macports.configure org.macports.build org.macports.destroot

However:

kp@mb: >  port installed hs-data-default
The following ports are currently installed:
  hs-data-default @0.5.3_1 (active)

Attachments (3)

main.log (7.6 KB) - added by KurtPfeifle (Kurt Pfeifle) 11 years ago.
main.log (after "port clean hs-data-default && port upgrade hs-data-default"
ghc-pkg--list.txt (4.9 KB) - added by KurtPfeifle (Kurt Pfeifle) 11 years ago.
Output of "ghc-pkg list"
ghc-pkg--check.txt (79.9 KB) - added by KurtPfeifle (Kurt Pfeifle) 11 years ago.
Output of "ghc-pkg check"

Download all attachments as: .zip

Change History (9)

comment:1 Changed 11 years ago by KurtPfeifle (Kurt Pfeifle)

Forgot to mention:

kp@mb: >  port installed hs-data-default-instances-containers
The following ports are currently installed:
  hs-data-default-instances-containers @0.0.1_1 (active)

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Port: hs-data-default added

Please attach the complete main.log file after cleaning the port.

Changed 11 years ago by KurtPfeifle (Kurt Pfeifle)

Attachment: main.log added

main.log (after "port clean hs-data-default && port upgrade hs-data-default"

comment:3 Changed 11 years ago by neverpanic (Clemens Lang)

Please try running sudo ghc-pkg recache and provide the output of ghc-pkg list and ghc-pkg check.

comment:4 Changed 11 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to cal@…

Changed 11 years ago by KurtPfeifle (Kurt Pfeifle)

Attachment: ghc-pkg--list.txt added

Output of "ghc-pkg list"

Changed 11 years ago by KurtPfeifle (Kurt Pfeifle)

Attachment: ghc-pkg--check.txt added

Output of "ghc-pkg check"

comment:5 Changed 11 years ago by KurtPfeifle (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.)

comment:6 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Assuming this is no longer a problem since the buildbot has a current version of hs-data-default, and we've switched to a less error-prone package registration mechanism.

Note: See TracTickets for help on using tickets.