Opened 16 years ago

Closed 14 years ago

#16561 closed defect (fixed)

hs-ghc-paths 0.1.0.5 - build failure

Reported by: tim.lahey@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: hs-ghc-paths, haddock Cc: dbueno@…, ryandesign (Ryan Carsten Schmidt)
Port: hs-ghc-paths

Description

When trying to build hs-ghc-paths 0.1.0.5, I get the following error.

sudo port -v install hs-ghc-paths
Password:
--->  Configuring hs-ghc-paths

Setup.hs:7:7:
    Could not find module `Distribution.Simple.PackageIndex':
      Use -v to see a list of the files searched for.
Error: Target org.macports.configure returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_hs-ghc-paths/work/ghc-paths-0.1.0.5 && runhaskell Setup configure --ghc --prefix=/opt/local" returned error 1
Command output: 
Setup.hs:7:7:
    Could not find module `Distribution.Simple.PackageIndex':
      Use -v to see a list of the files searched for.

Warning: the following items did not execute (for hs-ghc-paths): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

I have ghc @6.8.3_1+darwin_9_i386 installed so I know it should be able to find ghc. Is there another dependency that isn't listed?

Attachments (1)

hs-ghc-paths.diff (1013 bytes) - added by dbueno@… 16 years ago.
The Portfile should have the libcabal dependency added, as shown

Download all attachments as: .zip

Change History (6)

comment:1 Changed 16 years ago by dbueno@…

Yes, I was just about to submit a bug report about this. If you install the 'hs-libcabal' port first, hs-ghc-paths will build. The error message refers to a package that is found within cabal.

Changed 16 years ago by dbueno@…

Attachment: hs-ghc-paths.diff added

The Portfile should have the libcabal dependency added, as shown

comment:2 Changed 16 years ago by dbueno@…

Cc: dbueno@… added

Cc Me!

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

I updated hs-ghc-paths to 0.1.0.6, and I don't have any trouble building it, even when hs-libcabal is not installed. Can you confirm whether you still see the problem after selfupdating and upgrading all outdated ports?

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

No response; assuming fixed as per comment:4.

Note: See TracTickets for help on using tickets.