Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/vnstat.spec'], chrootPath='/var/lib/mock/f29-build-10434-4715/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/vnstat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/vnstat-1.17-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/vnstat.spec'], chrootPath='/var/lib/mock/f29-build-10434-4715/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/vnstat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oHqRRT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vnstat-1.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/vnstat-1.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd vnstat-1.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (vnstat.service.patch):' Patch #0 (vnstat.service.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file examples/systemd/vnstat.service + sed -i -e 's,/var/run/,/run/vnstat/,g; s,MaxBandwidth 100,MaxBandwidth 0,g;' cfg/vnstat.conf + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sjYUnL + umask 022 + cd /builddir/build/BUILD + cd vnstat-1.17 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking whether make sets $(MAKE)... (cached) yes checking for pow in -lm... yes checking for gdImagePng in -lgd... yes checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CHECK... no configure: testcases can not be execute without check installed 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 for inttypes.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for uid_t in sys/types.h... yes checking for int32_t... yes checking for mode_t... yes checking for size_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for unistd.h... (cached) yes checking for working chown... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for dup2... yes checking for localtime_r... yes checking for memset... yes checking for mkdir... yes checking for pow... yes checking for rmdir... yes checking for setlocale... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for tzset... yes checking for mbstowcs... yes checking for wcswidth... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/config.h config.status: executing depfiles commands configure: configure: ============================================== configure: configure: host: riscv64-koji-linux-gnu configure: build: riscv64-koji-linux-gnu configure: configure: prefix: /usr configure: sysconfdir: /etc configure: configure: Install paths configure: configure: vnstat: /usr/bin/vnstat configure: vnstati: /usr/bin/vnstati configure: vnstatd: /usr/sbin/vnstatd configure: config: /etc/vnstat.conf configure: configure: Tests: unavailable configure: Image output: enabled configure: configure: ============================================== configure: + /usr/bin/make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' all Making all in . make[1]: Entering directory '/builddir/build/BUILD/vnstat-1.17' gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/vnstat.o src/vnstat.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/ifinfo.o src/ifinfo.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/dbxml.o src/dbxml.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/dbjson.o src/dbjson.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/dbshow.o src/dbshow.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/dbaccess.o src/dbaccess.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/dbmerge.o src/dbmerge.c BUILDSTDERR: src/dbaccess.c: In function 'writedb': BUILDSTDERR: src/dbaccess.c:236:66: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 478 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "Unable to create database backup \"%s\".", backup); BUILDSTDERR: ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dbaccess.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 548 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/dbaccess.c:262:58: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 486 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "Unable to write database \"%s\": %s", file, strerror(errno)); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dbaccess.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 30 or more bytes (assuming 541) into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/dbaccess.c:245:57: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 487 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "Unable to open database \"%s\" for writing: %s", file, strerror(errno)); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dbaccess.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 41 or more bytes (assuming 552) into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/common.o src/common.c BUILDSTDERR: src/dbaccess.c: In function 'readdb': BUILDSTDERR: src/dbaccess.c:120:54: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 490 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "Downgrading database \"%s\" (v%d) is not supported.", file, data.version); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dbaccess.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 47 and 568 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/dbaccess.c:53:61: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 484 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "Trying to convert database \"%s\" (v%d) to current db format", file, data.version); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dbaccess.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 56 and 577 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/dbaccess.c:104:59: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 488 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "Unable to use database \"%s\" or backup database \"%s\".", file, backup); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dbaccess.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 49 and 1071 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/dbaccess.c:62:66: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 480 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "Unable to open backup database \"%s\": %s", backup, strerror(errno)); BUILDSTDERR: ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dbaccess.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 36 or more bytes (assuming 547) into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/dbaccess.c:14:57: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 487 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "Unable to read database \"%s\": %s", file, strerror(errno)); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dbaccess.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 29 or more bytes (assuming 540) into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/common.c: In function 'logprint': BUILDSTDERR: src/common.c:114:36: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 504 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 512, "Config: %s", errorstring); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/common.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 520 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/common.c:110:35: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 505 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 512, "Error: %s", errorstring); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/common.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 519 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/common.c:123:34: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 497 and 507 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 512, "(%d): %s", type, errorstring); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/common.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 527 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/common.c:83:41: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 480 and 501 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 512, "[%s] Config: %s\n", timestamp, errorstring); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/common.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 545 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/common.c:80:40: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 481 and 502 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 512, "[%s] Error: %s\n", timestamp, errorstring); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/common.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 544 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/common.c:77:33: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 488 and 509 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 512, "[%s] %s\n", timestamp, errorstring); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/common.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 537 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/common.c:89:39: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 473 and 504 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 512, "[%s] (%d): %s\n", timestamp, type, errorstring); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/common.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 552 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/misc.o src/misc.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/cfg.o src/cfg.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/ibw.o src/ibw.c BUILDSTDERR: src/ibw.c: In function 'ibwcfgread': BUILDSTDERR: src/ibw.c:261:62: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 475 and 485 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "Invalid value \"%d\" for MaxBW%s, ignoring parameter.", ivalue, name); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/ibw.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 49 and 570 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/fs.o src/fs.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/id.o src/id.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/traffic.o src/traffic.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/vnstati.o src/vnstati.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/image.o src/image.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/vnstatd.o src/vnstatd.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/dbcache.o src/dbcache.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/daemon.o src/daemon.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o vnstat src/vnstat.o src/ifinfo.o src/dbxml.o src/dbjson.o src/dbshow.o src/dbaccess.o src/dbmerge.o src/common.o src/misc.o src/cfg.o src/ibw.o src/fs.o src/id.o src/traffic.o -lm BUILDSTDERR: src/daemon.c: In function 'daemonize': BUILDSTDERR: src/daemon.c:102:50: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 493 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "writing to pidfile %s failed, exiting.", cfg.pidfile); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/daemon.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 548 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/daemon.c:49:41: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 503 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "pidfile \"%s\" lock failed (%s), exiting.", cfg.pidfile, strerror(errno)); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/daemon.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 36 or more bytes (assuming 547) into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/daemon.c:43:49: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 495 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "opening pidfile \"%s\" failed (%s), exiting.", cfg.pidfile, strerror(errno)); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/daemon.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 39 or more bytes (assuming 550) into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/daemon.c: In function 'filldatabaselist': BUILDSTDERR: src/daemon.c:303:69: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 475 [-Wformat-truncation=] BUILDSTDERR: snprintf(errorstring, 512, "Unable to access database directory \"%s\" (%s), exiting.", s->dirname, strerror(errno)); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/daemon.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 52 or more bytes (assuming 563) into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o vnstatd src/vnstatd.o src/ifinfo.o src/dbaccess.o src/dbcache.o src/common.o src/misc.o src/cfg.o src/ibw.o src/fs.o src/id.o src/daemon.o -lm BUILDSTDERR: src/image.c: In function 'drawsummary': BUILDSTDERR: src/image.c:697:24: warning: '%19s' directive output may be truncated writing between 19 and 31 bytes into a region of size 20 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 20, "%19s", daytemp); BUILDSTDERR: ^~~~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/image.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 20 and 32 bytes into a destination of size 20 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/image.c: In function 'drawoldsummary': BUILDSTDERR: src/image.c:846:28: warning: ' ' directive output may be truncated writing 3 bytes into a region of size between 0 and 32 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 32, "%*s ", getpadding(9, daytemp), daytemp); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/image.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 2147483652 bytes into a destination of size 32 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/image.c:855:27: warning: ' ' directive output may be truncated writing 3 bytes into a region of size between 0 and 32 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 32, "%*s ", getpadding(9, daytemp2), daytemp2); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/image.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 2147483652 bytes into a destination of size 32 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o vnstati src/vnstati.o src/image.o src/dbaccess.o src/dbmerge.o src/common.o src/misc.o src/fs.o src/id.o src/cfg.o -lgd -lm make[1]: Leaving directory '/builddir/build/BUILD/vnstat-1.17' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0sfKYw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64 + cd vnstat-1.17 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/var/lib/vnstat + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/lib/systemd/system + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/lib/tmpfiles.d + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/run/ + /usr/bin/install -d -m 0700 /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/run/vnstat/ + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64 Making install in . make[1]: Entering directory '/builddir/build/BUILD/vnstat-1.17' make[2]: Entering directory '/builddir/build/BUILD/vnstat-1.17' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/bin' /usr/bin/install -c vnstat vnstati '/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/sbin' /usr/bin/install -c vnstatd '/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 man/vnstat.1 man/vnstatd.1 man/vnstati.1 '/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/man/man5' /usr/bin/install -c -m 644 man/vnstat.conf.5 '/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/man/man5' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/vnstat-1.17' /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/etc /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/bin/vnstat --showconfig >vnstat.conf.new if [ -f /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/etc/vnstat.conf ]; \ then cp -fv /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/etc/vnstat.conf vnstat.conf.old; \ fi cp -fv vnstat.conf.new /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/etc/vnstat.conf 'vnstat.conf.new' -> '/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/etc/vnstat.conf' ============================================================================ Note: No service file has been installed for starting the daemon automatically. Such setup will need to be created manually depending on the used environment. See the included documentation. ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/vnstat-1.17' make[2]: Leaving directory '/builddir/build/BUILD/vnstat-1.17' make[1]: Leaving directory '/builddir/build/BUILD/vnstat-1.17' + /usr/bin/install -p -m 644 examples/systemd/vnstat.service /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/lib/systemd/system/ + /usr/bin/rm -rf examples/init.d + /usr/bin/rm -rf examples/systemd + /usr/bin/rm -rf examples/launchd + /usr/bin/rm -rf examples/upstart + /usr/bin/cat + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.17-4.fc29 --unique-debug-suffix -1.17-4.fc29.riscv64 --unique-debug-src-base vnstat-1.17-4.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/vnstat-1.17 extracting debug info from /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/bin/vnstati extracting debug info from /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/sbin/vnstatd extracting debug info from /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/bin/vnstat /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. BUILDSTDERR: 515 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: vnstat-1.17-4.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qOjhbo + umask 022 + cd /builddir/build/BUILD + cd vnstat-1.17 + DOCDIR=/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/doc/vnstat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/doc/vnstat + cp -pr CHANGES /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/doc/vnstat + cp -pr FAQ /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/doc/vnstat + cp -pr README /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/doc/vnstat + cp -pr INSTALL /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/doc/vnstat + cp -pr examples /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/doc/vnstat + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.eeIqVh + umask 022 + cd /builddir/build/BUILD + cd vnstat-1.17 + LICENSEDIR=/builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/licenses/vnstat + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/licenses/vnstat + cp -pr COPYING /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64/usr/share/licenses/vnstat + exit 0 Provides: config(vnstat) = 1.17-4.fc29 vnstat = 1.17-4.fc29 vnstat(riscv-64) = 1.17-4.fc29 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgd.so.3()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: vnstat-debugsource-1.17-4.fc29.riscv64 Provides: vnstat-debugsource = 1.17-4.fc29 vnstat-debugsource(riscv-64) = 1.17-4.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: vnstat-debuginfo-1.17-4.fc29.riscv64 Provides: debuginfo(build-id) = 342ba42074df7dde2f3d14e60a74426eea7a3003 debuginfo(build-id) = 8e0b9e1fa7b58658146977f7229f05f6d0634a6f debuginfo(build-id) = f649454954e94b4a95c1e20469154f492a378f88 vnstat-debuginfo = 1.17-4.fc29 vnstat-debuginfo(riscv-64) = 1.17-4.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: vnstat-debugsource(riscv-64) = 1.17-4.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64 Wrote: /builddir/build/RPMS/vnstat-1.17-4.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/vnstat-debugsource-1.17-4.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/vnstat-debuginfo-1.17-4.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CEetdn + umask 022 + cd /builddir/build/BUILD + cd vnstat-1.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/vnstat-1.17-4.fc29.riscv64 + exit 0 Child return code was: 0