Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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)

main.log (227.4 KB) - added by help@… 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by help@…

Attachment: main.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu removed
Owner: changed from macports-tickets@… to jeremyhu@…

Note that the Cc field requires complete email addresses.

comment:2 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: wontfix
Status: newclosed
Summary: cctools @845_0 build fails when macosx_deployment_target is setmacosx_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: See TracTickets for help on using tickets.