Installing qmailmrtg-4.2-3.qt.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Q3PFjE + umask 022 + cd /root/rpmbuild/BUILD + cd /root/rpmbuild/BUILD + rm -rf qmailmrtg7-4.2 + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/qmailmrtg7-4.2.tar.gz + /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 . + echo 'Patch #0 (concurrency.patch):' Patch #0 (concurrency.patch): + /usr/bin/cat /root/rpmbuild/SOURCES/concurrency.patch + /usr/bin/patch -p1 --fuzz=0 patching file qmailmrtg7.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xawAwT + umask 022 + cd /root/rpmbuild/BUILD + cd qmailmrtg7-4.2 + 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:279:15: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] tmpint = atoi(tmpstr1); ^ qmailmrtg7.c:337: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:388:1: warning: return type defaults to 'int' [-Wreturn-type] get_size(diri) ^ qmailmrtg7.c: In function 'get_size': qmailmrtg7.c:391:7: warning: unused variable 'mydir' [-Wunused-variable] DIR *mydir; ^ qmailmrtg7.c: At top level: qmailmrtg7.c:403: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.M6fgk9 + umask 022 + cd /root/rpmbuild/BUILD + '[' /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64 '!=' / ']' + rm -rf /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64 ++ dirname /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64 + mkdir -p /root/rpmbuild/BUILDROOT + mkdir /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64 + cd qmailmrtg7-4.2 + rm -rf /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64 + install -d /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64/etc/cron.d + install -Dp qmailmrtg /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64/usr/bin/qmailmrtg + install -Dp /root/rpmbuild/SOURCES/qmailmrtg.cfg /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64/usr/share/toaster/mrtg/qmailmrtg.cfg + install -Dp /root/rpmbuild/SOURCES/qmailmrtg.index.php /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64/usr/share/toaster/htdocs/mrtg/index.php + install -Dp /root/rpmbuild/SOURCES/qmailmrtg.module /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64/usr/share/toaster/include/qmailmrtg.module + install -Dp /root/rpmbuild/SOURCES/qmailmrtg.cfg.old /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64/usr/share/toaster/mrtg/qmailmrtg.cfg.old + install -Dp /root/rpmbuild/SOURCES/qmailmrtg.index.php.old /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64/usr/share/toaster/htdocs/mrtg/index.php.old + '[' '%{buildarch}' = noarch ']' + QA_CHECK_RPATHS=1 + case "${QA_CHECK_RPATHS:-}" in + /usr/lib/rpm/check-rpaths + /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-4.2-3.qt.el7.x86_64 Provides: config(qmailmrtg) = 4.2-3.qt.el7 qmailmrtg = 4.2-3.qt.el7 qmailmrtg(x86-64) = 4.2-3.qt.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) Obsoletes: qmailmrtg-toaster Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64 Wrote: /root/rpmbuild/RPMS/x86_64/qmailmrtg-4.2-3.qt.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UnXJ7F + umask 022 + cd /root/rpmbuild/BUILD + cd qmailmrtg7-4.2 + rm -rf /root/rpmbuild/BUILDROOT/qmailmrtg-4.2-3.qt.x86_64 + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.vigCyW + umask 022 + cd /root/rpmbuild/BUILD + rm -rf qmailmrtg7-4.2 + exit 0