Opened 12 years ago

Closed 3 years ago

#34502 closed defect (fixed)

ogre@1.7.3 - pbxcp command execution failed, build failed.

Reported by: knitter.is@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.0
Keywords: Cc: karl.smeltzer@…, mescalinum@…, cooljeanius (Eric Gallager), arto@…
Port: ogre

Description (last modified by ryandesign (Ryan Carsten Schmidt))

On OS X 10.7.4 with XCode 4.3.2, ogre fails to install due to wrong hardcoded path to pbxcp. Since XCode 4.3 the /Developer folder no longer exists and XCode files and frameworks are placed in /Applications/XCode.app/.

The current port's CMakeList files contain the old path and building will fail.

I don't have a patch since I don't really know what to change but with some help from the mailing list I was able to hack the source CMakeList.txt files that macport downloads and install using my changes.

From inside ogre's source folder I changed the paths with:

find . -name CMakeLists.txt -exec sed -i bak s:/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp:/Applications/Xcode.app/Contents//OtherFrameworks/DevToolsCore.framework/Versions/A/Resources/pbxcp: {} \;

Attachments (1)

main.log (491.1 KB) - added by knitter.is@… 12 years ago.

Download all attachments as: .zip

Change History (15)

Changed 12 years ago by knitter.is@…

Attachment: main.log added

comment:1 Changed 12 years ago by nerdling (Jeremy Lavergne)

Cc: marin.saric removed
Owner: changed from macports-tickets@… to marin.saric@…

comment:2 Changed 12 years ago by marin@…

Owner: changed from marin.saric@… to marin@…

Just came back from a trip. Picking up this ticket. I need to install the newest XCode first to verify the changes myself.

comment:3 Changed 12 years ago by marin@…

Status: newassigned

comment:4 Changed 12 years ago by marin@…

Error reproduced, working on a fix.

comment:5 Changed 12 years ago by rectalogic (Andrew Wason)

pbxcp was removed from XCode 4.4, so this workaround no longer works. http://www.cocoabuilder.com/archive/xcode/319936-pbxcp-vanished-in-xcode-4-4.html

comment:6 in reply to:  5 Changed 12 years ago by philippe.groarke@…

I am currently running into this problem. Is there any temporary solution I could try? I am running the latest Xcode.

comment:7 Changed 12 years ago by karl.smeltzer@…

Cc: karl.smeltzer@… added

Cc Me!

comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:9 Changed 11 years ago by mescalinum@…

The patch to this issue has been around for a long time:

https://code.ros.org/trac/ros-pkg/browser/stacks/visualization_common/trunk/ogre/ditto_pbxcp_osx.patch?rev=39177

Why it didn't land here at macports? :-)

comment:10 Changed 11 years ago by mescalinum@…

Cc: mescalinum@… added

Cc Me!

comment:11 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:12 Changed 9 years ago by arto@…

Cc: arto@… added

Cc Me!

comment:13 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

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

comment:14 Changed 3 years ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In 26967e90ad84d82f58f95fb8a65a41512c9035b1/macports-ports (master):

ogre: update to 13.0.1

This port is technically rewritten from scratch.

I've also used as close as possible to mainstream way to build it, which
includes moving to dynamic linking.

Closes: #53338
Closes: #38624
Closes: #37734
Closes: #34502
See: #47197

Note: See TracTickets for help on using tickets.