Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/nagios_plugins_ru.spec'], False, '/var/lib/mock/centos6-rutgers-staging-build-4998-7630/root/', None, 86400, True, 0, 486, 495, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/nagios_plugins_ru.spec'] warning: Could not canonicalize hostname: opus5.rutgers.edu Building target platforms: i386 Building for target i386 Wrote: /builddir/build/SRPMS/nagios_plugins_ru-0.8.19-3.ru6.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/nagios_plugins_ru.spec'], False, '/var/lib/mock/centos6-rutgers-staging-build-4998-7630/root/', None, 86400, True, 0, 486, 495, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/nagios_plugins_ru.spec'] Building target platforms: i386 Building for target i386 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.a3XAFF + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf nagios_plugins_ru-0.8.19 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/nagios_plugins_ru-0.8.19.tar.bz2 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd nagios_plugins_ru-0.8.19 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (perldep.patch): + echo 'Patch #0 (perldep.patch):' + /bin/cat /builddir/build/SOURCES/perldep.patch + /usr/bin/patch -p1 --fuzz=0 patching file scripts/check_snmp_printer.pl Patch #1 (check_ipmi.patch): + echo 'Patch #1 (check_ipmi.patch):' + /bin/cat /builddir/build/SOURCES/check_ipmi.patch + /usr/bin/patch -p1 --fuzz=0 (Stripping trailing CRs from patch.) patching file scripts/check_ipmi Patch #2 (check_lsi_patch.rutgers.patch): + echo 'Patch #2 (check_lsi_patch.rutgers.patch):' + /bin/cat /builddir/build/SOURCES/check_lsi_patch.rutgers.patch + /usr/bin/patch -p1 --fuzz=0 (Stripping trailing CRs from patch.) patching file scripts/check_lsi_raid + sed -i 's|/usr/local|/usr|' scripts/70-nagios-ipmi.permissions scripts/check_clamav scripts/check_clamav_defs.py scripts/check_dhcp_helpers scripts/check_dhcp_helpers_internal scripts/check_directors scripts/check_file_contents scripts/check_imap_auth scripts/check_ipmi scripts/check_ipmi_chassis_remote scripts/check_ipmi_remote scripts/check_ldap_clearbind scripts/check_ldap_namingcontexts scripts/check_ldap_reader scripts/check_ldap_readeverything scripts/check_ldap_sync scripts/check_ldapsubmitter scripts/check_lsi_raid scripts/check_mailman_qfiles scripts/check_nfsping.pl scripts/check_smartctl scripts/check_snmp_printer.pl scripts/check_tftp scripts/check_wincpu scripts/check_winhd scripts/check_winmem scripts/check_winproc scripts/check_xenvm scripts/config.sample scripts/kerbtest.sh scripts/ldapSynchCheck.py + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/70-nagios-ipmi.permissions + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_clamav + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_clamav_defs.py + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_dhcp_helpers + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_dhcp_helpers_internal + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_directors + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_file_contents + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_imap_auth + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_ipmi + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_ipmi_chassis_remote + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_ipmi_remote + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_ldap_clearbind + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_ldap_namingcontexts + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_ldap_reader + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_ldap_readeverything + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_ldap_sync + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_ldapsubmitter + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_lsi_raid + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_mailman_qfiles + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_nfsping.pl + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_smartctl + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_snmp_printer.pl + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_tftp + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_wincpu + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_winhd + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_winmem + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_winproc + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/check_xenvm + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/config.sample + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/kerbtest.sh + for i in 'scripts/*' + sed -i s,/usr/local/lib64,/usr/local/lib,g scripts/ldapSynchCheck.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qPVoZA + umask 022 + cd /builddir/build/BUILD + cd nagios_plugins_ru-0.8.19 + LANG=C + export LANG + unset DISPLAY ~/build/BUILD/nagios_plugins_ru-0.8.19/src ~/build/BUILD/nagios_plugins_ru-0.8.19 + pushd src + gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables check_em01.c -o check_em01 check_em01.c: In function 'myatof': check_em01.c:231: warning: value computed is not used check_em01.c: In function 'connectWebsensor': check_em01.c:259: warning: unused variable 'i' check_em01.c: In function 'INThandler': check_em01.c:283: warning: implicit declaration of function 'alarm' check_em01.c: At top level: check_em01.c:363: warning: return type defaults to 'int' check_em01.c: In function 'main': check_em01.c:377: warning: implicit declaration of function 'print_help' check_em01.c:401: warning: implicit declaration of function 'usleep' check_em01.c:423: warning: implicit declaration of function 'toupper' check_em01.c:425: warning: implicit declaration of function 'write' check_em01.c:446: warning: implicit declaration of function 'read' check_em01.c:578: warning: unknown conversion type character '|' in format check_em01.c:582: warning: unknown conversion type character '|' in format check_em01.c:586: warning: unknown conversion type character '|' in format check_em01.c:590: warning: unknown conversion type character '|' in format check_em01.c:631: warning: too many arguments for format check_em01.c:371: warning: unused variable 'start_time' check_em01.c:370: warning: unused variable 'calc_checksum' check_em01.c:370: warning: unused variable 'rcvd_checksum' check_em01.c:367: warning: unused variable 'datachar' check_em01.c:366: warning: unused variable 'ecData' check_em01.c:364: warning: unused variable 'i' check_em01.c: In function 'print_help': check_em01.c:717: warning: implicit declaration of function 'print_usage' check_em01.c: In function 'CalculateAverage': check_em01.c:297: warning: 'gdata' may be used uninitialized in this function + gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables check_es11.c -o check_es11 check_es11.c: In function 'myatof': check_es11.c:185: warning: value computed is not used check_es11.c: In function 'connectWebsensor': check_es11.c:213: warning: unused variable 'i' check_es11.c: In function 'main': check_es11.c:242: warning: implicit declaration of function 'print_help' check_es11.c:246: warning: implicit declaration of function 'time' check_es11.c:249: warning: implicit declaration of function 'ctime' check_es11.c:249: warning: format '%s' expects type 'char *', but argument 3 has type 'int' check_es11.c:267: warning: implicit declaration of function 'toupper' check_es11.c:276: warning: implicit declaration of function 'write' check_es11.c:302: warning: implicit declaration of function 'read' check_es11.c:234: warning: unused variable 'data' check_es11.c: In function 'print_help': check_es11.c:396: warning: implicit declaration of function 'print_usage' In file included from /usr/include/string.h:642, from check_es11.c:53: In function 'strcpy', inlined from 'main' at check_es11.c:275: /usr/include/bits/string3.h:105: warning: call to __builtin___strcpy_chk will always overflow destination buffer In function 'strcpy', inlined from 'main' at check_es11.c:286: /usr/include/bits/string3.h:105: warning: call to __builtin___strcpy_chk will always overflow destination buffer + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jXezRx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386 ++ dirname /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386 ~/build/BUILD/nagios_plugins_ru-0.8.19/scripts ~/build/BUILD/nagios_plugins_ru-0.8.19 + cd nagios_plugins_ru-0.8.19 + LANG=C + export LANG + unset DISPLAY + pushd scripts + mkdir -m 0755 -p /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + mkdir -m 0755 -p /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers/etc + install -pm 0755 check_dhcp_helpers /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_ipmi /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_ipmi_chassis_remote /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_ipmi_remote /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_smartctl /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_dhcp_helpers_internal /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_ldap_clearbind /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_ldap_reader /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 ldapSynchCheck.py /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_ldap_sync /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_clamav /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_clamav_defs.py /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_file_contents /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_imap_auth /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_tftp /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_ldap_namingcontexts /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_ldap_readeverything /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_xenvm /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 kerbtest.sh /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_mailman_qfiles /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_ldapsubmitter /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_nfsping.pl /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_directors /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_snmp_printer.pl /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_wincpu /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_winhd /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_winmem /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_winproc /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_lsi_raid /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + mkdir -m 0755 -p /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/etc/udev/permissions.d + install -m 0755 70-nagios-ipmi.permissions /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/etc/udev/permissions.d ~/build/BUILD/nagios_plugins_ru-0.8.19 ~/build/BUILD/nagios_plugins_ru-0.8.19/src ~/build/BUILD/nagios_plugins_ru-0.8.19 + popd + pushd src + install -pm 0755 check_em01 /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -pm 0755 check_es11 /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers + install -m 0755 check_by_http-i386 /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/local/lib/nagios/plugins/rutgers/check_by_http ~/build/BUILD/nagios_plugins_ru-0.8.19 + popd + /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-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: nagios_plugins_ru-0.8.19-3.ru6.i386 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.50x8nw + umask 022 + cd /builddir/build/BUILD + cd nagios_plugins_ru-0.8.19 + DOCDIR=/builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/share/doc/nagios_plugins_ru-0.8.19 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/share/doc/nagios_plugins_ru-0.8.19 + /bin/mkdir -p /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/share/doc/nagios_plugins_ru-0.8.19 + cp -pr scripts/config.sample /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386/usr/share/doc/nagios_plugins_ru-0.8.19 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash /bin/sh /usr/bin/perl /usr/bin/python libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) perl >= 0:5.004 perl(Data::Dumper) perl(File::Find::Rule) perl(Getopt::Long) perl(Getopt::Std) perl(Net::SNMP) perl(POSIX) perl(Pod::Usage) perl(Switch) perl(constant) perl(lib) perl(strict) perl(utils) perl(vars) perl(warnings) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386 warning: Could not canonicalize hostname: opus5.rutgers.edu Wrote: /builddir/build/RPMS/nagios_plugins_ru-0.8.19-3.ru6.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lmuPzw + umask 022 + cd /builddir/build/BUILD + cd nagios_plugins_ru-0.8.19 + rm -rf /builddir/build/BUILDROOT/nagios_plugins_ru-0.8.19-3.ru6.i386 + exit 0 Child returncode was: 0 LEAVE do -->