DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/build --target all --
[1/19] Building CXX object CMakeFiles/libbtop.dir/src/btop_cli.cpp.o
[2/19] Building CXX object CMakeFiles/btop.dir/src/main.cpp.o
[3/19] Building C object src/linux/intel_gpu_top/CMakeFiles/igt.dir/igt_perf.c.o
[4/19] Building C object src/linux/intel_gpu_top/CMakeFiles/igt.dir/intel_device_info.c.o
[5/19] Building C object src/linux/intel_gpu_top/CMakeFiles/igt.dir/intel_gpu_top.c.o
[6/19] Building C object src/linux/intel_gpu_top/CMakeFiles/igt.dir/intel_name_lookup_shim.c.o
[7/19] Building CXX object CMakeFiles/libbtop.dir/src/btop_theme.cpp.o
[8/19] Building CXX object CMakeFiles/libbtop.dir/src/btop_input.cpp.o
[9/19] Building CXX object CMakeFiles/libbtop.dir/src/btop_tools.cpp.o
TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/sources/btop-1.4.6/src/btop_tools.cpp:218:9: warning: 'wstring_convert<std::codecvt_utf8<wchar_t>>' is deprecated [-Wdeprecated-declarations]
218 | std::wstring_convert<std::codecvt_utf8<wchar_t>> conv;
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot/usr/lib/riscv64-yoe-linux/15.2.0/../../../include/c++/15.2.0/bits/locale_conv.h:262:11: note: 'wstring_convert<std::codecvt_utf8<wchar_t>>' has been explicitly marked deprecated here
262 | class _GLIBCXX17_DEPRECATED wstring_convert
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot/usr/lib/riscv64-yoe-linux/15.2.0/../../../include/c++/15.2.0/bits/c++config.h:135:34: note: expanded from macro '_GLIBCXX17_DEPRECATED'
135 | # define _GLIBCXX17_DEPRECATED [[__deprecated__]]
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/sources/btop-1.4.6/src/btop_tools.cpp:248:10: warning: 'wstring_convert<std::codecvt_utf8<wchar_t>>' is deprecated [-Wdeprecated-declarations]
248 | std::wstring_convert<std::codecvt_utf8<wchar_t>> conv;
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot/usr/lib/riscv64-yoe-linux/15.2.0/../../../include/c++/15.2.0/bits/locale_conv.h:262:11: note: 'wstring_convert<std::codecvt_utf8<wchar_t>>' has been explicitly marked deprecated here
262 | class _GLIBCXX17_DEPRECATED wstring_convert
| ^
TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot/usr/lib/riscv64-yoe-linux/15.2.0/../../../include/c++/15.2.0/bits/c++config.h:135:34: note: expanded from macro '_GLIBCXX17_DEPRECATED'
135 | # define _GLIBCXX17_DEPRECATED [[__deprecated__]]
| ^
2 warnings generated.
[10/19] Building CXX object CMakeFiles/libbtop.dir/src/btop_shared.cpp.o
[11/19] Building CXX object CMakeFiles/libbtop.dir/src/btop_config.cpp.o
[12/19] Building CXX object CMakeFiles/libbtop.dir/src/btop.cpp.o
[13/19] Building CXX object tests/CMakeFiles/btop_test.dir/tools.cpp.o
[14/19] Building CXX object CMakeFiles/libbtop.dir/src/btop_menu.cpp.o
[15/19] Building CXX object CMakeFiles/libbtop.dir/src/linux/btop_collect.cpp.o
TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/sources/btop-1.4.6/src/linux/btop_collect.cpp:56:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
56 | #define class class_
| ^
1 warning generated.
[16/19] Building CXX object CMakeFiles/libbtop.dir/src/btop_draw.cpp.o
[17/19] Linking CXX static library tests/liblibbtop_test.a
[18/19] Linking CXX executable btop
[19/19] Linking CXX executable tests/btop_test
FAILED: [code=1] tests/btop_test tests/btop_test[1]_tests.cmake TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/build/tests/btop_test[1]_tests.cmake
: && TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot -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/btop/1.4.6/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/sources/btop-1.4.6=/usr/src/debug/btop/1.4.6 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/build=/usr/src/debug/btop/1.4.6 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -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/btop/1.4.6/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/sources/btop-1.4.6=/usr/src/debug/btop/1.4.6 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/build=/usr/src/debug/btop/1.4.6 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/sources/btop-1.4.6=/usr/src/debug/btop/1.4.6 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/build=/usr/src/debug/btop/1.4.6 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/sources/btop-1.4.6=/usr/src/debug/btop/1.4.6 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/build=/usr/src/debug/btop/1.4.6 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot-native= -Wl,-z,relro,-z,now tests/CMakeFiles/btop_test.dir/tools.cpp.o -o tests/btop_test src/linux/intel_gpu_top/CMakeFiles/igt.dir/./igt_perf.c.o src/linux/intel_gpu_top/CMakeFiles/igt.dir/./intel_device_info.c.o src/linux/intel_gpu_top/CMakeFiles/igt.dir/./intel_gpu_top.c.o src/linux/intel_gpu_top/CMakeFiles/igt.dir/./intel_name_lookup_shim.c.o tests/liblibbtop_test.a -ldl TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot-native/usr/lib/libgtest_main.a TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot-native/usr/lib/libgtest.a && cd TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/build/tests && TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot-native/usr/bin/cmake -D TEST_TARGET=btop_test -D TEST_EXECUTABLE=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/build/tests/btop_test -D TEST_EXECUTOR= -D TEST_WORKING_DIR=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/build/tests -D TEST_EXTRA_ARGS= -D TEST_PROPERTIES= -D TEST_PREFIX= -D TEST_SUFFIX= -D TEST_FILTER= -D NO_PRETTY_TYPES=FALSE -D NO_PRETTY_VALUES=FALSE -D TEST_LIST=btop_test_TESTS -D CTEST_FILE=TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/build/tests/btop_test[1]_tests.cmake -D TEST_DISCOVERY_TIMEOUT=5 -D TEST_DISCOVERY_EXTRA_ARGS= -D TEST_XML_OUTPUT_DIR= -P TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot-native/usr/share/cmake-4.2/Modules/GoogleTestAddTests.cmake
riscv64-yoe-linux-ld.lld: error: TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot-native/usr/lib/libgtest_main.a(gtest_main.cc.o) is incompatible with elf64-littleriscv
riscv64-yoe-linux-ld.lld: error: TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/recipe-sysroot-native/usr/lib/libgtest.a(gtest-all.cc.o) is incompatible with elf64-littleriscv
riscv64-yoe-linux-clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/temp/run.do_compile.3435463:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/temp/run.do_compile.3435463, line 153
#2: cmake_do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/temp/run.do_compile.3435463, line 147
#3: do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/temp/run.do_compile.3435463, line 142
#4: main, TMPDIR/work/riscv64imafdc-yoe-linux/btop/1.4.6/temp/run.do_compile.3435463, line 166