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/1130883-epel-7-x86_64-1576663011.757300/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', '--bind=/tmp/mock-resolv.rysj4bfw:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rysj4bfw:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5ab8978b00184b4cbd3bf8648091805a', '-D', '/var/lib/mock/1130883-epel-7-x86_64-1576663011.757300/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rysj4bfw:/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 Building target platforms: x86_64 Building for target x86_64 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 Wrote: /builddir/build/SRPMS/qmailmrtg-toaster-4.2-1.3.8.kng.el7.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/1130883-epel-7-x86_64-1576663011.757300/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', '--bind=/tmp/mock-resolv.rysj4bfw:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rysj4bfw:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fca5ae2bc80f4bc3a7ee7491e428c0e6', '-D', '/var/lib/mock/1130883-epel-7-x86_64-1576663011.757300/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rysj4bfw:/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 Building target platforms: x86_64 Building for target x86_64 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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SQGxyY + umask 022 + cd /builddir/build/BUILD + '[' -n /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 -a /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 ']' + rm -rf /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.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 -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd qmailmrtg7-4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' -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.AJ38YD + umask 022 + cd /builddir/build/BUILD + cd qmailmrtg7-4.2 + '[' -n /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 -a /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 + cat ++ cat /var/tmp/qmailmrtg-toaster-4.2-gcc + export 'CC=gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + CC='gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic checkq.c -o checkq checkq.c:25:5: warning: second argument of 'main' should be 'char **' [-Wmain] int main(int argc, char *argv) ^ checkq.c: In function 'main': checkq.c:38:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if ( strcmp(mydirent->d_name,".")==0 || ^ checkq.c:35:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/var/qmail/queue/todo"); ^ checkq.c:49:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/var/qmail/queue/mess"); ^ + ./checkq + gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -s -O qmailmrtg7.c -o qmailmrtg qmailmrtg7.c: In function 'main': qmailmrtg7.c:69:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(-1); ^ qmailmrtg7.c:69:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] qmailmrtg7.c:93:7: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(-1); ^ qmailmrtg7.c:101:3: warning: statement with no effect [-Wunused-value] tconcurrency; ^ qmailmrtg7.c:128:5: warning: implicit declaration of function 'count_files' [-Wimplicit-function-declaration] if ( BigTodo == 0 ) printf("%d\n", count_files(TmpBuf)); ^ qmailmrtg7.c:131:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(0); ^ qmailmrtg7.c:137:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(-1); ^ qmailmrtg7.c: In function 'process_file': qmailmrtg7.c:278:11: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] tmpint = atoi(tmpstr1); ^ qmailmrtg7.c:335:11: warning: implicit declaration of function 'atol' [-Wimplicit-function-declaration] bytes += atol(tmpstr1); ^ qmailmrtg7.c:245:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ qmailmrtg7.c:244:6: warning: unused variable 'c' [-Wunused-variable] int c; ^ qmailmrtg7.c:243:8: warning: unused variable 'tmp4' [-Wunused-variable] char *tmp4; ^ qmailmrtg7.c:242:8: warning: unused variable 'tmp3' [-Wunused-variable] char *tmp3; ^ qmailmrtg7.c:241:8: warning: unused variable 'tmp2' [-Wunused-variable] char *tmp2; ^ qmailmrtg7.c:240:8: warning: unused variable 'tmp1' [-Wunused-variable] char *tmp1; ^ qmailmrtg7.c:236:9: warning: unused variable 'now_time' [-Wunused-variable] time_t now_time; ^ qmailmrtg7.c:235:16: warning: unused variable 'u' [-Wunused-variable] unsigned long u; ^ qmailmrtg7.c:234:16: warning: unused variable 'nanosecs' [-Wunused-variable] unsigned long nanosecs; ^ qmailmrtg7.c: At top level: qmailmrtg7.c:386:1: warning: return type defaults to 'int' [-Wreturn-type] get_size(diri) ^ qmailmrtg7.c: In function 'get_size': qmailmrtg7.c:389:7: warning: unused variable 'mydir' [-Wunused-variable] DIR *mydir; ^ qmailmrtg7.c: At top level: qmailmrtg7.c:401:1: warning: return type defaults to 'int' [-Wreturn-type] count_files(char *diri) ^ qmailmrtg7.c: In function 'main': qmailmrtg7.c:228:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ybWAlk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 + cd qmailmrtg7-4.2 + install -d /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64/etc/cron.d/ + install -d /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64/usr/share/toaster/mrtg + install -d /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64/usr/bin + install -d /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64/usr/share/toaster/htdocs/mrtg + install -d /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64/usr/share/toaster/include + install -m755 qmailmrtg /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64/usr/bin/qmailmrtg + install -m644 /builddir/build/SOURCES/index.php.bz2 /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64/usr/share/toaster/htdocs/mrtg/ + install -m644 qmailmrtg.module /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64/usr/share/toaster/include/ + bunzip2 /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64/usr/share/toaster/htdocs/mrtg/index.php.bz2 + cat + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 Provides: config(qmailmrtg-toaster) = 4.2-1.3.8.kng.el7 qmailmrtg-toaster = 4.2-1.3.8.kng.el7 qmailmrtg-toaster(x86-64) = 4.2-1.3.8.kng.el7 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) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(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.el7.x86_64 Wrote: /builddir/build/RPMS/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QYC1rJ + umask 022 + cd /builddir/build/BUILD + cd qmailmrtg7-4.2 + '[' -n /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 -a /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/qmailmrtg-toaster-4.2-1.3.8.kng.el7.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