Opened 11 days ago

Closed 11 days ago

Last modified 10 days ago

#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)

main.log (100.1 KB) - added by easye 11 days ago.
Failed compilation log

Download all attachments as: .zip

Change History (3)

Changed 11 days ago by easye

Attachment: main.log added

Failed compilation log

comment:1 Changed 11 days ago by kencu (Ken)

Resolution: duplicate
Status: newclosed

please do this

ProblemHotlist#clts16

then clean and try again.

reopen if that doesn’t work

#70750

Last edited 10 days ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 11 days ago by easye

Following the outlined procedure indeed fixes the install.

Thanks!

Note: See TracTickets for help on using tickets.