Opened 3 days ago

Closed 2 days ago

#70749 closed defect (duplicate)

re2c @3.1: Build error: headers not found on macOS Sequoia

Reported by: wwalexander (William Alexander) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sequoia Cc:
Port:

Description

Attempting to install re2c on macOS 16.0, Xcode 16.0 with build version 16A242d on arm64 fails to build with the following errors.

:info:build src/codegen/helpers.cc:1:10: fatal error: 'iostream' file not found
:info:build     1 | #include <iostream>
:info:build       |          ^~~~~~~~~~
:info:build ../src/options/parse_opts.re:2:10: fatal error: 'algorithm' file not found
:info:build     2 | #include <algorithm>
:info:build       |          ^~~~~~~~~~~
:info:build In file included from src/codegen/pass1_analyze.cc:4:
:info:build ./src/adfa/adfa.h:6:10: fatal error: 'limits' file not found
:info:build     6 | #include <limits>
:info:build       |          ^~~~~~~~
:info:build src/codegen/pass2_generate.cc:3:10: fatal error: 'algorithm' file not found
:info:build     3 | #include <algorithm>
:info:build       |          ^~~~~~~~~~~
:info:build src/main.cc:4:10: fatal error: 'algorithm' file not found
:info:build     4 | #include <algorithm>
:info:build       |          ^~~~~~~~~~~
:info:build src/codegen/output.cc:4:10: fatal error: 'iomanip' file not found
:info:build     4 | #include <iomanip>
:info:build       |          ^~~~~~~~~
:info:build 1 error generated.
:info:build make[2]: *** [src/codegen/re2go-helpers.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build In file included from src/codegen/pass4_render.cc:2:
:info:build ./src/codegen/output.h:5:10: fatal error: 'set' file not found
:info:build     5 | #include <set>
:info:build       |          ^~~~~
:info:build In file included from src/codegen/pass3_fixup.cc:2:
:info:build ./src/codegen/output.h:5:10: fatal error: 'set' file not found
:info:build     5 | #include <set>
:info:build       |          ^~~~~

This is a fresh install of MacPorts following installing macOS Sequoia 16.0. The Command Line Tools path is set correctly and the license has been agreed to.

Attachments (1)

main.log (50.6 KB) - added by wwalexander (William Alexander) 3 days ago.
${prefix}/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_re2c/re2c/main.log

Download all attachments as: .zip

Change History (5)

Changed 3 days ago by wwalexander (William Alexander)

Attachment: main.log added

${prefix}/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_re2c/re2c/main.log

comment:1 Changed 3 days ago by wwalexander (William Alexander)

Summary: re2c @3.1: Build error: C++ headers not foundre2c @3.1: Build error: headers not found on macOS Sequoia

comment:2 Changed 3 days ago by reneeotten (Renee Otten)

Keywords: sequoia added
Owner: changed from ryandesign@… to ryandesign

comment:3 Changed 3 days ago by ryandesign (Ryan Carsten Schmidt)

An inability to find system headers seems to be a problem affecting many ports on macOS 15 and/or Xcode 16; see #70750.

comment:4 Changed 2 days ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.