[MacPorts] #71396: libheif @1.19.5: error: 'parent_path' is unavailable: introduced in macOS 10.15 (was: libheif fails building with target 10.14)

MacPorts noreply at macports.org
Tue Nov 26 06:28:01 UTC 2024


#71396: libheif @1.19.5: error: 'parent_path' is unavailable: introduced in macOS
10.15
------------------------+---------------------------------
  Reporter:  MStraeten  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.10.5
Resolution:             |   Keywords:  mojave
      Port:  libheif    |
------------------------+---------------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: mascguy (added)
 * owner:  (none) => MarcusCalhoun-Lopez
 * keywords:  10.14 => mojave


Old description:

> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.5/examples/heif_enc.cc:687:29:
> error: 'parent_path' is unavailable: introduced in macOS 10.15
> :info:build     generator.directory = p.parent_path();
> :info:build                             ^
> :info:build
> /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__filesystem/path.h:958:30:
> note: 'parent_path' has been explicitly marked unavailable here
> :info:build   _LIBCPP_HIDE_FROM_ABI path parent_path() const {
> :info:build                              ^
> :info:build fatal error: too many errors emitted, stopping now [-ferror-
> limit=]

New description:

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.5/examples/heif_enc.cc:687:29:
 error: 'parent_path' is unavailable: introduced in macOS 10.15
 :info:build     generator.directory = p.parent_path();
 :info:build                             ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__filesystem/path.h:958:30:
 note: 'parent_path' has been explicitly marked unavailable here
 :info:build   _LIBCPP_HIDE_FROM_ABI path parent_path() const {
 :info:build                              ^
 :info:build fatal error: too many errors emitted, stopping now [-ferror-
 limit=]
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/71396#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list