+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/btop-1.4.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/btop-1.4.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for btop-1.4.0 ██████╗ ████████╗ ██████╗ ██████╗ ██╔══██╗╚══██╔══╝██╔═══██╗██╔══██╗ ██╗ ██╗ ██████╔╝ ██║ ██║ ██║██████╔╝ ██████╗██████╗ ██╔══██╗ ██║ ██║ ██║██╔═══╝ ╚═██╔═╝╚═██╔═╝ ██████╔╝ ██║ ╚██████╔╝██║ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ Makefile v1.6 PLATFORM ?| Linux ARCH ?| x86_64 GPU_SUPPORT :| true CXX ?| c++ (10.5.0) CC ?| cc (10.5.0) THREADS :| 8 REQFLAGS !| -std=c++20 WARNFLAGS :| -Wall -Wextra -pedantic OPTFLAGS :| -O2 -ftree-vectorize -flto=8 LDCXXFLAGS :| -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -s CXXFLAGS +| $(REQFLAGS) $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG LDFLAGS +| $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) -L/usr/pkg/gcc10/lib/gcc/x86_64-redhat-linux/10.5.0 -Wl,-R/usr/pkg/gcc10/lib/gcc/x86_64-redhat-linux/10.5.0 -L/usr/pkg/gcc10/lib64 -Wl,-R/usr/pkg/gcc10/lib64 -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -Wl,-R/usr/pkg/lib mkdir -p bin mkdir -p obj/linux Building btop++ (v1.4.0) Linux x86_64 Command 'lowdown' not found: skipping generating man page btop.1 Configuring obj/config.h sed -e "s|@GIT_COMMIT@||" -e "s|@CONFIGURE_COMMAND@|/usr/pkg/bin/gmake STATIC= FORTIFY_SOURCE=true GPU_SUPPORT=true RSMI_STATIC=|" -e "s|@COMPILER@|c++|" -e "s|@COMPILER_VERSION@|10.5.0|" src/config.h.in | tee obj/config.h > /dev/null Compiling src/linux/intel_gpu_top/igt_perf.c cc -isystem include -Isrc -Iobj -c -o obj/igt_perf.c.o src/linux/intel_gpu_top/igt_perf.c Compiling src/linux/intel_gpu_top/intel_device_info.c cc -isystem include -Isrc -Iobj -c -o obj/intel_device_info.c.o src/linux/intel_gpu_top/intel_device_info.c In file included from /usr/include/errno.h:25, from src/linux/intel_gpu_top/igt_perf.c:1: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 381 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/pkg/gcc10/lib/gcc/x86_64-redhat-linux/10.5.0/include/stdint.h:9, from src/linux/intel_gpu_top/intel_chipset.h:32, from src/linux/intel_gpu_top/intel_device_info.c:1: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 381 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ 6%-> obj/intel_device_info.c.o (32KiB) (00s) 13%-> obj/igt_perf.c.o (8.0KiB) (00s) Compiling src/linux/intel_gpu_top/intel_gpu_top.c cc -isystem include -Isrc -Iobj -c -o obj/intel_gpu_top.c.o src/linux/intel_gpu_top/intel_gpu_top.c Compiling src/linux/intel_gpu_top/intel_name_lookup_shim.c cc -isystem include -Isrc -Iobj -c -o obj/intel_name_lookup_shim.c.o src/linux/intel_gpu_top/intel_name_lookup_shim.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/linux/intel_gpu_top/intel_name_lookup_shim.c:1: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 381 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/assert.h:35, from src/linux/intel_gpu_top/intel_gpu_top.c:24: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 381 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/linux/intel_gpu_top/intel_gpu_top.c: In function 'discover_engines': src/linux/intel_gpu_top/intel_gpu_top.c:300:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 300 | engines->device = device; | ^ src/linux/intel_gpu_top/intel_gpu_top.c:360:9: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 360 | ret = asprintf(&engine->display_name, "%s/%u", | ^~~~~~~~ | vsprintf 20%-> obj/intel_name_lookup_shim.c.o (8.0KiB) (01s) 27%-> obj/intel_gpu_top.c.o (16KiB) (01s) Compiling src/btop.cpp c++ -pipe -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -std=c++20 -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -s -O2 -ftree-vectorize -flto=8 -Wall -Wextra -pedantic -isystem include -Isrc -Iobj -MMD -c -o obj/btop.o src/btop.cpp In file included from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/c++config.h:522, from /usr/pkg/gcc10/include/c++/utility:68, from /usr/pkg/gcc10/include/c++/algorithm:60, from src/btop.cpp:19: /usr/include/features.h:393:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp] 393 | # warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform | ^~~~~~~ Compiling src/btop_config.cpp c++ -pipe -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -std=c++20 -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -s -O2 -ftree-vectorize -flto=8 -Wall -Wextra -pedantic -isystem include -Isrc -Iobj -MMD -c -o obj/btop_config.o src/btop_config.cpp In file included from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/c++config.h:522, from /usr/pkg/gcc10/include/c++/utility:68, from /usr/pkg/gcc10/include/c++/array:38, from src/btop_config.cpp:19: /usr/include/features.h:393:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp] 393 | # warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform | ^~~~~~~ In file included from src/btop.cpp:49: src/btop_tools.hpp:360:3: warning: extra ';' [-Wpedantic] 360 | }; | ^ src/btop_tools.hpp:381:3: warning: extra ';' [-Wpedantic] 381 | }; | ^ In file included from src/btop_config.cpp:31: src/btop_tools.hpp:360:3: warning: extra ';' [-Wpedantic] 360 | }; | ^ src/btop_tools.hpp:381:3: warning: extra ';' [-Wpedantic] 381 | }; | ^ 41%-> obj/btop_config.o (2.3MiB) (10s) Compiling src/btop_draw.cpp c++ -pipe -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -std=c++20 -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -s -O2 -ftree-vectorize -flto=8 -Wall -Wextra -pedantic -isystem include -Isrc -Iobj -MMD -c -o obj/btop_draw.o src/btop_draw.cpp In file included from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/c++config.h:522, from /usr/pkg/gcc10/include/c++/utility:68, from /usr/pkg/gcc10/include/c++/array:38, from src/btop_draw.cpp:19: /usr/include/features.h:393:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp] 393 | # warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform | ^~~~~~~ 48%-> obj/btop.o (3.0MiB) (11s) Compiling src/btop_input.cpp c++ -pipe -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -std=c++20 -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -s -O2 -ftree-vectorize -flto=8 -Wall -Wextra -pedantic -isystem include -Isrc -Iobj -MMD -c -o obj/btop_input.o src/btop_input.cpp In file included from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/c++config.h:522, from /usr/pkg/gcc10/include/c++/limits:42, from src/btop_input.cpp:19: /usr/include/features.h:393:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp] 393 | # warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform | ^~~~~~~ In file included from src/btop_draw.cpp:31: src/btop_tools.hpp:360:3: warning: extra ';' [-Wpedantic] 360 | }; | ^ src/btop_tools.hpp:381:3: warning: extra ';' [-Wpedantic] 381 | }; | ^ In file included from src/btop_input.cpp:29: src/btop_tools.hpp:360:3: warning: extra ';' [-Wpedantic] 360 | }; | ^ src/btop_tools.hpp:381:3: warning: extra ';' [-Wpedantic] 381 | }; | ^ 55%-> obj/btop_input.o (1.5MiB) (09s) Compiling src/btop_menu.cpp c++ -pipe -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -std=c++20 -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -s -O2 -ftree-vectorize -flto=8 -Wall -Wextra -pedantic -isystem include -Isrc -Iobj -MMD -c -o obj/btop_menu.o src/btop_menu.cpp In file included from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/c++config.h:522, from /usr/pkg/gcc10/include/c++/bits/stl_algobase.h:59, from /usr/pkg/gcc10/include/c++/deque:60, from src/btop_menu.cpp:19: /usr/include/features.h:393:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp] 393 | # warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform | ^~~~~~~ In file included from src/btop_menu.cpp:28: src/btop_tools.hpp:360:3: warning: extra ';' [-Wpedantic] 360 | }; | ^ src/btop_tools.hpp:381:3: warning: extra ';' [-Wpedantic] 381 | }; | ^ 62%-> obj/btop_draw.o (3.4MiB) (14s) Compiling src/btop_shared.cpp c++ -pipe -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -std=c++20 -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -s -O2 -ftree-vectorize -flto=8 -Wall -Wextra -pedantic -isystem include -Isrc -Iobj -MMD -c -o obj/btop_shared.o src/btop_shared.cpp In file included from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/c++config.h:522, from /usr/pkg/gcc10/include/c++/type_traits:38, from /usr/pkg/gcc10/include/c++/concepts:44, from /usr/pkg/gcc10/include/c++/ranges:37, from src/btop_shared.cpp:19: /usr/include/features.h:393:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp] 393 | # warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform | ^~~~~~~ In file included from src/btop_shared.cpp:25: src/btop_tools.hpp:360:3: warning: extra ';' [-Wpedantic] 360 | }; | ^ src/btop_tools.hpp:381:3: warning: extra ';' [-Wpedantic] 381 | }; | ^ 69%-> obj/btop_menu.o (2.0MiB) (10s) Compiling src/btop_theme.cpp c++ -pipe -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -std=c++20 -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -s -O2 -ftree-vectorize -flto=8 -Wall -Wextra -pedantic -isystem include -Isrc -Iobj -MMD -c -o obj/btop_theme.o src/btop_theme.cpp In file included from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/c++config.h:522, from /usr/pkg/gcc10/include/c++/cmath:41, from src/btop_theme.cpp:19: /usr/include/features.h:393:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp] 393 | # warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform | ^~~~~~~ In file included from src/btop_theme.cpp:23: src/btop_tools.hpp:360:3: warning: extra ';' [-Wpedantic] 360 | }; | ^ src/btop_tools.hpp:381:3: warning: extra ';' [-Wpedantic] 381 | }; | ^ 76%-> obj/btop_shared.o (2.1MiB) (11s) Compiling src/btop_tools.cpp c++ -pipe -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -std=c++20 -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -s -O2 -ftree-vectorize -flto=8 -Wall -Wextra -pedantic -isystem include -Isrc -Iobj -MMD -c -o obj/btop_tools.o src/btop_tools.cpp In file included from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/c++config.h:522, from /usr/pkg/gcc10/include/c++/cmath:41, from src/btop_tools.cpp:19: /usr/include/features.h:393:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp] 393 | # warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform | ^~~~~~~ 83%-> obj/btop_theme.o (1.4MiB) (08s) Compiling src/linux/btop_collect.cpp c++ -pipe -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -std=c++20 -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -s -O2 -ftree-vectorize -flto=8 -Wall -Wextra -pedantic -isystem include -Isrc -Iobj -MMD -c -o obj/linux/btop_collect.o src/linux/btop_collect.cpp In file included from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/pkg/gcc10/include/c++/x86_64-redhat-linux/bits/c++config.h:522, from /usr/pkg/gcc10/include/c++/cstdlib:41, from src/linux/btop_collect.cpp:19: /usr/include/features.h:393:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp] 393 | # warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform | ^~~~~~~ In file included from src/btop_tools.cpp:37: src/btop_tools.hpp:360:3: warning: extra ';' [-Wpedantic] 360 | }; | ^ src/btop_tools.hpp:381:3: warning: extra ';' [-Wpedantic] 381 | }; | ^ In file included from src/linux/btop_collect.cpp:48: src/linux/../btop_tools.hpp:360:3: warning: extra ';' [-Wpedantic] 360 | }; | ^ src/linux/../btop_tools.hpp:381:3: warning: extra ';' [-Wpedantic] 381 | }; | ^ 90%-> obj/btop_tools.o (2.2MiB) (11s) 90%-> obj/linux/btop_collect.o (3.3MiB) (15s) Linking and optimizing binary... c++ -o bin/btop obj/btop.o obj/btop_config.o obj/btop_draw.o obj/btop_input.o obj/btop_menu.o obj/btop_shared.o obj/btop_theme.o obj/btop_tools.o obj/linux/btop_collect.o obj/igt_perf.c.o obj/intel_device_info.c.o obj/intel_name_lookup_shim.c.o obj/intel_gpu_top.c.o -L/usr/pkg/gcc10/lib/gcc/x86_64-redhat-linux/10.5.0 -Wl,-R/usr/pkg/gcc10/lib/gcc/x86_64-redhat-linux/10.5.0 -L/usr/pkg/gcc10/lib64 -Wl,-R/usr/pkg/gcc10/lib64 -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -Wl,-R/usr/pkg/lib -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector -DGPU_SUPPORT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -s -O2 -ftree-vectorize -flto=8 -Wall -Wextra -pedantic /tmp/btop.AiVZqC.ltrans16.ltrans.o: In function `Shared::init()': :(.text+0x3532): undefined reference to `dlopen' :(.text+0x3551): undefined reference to `dlopen' :(.text+0x3566): undefined reference to `dlerror' /tmp/btop.AiVZqC.ltrans24.ltrans.o: In function `Gpu::Nvml::init()::{lambda(char const*)#1}::operator()(char const*) const [clone .constprop.0]': :(.text+0x55d): undefined reference to `dlsym' :(.text+0x565): undefined reference to `dlerror' /tmp/btop.AiVZqC.ltrans24.ltrans.o: In function `Gpu::Rsmi::init()::{lambda(char const*)#1}::operator()(char const*) const [clone .constprop.0]': :(.text+0x661): undefined reference to `dlsym' :(.text+0x669): undefined reference to `dlerror' /tmp/btop.AiVZqC.ltrans26.ltrans.o: In function `Gpu::Rsmi::init() [clone .isra.0]': :(.text+0x78b3): undefined reference to `dlopen' :(.text+0x78cd): undefined reference to `dlerror' /tmp/btop.AiVZqC.ltrans27.ltrans.o: In function `Gpu::Nvml::shutdown() [clone .isra.0]': :(.text+0xe86): undefined reference to `dlclose' /tmp/btop.AiVZqC.ltrans27.ltrans.o: In function `Gpu::Rsmi::shutdown() [clone .isra.0]': :(.text+0xf3c): undefined reference to `dlclose' collect2: error: ld returned 1 exit status gmake: *** [Makefile:412: btop] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/btop *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/btop