2 | | ➜ sudo port upgrade pcre |
3 | | Password: |
4 | | ---> Fetching archive for pcre |
5 | | ---> Attempting to fetch pcre-8.45_0+universal.darwin_23.arm64-x86_64.tbz2 from https://packages.macports.org/pcre |
6 | | ---> Attempting to fetch pcre-8.45_0+universal.darwin_23.arm64-x86_64.tbz2 from http://mirror.fcix.net/macports/packages/pcre |
7 | | ---> Attempting to fetch pcre-8.45_0+universal.darwin_23.arm64-x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/pcre |
8 | | ---> Computing dependencies for pcre |
9 | | ---> Building pcre |
10 | | Error: Failed to build pcre: command execution failed |
11 | | Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pcre/pcre/main.log for details. |
12 | | Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. |
| 4 | :info:build libtool: link: /usr/bin/clang++ -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk |
| 5 | -arch arm64 -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk |
| 6 | -arch arm64 -arch x86_64 -o .libs/pcre_scanner_unittest pcre_scanner_unittest-pcre_scanner_unittest.o -L/opt/local/lib ./.libs/libpcrecpp.dylib |
| 7 | /opt/local/var/macports/buil/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pcre/pcre/work/pcre-8.45/.libs/libpcre.dylib |
| 8 | |
| 9 | :info:build ld: Undefined symbols: |
| 10 | :info:build pcrecpp::RE::Init(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, pcrecpp::RE_Options const*), referenced from: |
| 11 | :info:build pcrecpp::RE::RE(char const*) in pcre_scanner_unittest-pcre_scanner_unittest.o |
| 12 | :info:build pcrecpp::RE::no_arg, referenced from: |
| 13 | :info:build _main in pcre_scanner_unittest-pcre_scanner_unittest.o |
| 14 | :info:build pcrecpp::RE::~RE(), referenced from: |
| 15 | :info:build _main in pcre_scanner_unittest-pcre_scanner_unittest.o |
| 16 | :info:build pcrecpp::Arg::parse_string(char const*, int, void*), referenced from: |
| 17 | :info:build _main in pcre_scanner_unittest-pcre_scanner_unittest.o |
| 18 | |
| 19 | [...etc...] |
| 20 | |
| 21 | :info:build make[1]: *** [pcre_scanner_unittest] Error 1 |
| 22 | :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) |
| 23 | :info:build make[1]: *** [pcrecpp_unittest] Error 1 |