Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/qmailmrtg-toaster.spec'], chrootPath='/var/lib/mock/1211285-epel-8-x86_64-1580394226.210667/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mzfuan55:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mzfuan55:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2d3084e0382a4d7ba6f1a618f8d98181', '-D', '/var/lib/mock/1211285-epel-8-x86_64-1580394226.210667/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mzfuan55:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/qmailmrtg-toaster.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 warning: bogus date in %changelog: Wed Jan 30 2020 Dionysis Kladis 3.4-1.3.8.kng warning: bogus date in %changelog: Fri May 24 2003 Miguel Beccari 03.7-1.0.7 warning: bogus date in %changelog: Sun Feb 15 2003 Nick Hemmesch 3.7-1.0.3 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/qmailmrtg-toaster-4.2-1.3.8.kng.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/qmailmrtg-toaster.spec'], chrootPath='/var/lib/mock/1211285-epel-8-x86_64-1580394226.210667/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mzfuan55:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mzfuan55:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c99c0a9cffbe46bd8eef538f0d0216a8', '-D', '/var/lib/mock/1211285-epel-8-x86_64-1580394226.210667/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mzfuan55:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/qmailmrtg-toaster.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 warning: bogus date in %changelog: Wed Jan 30 2020 Dionysis Kladis 3.4-1.3.8.kng warning: bogus date in %changelog: Fri May 24 2003 Miguel Beccari 03.7-1.0.7 warning: bogus date in %changelog: Sun Feb 15 2003 Nick Hemmesch 3.7-1.0.3 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KWxiFe + umask 022 + cd /builddir/build/BUILD + '[' -n /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 -a /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 ']' + rm -rf /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 + cd /builddir/build/BUILD + rm -rf qmailmrtg7-4.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/qmailmrtg7-4.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd qmailmrtg7-4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (qmailmrtg7-modernize-code.diff):' Patch #0 (qmailmrtg7-modernize-code.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file checkq.c patching file qmailmrtg7.c + '[' -f /var/tmp/qmailmrtg-toaster-4.2-gcc ']' + '[' -x /usr/bin/gcc-3.2.3 ']' + '[' -x /usr/bin/gcc-3.2.2 ']' + '[' -x /usr/bin/gcc-3.2.1 ']' + '[' -x /usr/bin/gcc-3.2 ']' + '[' -x /usr/bin/gcc-3.1.1 ']' + echo gcc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2vXH9H + umask 022 + cd /builddir/build/BUILD + cd qmailmrtg7-4.2 + '[' -n /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 -a /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 + cat ++ cat /var/tmp/qmailmrtg-toaster-4.2-gcc + export 'CC=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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CC='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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + gcc checkq.c -o checkq + ./checkq + gcc -s -O qmailmrtg7.c -o qmailmrtg qmailmrtg7.c: In function 'main': qmailmrtg7.c:128:40: warning: implicit declaration of function 'count_files' [-Wimplicit-function-declaration] if ( BigTodo == 0 ) printf("%d\n", count_files(TmpBuf)); ^~~~~~~~~~~ qmailmrtg7.c: At top level: qmailmrtg7.c:378:1: warning: return type defaults to 'int' [-Wimplicit-int] get_size(diri) ^~~~~~~~ qmailmrtg7.c:392:1: warning: return type defaults to 'int' [-Wimplicit-int] count_files(char *diri) ^~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MrI0vc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 + cd qmailmrtg7-4.2 + install -d /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64/etc/cron.d/ + install -d /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64/usr/share/toaster/mrtg + install -d /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64/usr/bin + install -d /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64/usr/share/toaster/htdocs/mrtg + install -d /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64/usr/share/toaster/include + install -m755 qmailmrtg /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64/usr/bin/qmailmrtg + install -m644 /builddir/build/SOURCES/index.php.bz2 /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64/usr/share/toaster/htdocs/mrtg/ + install -m644 qmailmrtg.module /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64/usr/share/toaster/include/ + bunzip2 /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64/usr/share/toaster/htdocs/mrtg/index.php.bz2 + cat + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 Provides: config(qmailmrtg-toaster) = 4.2-1.3.8.kng.el8 qmailmrtg-toaster = 4.2-1.3.8.kng.el8 qmailmrtg-toaster(x86-64) = 4.2-1.3.8.kng.el8 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 Wrote: /builddir/build/RPMS/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Mmt0tH + umask 022 + cd /builddir/build/BUILD + cd qmailmrtg7-4.2 + '[' -n /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 -a /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el8.x86_64 + '[' -d /builddir/build/BUILD/qmailmrtg7-4.2 ']' + rm -rf /builddir/build/BUILD/qmailmrtg7-4.2 + '[' -f /var/tmp/qmailmrtg-toaster-4.2-gcc ']' + rm -f /var/tmp/qmailmrtg-toaster-4.2-gcc + exit 0 Child return code was: 0