>>> btop: Building community/btop 1.4.0-r0 (using abuild 3.14.1-r0) started Wed, 23 Oct 2024 12:08:39 +0000 >>> btop: Validating /home/buildozer/aports/community/btop/APKBUILD... >>> btop: Analyzing dependencies... >>> btop: Installing for build: build-base coreutils-fmt lowdown linux-headers (1/4) Installing coreutils-fmt (9.5-r1) (2/4) Installing lowdown (1.1.2-r0) (3/4) Installing linux-headers (6.6-r1) (4/4) Installing .makedepends-btop (20241023.120841) Executing busybox-1.37.0-r3.trigger OK: 249 MiB in 103 packages >>> btop: Cleaning up srcdir >>> btop: Cleaning up pkgdir >>> btop: Cleaning up tmpdir >>> btop: Fetching https://distfiles.alpinelinux.org/distfiles/edge/btop-1.4.0.tar.gz >>> btop: Fetching https://distfiles.alpinelinux.org/distfiles/edge/btop-1.4.0.tar.gz >>> btop: Checking sha512sums... btop-1.4.0.tar.gz: OK >>> btop: Unpacking /var/cache/distfiles/btop-1.4.0.tar.gz... ██████╗ ████████╗ ██████╗ ██████╗ ██╔══██╗╚══██╔══╝██╔═══██╗██╔══██╗ ██╗ ██╗ ██████╔╝ ██║ ██║ ██║██████╔╝ ██████╗██████╗ ██╔══██╗ ██║ ██║ ██║██╔═══╝ ╚═██╔═╝╚═██╔═╝ ██████╔╝ ██║ ╚██████╔╝██║ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ Makefile v1.6 PLATFORM ?| Linux ARCH ?| loongarch64 GPU_SUPPORT :| false CXX ?| g++ (14.2.0) THREADS :| 32 REQFLAGS !| -std=c++20 WARNFLAGS :| -Wall -Wextra -pedantic OPTFLAGS :| -O2 -ftree-vectorize -flto=32 LDCXXFLAGS :| -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -fno-ipa-cp -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 CXXFLAGS +| $(REQFLAGS) $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 LDFLAGS +| $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) -Wl,--as-needed,-O1,--sort-common Building btop++ (v1.4.0) Linux loongarch64 Generating man page btop.1... Configuring obj/config.h Compiling src/btop_config.cpp Compiling src/btop.cpp Compiling src/btop_draw.cpp Compiling src/btop_input.cpp Compiling src/btop_shared.cpp Compiling src/btop_menu.cpp Compiling src/btop_theme.cpp Compiling src/btop_tools.cpp Compiling src/linux/btop_collect.cpp src/btop_draw.cpp: In function 'std::string Cpu::draw(const cpu_info&, const std::vector&, bool, bool)': src/btop_draw.cpp:805:37: warning: possibly dangling reference to a temporary [-Wdangling-reference] 805 | const auto& temp_color = Theme::g("temp").at(clamp(safeVal(cpu.temp, 0).back() * 100 / cpu.temp_max, 0ll, 100ll)); | ^~~~~~~~~~ src/btop_draw.cpp:805:69: note: the temporary was destroyed at the end of the full expression '(& Theme::g(std::__cxx11::basic_string(((const char*)"temp"), std::allocator())))->std::array, 101>::at(((std::array, 101>::size_type)((long long int)std::clamp(((((long long int)(& Tools::safeVal >(cpu.Cpu::cpu_info::temp, 0, std::deque(), std::source_location::current(__builtin_source_location())))->std::deque::back()) * 100) / ((long long int)cpu.Cpu::cpu_info::temp_max)), 0, 100))))' 805 | const auto& temp_color = Theme::g("temp").at(clamp(safeVal(cpu.temp, 0).back() * 100 / cpu.temp_max, 0ll, 100ll)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/btop_draw.cpp:830:45: warning: possibly dangling reference to a temporary [-Wdangling-reference] 830 | const auto& temp_color = Theme::g("temp").at(clamp(safeVal(cpu.temp, n+1).back() * 100 / cpu.temp_max, 0ll, 100ll)); | ^~~~~~~~~~ src/btop_draw.cpp:830:77: note: the temporary was destroyed at the end of the full expression '(& Theme::g(std::__cxx11::basic_string(((const char*)"temp"), std::allocator())))->std::array, 101>::at(((std::array, 101>::size_type)((long long int)std::clamp(((((long long int)(& Tools::safeVal >(cpu.Cpu::cpu_info::temp, ((size_t)(((int)n) + 1)), std::deque(), std::source_location::current(__builtin_source_location())))->std::deque::back()) * 100) / ((long long int)cpu.Cpu::cpu_info::temp_max)), 0, 100))))' 830 | const auto& temp_color = Theme::g("temp").at(clamp(safeVal(cpu.temp, n+1).back() * 100 / cpu.temp_max, 0ll, 100ll)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/btop_draw.cpp: In function 'std::string Mem::draw(const mem_info&, bool, bool)': src/btop_draw.cpp:1280:53: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1280 | const auto& disk = safeVal(disks, mount); | ^~~~ src/btop_draw.cpp:1280:67: note: the temporary was destroyed at the end of the full expression 'Tools::safeVal, Mem::disk_info>((* & disks), (* & mount), Mem::disk_info{std::filesystem::__cxx11::path(), std::__cxx11::basic_string(), std::__cxx11::basic_string(), std::filesystem::__cxx11::path(), 0, 0, 0, 0, 0, std::array{std::__array_traits::_Type{0, 0, 0}}, std::deque(), std::deque(), std::deque()}, std::source_location::current(__builtin_source_location()))' 1280 | const auto& disk = safeVal(disks, mount); | ~~~~~~~^~~~~~~~~~~~~~ src/btop_draw.cpp:1320:53: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1320 | const auto& disk = safeVal(disks, mount); | ^~~~ src/btop_draw.cpp:1320:67: note: the temporary was destroyed at the end of the full expression 'Tools::safeVal, Mem::disk_info>((* & disks), (* & mount), Mem::disk_info{std::filesystem::__cxx11::path(), std::__cxx11::basic_string(), std::__cxx11::basic_string(), std::filesystem::__cxx11::path(), 0, 0, 0, 0, 0, std::array{std::__array_traits::_Type{0, 0, 0}}, std::deque(), std::deque(), std::deque()}, std::source_location::current(__builtin_source_location()))' 1320 | const auto& disk = safeVal(disks, mount); | ~~~~~~~^~~~~~~~~~~~~~ src/btop_draw.cpp: In function 'std::string Proc::draw(const std::vector&, bool, bool)': src/btop_draw.cpp:1613:47: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1613 | const string& t_color = (not alive or selected > 0 ? Theme::c("inactive_fg") : Theme::c("title")); | ^~~~~~~ src/btop_draw.cpp:1613:94: note: the temporary was destroyed at the end of the full expression 'Theme::c(std::__cxx11::basic_string(((const char*)"inactive_fg"), std::allocator()))' 1613 | const string& t_color = (not alive or selected > 0 ? Theme::c("inactive_fg") : Theme::c("title")); | ~~~~~~~~^~~~~~~~~~~~~~~ src/btop_draw.cpp:1614:47: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1614 | const string& hi_color = (not alive or selected > 0 ? t_color : Theme::c("hi_fg")); | ^~~~~~~~ src/btop_draw.cpp:1614:105: note: the temporary was destroyed at the end of the full expression 'Theme::c(std::__cxx11::basic_string(((const char*)"hi_fg"), std::allocator()))' 1614 | const string& hi_color = (not alive or selected > 0 ? t_color : Theme::c("hi_fg")); | ~~~~~~~~^~~~~~~~~ src/btop_menu.cpp: In member function 'std::string Menu::msgBox::operator()()': src/btop_menu.cpp:816:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] 816 | auto& first_color = (selected == 0 ? Theme::c("hi_fg") : Theme::c("div_line")); | ^~~~~~~~~~~ src/btop_menu.cpp:816:62: note: the temporary was destroyed at the end of the full expression 'Theme::c(std::__cxx11::basic_string(((const char*)"hi_fg"), std::allocator()))' 816 | auto& first_color = (selected == 0 ? Theme::c("hi_fg") : Theme::c("div_line")); | ~~~~~~~~^~~~~~~~~ src/btop_menu.cpp:821:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] 821 | auto& second_color = (selected == 1 ? Theme::c("hi_fg") : Theme::c("div_line")); | ^~~~~~~~~~~~ src/btop_menu.cpp:821:71: note: the temporary was destroyed at the end of the full expression 'Theme::c(std::__cxx11::basic_string(((const char*)"hi_fg"), std::allocator()))' 821 | auto& second_color = (selected == 1 ? Theme::c("hi_fg") : Theme::c("div_line")); | ~~~~~~~~^~~~~~~~~ 10%-> obj/btop_theme.o (1.4MiB) (10s) 20%-> obj/btop_input.o (1.4MiB) (10s) 40%-> obj/btop_shared.o (1.9MiB) (11s) 40%-> obj/btop_tools.o (2.1MiB) (11s) 50%-> obj/btop_config.o (2.2MiB) (12s) 60%-> obj/btop_menu.o (1.9MiB) (12s) 70%-> obj/btop.o (2.7MiB) (13s) 80%-> obj/btop_draw.o (3.1MiB) (15s) 90%-> obj/linux/btop_collect.o (3.0MiB) (15s) Linking and optimizing binary... 100% -> bin/btop (1.4MiB) (06s) Build complete in (22s) >>> btop: Entering fakeroot... Installing binary to: /home/buildozer/aports/community/btop/pkg/btop/usr/bin/btop Installing doc to: /home/buildozer/aports/community/btop/pkg/btop/usr/share/btop Installing themes to: /home/buildozer/aports/community/btop/pkg/btop/usr/share/btop/themes Installing desktop entry to: /home/buildozer/aports/community/btop/pkg/btop/usr/share/applications/btop.desktop Installing PNG icon to: /home/buildozer/aports/community/btop/pkg/btop/usr/share/icons/hicolor/48x48/apps/btop.png Installing SVG icon to: /home/buildozer/aports/community/btop/pkg/btop/usr/share/icons/hicolor/scalable/apps/btop.svg Installing man page to: /home/buildozer/aports/community/btop/pkg/btop/usr/share/man/man1/btop.1 >>> btop-doc*: Running split function doc... 'usr/share/man' -> '/home/buildozer/aports/community/btop/pkg/btop-doc/usr/share/man' >>> btop-doc*: Preparing subpackage btop-doc... >>> btop-doc*: Running postcheck for btop-doc >>> btop*: Running postcheck for btop >>> btop*: Preparing package btop... >>> btop*: Stripping binaries >>> btop-doc*: Scanning shared objects >>> btop*: Scanning shared objects >>> btop-doc*: Tracing dependencies... >>> btop-doc*: Package size: 828.0 B >>> btop-doc*: Compressing data... >>> btop-doc*: Create checksum... >>> btop-doc*: Create btop-doc-1.4.0-r0.apk >>> btop*: Tracing dependencies... so:libc.musl-loongarch64.so.1 so:libgcc_s.so.1 so:libstdc++.so.6 >>> btop*: Package size: 1.3 MB >>> btop*: Compressing data... >>> btop*: Create checksum... >>> btop*: Create btop-1.4.0-r0.apk >>> btop: Build complete at Wed, 23 Oct 2024 12:09:04 +0000 elapsed time 0h 0m 25s >>> btop: Cleaning up srcdir >>> btop: Cleaning up pkgdir >>> btop: Uninstalling dependencies... (1/4) Purging .makedepends-btop (20241023.120841) (2/4) Purging coreutils-fmt (9.5-r1) (3/4) Purging lowdown (1.1.2-r0) (4/4) Purging linux-headers (6.6-r1) Executing busybox-1.37.0-r3.trigger OK: 243 MiB in 99 packages >>> btop: Updating the community/loongarch64 repository index... >>> btop: Signing the index...