[MacPorts] #70749: re2c @3.1: Build error: C++ headers not found

MacPorts noreply at macports.org
Tue Sep 17 02:29:44 UTC 2024


#70749: re2c @3.1: Build error: C++ headers not found
-------------------------+--------------------------
 Reporter:  wwalexander  |      Owner:  ryandesign@…
     Type:  defect       |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.10.1
 Keywords:               |       Port:
-------------------------+--------------------------
 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.

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


More information about the macports-tickets mailing list