-
-
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
xhyve: bump version to support Big Sur #11911
Conversation
Notifying maintainers: |
1317635
to
c7d7f76
Compare
About CI: it fails with very wired issue:
This macros is defined like this:
and I feel that a root cause of this issue is github's virtualisation. |
I don't know anything about this port nor really understand the error message you show... so I'm afraid that I cannot be if much help for this. |
@reneeotten seems that it is "feature" of clang 12 on macOS 10.15. I have create he simpler possible reproducer for this error:
If using clang-11 it works as expected. clang-12 introduced the full modules support as Anyway, I have no idea how to replace Maybe you can addvice or tag someone who can? Thanks! |
6d03719
to
96229f0
Compare
Wired. I can build it on:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@catap as I said earlier I'm sorry but I don't have the expertise to help you out on this. You could ask help on the mailinglist - there are likely people out there who would understand what's going on.
@reneeotten can it be merged without passing some old system? :) |
I think the "policy" is to support the latest three macOS releases, anything older isn't hard requirement but we do attempt to support them as much as possible. This does not build on the CI for 10.15 so that's likely something that needs to be fixed before we'd consider merging the PR. |
@reneeotten and if the old port doesn't build on modern CI system? The issue is Xcode 12.4? I'd like to revert all my changes to just bump a revision number to proof that ;) |
@reneeotten you may see that CI fails on the same issue on current code. I have no idea how to fix it, because the bug is inside Xcode 12.4 :( |
@kencu @cjones051073 has any of you seen this issue before and/or is able to take a look? I'm afraid this is above my pay-grade and I cannot really help here anymore... |
A mismatch between headers that are pulled in would seem to be likely at play. Exactly what mismatch I am not yet clear on, but A similar issue with modules occurred with the ncurses port. As I recall how it worked (18 months ago) when the modules are being used the build system did not follow the expected order of including headers, and in ncurses, the wrong (system) header was pulled in instead of the one we wanted to use (in /opt/local/include). https://trac.macports.org/ticket/59992 the temporary solution, at least, was to add a module.map for ncurses that was installed in /opt/local/include that would service ncurses. d2c8da9#diff-4f1aa1994e32ae4d841cca3766dec0d31cd5c4cd6aeeb07dd114bc9b1b49a4cb It was obvious that this was going to be the tip of the iceberg for this issue, and ncurses was only going to be the first of many such modules issues. How that was ever going to be coherently sorted out for the general case was unknown. |
eebf550
to
4c6bbab
Compare
@reneeotten hello here! I have two open questions about this PR / port:
|
@pmetzger can I ask your thought about this one? Current version can't be build on both: 10.15 and 11 :) This one fixed it. |
apologies this is taking a bit of time. I presume you already have it locally installed, so you are using it now. So you're all set. This PR is for the general population out there, and thanks for that contribution. There seem to be a few things that will need verifying that the fixes are the ones needed long-term to support general users, and it will take a bit of time for that to happen. Please don't be frustrated while it is looked over. |
It looks like we're now at the CI passing and Jeremy has clearly abdicated management of this port (it might be reasonable to open a "port abandoned" ticket fwiw.) I'd suggest that if no one has anything significant to say that we merge this in the next few days. |
@catap btw, you should probably apply for commit privileges. You're certainly working on MacPorts more than enough for that. |
@pmetzger I've already started the process about take care of this port: https://trac.macports.org/ticket/63495 and regarding commit privileges, I'd like to agree with you. But I plan to do it when #12132 is merged. |
@jeremyhu, as you make clear in https://trac.macports.org/ticket/63495 I've made myself also maintaier of this port. Thus, the new version contains small fixes for clang @jeremyhu let me know if you plan to merge the patch to upstream to make one more bump :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@@ -0,0 +1,44 @@ | |||
commit 55e2b427882624157cbce08a211c5af83043bb2f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you upstream this as well? I didn't see it when quickly looking through the pending pull requests upstream last night (I could have missed it).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeremyhu I'm usually send to upstream all patches that I'm making. For example this one is here: machyve/xhyve#219
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, it is quite new. Because without this patch I can compile it on Big Sur until 11.6.
Thanks, @catap, and do continue to monitor for updates that might do things like incorporating your patches. |
Description
This is moving to a few commits ahead mainly to include machyve/xhyve#200 which introduced support of Big Sur
Type(s)
Tested on
macOS 11.5.1 20G80 x86_64
Xcode 12.5.1 12E507
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?