Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17123 closed defect (fixed)

GHC 6.10.1_0 on PPC (both MacOS 10.5 and 10.4) [hsc2hs not found]

Reported by: marco.comini@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: ghc hsc2hs not found Cc: dbueno@…, arcadiorubiogarcia@…, baguasquirrel@…
Port: ghc

Description

Below is the last excerpt from the build transcript (with the error at the bottom). I am attempting to build the GHC port on both MacOS 10.4 PPC G4 PowerBook and MacOS 10.5 PPC G5 PowerMac.

Configuring hpc-0.5.0.2...
cd hpc    && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries/cabal-bin /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries/bootstrapping.conf build     --distpref=dist-bootstrapping
Preprocessing library hpc-0.5.0.2...
cabal-bin: The program hsc2hs is required but it could not be found
make[1]: *** [bootstrapping.conf] Error 1
make: *** [stage1] Error 2

Change History (10)

comment:1 Changed 15 years ago by blb@…

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

That's odd, hsc2hs appears to be provided by ghc...

comment:2 Changed 15 years ago by dbueno@…

Cc: dbueno@… added

Cc Me!

comment:3 Changed 15 years ago by blb@…

Cc: arcadiorubiogarcia@… added

Cc reporter of dup #17151.

comment:4 Changed 15 years ago by baguasquirrel@…

Cc: baguasquirrel@… added

Cc Me!

comment:5 in reply to:  description Changed 15 years ago by baguasquirrel@…

happens on Intel 10.5.4 as well.

comment:6 Changed 15 years ago by gwright@…

Status: newassigned

OK, it looks like the bootstrap compilers need to be rebuilt to include hsc2hs, which was not required previously.

comment:7 in reply to:  6 Changed 15 years ago by marco.comini@…

Replying to gwright@…:

OK, it looks like the bootstrap compilers need to be rebuilt to include hsc2hs, which was not required previously.

Now I have the problem on Intel as well. It seems that in the meantime they rebuilt the only bootstrap that was working.

I bet you're not the one who's in charge of this builds. Is there something we could/should do to ask for a working build?

Thanks for your job "gwright" (I don't know your name)

comment:8 Changed 15 years ago by gwright@…

Resolution: fixed
Status: assignedclosed

r41873 should fix this.

comment:9 Changed 15 years ago by gwright@…

This is a combination of two upstream bugs; it looks as if the hpc library is using an external hsc2hs instead of the one built in place and cabal used an hsc2hs that didn't match the bootstrap compiler without a warning.

I'll file bug reports with ghc central.

comment:10 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.