Skip to content

cdo: Another legacy build fix#32476

Merged
reneeotten merged 1 commit intomacports:masterfrom
Dave-Allured:cdo.260.legacy.2
Apr 29, 2026
Merged

cdo: Another legacy build fix#32476
reneeotten merged 1 commit intomacports:masterfrom
Dave-Allured:cdo.260.legacy.2

Conversation

@Dave-Allured
Copy link
Copy Markdown
Contributor

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)
  • bugfix
Tested on

CI only.
Waiting for merge to test on builders <= 10.14.

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • checked your Portfile with port lint?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

@macportsbot
Copy link
Copy Markdown

Notifying maintainers:
@remkos for port cdo.
@tenomoto for port cdo.

@macportsbot macportsbot added type: bugfix maintainer: open Affects an openmaintainer port labels Apr 28, 2026
@remkos
Copy link
Copy Markdown
Contributor

remkos commented Apr 29, 2026

Yes, we keep on tweeking the use or exclusion of clang. Let's hope this holds for a while.

@reneeotten reneeotten merged commit 3c25d10 into macports:master Apr 29, 2026
3 checks passed
@Dave-Allured
Copy link
Copy Markdown
Contributor Author

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?

@remkos
Copy link
Copy Markdown
Contributor

remkos commented Apr 29, 2026

We had issues compiling cdo many times. Here is a bit of history.

From this, I would suggest to either reintroduce compiler.blacklist-append clang or try the more lenient compiler.blacklist-append { clang < 1500 } mentioned in PR #24069.

@Dave-Allured
Copy link
Copy Markdown
Contributor Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer: open Affects an openmaintainer port type: bugfix

Development

Successfully merging this pull request may close these issues.

5 participants