#41629 closed defect (wontfix)
macosx_deployment_target
Reported by: | help@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | cctools |
Description
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).
Attachments (1)
Change History (7)
Changed 11 years ago by help@…
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jeremyhu removed |
---|---|
Owner: | changed from macports-tickets@… to jeremyhu@… |
comment:2 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Summary: | cctools @845_0 build fails when macosx_deployment_target is set → macosx_deployment_target |
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
comment:3 Changed 11 years ago 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?
comment:4 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
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.
comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Note that 2.3 has branched, so that's actually not accurate. You can use the 2.3 branch or trunk.
comment:6 Changed 11 years ago 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.
Note that the Cc field requires complete email addresses.