cdo: Another legacy build fix#32476
Conversation
|
Yes, we keep on tweeking the use or exclusion of clang. Let's hope this holds for a while. |
|
Follow up for CDO. This PR DID NOT FIX BUILD FOR MACOS 10.14. Blacklist clang < 900 was not the right solution for "fatal error: 'ranges' file not found". Maybe try blacklisting higher clang version number, or some other compiler constraint. I believe this is a known problem, a relatively simple problem of compiler selection and legacy support. Need to follow up, maybe research this better for next attempt. No time right now. Anyone else? |
|
We had issues compiling
From this, I would suggest to either reintroduce |
|
@remkos Thank you for the excellent recap. My blacklist attempt in this PR was rather naive on my part. I simply located a "ranges" fix in an unrelated Portfile, and copied it here. I am not surprised that it did not work. It looks like you have a much better perspective on this port. Please feel free to run another PR if you think you have something good to try. Otherwise I will do a bit more research on the general "ranges" issue, and get back to this later. I am kinda busy for the next couple weeks. CDO is in active and motivated maintenance under a stable institution. I have a lot of respect for this package. I do not think they would deliberately insert anything awkward into this code. However, it is likely that they have upgraded to advanced compiler requirements on general principles. |
Description
Tentative fix for 10.14 builds, maybe others.
"fatal error: 'ranges' file not found"
Blacklist clang < 900.
Build fix only. No rev bump.
Type(s)
Tested on
CI only.
Waiting for merge to test on builders <= 10.14.
Verification
Have you
port lint?sudo port test?sudo port -vst install?