==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: procinfo-ng 2.0.304-9 (Mon Jul  8 07:17:45 2024)
==> Retrieving sources...
  -> Found procinfo-ng-2.0.304.tar.bz2
  -> Found procinfo-18.tar.gz
  -> Found fix-build.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    procinfo-ng-2.0.304.tar.bz2 ... Passed
    procinfo-18.tar.gz ... Passed
    fix-build.patch ... Passed
==> Making package: procinfo-ng 2.0.304-9 (Mon Jul  8 07:17:52 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found procinfo-ng-2.0.304.tar.bz2
  -> Found procinfo-18.tar.gz
  -> Found fix-build.patch
==> 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 prepare()...
patching file lib/prettyPrint.cpp
patching file lib/routines.cpp
patching file lib/timeRoutines.cpp
patching file procinfo.cpp
==> 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=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -pipe -Wall -s -lncurses procinfo.cpp -o procinfo
In file included from procinfo.cpp:44:
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’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/C_002b_002b-Dialect-Options.html#index-Wnarrowing-Wnarrowing]8;;]
  185 |                 tm_sec: input.tm_sec, tm_min: input.tm_min, tm_hour: input.tm_hour,
      |                         ~~~~~~^~~~~~
In file included from procinfo.cpp:125:
diskStats.cpp: In function ‘std::vector<std::vector<std::__cxx11::basic_string<char> > > renderDiskStats(bool, bool, bool, double, const std::vector<diskStat_t>&)’:
diskStats.cpp:136:41: warning: __builtin___snprintf_chk’ output truncated before the last format character []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=]8;;]
  136 |         snprintf(output, 39, "%-4s %-34s", diskStat.name.c_str(), rendered.c_str());
      |                                         ^
In file included from /usr/include/stdio.h:980,
                 from /usr/include/c++/14.1.1/cstdio:42,
                 from /usr/include/c++/14.1.1/ext/string_conversions.h:45,
                 from /usr/include/c++/14.1.1/bits/basic_string.h:4154,
                 from /usr/include/c++/14.1.1/string:54,
                 from /usr/include/c++/14.1.1/bits/locale_classes.h:40,
                 from /usr/include/c++/14.1.1/bits/ios_base.h:41,
                 from /usr/include/c++/14.1.1/ios:44,
                 from /usr/include/c++/14.1.1/ostream:40,
                 from /usr/include/c++/14.1.1/iostream:41,
                 from procinfo.cpp:18:
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘std::string renderDiskStat(bool, bool, bool, const double&, const diskStat_t&)’ at diskStats.cpp:136:10,
    inlined from ‘std::vector<std::vector<std::__cxx11::basic_string<char> > > renderDiskStats(bool, bool, bool, double, const std::vector<diskStat_t>&)’ at diskStats.cpp:150:36:
/usr/include/bits/stdio2.h:54:35: note: __builtin___snprintf_chk’ output 40 or more bytes into a destination of size 39
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
In file included from procinfo.cpp:65:
rendercpupagestat.cpp: In function ‘std::vector<std::vector<std::__cxx11::basic_string<char> > > renderCPUandPageStats(bool, bool, const double&, const uint64_t&, const uint64_t&, const std::vector<long unsigned int>&, const uint64_t&, const std::vector<long unsigned int>&)’:
rendercpupagestat.cpp:18:52: warning: __builtin___snprintf_chk’ output truncated before the last format character []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=]8;;]
   18 |                 snprintf(fractionalSeconds, 2, "%2d", getFrac(cpuDiff / USER_HZ, 100));
      |                                                    ^
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘std::vector<std::__cxx11::basic_string<char> > renderCPUstat(bool, bool, const double&, const uint32_t&, const uint64_t&, const uint64_t&, const std::string&)’ at rendercpupagestat.cpp:18:11,
    inlined from ‘std::vector<std::vector<std::__cxx11::basic_string<char> > > renderCPUandPageStats(bool, bool, const double&, const uint64_t&, const uint64_t&, const std::vector<long unsigned int>&, const uint64_t&, const std::vector<long unsigned int>&)’ at linux26_rendercpupagestat.cpp:72:19:
/usr/include/bits/stdio2.h:54:35: note: __builtin___snprintf_chk’ output 3 bytes into a destination of size 2
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
==> Entering fakeroot environment...
==> Starting package()...
mkdir -p /build/procinfo-ng/pkg/procinfo-ng//usr/bin
install procinfo /build/procinfo-ng/pkg/procinfo-ng//usr/bin/procinfo
mkdir -p /build/procinfo-ng/pkg/procinfo-ng//usr/share/man/man8
install -m 644  procinfo.8 /build/procinfo-ng/pkg/procinfo-ng//usr/share/man/man8/procinfo.8
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "procinfo-ng"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: procinfo-ng 2.0.304-9 (Mon Jul  8 07:18:10 2024)
==> Cleaning up...