Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/check_mysql_health.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1613874862.125949/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d_jqa_1b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d_jqa_1b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c8afc3586e14476fb5f6544670d94822', '-D', '/var/lib/mock/epel-7-x86_64-1613874862.125949/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d_jqa_1b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/check_mysql_health.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/check_mysql_health-2.2.2-2.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/check_mysql_health.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1613874862.125949/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d_jqa_1b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d_jqa_1b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '90daa2099bab4d56ad6867832556958e', '-D', '/var/lib/mock/epel-7-x86_64-1613874862.125949/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d_jqa_1b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/check_mysql_health.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JnSoiO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf check_mysql_health-2.2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/check_mysql_health-2.2.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd check_mysql_health-2.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GtqKAi + umask 022 + cd /builddir/build/BUILD + cd check_mysql_health-2.2.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-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 --libexecdir=/usr/libexec/check_mysql_health configure: WARNING: unrecognized options: --disable-dependency-tracking 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 how to create a pax tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu variable with_statefiles_dir is /var/tmp/check_mysql_health variable with_mymodules_dir is /usr/local/nagios/libexec variable with_mymodules_dyn_dir is /usr/local/nagios/libexec checking whether make sets $(MAKE)... (cached) yes checking for echo... /usr/bin/echo checking for sed... /usr/bin/sed checking for grep... /usr/bin/grep checking for cat... /usr/bin/cat checking for sh... /usr/bin/sh checking for perl... /usr/bin/perl checking for gzip... /usr/bin/gzip checking for gawk... /usr/bin/gawk checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating plugins-scripts/Makefile config.status: creating plugins-scripts/subst config.status: creating t/Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking --with-perl: /usr/bin/perl --with-statefiles-dir: /var/tmp/check_mysql_health --with-nagios-user: nagios --with-nagios-group: nagios --with-mymodules-dir: /usr/local/nagios/libexec --with-mymodules-dyn-dir: /usr/local/nagios/libexec + make -j2 Making all in plugins-scripts make[1]: Entering directory `/builddir/build/BUILD/check_mysql_health-2.2.2/plugins-scripts' /usr/bin/echo "#! #PERL# -w" | /usr/bin/gawk -f ./subst > check_mysql_health /usr/bin/echo "# nagios: -epn" >> check_mysql_health /usr/bin/echo >> check_mysql_health /usr/bin/echo "my %ERRORS=( OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 );" >> check_mysql_health /usr/bin/echo "my %ERRORCODES=( 0 => 'OK', 1 => 'WARNING', 2 => 'CRITICAL', 3 => 'UNKNOWN' );" >> check_mysql_health for m in Nagios/DBD/MySQL/Server/Instance/Innodb.pm Nagios/DBD/MySQL/Server/Instance/Myisam.pm Nagios/DBD/MySQL/Server/Instance/Replication.pm Nagios/DBD/MySQL/Server/Instance.pm Nagios/DBD/MySQL/Server.pm Nagios/DBD/MySQL/Cluster.pm Nagios/Extraopts.pm; do \ /usr/bin/sed -e 's/^1;//g' < $m | /usr/bin/gawk -f ./subst | /usr/bin/grep -v "my %ERROR" >> check_mysql_health; \ done if [ -d "/usr/local/nagios/libexec" ]; then \ for m in /usr/local/nagios/libexec/CheckMySQLHealthExt*.pm; do \ if [ -f $m ]; then \ /usr/bin/echo found $m; \ /usr/bin/sed -e 's/^1;//g' < $m | /usr/bin/gawk -f ./subst | /usr/bin/grep -v "my %ERROR" >> check_mysql_health; \ fi \ done \ fi /usr/bin/cat check_mysql_health.pl | /usr/bin/grep -v "^use Nagios" | /usr/bin/grep -v "^my %ERROR" | /usr/bin/gawk -f ./subst >> check_mysql_health chmod +x check_mysql_health make[1]: Leaving directory `/builddir/build/BUILD/check_mysql_health-2.2.2/plugins-scripts' Making all in t make[1]: Entering directory `/builddir/build/BUILD/check_mysql_health-2.2.2/t' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/check_mysql_health-2.2.2/t' make[1]: Entering directory `/builddir/build/BUILD/check_mysql_health-2.2.2' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/check_mysql_health-2.2.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8Iu6dQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64 + cd check_mysql_health-2.2.2 + make install DESTDIR=/builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64 Making install in plugins-scripts make[1]: Entering directory `/builddir/build/BUILD/check_mysql_health-2.2.2/plugins-scripts' make[2]: Entering directory `/builddir/build/BUILD/check_mysql_health-2.2.2/plugins-scripts' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64/usr/libexec/check_mysql_health' /usr/bin/install -c check_mysql_health '/builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64/usr/libexec/check_mysql_health' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/check_mysql_health-2.2.2/plugins-scripts' make[1]: Leaving directory `/builddir/build/BUILD/check_mysql_health-2.2.2/plugins-scripts' Making install in t make[1]: Entering directory `/builddir/build/BUILD/check_mysql_health-2.2.2/t' make[2]: Entering directory `/builddir/build/BUILD/check_mysql_health-2.2.2/t' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/check_mysql_health-2.2.2/t' make[1]: Leaving directory `/builddir/build/BUILD/check_mysql_health-2.2.2/t' make[1]: Entering directory `/builddir/build/BUILD/check_mysql_health-2.2.2' make[2]: Entering directory `/builddir/build/BUILD/check_mysql_health-2.2.2' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/check_mysql_health-2.2.2' make[1]: Leaving directory `/builddir/build/BUILD/check_mysql_health-2.2.2' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/check_mysql_health-2.2.2 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /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: check_mysql_health-2.2.2-2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.m4O32n + umask 022 + cd /builddir/build/BUILD + cd check_mysql_health-2.2.2 + DOCDIR=/builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64/usr/share/doc/check_mysql_health-2.2.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64/usr/share/doc/check_mysql_health-2.2.2 + cp -pr AUTHORS /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64/usr/share/doc/check_mysql_health-2.2.2 + cp -pr NEWS /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64/usr/share/doc/check_mysql_health-2.2.2 + cp -pr ChangeLog /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64/usr/share/doc/check_mysql_health-2.2.2 + cp -pr README /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64/usr/share/doc/check_mysql_health-2.2.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PMztTV + umask 022 + cd /builddir/build/BUILD + cd check_mysql_health-2.2.2 + LICENSEDIR=/builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64/usr/share/licenses/check_mysql_health-2.2.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64/usr/share/licenses/check_mysql_health-2.2.2 + cp -pr COPYING /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64/usr/share/licenses/check_mysql_health-2.2.2 + exit 0 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Provides: check_mysql_health = 2.2.2-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl perl(Data::Dumper) perl(File::Basename) perl(File::Copy) perl(File::Path) perl(File::Temp) perl(Getopt::Long) perl(IO::File) perl(Net::Ping) perl(POSIX) perl(Time::HiRes) perl(lib) perl(strict) perl(vars) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64 Wrote: /builddir/build/RPMS/check_mysql_health-2.2.2-2.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.a4fJY1 + umask 022 + cd /builddir/build/BUILD + cd check_mysql_health-2.2.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el7.x86_64 + exit 0 Child return code was: 0