Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/nagios-plugins-check_ups_health.spec'], chrootPath='/var/lib/mock/opensuse-leap-15.4-aarch64-1680087098.811079/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.sylq9xzc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.sylq9xzc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '187a80aeea1b47e4ad531bb2ece5d0b5', '-D', '/var/lib/mock/opensuse-leap-15.4-aarch64-1680087098.811079/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sylq9xzc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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/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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/nagios-plugins-check_ups_health.spec'], chrootPath='/var/lib/mock/opensuse-leap-15.4-aarch64-1680087098.811079/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.sylq9xzc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.sylq9xzc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '73f3c256e5b6413fbbf5ca8d72b5014d', '-D', '/var/lib/mock/opensuse-leap-15.4-aarch64-1680087098.811079/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sylq9xzc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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/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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9OZxqv + umask 022 + cd /builddir/build/BUILD + 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 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd check_ups_health-3.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IKx98t + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64 ++ dirname /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64 + cd check_ups_health-3.0.5 + ref=/usr/lib/rpm + for s in guess sub ++ find -maxdepth 8 -name config.guess + for c in $(find -maxdepth 8 -name "config.$s") + grep -q config-patches@ ./config.guess + grep -q aarch64 ./config.guess + grep -q ppc64le ./config.guess + for s in guess sub ++ find -maxdepth 8 -name config.sub + for c in $(find -maxdepth 8 -name "config.$s") + grep -q config-patches@ ./config.sub + grep -q aarch64 ./config.sub + grep -q ppc64le ./config.sub + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g' + export FFLAGS + ./configure --host=aarch64-suse-linux-gnu --build=aarch64-suse-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/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking configure: WARNING: unrecognized options: --disable-dependency-tracking, --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-suse-linux-gnu checking host system type... aarch64-suse-linux-gnu checking whether make sets $(MAKE)... (cached) yes checking for gawk... (cached) gawk checking for sh... /usr/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 configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-dependency-tracking --with-perl: /usr/bin/perl --with-nagios-user: nagios --with-nagios-group: nagios --disable-standalone: + make -j4 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.UK33Bt + umask 022 + cd /builddir/build/BUILD + cd check_ups_health-3.0.5 + install -D -p -m 755 plugins-scripts/check_ups_health /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64/usr/lib64/nagios/plugins/check_ups_health + chmod -x AUTHORS ChangeLog README THANKS TODO COPYING + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-suse Processing files: nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.r0xqpu + 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.suse.lp154.aarch64/usr/share/doc/packages/nagios-plugins-check_ups_health + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64/usr/share/doc/packages/nagios-plugins-check_ups_health + cp -pr AUTHORS /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64/usr/share/doc/packages/nagios-plugins-check_ups_health + cp -pr ChangeLog /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64/usr/share/doc/packages/nagios-plugins-check_ups_health + cp -pr README /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64/usr/share/doc/packages/nagios-plugins-check_ups_health + cp -pr THANKS /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64/usr/share/doc/packages/nagios-plugins-check_ups_health + cp -pr TODO /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64/usr/share/doc/packages/nagios-plugins-check_ups_health + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.GXvEGv + umask 022 + cd /builddir/build/BUILD + cd check_ups_health-3.0.5 + LICENSEDIR=/builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64/usr/share/licenses/nagios-plugins-check_ups_health + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64/usr/share/licenses/nagios-plugins-check_ups_health + cp -pr COPYING /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64/usr/share/licenses/nagios-plugins-check_ups_health + exit 0 Provides: nagios-plugins-check_ups_health = 3.0.5-2.ndias.suse.lp154 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/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64 Wrote: /builddir/build/RPMS/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e8traw + umask 022 + cd /builddir/build/BUILD + cd check_ups_health-3.0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nagios-plugins-check_ups_health-3.0.5-2.ndias.suse.lp154.aarch64 + exit 0 Child return code was: 0