Opened 5 months ago

Closed 5 months ago

#70094 closed defect (duplicate)

re2 @2024-04-01: fatal error: 'filesystem' file not found

Reported by: manbaum (Hsi Fun) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: highsierra Cc:
Port: re2

Description

Here is the screen log.

$ sudo port -v upgrade outdated
--->  Computing dependencies for re2.
--->  Fetching archive for re2
--->  re2-2024-04-01_2.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
--->  Attempting to fetch re2-2024-04-01_2.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/re2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch re2-2024-04-01_2.darwin_17.x86_64.tbz2 from http://mse.uk.packages.macports.org/re2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch re2-2024-04-01_2.darwin_17.x86_64.tbz2 from http://fco.it.packages.macports.org/re2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
--->  Fetching distfiles for re2
--->  Verifying checksums for re2
--->  Checksumming re2-2024-04-01.tar.gz
--->  Extracting re2
--->  Extracting re2-2024-04-01.tar.gz
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/re2/re2-2024-04-01.tar.gz' | /usr/bin/tar -xf -
--->  Applying patches to re2
--->  Applying patch-re2pc-avoid-overlinking.diff
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/mirrors.tuna.tsinghua.edu.cn/macports/release/tarballs/ports/devel/re2/files/patch-re2pc-avoid-overlinking.diff'
patching file ./re2.pc.in
--->  Configuring re2
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01
-- The CXX compiler identification is AppleClang 10.0.0.10001044
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done (1.7s)
-- Generating done (0.9s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_C_COMPILER
    CMAKE_OBJCXX_COMPILER
    CMAKE_OBJC_COMPILER
    CMAKE_POLICY_DEFAULT_CMP0025
    CMAKE_POLICY_DEFAULT_CMP0060


-- Build files have been written to: /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build
--->  Building re2
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build'
/opt/local/bin/cmake -S/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build/CMakeFiles /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build//CMakeFiles/progress.marks
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build'
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/re2.dir/build.make CMakeFiles/re2.dir/depend
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01 /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01 /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build/CMakeFiles/re2.dir/DependInfo.cmake "--color="
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build'
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/re2.dir/build.make CMakeFiles/re2.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build'
[  4%] Building CXX object CMakeFiles/re2.dir/re2/bitmap256.cc.o
/usr/bin/clang++ -Dre2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01 -isystem /opt/local/include -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -std=gnu++17 -arch x86_64 -mmacosx-version-min=10.13 -fPIC -MD -MT CMakeFiles/re2.dir/re2/bitmap256.cc.o -MF CMakeFiles/re2.dir/re2/bitmap256.cc.o.d -o CMakeFiles/re2.dir/re2/bitmap256.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01/re2/bitmap256.cc
[ 13%] Building CXX object CMakeFiles/re2.dir/re2/dfa.cc.o
[ 17%] Building CXX object CMakeFiles/re2.dir/re2/bitstate.cc.o
/usr/bin/clang++ -Dre2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01 -isystem /opt/local/include -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -std=gnu++17 -arch x86_64 -mmacosx-version-min=10.13 -fPIC -MD -MT CMakeFiles/re2.dir/re2/dfa.cc.o -MF CMakeFiles/re2.dir/re2/dfa.cc.o.d -o CMakeFiles/re2.dir/re2/dfa.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01/re2/dfa.cc
/usr/bin/clang++ -Dre2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01 -isystem /opt/local/include -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -std=gnu++17 -arch x86_64 -mmacosx-version-min=10.13 -fPIC -MD -MT CMakeFiles/re2.dir/re2/bitstate.cc.o -MF CMakeFiles/re2.dir/re2/bitstate.cc.o.d -o CMakeFiles/re2.dir/re2/bitstate.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01/re2/bitstate.cc
[ 17%] Building CXX object CMakeFiles/re2.dir/re2/compile.cc.o
/usr/bin/clang++ -Dre2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01 -isystem /opt/local/include -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -std=gnu++17 -arch x86_64 -mmacosx-version-min=10.13 -fPIC -MD -MT CMakeFiles/re2.dir/re2/compile.cc.o -MF CMakeFiles/re2.dir/re2/compile.cc.o.d -o CMakeFiles/re2.dir/re2/compile.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01/re2/compile.cc
[ 21%] Building CXX object CMakeFiles/re2.dir/re2/filtered_re2.cc.o
/usr/bin/clang++ -Dre2_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01 -isystem /opt/local/include -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -std=gnu++17 -arch x86_64 -mmacosx-version-min=10.13 -fPIC -MD -MT CMakeFiles/re2.dir/re2/filtered_re2.cc.o -MF CMakeFiles/re2.dir/re2/filtered_re2.cc.o.d -o CMakeFiles/re2.dir/re2/filtered_re2.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01/re2/filtered_re2.cc
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01/re2/compile.cc:16:
In file included from /opt/local/include/absl/container/flat_hash_map.h:41:
In file included from /opt/local/include/absl/container/internal/hash_function_defaults.h:55:
In file included from /opt/local/include/absl/hash/hash.h:85:
/opt/local/include/absl/hash/internal/hash.h:66:10: fatal error: 'filesystem' file not found
#include <filesystem>  // NOLINT
         ^~~~~~~~~~~~
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01/re2/dfa.cc:39:
In file included from /opt/local/include/absl/container/flat_hash_map.h:41:
In file included from /opt/local/include/absl/container/internal/hash_function_defaults.h:55:
In file included from /opt/local/include/absl/hash/hash.h:85:
/opt/local/include/absl/hash/internal/hash.h:66:10: fatal error: 'filesystem' file not found
#include <filesystem>  // NOLINT
         ^~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/re2.dir/re2/compile.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
make[2]: *** [CMakeFiles/re2.dir/re2/dfa.cc.o] Error 1
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01/re2/filtered_re2.cc:13:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/re2-2024-04-01/re2/prefilter_tree.h:22:
In file included from /opt/local/include/absl/container/flat_hash_set.h:38:
In file included from /opt/local/include/absl/container/internal/hash_function_defaults.h:55:
In file included from /opt/local/include/absl/hash/hash.h:85:
/opt/local/include/absl/hash/internal/hash.h:66:10: fatal error: 'filesystem' file not found
#include <filesystem>  // NOLINT
         ^~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/re2.dir/re2/filtered_re2.cc.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build'
make[1]: *** [CMakeFiles/re2.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON
Exit code: 2
Error: Failed to build re2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Attachments (1)

main.log (23.5 KB) - added by manbaum (Hsi Fun) 5 months ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/main.log

Download all attachments as: .zip

Change History (2)

Changed 5 months ago by manbaum (Hsi Fun)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_mirrors.tuna.tsinghua.edu.cn_macports_release_tarballs_ports_devel_re2/re2/main.log

comment:1 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: highsierra added
Resolution: duplicate
Status: newclosed
Summary: re2 Version: 2024-04-01 can't build on macOS High Sierra (10.13.6)re2 @2024-04-01: fatal error: 'filesystem' file not found

Duplicate of #70047.

Note: See TracTickets for help on using tickets.