Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nagios-plugins-check_postgres.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-1620941573.647833/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nagios-plugins-check_postgres.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'} and shell False warning: Could not canonicalize hostname: ip-172-30-5-231.ec2.internal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.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/nagios-plugins-check_postgres.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-1620941573.647833/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nagios-plugins-check_postgres.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dtsDPy + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf check_postgres-2.24.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/check_postgres-2.24.0.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd check_postgres-2.24.0 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6X3BKV + umask 022 + cd /builddir/build/BUILD + cd check_postgres-2.24.0 + LANG=C + export LANG + unset DISPLAY + perl Makefile.PL INSTALLDIRS=vendor INSTALLSCRIPT=/usr/lib64/nagios/plugins INSTALLVENDORSCRIPT=/usr/lib64/nagios/plugins WARNING: TEST_REQUIRES is not a known parameter. Warning: prerequisite ExtUtils::MakeMaker 6.64 not found. We have 6.5502. Warning: prerequisite Test::More 0.61 not found. Configuring check_postgres 2.24.0 Checking if your kit is complete... Looks good 'TEST_REQUIRES' is not a known MakeMaker parameter name. Writing Makefile for check_postgres + make -j2 cp check_postgres.pl blib/script/check_postgres.pl /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/check_postgres.pl Manifying blib/man1/check_postgres.1p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.O5H0Yj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64 + cd check_postgres-2.24.0 + LANG=C + export LANG + unset DISPLAY + make install DESTDIR=/builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64 Manifying blib/man1/check_postgres.1p Installing /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64/usr/share/man/man1/check_postgres.1p Installing /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64/usr/lib64/nagios/plugins/check_postgres.pl Appending installation info to /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64/usr/lib64/perl5/perllocal.pod + find /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64 -type f -name '*.pod' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/check_postgres-2.24.0 + /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/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-check_postgres-2.24.0-1.ndias.el6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TFyheJ + umask 022 + cd /builddir/build/BUILD + cd check_postgres-2.24.0 + DOCDIR=/builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64/usr/share/doc/nagios-plugins-check_postgres-2.24.0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64/usr/share/doc/nagios-plugins-check_postgres-2.24.0 + /bin/mkdir -p /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64/usr/share/doc/nagios-plugins-check_postgres-2.24.0 + cp -pr README.md TODO /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64/usr/share/doc/nagios-plugins-check_postgres-2.24.0 + cp -pr LICENSE /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64/usr/share/doc/nagios-plugins-check_postgres-2.24.0 + exit 0 warning: %defattr doesn't define directory mode so file mode defined in %defattr is used for directory: /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64/usr/share/doc/nagios-plugins-check_postgres-2.24.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"). Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/env perl >= 0:5.006001 perl(Cwd) perl(Data::Dumper) perl(File::Basename) perl(File::Spec) perl(File::Temp) perl(Getopt::Long) perl(strict) perl(utf8) perl(vars) perl(warnings) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64 warning: Could not canonicalize hostname: ip-172-30-5-231.ec2.internal Wrote: /builddir/build/RPMS/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lBQJdy + umask 022 + cd /builddir/build/BUILD + cd check_postgres-2.24.0 + /bin/rm -rf /builddir/build/BUILDROOT/nagios-plugins-check_postgres-2.24.0-1.ndias.el6.x86_64 + exit 0 Child return code was: 0