Opened 6 weeks ago

Closed 6 weeks ago

#70988 closed defect (duplicate)

pcre @8.45: fatal error: 'cassert' file not found

Reported by: FuturePilot (Nick) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sequoia Cc: larryv (Lawrence Velázquez)
Port: pcre

Description

pcre fails to build on macOS 15 with the following error

Failed to build pcre: command execution failed

It looks like it's failing on this step

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pcre/pcre/work/pcre-8.45" && /usr/bin/make -j20 -w all
:info:build Exit code: 2
:error:build Failed to build pcre: command execution failed

I have attached the full log.

Attachments (1)

main.log (272.0 KB) - added by FuturePilot (Nick) 6 weeks ago.

Download all attachments as: .zip

Change History (3)

Changed 6 weeks ago by FuturePilot (Nick)

Attachment: main.log added

comment:1 Changed 6 weeks ago by FuturePilot (Nick)

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'

comment:2 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sequoia added; pcre removed
Port: pcre added; 2.10.1 removed
Resolution: duplicate
Status: newclosed
Summary: pcre @8.45 (devel) failed to build on macOS 15pcre @8.45: fatal error: 'cassert' file not found
Version: 2.10.1

This is #70750. See ProblemHotlist#clts16 for the solution.

Note: See TracTickets for help on using tickets.