-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ld64: default to +ld64_xcode on Xcode9+ #2247
Conversation
ld64 does not understand tapi in the open-source versions at present. closes: https://trac.macports.org/ticket/56843 closes: https://trac.macports.org/ticket/53784 closes: https://trac.macports.org/ticket/56398 closes: https://trac.macports.org/ticket/56277 see: https://trac.macports.org/ticket/56647 see: https://trac.macports.org/ticket/54510 see: https://trac.macports.org/ticket/54506 see: https://trac.macports.org/ticket/53151
Notifying maintainers: |
Travis Build #2977 Errored. Lint results
Port ld64 success on xcode9.4. Log |
So this has hit the maintainer timeout. Given it fixes a number of issues, and I can attest to it in as far as I have been using the variant in another context and not seen any issues so far, I would suggest we go ahead and merge. ? |
I concur, let's push this. Any objections? |
pushing it won't break anything, I think. We may find the xcode test needs a bit more tweaking, but we can sort that out as we go. Jeremy is clearly super-busy these days. I don't think he'd mind a small change like this... |
Given the consensus, I will do the merge. |
Note that increasing the Note that this port has subports, and it's generally not a good idea to specify the Of course you can't decrease the revision now that it's been committed, but moving the |
most people would have had it installed with no variant set, I thought. bumping the rev was meant to force to xcode variant to install on the specified systems.... did it not work that way? If not, how should we fix it to do so? |
I thought the same which is why I also rev'bumped cctools when I committed a similar patch. @ryandesign I just did a test and if previously the user had no variants selected, which is the case at least on macOS10.13, then the rev bump seems to have had the intended affect. What I tried was to replace the update here. So I first force uninstalled the
Note no variants were previously default selected here. I then updated the port file, adding back the changes here, and ran a normal update.
So now I have it installed and active with the Xcode variant selected. |
Oh. My apologies, you're right. I thought a variant was always selected for ld64, but it looks like for "latest" that wasn't the case, so increasing the revision does indeed help here. Still, the revision increase for the ld64-xcode subport was unnecessary, and the revision lines should be move to each subport that they affect.
For cctools, it is as I said: a variant was already always selected, therefore revbumping there wasn't helpful. MacPorts base doesn't offer a supported way of forcing a variant to be deselected during an upgrade, which is what would be required in order for cctools to automatically give upgrading users the xcode variant there. Such a feat was recently attempted for another port in bed79e2. The solution employed there is not working on the buildbot (see ticket 56778) but that may be due to an mpbb bug so it might be ok to use a similar method on cctools. |
Yes, of course, for |
#### Description ```markdown - Bump actions/checkout from 3 to 4 by @dependabot in macports#2247 - Add JRuby 9.3.11.0 by @headius in macports#2248 ``` ###### Tested on macOS 13.5.2 22G91 arm64 Xcode 14.3.1 14E300c ###### Verification Have you - [x] followed our [Commit Message Guidelines](https://trac.macports.org/wiki/CommitMessages)? - [x] squashed and [minimized your commits](https://guide.macports.org/#project.github)? - [x] checked that there aren't other open [pull requests](https://github.com/macports/macports-ports/pulls) for the same change? - [x] checked your Portfile with `port lint --nitpick`? - [x] tried a full install with `sudo port -vs install`? - [x] tested basic functionality of all binary files?
#### Description ```markdown - Bump actions/checkout from 3 to 4 by @dependabot in #2247 - Add JRuby 9.3.11.0 by @headius in #2248 ``` ###### Tested on macOS 13.5.2 22G91 arm64 Xcode 14.3.1 14E300c ###### Verification Have you - [x] followed our [Commit Message Guidelines](https://trac.macports.org/wiki/CommitMessages)? - [x] squashed and [minimized your commits](https://guide.macports.org/#project.github)? - [x] checked that there aren't other open [pull requests](https://github.com/macports/macports-ports/pulls) for the same change? - [x] checked your Portfile with `port lint --nitpick`? - [x] tried a full install with `sudo port -vs install`? - [x] tested basic functionality of all binary files?
ld64 does not understand tapi in the open-source
versions at present.
I believe that XCode 9+ generates the tapi lookups -- open to fine-tuning of the details on this.
closes: https://trac.macports.org/ticket/56843
closes: https://trac.macports.org/ticket/53784
closes: https://trac.macports.org/ticket/56398
closes: https://trac.macports.org/ticket/56277
see: https://trac.macports.org/ticket/56647
see: https://trac.macports.org/ticket/54510
see: https://trac.macports.org/ticket/54506
see: https://trac.macports.org/ticket/53151