Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nagios-plugins-check_ups_health.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-1680087105.578743/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_ups_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'} and shell False warning: Could not canonicalize hostname: aws-x86-64-spot-prod-01187888-20230329-104234 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nagios-plugins-check_ups_health-3.0.5-2.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_ups_health.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-1680087105.578743/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_ups_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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ABH5HQ + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf check_ups_health-3.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/check_ups_health-3.0.5.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd check_ups_health-3.0.5 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ipQCbp + umask 022 + cd /builddir/build/BUILD + cd check_ups_health-3.0.5 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=noarch-redhat-linux-gnu --program-prefix= --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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /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 checking whether make sets $(MAKE)... (cached) yes checking for gawk... (cached) gawk checking for sh... /bin/sh checking for perl... /usr/bin/perl 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 --with-perl: /usr/bin/perl --with-nagios-user: nagios --with-nagios-group: nagios --disable-standalone: + make -j2 Making all in plugins-scripts make[1]: Entering directory `/builddir/build/BUILD/check_ups_health-3.0.5/plugins-scripts' /bin/echo "#! #PERL# -w" | gawk -f ./subst > check_ups_health /bin/echo "# nagios: -epn" >> check_ups_health /bin/echo >> check_ups_health if [ "yes" == "yes" ]; then \ /bin/echo i am standalone; \ for m in ../GLPlugin/lib/Monitoring/GLPlugin/Commandline/Extraopts.pm ../GLPlugin/lib/Monitoring/GLPlugin/Commandline/Getopt.pm ../GLPlugin/lib/Monitoring/GLPlugin/Commandline.pm ../GLPlugin/lib/Monitoring/GLPlugin.pm ../GLPlugin/lib/Monitoring/GLPlugin/Item.pm ../GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/CSF.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/Item.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/TableItem.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/SysDescPrettify.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LIEBERTGPAGENTMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LIEBERTGPCONDITIONSMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LIEBERTGPENVIRONMENTALMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LIEBERTGPFLEXIBLEMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LIEBERTGPPOWERMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LIEBERTGPREGISTRATIONMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/LIEBERTGPSYSTEMMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MGSNMPUPSMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/NETVISIONV6MIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/POWERNETMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UPSMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UPSV4MIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/XPPCMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/XUPSMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/UPSMANRIELLOSENTRMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATSMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ATSTHREEPHASEMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/EPPCMIB.pm ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/HOSTRESOURCESMIB.pm; do \ /bin/sed -e 's/^1;//g' < $m | /bin/sed -e '/^__END__/,$d' | gawk -f ./subst >> check_ups_health; \ done \ fi i am standalone for m in Classes/APC/Powermib/UPS/Components/EnvironmentalSubsystem.pm Classes/APC/Powermib/UPS/Components/BatterySubsystem.pm Classes/APC/Powermib/UPS.pm Classes/APC/Powermib.pm Classes/APC.pm Classes/Socomec/Netvision/Components/EnvironmentalSubsystem.pm Classes/Socomec/Netvision/Components/BatterySubsystem.pm Classes/Socomec/Netvision.pm Classes/Socomec.pm Classes/UPS/Components/EnvironmentalSubsystem.pm Classes/UPS/Components/BatterySubsystem.pm Classes/UPS.pm Classes/XUPS/Components/EnvironmentalSubsystem.pm Classes/XUPS/Components/BatterySubsystem.pm Classes/XUPS.pm Classes/EPPC/Components/EnvironmentalSubsystem.pm Classes/EPPC/Components/BatterySubsystem.pm Classes/EPPC.pm Classes/XPPC/Components/EnvironmentalSubsystem.pm Classes/XPPC/Components/BatterySubsystem.pm Classes/XPPC.pm Classes/V4/Components/EnvironmentalSubsystem.pm Classes/V4/Components/BatterySubsystem.pm Classes/V4.pm Classes/MerlinGerin/Components/EnvironmentalSubsystem.pm Classes/MerlinGerin/Components/BatterySubsystem.pm Classes/MerlinGerin.pm Classes/Liebert/Component/EnvironmentalSubsystem.pm Classes/Liebert/Component/BatterySubsystem.pm Classes/Liebert.pm Classes/ATS/ATSTHREEPHASE/Components/EnvironmentalSubsystem.pm Classes/ATS/ATSTHREEPHASE/Components/BatterySubsystem.pm Classes/ATS.pm Classes/Device.pm; do \ /bin/sed -e 's/^1;//g' < $m | /bin/sed -e '/^__END__/,$d' | gawk -f ./subst >> check_ups_health; \ done /bin/echo "package main;" >> check_ups_health /bin/cat check_ups_health.pl | gawk -f ./subst >> check_ups_health chmod +x check_ups_health make[1]: Leaving directory `/builddir/build/BUILD/check_ups_health-3.0.5/plugins-scripts' make[1]: Entering directory `/builddir/build/BUILD/check_ups_health-3.0.5' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/check_ups_health-3.0.5' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CwDZM1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64 + cd check_ups_health-3.0.5 + LANG=C + export LANG + unset DISPLAY + install -D -p -m 755 plugins-scripts/check_ups_health /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64/usr/lib64/nagios/plugins/check_ups_health + chmod -x AUTHORS ChangeLog README THANKS TODO COPYING + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/check_ups_health-3.0.5 + /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_ups_health-3.0.5-2.ndias.el6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GOLSwE + umask 022 + cd /builddir/build/BUILD + cd check_ups_health-3.0.5 + DOCDIR=/builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64/usr/share/doc/nagios-plugins-check_ups_health-3.0.5 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64/usr/share/doc/nagios-plugins-check_ups_health-3.0.5 + /bin/mkdir -p /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64/usr/share/doc/nagios-plugins-check_ups_health-3.0.5 + cp -pr AUTHORS ChangeLog README THANKS TODO /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64/usr/share/doc/nagios-plugins-check_ups_health-3.0.5 + cp -pr COPYING /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64/usr/share/doc/nagios-plugins-check_ups_health-3.0.5 + 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"). Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl perl(--lookback) >= 3600. perl(AutoLoader) perl(Data::Dumper) perl(Digest::MD5) perl(Errno) perl(File::Basename) perl(File::Path) perl(File::Slurp) perl(Getopt::Long) perl(IO::File) perl(JSON) perl(Module::Load) perl(POSIX) perl(Time::Local) perl(constant) perl(strict) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64 warning: Could not canonicalize hostname: aws-x86-64-spot-prod-01187888-20230329-104234 Wrote: /builddir/build/RPMS/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0XPEEU + umask 022 + cd /builddir/build/BUILD + cd check_ups_health-3.0.5 + /bin/rm -rf /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.el6.x86_64 + exit 0 Child return code was: 0