Opened 14 years ago

Closed 14 years ago

#24078 closed defect (fixed)

archcheck portgroup fails when compiling on ppc7450

Reported by: marco.comini@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: ppc7450 Cc: gwright@…
Port: archcheck

Description

With revision 2 of the GHC portfile my PowerBook 1.5 (OS 10.4.11, Xcode 2.5) stops almost immediately saying

--->  Configuring ghc
Error: You cannot install ghc for the architecture(s) ppc because
Error: its dependency gmp only contains the architecture(s) ppc7450.
Error: 
Error: Did you upgrade to a new version of Mac OS X? If so, please see
Error: 
Error:     http://trac.macports.org/wiki/Migration
Error: 
Error: Target org.macports.configure returned: incompatible architectures in dependencies

[I did not upgraded the OS.]

I've made nothing fancy to set architecture to ppc7450 instead of just pcc. It is something autodetected.

Should I do something different or is the Portfile that has to be fixed?

Thanks for the help.

Change History (3)

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

Cc: ryandesign@… added
Keywords: ppc added; ghc Panther removed
Owner: changed from macports-tickets@… to gwright@…
Summary: GHC 6.10.4 rev 2 refused to compile on PantherGHC 6.10.4 rev 2 fails due to archcheck on G4

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: gwright@… added; ryandesign@… removed
Keywords: ppc7450 added; ppc removed
Owner: changed from gwright@… to ryandesign@…
Port: archcheck added; ghc removed
Status: newassigned
Summary: GHC 6.10.4 rev 2 fails due to archcheck on G4archcheck portgroup fails when compiling on ppc7450

Curious, I haven't encountered the processor type ppc7450 before. We need to add a special case for this to the archcheck portgroup, just like we did for the ppc7400 in r58392 / r59181 / r59182. In case there are even more PowerPC processor types we haven't thought of yet, I could also add a check if the architecture we found is known, and if not, show an error that more clearly indicates that the archcheck portgroup needs to be updated.

comment:3 in reply to:  2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Replying to ryandesign@…:

Curious, I haven't encountered the processor type ppc7450 before. We need to add a special case for this to the archcheck portgroup, just like we did for the ppc7400 in r58392 / r59181 / r59182.

This should be done in r64862.

In case there are even more PowerPC processor types we haven't thought of yet, I could also add a check if the architecture we found is known, and if not, show an error that more clearly indicates that the archcheck portgroup needs to be updated.

This should be done in r64863.

Note: See TracTickets for help on using tickets.