[MacPorts] #74078: libheif @1.23.0: error: no member named 'ranges' in namespace 'std'
MacPorts
noreply at macports.org
Thu Jul 16 22:35:39 UTC 2026
#74078: libheif @1.23.0: error: no member named 'ranges' in namespace 'std'
-------------------------+-------------------------------------------------
Reporter: JohnFHall | Owner: MarcusCalhoun-Lopez
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Resolution: fixed | Keywords: lion mountainlion mavericks
Port: libheif | yosemite elcapitan sierra highsierra mojave
-------------------------+-------------------------------------------------
Comment (by Dave-Allured):
Okay, there is the problem. You have an outdated version of the libheif
Portfile, before the fix for "ranges" was added. It looks like your `port
sync` command did not capture the most recent updates, and I can not
explain why. You can see the different Portfile versions in the "history"
view on github:
https://github.com/macports/macports-
ports/blob/master/multimedia/libheif/Portfile
I suggest retry `port sync` or `port selfupdate`. Then look at the
/opt/local/ Portfile that you showed above, to ensure that it was
correctly updated. Then `port upgrade libheif`. There are also manual
methods, if `port sync` does not properly update that Portfile.
Alternatively, you could wait a few days for the new libheif version
1.23.1 that I pushed today:
https://github.com/macports/macports-ports/pull/33586
--
Ticket URL: <https://trac.macports.org/ticket/74078#comment:70>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list