[MacPorts] #69406: build shared-mime-info for deployment target 10.14 fails on macOS Sonoma
MacPorts
noreply at macports.org
Mon Feb 26 23:34:49 UTC 2024
#69406: build shared-mime-info for deployment target 10.14 fails on macOS Sonoma
-------------------------------+----------------------
Reporter: MStraeten | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords:
Port: shared-mime-info |
-------------------------------+----------------------
Changes (by jmroot):
* status: new => assigned
* owner: (none) => mascguy
Old description:
> % sudo port install shared-mime-info
> ---> Computing dependencies for shared-mime-info
> ---> Fetching distfiles for shared-mime-info
> ---> Verifying checksums for shared-mime-info
> ---> Extracting shared-mime-info
> ---> Applying patches to shared-mime-info
> ---> Configuring shared-mime-info
> ---> Building shared-mime-info
> Error: Failed to build shared-mime-info: command execution failed
>
> :info:build ../shared-mime-info-2.3/src/update-mime-database.cpp:809:29:
> error:
> '~directory_iterator' is unavailable: introduced in macOS 10.15
> :info:build for (auto const& dir_entry :
> std::filesystem::directory_iter
> ator{dir}) {
> :info:build ^
> :info:build
> /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c+
> +/v1/__filesystem/directory_iterator.h:80:25: note: '~directory_iterator'
> has be
> en explicitly marked unavailable here
> :info:build _LIBCPP_HIDE_FROM_ABI ~directory_iterator() = default;
New description:
{{{
% sudo port install shared-mime-info
---> Computing dependencies for shared-mime-info
---> Fetching distfiles for shared-mime-info
---> Verifying checksums for shared-mime-info
---> Extracting shared-mime-info
---> Applying patches to shared-mime-info
---> Configuring shared-mime-info
---> Building shared-mime-info
Error: Failed to build shared-mime-info: command execution failed
}}}
{{{
:info:build ../shared-mime-info-2.3/src/update-mime-database.cpp:809:29:
error: '~directory_iterator' is unavailable: introduced in macOS 10.15
:info:build for (auto const& dir_entry :
std::filesystem::directory_iterator{dir}) {
:info:build ^
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__filesystem/directory_iterator.h:80:25:
note: '~directory_iterator' has been explicitly marked unavailable here
:info:build _LIBCPP_HIDE_FROM_ABI ~directory_iterator() = default;
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/69406#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list