Discussion:
[MacPorts] #57684: psi @1.4: fatal error: 'initializer_list' file not found
MacPorts
2018-11-26 22:52:43 UTC
Permalink
#57684: psi @1.4: fatal error: 'initializer_list' file not found
-------------------------------------------+----------------------
Reporter: ryandesign | Owner: rowue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: snowleopard lion mountainlion | Port: psi
-------------------------------------------+----------------------
[https://build.macports.org/builders/ports-10.8_x86_64_legacy-
builder/builds/79930/steps/install-port/logs/stdio psi fails on 10.8]:

{{{
/opt/local/libexec/qt4/include/QtCore/qlist.h:55:10: fatal error:
'initializer_list' file not found
#include <initializer_list>
^~~~~~~~~~~~~~~~~~
}}}

Looks like this is because it uses C++11. The port already includes the
cxx11 1.1 portgroup, but the build system is not making use of the
CXXFLAGS MacPorts sets, so the necessary `-stdlib` flag is not being used.
--
Ticket URL: <https://trac.macports.org/ticket/57684>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-28 02:15:02 UTC
Permalink
#57684: psi @1.4: fatal error: 'initializer_list' file not found
-------------------------+-------------------------------------------
Reporter: ryandesign | Owner: rowue
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords: snowleopard lion mountainlion
Port: psi |
-------------------------+-------------------------------------------
Changes (by MarcusCalhoun-Lopez):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"d75e07c5d03136cc940e0f7fda45b7613be38c80/macports-ports"
d75e07c5d03136cc940e0f7fda45b7613be38c80/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="d75e07c5d03136cc940e0f7fda45b7613be38c80"
psi: respect more MacPorts compiler flags

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