Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/vnstat.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-157615-9986/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/vnstat-2.10-1.ocs23.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/vnstat.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-157615-9986/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mMUSmi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vnstat-2.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/vnstat-2.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd vnstat-2.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (vnstat.service.patch): + echo 'Patch #0 (vnstat.service.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file examples/systemd/vnstat.service Hunk #1 succeeded at 6 (offset 2 lines). + sed -i -e 's,/var/run/,/run/vnstat/,g; s,MaxBandwidth 100,MaxBandwidth 0,g;' cfg/vnstat.conf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YDUgyC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd vnstat-2.10 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-10-22 19:16:43.000000000 +0800 +++ ./configure 2024-05-09 02:00:05.139084586 +0800 @@ -2049,7 +2049,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-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 x86_64-opencloudos-linux-gnu-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether make sets $(MAKE)... (cached) yes checking for pow in -lm... yes checking for sqlite3_prepare_v2 in -lsqlite3... yes checking for gdImagePng in -lgd... yes checking whether GD_NEAREST_NEIGHBOUR is declared... yes checking whether gdImageFile is declared... yes checking for x86_64-opencloudos-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 linux/rtnetlink.h usability... yes checking linux/rtnetlink.h presence... yes checking for linux/rtnetlink.h... yes checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking whether IFLA_STATS64 is declared... yes checking whether O_CLOEXEC is declared... yes checking whether SQLITE_CHECKPOINT_RESTART is declared... yes checking whether SQLITE_CHECKPOINT_TRUNCATE is declared... yes 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: x86_64-opencloudos-linux-gnu configure: build: x86_64-opencloudos-linux-gnu configure: configure: prefix: /usr configure: exec_prefix: /usr configure: bindir: /usr/bin configure: sbindir: /usr/sbin 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 -j32 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' all Making all in . make[1]: Entering directory '/builddir/build/BUILD/vnstat-2.10' gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/vnstat.o src/vnstat.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/vnstat_func.o src/vnstat_func.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/ifinfo.o src/ifinfo.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/iflist.o src/iflist.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/dbsql.o src/dbsql.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/dbxml.o src/dbxml.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/dbjson.o src/dbjson.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/dbshow.o src/dbshow.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/common.o src/common.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/misc.o src/misc.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/cfg.o src/cfg.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/cfgoutput.o src/cfgoutput.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/ibw.o src/ibw.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/fs.o src/fs.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/id.o src/id.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/traffic.o src/traffic.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/vnstati.o src/vnstati.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/image.o src/image.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/image_support.o src/image_support.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/vnstatd.o src/vnstatd.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/dbaccess.o src/dbaccess.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/datacache.o src/datacache.c gcc -DHAVE_CONFIG_H -I. -I./src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/daemon.o src/daemon.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/local/lib -o vnstatd src/vnstatd.o src/ifinfo.o src/iflist.o src/dbsql.o src/dbaccess.o src/datacache.o src/common.o src/misc.o src/cfg.o src/ibw.o src/fs.o src/id.o src/daemon.o -lsqlite3 -lm gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/local/lib -o vnstat src/vnstat.o src/vnstat_func.o src/ifinfo.o src/iflist.o src/dbsql.o src/dbxml.o src/dbjson.o src/dbshow.o src/common.o src/misc.o src/cfg.o src/cfgoutput.o src/ibw.o src/fs.o src/id.o src/traffic.o -lsqlite3 -lm gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/local/lib -o vnstati src/vnstati.o src/iflist.o src/image.o src/image_support.o src/dbsql.o src/common.o src/misc.o src/fs.o src/id.o src/cfg.o -lgd -lsqlite3 -lm make[1]: Leaving directory '/builddir/build/BUILD/vnstat-2.10' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SqcZVo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64 + cd vnstat-2.10 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/var/lib/vnstat + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/lib/systemd/system + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/lib/tmpfiles.d + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/run/ + /usr/bin/install -d -m 0700 /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/run/vnstat/ + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64 Making install in . make[1]: Entering directory '/builddir/build/BUILD/vnstat-2.10' make[2]: Entering directory '/builddir/build/BUILD/vnstat-2.10' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/bin' /usr/bin/install -c vnstat vnstati '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/sbin' /usr/bin/install -c vnstatd '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 man/vnstat.1 man/vnstati.1 '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/man/man5' /usr/bin/install -c -m 644 man/vnstat.conf.5 '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 man/vnstatd.8 '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/man/man8' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/vnstat-2.10' Making install-exec in . make[4]: Entering directory '/builddir/build/BUILD/vnstat-2.10' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/bin' /usr/bin/install -c vnstat vnstati '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/sbin' /usr/bin/install -c vnstatd '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/sbin' make[4]: Leaving directory '/builddir/build/BUILD/vnstat-2.10' if [ -f /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/man/man1/vnstatd.1 ]; then rm -f /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/man/man1/vnstatd.1; fi /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/etc /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/bin/vnstat --showconfig >vnstat.conf.new if [ -f /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/etc/vnstat.conf ]; \ then cp -fv /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/etc/vnstat.conf vnstat.conf.old; \ fi cp -fv vnstat.conf.new /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/etc/vnstat.conf 'vnstat.conf.new' -> '/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/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-2.10' make[2]: Leaving directory '/builddir/build/BUILD/vnstat-2.10' make[1]: Leaving directory '/builddir/build/BUILD/vnstat-2.10' + /usr/bin/install -p -m 644 examples/systemd/vnstat.service /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/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/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.10-1.ocs23 --unique-debug-suffix -2.10-1.ocs23.x86_64 --unique-debug-src-base vnstat-2.10-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/vnstat-2.10 extracting debug info from /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/bin/vnstat extracting debug info from /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/bin/vnstati extracting debug info from /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/sbin/vnstatd 742 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: vnstat-2.10-1.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gnfn31 + umask 022 + cd /builddir/build/BUILD + cd vnstat-2.10 + DOCDIR=/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/doc/vnstat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/doc/vnstat + cp -pr CHANGES /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/doc/vnstat + cp -pr FAQ /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/doc/vnstat + cp -pr README /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/doc/vnstat + cp -pr INSTALL /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/doc/vnstat + cp -pr examples /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/doc/vnstat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.77Vi62 + umask 022 + cd /builddir/build/BUILD + cd vnstat-2.10 + LICENSEDIR=/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/licenses/vnstat + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/licenses/vnstat + cp -pr COPYING /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/licenses/vnstat + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(vnstat) = 2.10-1.ocs23 vnstat = 2.10-1.ocs23 vnstat(x86-64) = 2.10-1.ocs23 Requires(interp): /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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libsqlite3.so.0()(64bit) rtld(GNU_HASH) Processing files: vnstat-vnstati-2.10-1.ocs23.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.v6tSnB + umask 022 + cd /builddir/build/BUILD + cd vnstat-2.10 + LICENSEDIR=/builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/licenses/vnstat-vnstati + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/licenses/vnstat-vnstati + cp -pr COPYING /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64/usr/share/licenses/vnstat-vnstati + RPM_EC=0 ++ jobs -p + exit 0 Provides: vnstat-vnstati = 2.10-1.ocs23 vnstat-vnstati(x86-64) = 2.10-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgd.so.3()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libsqlite3.so.0()(64bit) rtld(GNU_HASH) Recommends: vnstat = 2.10-1.ocs23 Processing files: vnstat-debugsource-2.10-1.ocs23.x86_64 Provides: vnstat-debugsource = 2.10-1.ocs23 vnstat-debugsource(x86-64) = 2.10-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: vnstat-debuginfo-2.10-1.ocs23.x86_64 Provides: debuginfo(build-id) = 4f3012b500adf694df202e42453aa4988e6a0fe0 debuginfo(build-id) = 76f128411ce135f97d46312a61a945f1d160e9c4 vnstat-debuginfo = 2.10-1.ocs23 vnstat-debuginfo(x86-64) = 2.10-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: vnstat-debugsource(x86-64) = 2.10-1.ocs23 Processing files: vnstat-vnstati-debuginfo-2.10-1.ocs23.x86_64 Provides: debuginfo(build-id) = 3378a309558f130982bdd028bc0f7e8776b958c9 vnstat-vnstati-debuginfo = 2.10-1.ocs23 vnstat-vnstati-debuginfo(x86-64) = 2.10-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: vnstat-debugsource(x86-64) = 2.10-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/vnstat-2.10-1.ocs23.x86_64 Wrote: /builddir/build/RPMS/vnstat-vnstati-2.10-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/vnstat-debugsource-2.10-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/vnstat-vnstati-debuginfo-2.10-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/vnstat-2.10-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/vnstat-debuginfo-2.10-1.ocs23.x86_64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0