DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/x86_64-linux/re2-native/2024.03.01/build --target all --
[1/24] Building CXX object CMakeFiles/re2.dir/re2/perl_groups.cc.o
[2/24] Building CXX object CMakeFiles/re2.dir/re2/bitmap256.cc.o
[3/24] Building CXX object CMakeFiles/re2.dir/re2/mimics_pcre.cc.o
[4/24] Building CXX object CMakeFiles/re2.dir/re2/bitstate.cc.o
[5/24] Building CXX object CMakeFiles/re2.dir/re2/onepass.cc.o
[6/24] Building CXX object CMakeFiles/re2.dir/re2/nfa.cc.o
[7/24] Building CXX object CMakeFiles/re2.dir/re2/prefilter.cc.o
[8/24] Building CXX object CMakeFiles/re2.dir/re2/prog.cc.o
FAILED: [code=1] CMakeFiles/re2.dir/re2/prog.cc.o
TMPDIR/hosttools/g++ -Dre2_EXPORTS -ITMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01 -isystemTMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include -O2 -pipe -fvisibility-inlines-hidden -fPIC -MD -MT CMakeFiles/re2.dir/re2/prog.cc.o -MF CMakeFiles/re2.dir/re2/prog.cc.o.d -o CMakeFiles/re2.dir/re2/prog.cc.o -c TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/prog.cc
In file included from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/prog.cc:8:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/prog.h: In member function ‘const void* re2::Prog::PrefixAccel(const void*, size_t)’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/prog.h:230:14: error: ‘memchr’ was not declared in this scope
230 | return memchr(data, prefix_front_, size);
| ^~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/prog.h:25:1: note: ‘memchr’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
24 | #include "re2/sparse_set.h"
+++ |+#include <cstring>
25 |
[9/24] Building CXX object CMakeFiles/re2.dir/re2/parse.cc.o
[10/24] Building CXX object CMakeFiles/re2.dir/re2/filtered_re2.cc.o
[11/24] Building CXX object CMakeFiles/re2.dir/re2/set.cc.o
FAILED: [code=1] CMakeFiles/re2.dir/re2/set.cc.o
TMPDIR/hosttools/g++ -Dre2_EXPORTS -ITMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01 -isystemTMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include -O2 -pipe -fvisibility-inlines-hidden -fPIC -MD -MT CMakeFiles/re2.dir/re2/set.cc.o -MF CMakeFiles/re2.dir/re2/set.cc.o.d -o CMakeFiles/re2.dir/re2/set.cc.o -c TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/set.cc
In file included from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/set.cc:14:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/prog.h: In member function ‘const void* re2::Prog::PrefixAccel(const void*, size_t)’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/prog.h:230:14: error: ‘memchr’ was not declared in this scope
230 | return memchr(data, prefix_front_, size);
| ^~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/prog.h:25:1: note: ‘memchr’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
24 | #include "re2/sparse_set.h"
+++ |+#include <cstring>
25 |
[12/24] Building CXX object CMakeFiles/re2.dir/re2/simplify.cc.o
[13/24] Building CXX object CMakeFiles/re2.dir/re2/compile.cc.o
[14/24] Building CXX object CMakeFiles/re2.dir/re2/re2.cc.o
[15/24] Building CXX object CMakeFiles/re2.dir/re2/prefilter_tree.cc.o
[16/24] Building CXX object CMakeFiles/re2.dir/re2/dfa.cc.o
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc: In member function ‘re2::DFA::State* re2::DFA::RunStateOnByteUnlocked(State*, int)’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1015:28: warning: ‘absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)’ is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
1015 | absl::MutexLock l(&mutex_);
| ^
In file included from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/strings/internal/cordz_info.h:31,
from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/strings/cord.h:92,
from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/container/internal/hash_function_defaults.h:59,
from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/container/hash_container_defaults.h:19,
from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/container/flat_hash_map.h:43,
from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:39:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:622:12: note: declared here
622 | explicit MutexLock(Mutex* absl_nonnull mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu)
| ^~~~~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc: In constructor ‘re2::DFA::RWLocker::RWLocker(re2::DFA::CacheMutex*)’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1152:18: warning: ‘void absl::lts_20260107::Mutex::ReaderLock()’ is deprecated [-Wdeprecated-declarations]
1152 | mu_->ReaderLock();
| ~~~~~~~~~~~~~~~^~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:256:8: note: declared here
256 | void ReaderLock() ABSL_SHARED_LOCK_FUNCTION() { lock_shared(); }
| ^~~~~~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc: In member function ‘void re2::DFA::RWLocker::LockForWriting()’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1159:22: warning: ‘void absl::lts_20260107::Mutex::ReaderUnlock()’ is deprecated [-Wdeprecated-declarations]
1159 | mu_->ReaderUnlock();
| ~~~~~~~~~~~~~~~~~^~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:266:8: note: declared here
266 | void ReaderUnlock() ABSL_UNLOCK_FUNCTION() { unlock_shared(); }
| ^~~~~~~~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1160:20: warning: ‘void absl::lts_20260107::Mutex::WriterLock()’ is deprecated [-Wdeprecated-declarations]
1160 | mu_->WriterLock();
| ~~~~~~~~~~~~~~~^~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:301:8: note: declared here
301 | void WriterLock() ABSL_EXCLUSIVE_LOCK_FUNCTION() { lock(); }
| ^~~~~~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc: In destructor ‘re2::DFA::RWLocker::~RWLocker()’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1167:22: warning: ‘void absl::lts_20260107::Mutex::ReaderUnlock()’ is deprecated [-Wdeprecated-declarations]
1167 | mu_->ReaderUnlock();
| ~~~~~~~~~~~~~~~~~^~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:266:8: note: declared here
266 | void ReaderUnlock() ABSL_UNLOCK_FUNCTION() { unlock_shared(); }
| ^~~~~~~~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1169:22: warning: ‘void absl::lts_20260107::Mutex::WriterUnlock()’ is deprecated [-Wdeprecated-declarations]
1169 | mu_->WriterUnlock();
| ~~~~~~~~~~~~~~~~~^~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:304:8: note: declared here
304 | void WriterUnlock() ABSL_UNLOCK_FUNCTION() { unlock(); }
| ^~~~~~~~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc: In member function ‘re2::DFA::State* re2::DFA::StateSaver::Restore()’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1267:34: warning: ‘absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)’ is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
1267 | absl::MutexLock l(&dfa_->mutex_);
| ^
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:622:12: note: declared here
622 | explicit MutexLock(Mutex* absl_nonnull mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu)
| ^~~~~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc: In member function ‘bool re2::DFA::AnalyzeSearchHelper(SearchParams*, StartInfo*, uint32_t)’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1730:28: warning: ‘absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)’ is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
1730 | absl::MutexLock l(&mutex_);
| ^
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:622:12: note: declared here
622 | explicit MutexLock(Mutex* absl_nonnull mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu)
| ^~~~~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc: In member function ‘bool re2::DFA::PossibleMatchRange(std::string*, std::string*, int)’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:2050:31: warning: ‘absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)’ is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
2050 | absl::MutexLock lock(&mutex_);
| ^
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:622:12: note: declared here
622 | explicit MutexLock(Mutex* absl_nonnull mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu)
| ^~~~~~~~~
[17/24] Building CXX object CMakeFiles/re2.dir/re2/regexp.cc.o
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/regexp.cc: In member function ‘int re2::Regexp::Ref()’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/regexp.cc:96:32: warning: ‘absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)’ is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
96 | absl::MutexLock l(ref_mutex());
| ^
In file included from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/strings/internal/cordz_info.h:31,
from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/strings/cord.h:92,
from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/container/internal/hash_function_defaults.h:59,
from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/container/hash_container_defaults.h:19,
from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/container/flat_hash_map.h:43,
from TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/regexp.cc:20:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:622:12: note: declared here
622 | explicit MutexLock(Mutex* absl_nonnull mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu)
| ^~~~~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/regexp.cc: In member function ‘re2::Regexp* re2::Regexp::Incref()’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/regexp.cc:109:34: warning: ‘absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)’ is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
109 | absl::MutexLock l(ref_mutex());
| ^
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:622:12: note: declared here
622 | explicit MutexLock(Mutex* absl_nonnull mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu)
| ^~~~~~~~~
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/regexp.cc: In member function ‘void re2::Regexp::Decref()’:
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/sources/re2-2024.03.01/re2/regexp.cc:129:34: warning: ‘absl::lts_20260107::MutexLock::MutexLock(absl::lts_20260107::Mutex*)’ is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
129 | absl::MutexLock l(ref_mutex());
| ^
TMPDIR/work/x86_64-linux/re2-native/2024.03.01/recipe-sysroot-native/usr/include/absl/synchronization/mutex.h:622:12: note: declared here
622 | explicit MutexLock(Mutex* absl_nonnull mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu)
| ^~~~~~~~~
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/x86_64-linux/re2-native/2024.03.01/temp/run.do_compile.1976522:155 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/x86_64-linux/re2-native/2024.03.01/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TMPDIR/work/x86_64-linux/re2-native/2024.03.01/temp/run.do_compile.1976522, line 155
#2: cmake_do_compile, TMPDIR/work/x86_64-linux/re2-native/2024.03.01/temp/run.do_compile.1976522, line 149
#3: do_compile, TMPDIR/work/x86_64-linux/re2-native/2024.03.01/temp/run.do_compile.1976522, line 144
#4: main, TMPDIR/work/x86_64-linux/re2-native/2024.03.01/temp/run.do_compile.1976522, line 168