DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/cortexa57-yoe-linux-musl/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/cortexa57-yoe-linux-musl/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/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot/usr/lib/aarch64-yoe-linux-musl/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/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot/usr/lib/aarch64-yoe-linux-musl/15.2.0/../../../include/c++/15.2.0/aarch64-yoe-linux-musl/bits/c++config.h:135:34: note: expanded from macro '_GLIBCXX17_DEPRECATED'
  135 | # define _GLIBCXX17_DEPRECATED [[__deprecated__]]
      |                                  ^
TMPDIR/work/cortexa57-yoe-linux-musl/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/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot/usr/lib/aarch64-yoe-linux-musl/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/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot/usr/lib/aarch64-yoe-linux-musl/15.2.0/../../../include/c++/15.2.0/aarch64-yoe-linux-musl/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/cortexa57-yoe-linux-musl/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/cortexa57-yoe-linux-musl/btop/1.4.6/build/tests/btop_test[1]_tests.cmake 
: && TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-clang++ --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot  -O2 -g   -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/sources/btop-1.4.6=/usr/src/debug/btop/1.4.6  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/build=/usr/src/debug/btop/1.4.6  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot  -O2 -g   -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/sources/btop-1.4.6=/usr/src/debug/btop/1.4.6  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/build=/usr/src/debug/btop/1.4.6  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/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/cortexa57-yoe-linux-musl/btop/1.4.6/sources/btop-1.4.6=/usr/src/debug/btop/1.4.6  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/build=/usr/src/debug/btop/1.4.6  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/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/cortexa57-yoe-linux-musl/btop/1.4.6/sources/btop-1.4.6=/usr/src/debug/btop/1.4.6  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/build=/usr/src/debug/btop/1.4.6  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/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/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot-native/usr/lib/libgtest_main.a  TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot-native/usr/lib/libgtest.a && cd TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/build/tests && TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot-native/usr/bin/cmake -D TEST_TARGET=btop_test -D TEST_EXECUTABLE=TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/build/tests/btop_test -D TEST_EXECUTOR= -D TEST_WORKING_DIR=TMPDIR/work/cortexa57-yoe-linux-musl/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/cortexa57-yoe-linux-musl/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/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot-native/usr/share/cmake-4.2/Modules/GoogleTestAddTests.cmake
aarch64-yoe-linux-musl-ld.lld: error: TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot-native/usr/lib/libgtest_main.a(gtest_main.cc.o) is incompatible with aarch64linux
aarch64-yoe-linux-musl-ld.lld: error: TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/recipe-sysroot-native/usr/lib/libgtest.a(gtest-all.cc.o) is incompatible with aarch64linux
aarch64-yoe-linux-musl-clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/temp/run.do_compile.1037737:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script): 
	#1: cmake_runcmake_build, TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/temp/run.do_compile.1037737, line 153
	#2: cmake_do_compile, TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/temp/run.do_compile.1037737, line 147
	#3: do_compile, TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/temp/run.do_compile.1037737, line 142
	#4: main, TMPDIR/work/cortexa57-yoe-linux-musl/btop/1.4.6/temp/run.do_compile.1037737, line 166

Error details

Submitted on:
11/01/26 00:30
Error type:
Recipe
Task:
do_compile
Recipe:
btop
Recipe version:
1.4.6-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
x86_64-linux
Target system:
aarch64-yoe-linux-musl
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
2b044fcf3d95b208d191618d630d0bbd10014e3e
Build:
#224286
Submitter:
ab@rdk
Similar errors:
2
Open a bug