DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/build --target all --
[1/75] Building CXX object CMakeFiles/re2.dir/re2/perl_groups.cc.o
[2/75] Building CXX object CMakeFiles/re2.dir/re2/bitmap256.cc.o
[3/75] Building CXX object CMakeFiles/re2.dir/re2/mimics_pcre.cc.o
[4/75] Building CXX object CMakeFiles/re2.dir/re2/bitstate.cc.o
[5/75] Building CXX object CMakeFiles/re2.dir/re2/onepass.cc.o
[6/75] Building CXX object CMakeFiles/re2.dir/re2/nfa.cc.o
[7/75] Building CXX object CMakeFiles/re2.dir/re2/prefilter.cc.o
[8/75] Building CXX object CMakeFiles/re2.dir/re2/parse.cc.o
[9/75] Building CXX object CMakeFiles/re2.dir/re2/prog.cc.o
FAILED: [code=1] CMakeFiles/re2.dir/re2/prog.cc.o
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot -Dre2_EXPORTS -ITMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01 -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01=/usr/src/debug/re2/2024.03.01 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/build=/usr/src/debug/re2/2024.03.01 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot-native= -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/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/prog.cc
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/prog.cc:8:
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/prog.h:230:14: error: use of undeclared identifier 'memchr'; did you mean 'wmemchr'?
230 | return memchr(data, prefix_front_, size);
| ^~~~~~
| wmemchr
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/wchar.h:278:17: note: 'wmemchr' declared here
278 | extern wchar_t *wmemchr (const wchar_t *__s, wchar_t __c, size_t __n)
| ^
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/prog.cc:8:
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/prog.h:230:21: error: cannot initialize a parameter of type 'const wchar_t *' with an lvalue of type 'const void *'
230 | return memchr(data, prefix_front_, size);
| ^~~~
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/wchar.h:278:41: note: passing argument to parameter '__s' here
278 | extern wchar_t *wmemchr (const wchar_t *__s, wchar_t __c, size_t __n)
| ^
2 errors generated.
[10/75] Building CXX object CMakeFiles/re2.dir/re2/filtered_re2.cc.o
[11/75] Building CXX object CMakeFiles/re2.dir/re2/set.cc.o
FAILED: [code=1] CMakeFiles/re2.dir/re2/set.cc.o
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot -Dre2_EXPORTS -ITMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01 -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01=/usr/src/debug/re2/2024.03.01 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/build=/usr/src/debug/re2/2024.03.01 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot-native= -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/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/set.cc
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/set.cc:14:
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/prog.h:230:14: error: use of undeclared identifier 'memchr'; did you mean 'wmemchr'?
230 | return memchr(data, prefix_front_, size);
| ^~~~~~
| wmemchr
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/wchar.h:278:17: note: 'wmemchr' declared here
278 | extern wchar_t *wmemchr (const wchar_t *__s, wchar_t __c, size_t __n)
| ^
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/set.cc:14:
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/prog.h:230:21: error: cannot initialize a parameter of type 'const wchar_t *' with an lvalue of type 'const void *'
230 | return memchr(data, prefix_front_, size);
| ^~~~
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/wchar.h:278:41: note: passing argument to parameter '__s' here
278 | extern wchar_t *wmemchr (const wchar_t *__s, wchar_t __c, size_t __n)
| ^
2 errors generated.
[12/75] Building CXX object CMakeFiles/re2.dir/re2/compile.cc.o
[13/75] Building CXX object CMakeFiles/re2.dir/re2/simplify.cc.o
[14/75] Building CXX object CMakeFiles/re2.dir/re2/re2.cc.o
[15/75] Building CXX object CMakeFiles/re2.dir/re2/tostring.cc.o
[16/75] Building CXX object CMakeFiles/re2.dir/re2/prefilter_tree.cc.o
[17/75] Building CXX object CMakeFiles/re2.dir/re2/dfa.cc.o
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1015:19: warning: 'MutexLock' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
1015 | absl::MutexLock l(&mutex_);
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:620:5: note: 'MutexLock' has been explicitly marked deprecated here
620 | [[deprecated("Use the constructor that takes a reference instead")]]
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1152:8: warning: 'ReaderLock' is deprecated [-Wdeprecated-declarations]
1152 | mu_->ReaderLock();
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:255:3: note: 'ReaderLock' has been explicitly marked deprecated here
255 | ABSL_DEPRECATE_AND_INLINE()
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/base/macros.h:229:39: note: expanded from macro 'ABSL_DEPRECATE_AND_INLINE'
229 | #define ABSL_DEPRECATE_AND_INLINE() [[deprecated]] ABSL_REFACTOR_INLINE
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1159:10: warning: 'ReaderUnlock' is deprecated [-Wdeprecated-declarations]
1159 | mu_->ReaderUnlock();
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:265:3: note: 'ReaderUnlock' has been explicitly marked deprecated here
265 | ABSL_DEPRECATE_AND_INLINE()
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/base/macros.h:229:39: note: expanded from macro 'ABSL_DEPRECATE_AND_INLINE'
229 | #define ABSL_DEPRECATE_AND_INLINE() [[deprecated]] ABSL_REFACTOR_INLINE
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1160:10: warning: 'WriterLock' is deprecated [-Wdeprecated-declarations]
1160 | mu_->WriterLock();
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:300:3: note: 'WriterLock' has been explicitly marked deprecated here
300 | ABSL_DEPRECATE_AND_INLINE()
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/base/macros.h:229:39: note: expanded from macro 'ABSL_DEPRECATE_AND_INLINE'
229 | #define ABSL_DEPRECATE_AND_INLINE() [[deprecated]] ABSL_REFACTOR_INLINE
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1167:10: warning: 'ReaderUnlock' is deprecated [-Wdeprecated-declarations]
1167 | mu_->ReaderUnlock();
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:265:3: note: 'ReaderUnlock' has been explicitly marked deprecated here
265 | ABSL_DEPRECATE_AND_INLINE()
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/base/macros.h:229:39: note: expanded from macro 'ABSL_DEPRECATE_AND_INLINE'
229 | #define ABSL_DEPRECATE_AND_INLINE() [[deprecated]] ABSL_REFACTOR_INLINE
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1169:10: warning: 'WriterUnlock' is deprecated [-Wdeprecated-declarations]
1169 | mu_->WriterUnlock();
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:303:3: note: 'WriterUnlock' has been explicitly marked deprecated here
303 | ABSL_DEPRECATE_AND_INLINE()
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/base/macros.h:229:39: note: expanded from macro 'ABSL_DEPRECATE_AND_INLINE'
229 | #define ABSL_DEPRECATE_AND_INLINE() [[deprecated]] ABSL_REFACTOR_INLINE
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1267:19: warning: 'MutexLock' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
1267 | absl::MutexLock l(&dfa_->mutex_);
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:620:5: note: 'MutexLock' has been explicitly marked deprecated here
620 | [[deprecated("Use the constructor that takes a reference instead")]]
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:1730:19: warning: 'MutexLock' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
1730 | absl::MutexLock l(&mutex_);
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:620:5: note: 'MutexLock' has been explicitly marked deprecated here
620 | [[deprecated("Use the constructor that takes a reference instead")]]
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/dfa.cc:2050:19: warning: 'MutexLock' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
2050 | absl::MutexLock lock(&mutex_);
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:620:5: note: 'MutexLock' has been explicitly marked deprecated here
620 | [[deprecated("Use the constructor that takes a reference instead")]]
| ^
9 warnings generated.
[18/75] Building CXX object CMakeFiles/re2.dir/re2/regexp.cc.o
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/regexp.cc:96:19: warning: 'MutexLock' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
96 | absl::MutexLock l(ref_mutex());
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:620:5: note: 'MutexLock' has been explicitly marked deprecated here
620 | [[deprecated("Use the constructor that takes a reference instead")]]
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/regexp.cc:109:21: warning: 'MutexLock' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
109 | absl::MutexLock l(ref_mutex());
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:620:5: note: 'MutexLock' has been explicitly marked deprecated here
620 | [[deprecated("Use the constructor that takes a reference instead")]]
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/sources/re2-2024.03.01/re2/regexp.cc:129:21: warning: 'MutexLock' is deprecated: Use the constructor that takes a reference instead [-Wdeprecated-declarations]
129 | absl::MutexLock l(ref_mutex());
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/recipe-sysroot/usr/include/absl/synchronization/mutex.h:620:5: note: 'MutexLock' has been explicitly marked deprecated here
620 | [[deprecated("Use the constructor that takes a reference instead")]]
| ^
3 warnings generated.
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/temp/run.do_compile.1911470:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/temp/run.do_compile.1911470, line 153
#2: cmake_do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/temp/run.do_compile.1911470, line 147
#3: do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/temp/run.do_compile.1911470, line 142
#4: main, TMPDIR/work/riscv64imafdc-yoe-linux/re2/2024.03.01/temp/run.do_compile.1911470, line 166