>>> btop: Building community/btop 1.2.13-r1 (using abuild 3.12.0-r0) started Wed, 25 Oct 2023 01:33:55 +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 (20231025.013401) Executing busybox-1.36.1-r13.trigger OK: 472 MiB in 109 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 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> btop: Fetching https://github.com/aristocratos/btop/archive/v1.2.13/btop-1.2.13.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 959k 0 959k 0 0 1778k 0 --:--:-- --:--:-- --:--:-- 1778k >>> 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 >>> btop: Unpacking /var/cache/distfiles/v3.19/btop-1.2.13.tar.gz... ██████╗ ████████╗ ██████╗ ██████╗ ██╔══██╗╚══██╔══╝██╔═══██╗██╔══██╗ ██╗ ██╗ ██████╔╝ ██║ ██║ ██║██████╔╝ ██████╗██████╗ ██╔══██╗ ██║ ██║ ██║██╔═══╝ ╚═██╔═╝╚═██╔═╝ ██████╔╝ ██║ ╚██████╔╝██║ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ Makefile v1.5 PLATFORM ?| Linux ARCH ?| x86_64 CXX ?| g++ (13.2.1) THREADS :| 32 REQFLAGS !| -std=c++20 WARNFLAGS :| -Wall -Wextra -pedantic OPTFLAGS :| -O2 -ftree-loop-vectorize -flto=32 LDCXXFLAGS :| -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -fexceptions -fstack-clash-protection -fcf-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 -fno-plt LDFLAGS +| $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs Building btop++ (v1.2.13) Linux x86_64 Compiling src/btop.cpp Compiling src/btop_draw.cpp Compiling src/btop_config.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/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 '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/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:1082:58: error: aggregate 'Mem::collect(bool)::statvfs64 vfs' has incomplete type and cannot be defined 1082 | struct statvfs64 vfs; | ^~~ src/linux/btop_collect.cpp:1083:79: error: invalid use of incomplete type 'struct Mem::collect(bool)::statvfs64' 1083 | if (statvfs64(mountpoint.c_str(), &vfs) < 0) { | ^ src/linux/btop_collect.cpp:1082:48: note: forward declaration of 'struct Mem::collect(bool)::statvfs64' 1082 | struct statvfs64 vfs; | ^~~~~~~~~ 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/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/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/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/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/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: 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")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make: *** [Makefile:274: obj/linux/btop_collect.o] Error 1 make: *** Waiting for unfinished jobs.... 10%-> obj/btop_theme.o (1.3MiB) (07s) 20%-> obj/btop_input.o (1.4MiB) (07s) 30%-> obj/btop_tools.o (1.4MiB) (08s) 40%-> obj/btop_config.o (1.4MiB) (08s) 50%-> obj/btop_shared.o (1.7MiB) (08s) 60%-> obj/btop.o (1.7MiB) (08s) 70%-> obj/btop_menu.o (1.9MiB) (10s) 80%-> obj/btop_draw.o (2.2MiB) (10s) >>> ERROR: btop: build failed >>> btop: Uninstalling dependencies... (1/2) Purging .makedepends-btop (20231025.013401) (2/2) Purging coreutils-fmt (9.4-r0) Executing busybox-1.36.1-r13.trigger OK: 472 MiB in 107 packages