==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_b70216f2-c7ce-4bf2-8eff-4ef5f64b1a7d]...done ==> Making package: procinfo-ng 2.0.304-8.1 (Mon Mar 11 16:36:54 2024) ==> Retrieving sources... -> Downloading procinfo-ng-2.0.304.tar.bz2... % 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 100 401 100 401 0 0 590 0 --:--:-- --:--:-- --:--:-- 590 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 62469 100 62469 0 0 39819 0 0:00:01 0:00:01 --:--:-- 161k -> Downloading procinfo-18.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 100 24365 100 24365 0 0 131k 0 --:--:-- --:--:-- --:--:-- 132k ==> Validating source files with sha512sums... procinfo-ng-2.0.304.tar.bz2 ... Passed procinfo-18.tar.gz ... Passed ==> Making package: procinfo-ng 2.0.304-8.1 (Mon Mar 11 16:36:57 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found procinfo-ng-2.0.304.tar.bz2 -> Found procinfo-18.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting procinfo-ng-2.0.304.tar.bz2 with bsdtar -> Extracting procinfo-18.tar.gz with bsdtar ==> Starting build()... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for uint32_t... yes checking for uint64_t... yes checking for int32_t... yes checking for int64_t... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strtod... yes checking for select... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for snprintf... yes checking for readdir64... yes configure: creating ./config.status config.status: creating Makefile g++ -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/procinfo-ng -flto=auto -falign-functions=32 -pipe -Wall -s -lncurses procinfo.cpp -o procinfo In file included from procinfo.cpp:43: lib/routines.cpp: In function ‘const std::string humanizeBigNums(int64_t, uint32_t)’: lib/routines.cpp:265:32: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 265 | const register int64_t absVal = llabs(val); | ^~~~~~ lib/routines.cpp: In function ‘const std::string humanizeBigNums(T, uint32_t)’: lib/routines.cpp:308:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 308 | const register T absVal = fabs(val); | ^~~~~~ In file included from procinfo.cpp:44: lib/timeRoutines.cpp: In function ‘const timeDiff __time_rel(const time_t&, const time_t&)’: lib/timeRoutines.cpp:134:60: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::minutes’ from ‘uint32_t’ {aka ‘unsigned int’} to ‘int’ [-Wnarrowing] 134 | { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours, | ~~~~~~~~^~~~~~~ lib/timeRoutines.cpp:134:86: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::hours’ from ‘uint32_t’ {aka ‘unsigned int’} to ‘int’ [-Wnarrowing] 134 | { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours, | ~~~~~~~~^~~~~ lib/timeRoutines.cpp:135:34: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::days’ from ‘uint32_t’ {aka ‘unsigned int’} to ‘int’ [-Wnarrowing] 135 | tm_wday: result1.days, tm_week: result1.weeks }; | ~~~~~~~~^~~~ lib/timeRoutines.cpp:135:57: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::weeks’ from ‘uint32_t’ {aka ‘unsigned int’} to ‘int’ [-Wnarrowing] 135 | tm_wday: result1.days, tm_week: result1.weeks }; | ~~~~~~~~^~~~~ lib/timeRoutines.cpp: In function ‘const timeDiff __time_rel(const double&, const double&)’: lib/timeRoutines.cpp:141:60: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::minutes’ from ‘uint32_t’ {aka ‘unsigned int’} to ‘int’ [-Wnarrowing] 141 | { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours, | ~~~~~~~~^~~~~~~ lib/timeRoutines.cpp:141:86: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::hours’ from ‘uint32_t’ {aka ‘unsigned int’} to ‘int’ [-Wnarrowing] 141 | { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours, | ~~~~~~~~^~~~~ lib/timeRoutines.cpp:142:34: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::days’ from ‘uint32_t’ {aka ‘unsigned int’} to ‘int’ [-Wnarrowing] 142 | tm_wday: result1.days, tm_week: result1.weeks }; | ~~~~~~~~^~~~ lib/timeRoutines.cpp:142:57: warning: narrowing conversion of ‘(uint32_t)result1.timeWDHMS::weeks’ from ‘uint32_t’ {aka ‘unsigned int’} to ‘int’ [-Wnarrowing] 142 | tm_wday: result1.days, tm_week: result1.weeks }; | ~~~~~~~~^~~~~ lib/timeRoutines.cpp: In function ‘const timeDiff structTM2structTD(tm)’: lib/timeRoutines.cpp:185:31: warning: narrowing conversion of ‘input.tm::tm_sec’ from ‘int’ to ‘double’ [-Wnarrowing] 185 | tm_sec: input.tm_sec, tm_min: input.tm_min, tm_hour: input.tm_hour, | ~~~~~~^~~~~~ In file included from procinfo.cpp:45: lib/prettyPrint.cpp: In function ‘int print(const char*, ...)’: lib/prettyPrint.cpp:42:32: warning: ‘int vwprintw(WINDOW*, const char*, __va_list_tag*)’ is deprecated [-Wdeprecated-declarations] 42 | code = vwprintw(stdscr, fmt, argp); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from procinfo.cpp:39: /usr/include/curses.h:819:28: note: declared here 819 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *, va_list) GCC_DEPRECATED(use vw_printw) /* implemented */ | ^~~~~~~~ procinfo.cpp: In function ‘int mainLoop(bool, bool, bool, bool, bool, bool, bool, bool, bool, uint32_t, const std::vector&)’: procinfo.cpp:214:22: error: format not a string literal and no format arguments [-Werror=format-security] 214 | print(exceptionMessage.c_str()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: some warnings being treated as errors make: *** [Makefile:47: procinfo] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_b70216f2-c7ce-4bf2-8eff-4ef5f64b1a7d/build