Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/check_mysql_health.spec'], chrootPath='/var/lib/mock/epel-8-aarch64-1613875956.613082/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.52w38_us:/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.52w38_us:/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', 'cbb4ee56cf8c4febbe9e172d6c735695', '-D', '/var/lib/mock/epel-8-aarch64-1613875956.613082/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.52w38_us:/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 aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/check_mysql_health-2.2.2-2.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/check_mysql_health.spec'], chrootPath='/var/lib/mock/epel-8-aarch64-1613875956.613082/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.52w38_us:/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.52w38_us:/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', 'd6286f10b1904876bda7bfb4add7a435', '-D', '/var/lib/mock/epel-8-aarch64-1613875956.613082/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.52w38_us:/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 aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EyuwKw + 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 -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd check_mysql_health-2.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pwd /builddir/build/BUILD/check_mysql_health-2.2.2 + ls plugins-scripts Makefile.am Makefile.in Nagios check_mysql_health.pl subst.in + sed -i '1 s@.*@#!/usr/bin/env perl -w@' t/check_mysql_health.t + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aGJswW + umask 022 + cd /builddir/build/BUILD + cd check_mysql_health-2.2.2 + CFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -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 $(dirname ./configure) -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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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... aarch64-redhat-linux-gnu checking host system type... aarch64-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 -j4 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.HxidhY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64 + cd check_mysql_health-2.2.2 + make install DESTDIR=/builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64 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.el8.aarch64/usr/libexec/check_mysql_health' /usr/bin/install -c check_mysql_health '/builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64/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 -j4 --strict-build-id -m -i --build-id-seed 2.2.2-2.el8 --unique-debug-suffix -2.2.2-2.el8.aarch64 --unique-debug-src-base check_mysql_health-2.2.2-2.el8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/check_mysql_health-2.2.2 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /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: check_mysql_health-2.2.2-2.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TVjY94 + umask 022 + cd /builddir/build/BUILD + cd check_mysql_health-2.2.2 + DOCDIR=/builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64/usr/share/doc/check_mysql_health + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64/usr/share/doc/check_mysql_health + cp -pr AUTHORS /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64/usr/share/doc/check_mysql_health + cp -pr NEWS /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64/usr/share/doc/check_mysql_health + cp -pr ChangeLog /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64/usr/share/doc/check_mysql_health + cp -pr README /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64/usr/share/doc/check_mysql_health + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7i2z29 + umask 022 + cd /builddir/build/BUILD + cd check_mysql_health-2.2.2 + LICENSEDIR=/builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64/usr/share/licenses/check_mysql_health + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64/usr/share/licenses/check_mysql_health + cp -pr COPYING /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64/usr/share/licenses/check_mysql_health + exit 0 Provides: check_mysql_health = 2.2.2-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/check_mysql_health-2.2.2-2.el8.aarch64 Wrote: /builddir/build/RPMS/check_mysql_health-2.2.2-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7gJfzp + 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.el8.aarch64 + exit 0 Child return code was: 0