#70977 closed defect (duplicate)
re2c @3.1: build failure on Sonoma arm64-macos-14.7
Reported by: | easye | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | Cc: | ryandesign@… | |
Port: | re2c |
Description
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> | ^~~~~~~~~~
Attachments (1)
Change History (3)
Changed 7 weeks ago by easye
comment:1 Changed 7 weeks ago by kencu (Ken)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
please do this
https://trac.macports.org/wiki/ProblemHotlist#clts16
then clean and try again.
reopen if that doesn’t work
comment:2 Changed 7 weeks ago by easye
Following the outlined procedure indeed fixes the install.
Thanks!
Note: See
TracTickets for help on using
tickets.
Failed compilation log