Opened 7 weeks ago

Closed 7 weeks ago

Last modified 7 weeks 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 7 weeks ago.
Failed compilation log

Download all attachments as: .zip

Change History (3)

Changed 7 weeks ago by easye

Attachment: main.log added

Failed compilation log

comment:1 Changed 7 weeks ago by kencu (Ken)

Resolution: duplicate
Status: newclosed

please do this

https://trac.macports.org/wiki/ProblemHotlist#clts16

then clean and try again.

reopen if that doesn’t work

#70750

Version 0, edited 7 weeks ago by kencu (Ken) (next)

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.