[MacPorts] #70977: re2c @3.1: build failure on Sonoma arm64-macos-14.7

MacPorts noreply at macports.org
Sun Sep 29 08:53:48 UTC 2024


#70977: re2c @3.1: build failure on Sonoma arm64-macos-14.7
--------------------+--------------------
 Reporter:  easye   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.10.1
 Keywords:          |       Port:  re2c
--------------------+--------------------
 Build fails on {{{#include <iostream>}}} directive, so something in the
 {{{configure}}} phase is failing to include the right C++ headers:

 {{{
 […]
         /usr/bin/clang++ -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -std=c++11
 -W  -Wall  -Wextra  -Weffc++  -pedantic  -Wformat=2  -Wredundant-decls
 -Wsuggest-attribute=format  -Wconversion  -Wsign-conversion  -Wold-style-
 cast  -Werror=return-type  -O2  -Weverything -Wno-unknown-warning-option
 -Wno-reserved-id-macro     -Wno-padded -Wno-nested-anon-types -Wno-
 reserved-identifier     -Wno-shadow-field-in-constructor     -Wno-
 undefined-func-template     -Wno-c++98-compat     -Wno-c++98-compat-
 pedantic -DRE2C_STDLIB_DIR='"/opt/local/share/re2c/stdlib/"'  -pipe -Os
 -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64
 -MT src/options/opt.o -MD -MP -MF $depbase.Tpo -c -o src/options/opt.o
 src/options/opt.cc &&\
         mv -f $depbase.Tpo $depbase.Po
 src/codegen/helpers.cc:1:10: fatal error: 'iostream' file not found
     1 | #include <iostream>
       |          ^~~~~~~~~~
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70977>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list