Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17134 closed defect (fixed)

ghc 6.10.1: Cannot find the program 'ghc-pkg' at '' or on the path

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: ghc

Description

I can't build ghc 6.10.1 on Mac OS X 10.4.11 Intel with Xcode 2.5 and MacPorts from trunk (between 41540 and 41575):

cd extensible-exceptions && /mp/var/macports/build/_Users_rschmidt_macports_dports_lang_ghc/work/ghc-6.10.1/libraries/cabal-bin /mp/var/macports/build/_Users_rschmidt_macports_dports_lang_ghc/work/ghc-bootstrap/bin/ghc /mp/var/macports/build/_Users_rschmidt_macports_dports_lang_ghc/work/ghc-6.10.1/libraries/bootstrapping.conf configure --distpref=dist-bootstrapping --with-compiler=/mp/var/macports/build/_Users_rschmidt_macports_dports_lang_ghc/work/ghc-bootstrap/bin/ghc --with-hc-pkg= --package-db=/mp/var/macports/build/_Users_rschmidt_macports_dports_lang_ghc/work/ghc-6.10.1/libraries/bootstrapping.conf.tmp
Configuring extensible-exceptions-0.1.0.0...
cabal-bin: Cannot find the program 'ghc-pkg' at '' or on the path
make[1]: *** [bootstrapping.conf] Error 1
make: *** [stage1] Error 2

Change History (4)

comment:1 Changed 16 years ago by gwright@…

Status: newassigned

Revision 2 of the portfile should fix this. It is a bug in ghc's configure script. Let me know if it works for you.

comment:2 Changed 16 years ago by gwright@…

Correction: revision 3 should fix this. I missed some changes when putting rev 2 together.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Thanks, that error no longer occurs (though a new one does, which I filed as #17321).

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.