[MacPorts] #53338: ogre @1.7.3_4 fails on Sierra -- "invalid deployment target"

MacPorts noreply at macports.org
Tue Jan 2 00:29:48 UTC 2018


#53338: ogre @1.7.3_4 fails on Sierra -- "invalid deployment target"
-----------------------+--------------------------------
  Reporter:  starthal  |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  ogre      |
-----------------------+--------------------------------

Comment (by kencu):

 `ogre`'s cmake build script  hardcodes the deployment target to 10.5. So
 that errors out on newer OS's that try to use -stdlib=libc++.

 open CMakeLists.txt and comment that out, and the build proceeds for quite
 a while:
 {{{
   # Set 10.5 as the base SDK by default
   #set(XCODE_ATTRIBUTE_SDKROOT macosx)
   #set(CMAKE_OSX_SYSROOT macosx)
 +  #set(CMAKE_OSX_DEPLOYMENT_TARGET 10.5)
 }}}

 However, not so easy. Later on, the build errors out because an old Xcode
 command, `pbxcp` is no longer available after Xcode 4.4.

 You might be able to fix that, if it's important enough. Here's a link to
 some instructions that apparently work aroud that issue

 <http://www.cocoabuilder.com/archive/xcode/319936-pbxcp-vanished-in-
 xcode-4-4.html>

 Whether that will get 'er done, or whether there is more grief to come, is
 not yet known.

 For now, I suppose this port should be marked as building only with Xcode
 4.3 or earlier, or alternatively deleted from MacPorts.

--
Ticket URL: <https://trac.macports.org/ticket/53338#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list