[MacPorts] #71396: libheif fails building with target 10.14 (was: libheif @1.19.5: error: 'parent_path' is unavailable: introduced in macOS 10.15)
MacPorts
noreply at macports.org
Tue Nov 26 21:20:26 UTC 2024
#71396: libheif fails building with target 10.14
------------------------+---------------------------------
Reporter: MStraeten | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords: 10.14
Port: libheif |
------------------------+---------------------------------
Changes (by MStraeten):
* keywords: mojave => 10.14
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=]
--
Comment:
thanks for the hint:
adding
{{{
-DWITH_EXAMPLES:BOOL=OFF
}}}
to the configure.args-append section results in a successful build.
--
Ticket URL: <https://trac.macports.org/ticket/71396#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list