[MacPorts] #53338: ogre @1.7.3_4 fails on Sierra -- "invalid deployment target"
MacPorts
noreply at macports.org
Tue Jan 17 21:03:05 UTC 2017
#53338: ogre @1.7.3_4 fails on Sierra -- "invalid deployment target"
-----------------------+-------------------
Reporter: starthal | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.5
Resolution: | Keywords:
Port: ogre |
-----------------------+-------------------
Comment (by starthal):
After setting the minimum version to 10.7 in the patch file (modified
patch attached), I tried again (build log also attached).
Now it fails on
{{{
:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ogre/ogre/work/ogre_src_v1-7-3/OgreMain
&&
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp
-exclude .DS_Store -exclude .hg -exclude 'CMakeLists.txt' -resolve-src-
symlinks
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ogre/ogre/work/ogre_src_v1-7-3/OgreMain/include/Threading/*
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ogre/ogre/work/ogre_src_v1-7-3/lib//Ogre.framework/Headers/Threading/
:info:build /bin/sh:
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp:
No such file or directory
}}}
If I understand correctly, {{{/Developer}}} was used by old versions of
XCode (< 4.3) but it's no longer included.
From OgreMain/CMakeLists.txt:
{{{
...
if (APPLE)
if (NOT OGRE_BUILD_PLATFORM_IPHONE)
...
add_custom_command(TARGET OgreMain POST_BUILD
COMMAND mkdir ARGS -p
${OGRE_BINARY_DIR}/lib/$(CONFIGURATION)/Ogre.framework/Headers/Threading
COMMAND
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp
ARGS -exclude .DS_Store -exclude .hg -exclude 'CMakeLists.txt' -resolve-
src-symlinks ${OGRE_SOURCE_DIR}/OgreMain/include/Threading/*
${OGRE_BINARY_DIR}/lib/$(CONFIGURATION)/Ogre.framework/Headers/Threading/
COMMAND mkdir ARGS -p
${OGRE_BINARY_DIR}/lib/$(CONFIGURATION)/Ogre.framework/Headers/OSX
COMMAND
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp
ARGS -exclude .DS_Store -exclude .hg -exclude 'CMakeLists.txt' -resolve-
src-symlinks ${OGRE_SOURCE_DIR}/OgreMain/include/OSX/*.h
${OGRE_BINARY_DIR}/lib/$(CONFIGURATION)/Ogre.framework/Headers/OSX/
)
...
}}}
Those commands are in the original tarball, not patched in. Are they
necessary?
--
Ticket URL: <https://trac.macports.org/ticket/53338#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list