[MacPorts] #41629: cctools @845_0 build fails when macosx_deployment_target is set
#41629: cctools @845_0 build fails when macosx_deployment_target is set --------------------+-------------------------------- Reporter: help@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: cctools --------------------+-------------------------------- Error occurs when macosx_deployment_target is set in macports.conf to any value < 10.9. When unset or set to 10.9 compile succeeds. I think it worked fine with 839_2 version. May be related to bug #41302 (similar error message) or #41627 (due to that bug ld64, which is dependency of cctools, is installed on my system with macosx_deployment_target unset, but that was the case with 839_2 version too, so this is unlikely). -- Ticket URL: <https://trac.macports.org/ticket/41629> MacPorts <http://www.macports.org/> Ports system for OS X
#41629: cctools @845_0 build fails when macosx_deployment_target is set ----------------------+------------------------ Reporter: help@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: cctools | ----------------------+------------------------ Changes (by ryandesign@…): * cc: jeremyhu (removed) * owner: macports-tickets@… => jeremyhu@… Comment: Note that the Cc field requires complete email addresses. -- Ticket URL: <https://trac.macports.org/ticket/41629#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41629: macosx_deployment_target ----------------------+------------------------ Reporter: help@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: wontfix | Keywords: Port: cctools | ----------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => wontfix Comment: This doesn't have to do with the deployment target. This has to do with the fact that the lower deployment target implies libstdc++ Most of the Portfiles in the tree don't properly account for this and choose the C++ STL and runtime based on host version not deployment target. I'm not inclined to edit all those ports now and then again after base 2.3 ships, so I suggest you just also set 'cxx_stdlib libstdc++' in macports.conf -- Ticket URL: <https://trac.macports.org/ticket/41629#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41629: macosx_deployment_target ----------------------+------------------------ Reporter: help@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: wontfix | Keywords: Port: cctools | ----------------------+------------------------ Comment (by help@…): If I understand it right, cxx_stdlib option isn't available in current release and will be included only in 2.3. So basically I should wait for base update and then adding 'cxx_stdlib libstdc++' to macports.conf will fix cctools and ld64 building, correct? Can't macports set this variable automatically depending on macosx_deployment_target? -- Ticket URL: <https://trac.macports.org/ticket/41629#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41629: macosx_deployment_target ----------------------+------------------------ Reporter: help@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: wontfix | Keywords: Port: cctools | ----------------------+------------------------ Comment (by jeremyhu@…): macosx_deployment_target doesn't work right on older versions of base. If you want to use macosx_deployment_target, you need to use base trunk. -- Ticket URL: <https://trac.macports.org/ticket/41629#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41629: macosx_deployment_target ----------------------+------------------------ Reporter: help@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: wontfix | Keywords: Port: cctools | ----------------------+------------------------ Comment (by jeremyhu@…): Note that 2.3 has branched, so that's actually not accurate. You can use the 2.3 branch or trunk. -- Ticket URL: <https://trac.macports.org/ticket/41629#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41629: macosx_deployment_target ----------------------+------------------------ Reporter: help@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: wontfix | Keywords: Port: cctools | ----------------------+------------------------ Comment (by help@…): OK, I installed macports from 2.3 branch, added "cxx_stdlib libstdc++" to macports.conf and tried rebuilding cctools and ld64 - build failed for both of them with the same errors as before. Looking more closely at them I think that cctools fails only because ld64 was built with different macosx_deployment_target, so I'll leave this bug closed (also because it was renamed) and reopen the one about ld64. -- Ticket URL: <https://trac.macports.org/ticket/41629#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts