Opened 13 years ago

Closed 12 years ago

#28046 closed defect (fixed)

otx hardcodes the use of MacOSX10.4u SDK

Reported by: msy@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: otx

Description

when performing "sudo port install otx" on MacOS 10.6.6, the 10.4 SDK seems to be required.

:info:build === BUILD NATIVE TARGET otx gui OF PROJECT otx WITH CONFIGURATION Release ===
:info:build Check dependencies
:info:build Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.
:info:build [WARN]Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.
:info:build error: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk'
:info:build [BEROR]error: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk'
:info:build ** BUILD FAILED **

Attachments (1)

otx.diff (2.5 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
possible patch

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by danielluke (Daniel J. Luke)

Port: otx added

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

Cc: ryandesign@… added
Summary: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk'otx hardcodes the use of MacOSX10.4u SDK

And even if you install the MacOSX10.4u SDK, it won't work:

=== BUILD NATIVE TARGET otx gui OF PROJECT otx WITH CONFIGURATION Release ===
Check dependencies
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.
[WARN]Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.
GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file AppController.m)
GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file AppController.m)
** BUILD FAILED **

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Just needs xcode portgroup for that, but then it still doesn't build.

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: otx.diff added

possible patch

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

Well, attached is a patch that does work (just removes SDKROOT and MACOSX_DEPLOYMENT_TARGET from the Xcode project, and sets supported_archs in the portfile since this hardcodes 32-bit architectures), but yes, I was looking into why it doesn't use the Xcode portgroup, and whether that would help anything.

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Was also looking into whether a newer version is available. And there isn't, not released on the project's homepage, though development has continued in their Subversion repository, from which we're already fetching anyway.

comment:6 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.