[MacPorts] #70988: pcre @8.45 (devel) failed to build on macOS 15

MacPorts noreply at macports.org
Sun Sep 29 23:53:34 UTC 2024


#70988: pcre @8.45 (devel) failed to build on macOS 15
--------------------------+--------------------
  Reporter:  FuturePilot  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  pcre
      Port:  2.10.1       |
--------------------------+--------------------

Comment (by FuturePilot):

 Trying to manually run the make command above fails here


 {{{
 pcre_stringpiece_unittest.cc:9:10: fatal error: 'map' file not found
     9 | #include <map>
       |          ^~~~~
 pcrecpp_unittest.cc:42:10: fatal error: 'cassert' file not found
    42 | #include <cassert>
       |          ^~~~~~~~~
 pcre_scanner_unittest.cc:41:10: fatal error: 'string' file not found
    41 | #include <string>
       |          ^~~~~~~~
 1 error generated.
 1 error generated.
 make[1]: *** [pcre_scanner_unittest-pcre_scanner_unittest.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make[1]: *** [pcre_stringpiece_unittest-pcre_stringpiece_unittest.o] Error
 1
 1 error generated.
 make[1]: *** [pcrecpp_unittest-pcrecpp_unittest.o] Error 1
 libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -fvisibility=hidden -fvisibility-inlines-hidden -pipe -Os -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -MT libpcrecpp_la-pcrecpp.lo -MD -MP -MF .deps/libpcrecpp_la-pcrecpp.Tpo
 -c pcrecpp.cc  -fno-common -DPIC -o .libs/libpcrecpp_la-pcrecpp.o
 libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -fvisibility=hidden -fvisibility-inlines-hidden -pipe -Os -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -MT libpcrecpp_la-pcre_stringpiece.lo -MD -MP -MF .deps/libpcrecpp_la-
 pcre_stringpiece.Tpo -c pcre_stringpiece.cc  -fno-common -DPIC -o .libs
 /libpcrecpp_la-pcre_stringpiece.o
 libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -fvisibility=hidden -fvisibility-inlines-hidden -pipe -Os -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -MT libpcrecpp_la-pcre_scanner.lo -MD -MP -MF .deps/libpcrecpp_la-
 pcre_scanner.Tpo -c pcre_scanner.cc  -fno-common -DPIC -o .libs
 /libpcrecpp_la-pcre_scanner.o
 pcre_stringpiece.cc:37:10: fatal error: 'iostream' file not found
    37 | #include <iostream>
       |          ^~~~~~~~~~
 pcre_scanner.cc:36:10: fatal error: 'vector' file not found
    36 | #include <vector>
       |          ^~~~~~~~
 1 error generated.
 pcrecpp.cc:43:10: fatal error: 'string' file not found
    43 | #include <string>
       |          ^~~~~~~~
 make[1]: *** [libpcrecpp_la-pcre_stringpiece.lo] Error 1
 1 error generated.
 make[1]: *** [libpcrecpp_la-pcre_scanner.lo] Error 1
 1 error generated.
 make[1]: *** [libpcrecpp_la-pcrecpp.lo] Error 1
 libtool: link: /usr/bin/clang -D_THREAD_SAFE -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -Wl,-headerpad_max_install_names -Wl,-syslibroot
 -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64 -o
 .libs/pcregrep pcregrep-pcregrep.o  -L/opt/local/lib -lz -lbz2
 ./.libs/libpcre.dylib ./.libs/libpcreposix.dylib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pcre/pcre/work/pcre-8.45/.libs/libpcre.dylib
 libtool: link: /usr/bin/clang -D_THREAD_SAFE -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -Wl,-headerpad_max_install_names -Wl,-syslibroot
 -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64 -o
 .libs/pcretest pcretest-pcretest.o pcretest-pcre_printint.o pcretest-
 pcre16_printint.o pcretest-pcre32_printint.o  -L/opt/local/lib -ledit
 ./.libs/libpcre.dylib ./.libs/libpcreposix.dylib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pcre/pcre/work/pcre-8.45/.libs/libpcre.dylib
 ./.libs/libpcre16.dylib ./.libs/libpcre32.dylib
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pcre/pcre/work/pcre-8.45'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pcre/pcre/work/pcre-8.45'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70988#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list