[MacPorts] #71577: graphviz, graphviz-devel @12.2.1: error: A compiler with support for C++17 language features is required

MacPorts noreply at macports.org
Thu Dec 19 19:04:02 UTC 2024


#71577: graphviz, graphviz-devel @12.2.1: error: A compiler with support for C++17
language features is required
---------------------------------------+----------------------
  Reporter:  dirkx                     |      Owner:  mascguy
      Type:  defect                    |     Status:  assigned
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.10.5
Resolution:                            |   Keywords:
      Port:  graphviz, graphviz-devel  |
---------------------------------------+----------------------

Comment (by laustbn):

 I'm also seeing this issue. I'm on Xcode 16.1 on Sonoma. Looking at the
 log from configure, I see:

 {{{
 configure:19132: checking whether /usr/bin/clang++ supports C++17 features
 with -std=c++17
 configure:19929: /usr/bin/clang++ -std=c++17 -c -pipe -Os -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
  -arch arm64 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
 conftest.cpp >&5
 conftest.cpp:450:10: fatal error: 'initializer_list' file not found
   450 | #include <initializer_list>
       |          ^~~~~~~~~~~~~~~~~~
 1 error generated.
 configure:19929: $? = 1
 configure: failed program was:
 [long chunk of C++ code omitted]
 configure:19941: result: no
 }}}

 That compiler command doesn't fail if I run it manually (However I used a
 tiny program that just includes initializer_list and defines main as a
 stand in for conftest.cpp).

 I've attached main.log and config.log.

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


More information about the macports-tickets mailing list