Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#32750 closed defect (fixed)

apple-gcc42 @5666.3 build fails due to ppc build target

Reported by: jlmuir@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: lion Cc: jeremyhu (Jeremy Huddleston Sequoia), cooljeanius (Eric Gallager)
Port: apple-gcc42

Description

The apple-gcc42 port fails to build for me on Mac OS X 10.7.2 (Xcode 4.2.1).

The Portfile adds a "ppc" build target if "${developer_dir}/SDKs/MacOSX10.5.sdk" exists. On my system, because I need the MacOSX10.5.sdk for a certain project, I have it installed by hand in addition to the other SDKs. So the Portfile sees this SDK and adds the "ppc" build target, but Mac OS X 10.7 does not support building PPC binaries.

The attached patch makes the Portfile not add the "ppc" build target if on Darwin 11 (Mac OS X 10.7) or later.

Attachments (1)

Portfile-apple-gcc42.diff (779 bytes) - added by jlmuir@… 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by jlmuir@…

Attachment: Portfile-apple-gcc42.diff added

comment:1 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

That's not really a supported configuration, but... r88509

comment:2 Changed 7 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.