>>> btop: Building community/btop 1.2.13-r2 (using abuild 3.12.0-r0) started Fri, 27 Oct 2023 16:56:15 +0000 >>> btop: Checking sanity of /home/buildozer/aports/community/btop/APKBUILD... >>> btop: Analyzing dependencies... >>> btop: Installing for build: build-base cmd:fmt (1/2) Installing coreutils-fmt (9.4-r0) (2/2) Installing .makedepends-btop (20231027.165615) Executing busybox-1.36.1-r13.trigger OK: 271 MiB in 104 packages >>> btop: Cleaning up srcdir >>> btop: Cleaning up pkgdir >>> btop: Cleaning up tmpdir >>> btop: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19//btop-1.2.13.tar.gz >>> btop: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19//btop-1.2.13.tar.gz >>> btop: Checking sha512sums... btop-1.2.13.tar.gz: OK lfs64.patch: OK >>> btop: Unpacking /var/cache/distfiles/btop-1.2.13.tar.gz... >>> btop: lfs64.patch patching file Makefile patching file src/linux/btop_collect.cpp ██████╗ ████████╗ ██████╗ ██████╗ ██╔══██╗╚══██╔══╝██╔═══██╗██╔══██╗ ██╗ ██╗ ██████╔╝ ██║ ██║ ██║██████╔╝ ██████╗██████╗ ██╔══██╗ ██║ ██║ ██║██╔═══╝ ╚═██╔═╝╚═██╔═╝ ██████╔╝ ██║ ╚██████╔╝██║ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ Makefile v1.5 PLATFORM ?| Linux ARCH ?| armv7 CXX ?| g++ (13.2.1) THREADS :| 80 REQFLAGS !| -std=c++20 WARNFLAGS :| -Wall -Wextra -pedantic OPTFLAGS :| -O2 -ftree-loop-vectorize -flto=80 LDCXXFLAGS :| -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -fno-ipa-cp 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.2.13) Linux armv7 Compiling src/btop.cpp Compiling src/btop_config.cpp Compiling src/btop_draw.cpp Compiling src/btop_input.cpp Compiling src/btop_menu.cpp Compiling src/btop_shared.cpp Compiling src/btop_theme.cpp Compiling src/btop_tools.cpp Compiling src/linux/btop_collect.cpp src/btop_input.cpp: In function 'void Input::process(const std::string&)': src/btop_input.cpp:357:77: warning: possibly dangling reference to a temporary [-Wdangling-reference] 357 | const auto& current_selection = Config::getI("proc_selected"); | ^~~~~~~~~~~~~~~~~ src/btop_input.cpp:357:109: note: the temporary was destroyed at the end of the full expression 'Config::getI(std::__cxx11::basic_string(((const char*)"proc_selected"), std::allocator()))' 357 | const auto& current_selection = Config::getI("proc_selected"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/btop_input.cpp:413:47: warning: possibly dangling reference to a temporary [-Wdangling-reference] 413 | auto& pid = Config::getI("selected_pid"); | ^~~ src/btop_input.cpp:413:65: note: the temporary was destroyed at the end of the full expression 'Config::getI(std::__cxx11::basic_string(((const char*)"selected_pid"), std::allocator()))' 413 | auto& pid = Config::getI("selected_pid"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/btop_theme.cpp: In function 'void Theme::setTheme()': src/btop_theme.cpp:432:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] 432 | const auto& theme = Config::getS("color_theme"); | ^~~~~ src/btop_theme.cpp:432:49: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"color_theme"), std::allocator()))' 432 | const auto& theme = Config::getS("color_theme"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/btop_draw.cpp: In function 'bool Draw::update_clock(bool)': src/btop_draw.cpp:280:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] 280 | const auto& clock_format = Config::getS("clock_format"); | ^~~~~~~~~~~~ src/btop_draw.cpp:280:56: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"clock_format"), std::allocator()))' 280 | const auto& clock_format = Config::getS("clock_format"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/btop_draw.cpp: In function 'std::string Cpu::draw(const cpu_info&, bool, bool)': src/btop_draw.cpp:513:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] 513 | auto& graph_up_field = Config::getS("cpu_graph_upper"); | ^~~~~~~~~~~~~~ src/btop_draw.cpp:513:52: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"cpu_graph_upper"), std::allocator()))' 513 | auto& graph_up_field = Config::getS("cpu_graph_upper"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/btop_draw.cpp:514:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] 514 | auto& graph_lo_field = Config::getS("cpu_graph_lower"); | ^~~~~~~~~~~~~~ src/btop_draw.cpp:514:52: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"cpu_graph_lower"), std::allocator()))' 514 | auto& graph_lo_field = Config::getS("cpu_graph_lower"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/btop_draw.cpp:518:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] 518 | auto& temp_scale = Config::getS("temp_scale"); | ^~~~~~~~~~ src/btop_draw.cpp:518:48: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"temp_scale"), std::allocator()))' 518 | auto& temp_scale = Config::getS("temp_scale"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ src/linux/btop_collect.cpp: In function 'void Cpu::update_sensors()': src/linux/btop_collect.cpp:386:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] 386 | const auto& cpu_sensor = (not Config::getS("cpu_sensor").empty() and found_sensors.contains(Config::getS("cpu_sensor")) ? Config::getS("cpu_sensor") : Cpu::cpu_sensor); | ^~~~~~~~~~ src/linux/btop_collect.cpp:386:151: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"cpu_sensor"), std::allocator()))' 386 | const auto& cpu_sensor = (not Config::getS("cpu_sensor").empty() and found_sensors.contains(Config::getS("cpu_sensor")) ? Config::getS("cpu_sensor") : Cpu::cpu_sensor); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ src/linux/btop_collect.cpp: In function 'robin_hood::unordered_flat_map Cpu::get_core_mapping()': src/linux/btop_collect.cpp:513:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] 513 | const auto& custom_map = Config::getS("cpu_core_map"); | ^~~~~~~~~~ src/linux/btop_collect.cpp:513:54: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"cpu_core_map"), std::allocator()))' 513 | const auto& custom_map = Config::getS("cpu_core_map"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/linux/btop_collect.cpp: In function 'std::tuple, std::allocator > > Cpu::get_battery()': src/linux/btop_collect.cpp:601:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] 601 | auto& battery_sel = Config::getS("selected_battery"); | ^~~~~~~~~~~ src/linux/btop_collect.cpp:601:49: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"selected_battery"), std::allocator()))' 601 | auto& battery_sel = Config::getS("selected_battery"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/btop_draw.cpp:653:37: warning: possibly dangling reference to a temporary [-Wdangling-reference] 653 | const auto& temp_color = Theme::g("temp").at(clamp(cpu.temp.at(0).back() * 100 / cpu.temp_max, 0ll, 100ll)); | ^~~~~~~~~~ src/btop_draw.cpp:653: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)(& cpu.Cpu::cpu_info::temp.std::vector >::at(0))->std::deque::back()) * 100) / ((long long int)cpu.Cpu::cpu_info::temp_max)), 0, 100))))' 653 | const auto& temp_color = Theme::g("temp").at(clamp(cpu.temp.at(0).back() * 100 / cpu.temp_max, 0ll, 100ll)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/btop_draw.cpp:678:45: warning: possibly dangling reference to a temporary [-Wdangling-reference] 678 | const auto& temp_color = Theme::g("temp").at(clamp(cpu.temp.at(n+1).back() * 100 / cpu.temp_max, 0ll, 100ll)); | ^~~~~~~~~~ src/btop_draw.cpp:678: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)(& cpu.Cpu::cpu_info::temp.std::vector >::at(((std::vector >::size_type)(((int)n) + 1))))->std::deque::back()) * 100) / ((long long int)cpu.Cpu::cpu_info::temp_max)), 0, 100))))' 678 | const auto& temp_color = Theme::g("temp").at(clamp(cpu.temp.at(n+1).back() * 100 / cpu.temp_max, 0ll, 100ll)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/linux/btop_collect.cpp: In function 'Mem::mem_info& Mem::collect(bool)': src/linux/btop_collect.cpp:934:39: warning: possibly dangling reference to a temporary [-Wdangling-reference] 934 | auto& disks_filter = Config::getS("disks_filter"); | ^~~~~~~~~~~~ src/linux/btop_collect.cpp:934:66: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"disks_filter"), std::allocator()))' 934 | auto& disks_filter = Config::getS("disks_filter"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/linux/btop_collect.cpp: In function 'Net::net_info& Net::collect(bool)': src/linux/btop_collect.cpp:1378:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1378 | auto& config_iface = Config::getS("net_iface"); | ^~~~~~~~~~~~ src/linux/btop_collect.cpp:1378:50: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"net_iface"), std::allocator()))' 1378 | auto& config_iface = Config::getS("net_iface"); | ~~~~~~~~~~~~^~~~~~~~~~~~~ src/linux/btop_collect.cpp: In function 'std::vector& Proc::collect(bool)': src/linux/btop_collect.cpp:1687:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1687 | const auto& sorting = Config::getS("proc_sorting"); | ^~~~~~~ src/linux/btop_collect.cpp:1687:51: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"proc_sorting"), std::allocator()))' 1687 | const auto& sorting = Config::getS("proc_sorting"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/btop_draw.cpp: In function 'std::string Proc::draw(const std::vector&, bool, bool)': src/btop_draw.cpp:1221:47: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1221 | const string& t_color = (not alive or selected > 0 ? Theme::c("inactive_fg") : Theme::c("title")); | ^~~~~~~ src/btop_draw.cpp:1221: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()))' 1221 | const string& t_color = (not alive or selected > 0 ? Theme::c("inactive_fg") : Theme::c("title")); | ~~~~~~~~^~~~~~~~~~~~~~~ src/linux/btop_collect.cpp:1689:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1689 | const auto& filter = Config::getS("proc_filter"); | ^~~~~~ src/linux/btop_collect.cpp:1689:50: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"proc_filter"), std::allocator()))' 1689 | const auto& filter = Config::getS("proc_filter"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/btop_draw.cpp:1222:47: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1222 | const string& hi_color = (not alive or selected > 0 ? t_color : Theme::c("hi_fg")); | ^~~~~~~~ src/btop_draw.cpp:1222: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()))' 1222 | const string& hi_color = (not alive or selected > 0 ? t_color : Theme::c("hi_fg")); | ~~~~~~~~^~~~~~~~~ src/btop_draw.cpp:1285:37: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1285 | const auto& sorting = Config::getS("proc_sorting"); | ^~~~~~~ src/btop_draw.cpp:1285:59: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"proc_sorting"), std::allocator()))' 1285 | const auto& sorting = Config::getS("proc_sorting"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/btop_draw.cpp: In function 'void Draw::calcSizes()': src/btop_draw.cpp:1630:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1630 | auto& custom = Config::getS("custom_cpu_name"); | ^~~~~~ src/btop_draw.cpp:1630:52: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"custom_cpu_name"), std::allocator()))' 1630 | auto& custom = Config::getS("custom_cpu_name"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/btop_menu.cpp: In member function 'std::string Menu::msgBox::operator()()': src/btop_menu.cpp:659:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] 659 | auto& first_color = (selected == 0 ? Theme::c("hi_fg") : Theme::c("div_line")); | ^~~~~~~~~~~ src/btop_menu.cpp:659: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()))' 659 | auto& first_color = (selected == 0 ? Theme::c("hi_fg") : Theme::c("div_line")); | ~~~~~~~~^~~~~~~~~ src/btop_menu.cpp:664:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] 664 | auto& second_color = (selected == 1 ? Theme::c("hi_fg") : Theme::c("div_line")); | ^~~~~~~~~~~~ src/btop_menu.cpp:664: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()))' 664 | auto& second_color = (selected == 1 ? Theme::c("hi_fg") : Theme::c("div_line")); | ~~~~~~~~^~~~~~~~~ src/btop_menu.cpp: In function 'int Menu::signalSend(const std::string&)': src/btop_menu.cpp:859:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] 859 | auto& p_name = (s_pid == Config::getI("detailed_pid") ? Proc::detailed.entry.name : Config::getS("selected_name")); | ^~~~~~ src/btop_menu.cpp:859:121: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string(((const char*)"selected_name"), std::allocator()))' 859 | auto& p_name = (s_pid == Config::getI("detailed_pid") ? Proc::detailed.entry.name : Config::getS("selected_name")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 10%-> obj/btop_theme.o (1.3MiB) (04s) 30%-> obj/btop_tools.o (1.4MiB) (04s) 30%-> obj/btop_input.o (1.3MiB) (04s) 40%-> obj/btop_config.o (1.4MiB) (05s) 60%-> obj/btop_shared.o (1.8MiB) (05s) 60%-> obj/btop.o (1.8MiB) (05s) 70%-> obj/btop_menu.o (1.9MiB) (06s) 80%-> obj/btop_draw.o (2.2MiB) (06s) 90%-> obj/linux/btop_collect.o (3.0MiB) (07s) Linking and optimizing binary... 100% -> bin/btop (992.0KiB) (05s) Build complete in (13s) >>> 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 >>> btop*: Running postcheck for btop >>> btop*: Preparing package btop... >>> btop*: Stripping binaries >>> btop*: Scanning shared objects >>> btop*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libgcc_s.so.1 so:libstdc++.so.6 >>> btop*: Package size: 980.0 KB >>> btop*: Compressing data... >>> btop*: Create checksum... >>> btop*: Create btop-1.2.13-r2.apk >>> btop: Build complete at Fri, 27 Oct 2023 16:56:29 +0000 elapsed time 0h 0m 14s >>> btop: Cleaning up srcdir >>> btop: Cleaning up pkgdir >>> btop: Uninstalling dependencies... (1/2) Purging .makedepends-btop (20231027.165615) (2/2) Purging coreutils-fmt (9.4-r0) Executing busybox-1.36.1-r13.trigger OK: 270 MiB in 102 packages >>> btop: Updating the community/armv7 repository index... >>> btop: Signing the index...