D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/perl-Nagios-Cmd-0.50.0-10.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vWj7hc
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qWnZyf
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build
+ rm -rf Nagios-Cmd-0.05
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Nagios-Cmd-0.05.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Nagios-Cmd-0.05
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GdPA2B
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build
+ cd Nagios-Cmd-0.05
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/perl Build.PL installdirs=vendor
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Nagios-Cmd' version '0.05'
+ ./Build
Building Nagios-Cmd
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GN4KeZ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build/BUILDROOT
+ cd Nagios-Cmd-0.05
+ '[' 1 -eq 1 ']'
+ ./Build install destdir=/home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build/BUILDROOT
Building Nagios-Cmd
Installing /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build/BUILDROOT/usr/share/perl5/vendor_perl/Nagios/Cmd.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build/BUILDROOT/usr/share/perl5/vendor_perl/Nagios/Cmd/Read.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build/BUILDROOT/usr/share/man/man3/Nagios::Cmd::Read.3pm
Installing /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build/BUILDROOT/usr/share/man/man3/Nagios::Cmd.3pm
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48
+ /usr/lib/rpm/redhat/brp-python-hardlink
sh: line 4: [: -j8: integer expression expected
Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lCFl4p
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Nagios-Cmd-0.50.0-build
+ cd Nagios-Cmd-0.05
+ '[' 1 -eq 1 ']'
+ ./Build test

#   Failed test 'read the command back'
#   at t/cmd.t line 83.
#                   undef
#     doesn't match '(?^:START_EXECUTING_SVC_CHECKS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ENABLE_PASSIVE_SVC_CHECKS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DEL_ALL_SVC_COMMENTS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DISABLE_SVC_CHECKS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DISABLE_NOTIFICATIONS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DELAY_HOST_NOTIFICATION)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:READ_STATE_INFORMATION)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DEL_ALL_HOST_COMMENTS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ADD_HOST_COMMENT)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DISABLE_HOST_NOTIFICATIONS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ADD_SVC_COMMENT)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:PROCESS_HOST_CHECK_RESULT)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:STOP_ACCEPTING_PASSIVE_SVC_CHECKS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ENABLE_NOTIFICATIONS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ENABLE_ALL_NOTIFICATIONS_BEYOND_HOST)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DISABLE_SVC_NOTIFICATIONS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:STOP_EXECUTING_SVC_CHECKS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:START_ACCEPTING_PASSIVE_SVC_CHECKS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DEL_SVC_COMMENT)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DEL_HOST_COMMENT)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:START_EXECUTING_SVC_CHECKS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ENABLE_HOST_SVC_NOTIFICATIONS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DISABLE_ALL_NOTIFICATIONS_BEYOND_HOST)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:PROCESS_SERVICE_CHECK_RESULT)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:SHUTDOWN_PROGRAM)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:RESTART_PROGRAM)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:SAVE_STATE_INFORMATION)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ENABLE_SVC_CHECKS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ACKNOWLEDGE_HOST_PROBLEM)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ENABLE_HOST_NOTIFICATIONS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DELAY_SVC_NOTIFICATION)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DISABLE_HOST_SVC_CHECKS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ENABLE_HOST_SVC_CHECKS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DISABLE_PASSIVE_SV_CHECKS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:DISABLE_HOST_SVC_NOTIFICATIONS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ACKNOWLEDGE_SVC_PROBLEM)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:ENABLE_SVC_NOTIFICATIONS)'

#   Failed test 'read command from previous test'
#   at t/cmd.t line 94.
#                   undef
#     doesn't match '(?^:SCHEDULE_HOST_SVC_CHECKS)'
#  
# Test Nagios::Object interoperability, if available
#  
# Simulate an event storm to a regular file
# by forking 20 child processes, which will submit 10 commands each.
# This could take a while, depending on the performance of your fork().
# Looks like you failed 38 tests of 88.
t/cmd.t .. 
Dubious, test returned 38 (wstat 9728, 0x2600)
Failed 38/88 subtests 
	(less 1 skipped subtest: 49 okay)

Test Summary Report
-------------------
t/cmd.t (Wstat: 9728 (exited 38) Tests: 88 Failed: 38)
  Failed tests:  11, 13, 15, 17, 19, 21, 23, 25, 27, 29
                31, 33, 35, 37, 39, 41, 43, 45, 47, 49
                51, 53, 55, 57, 59, 61, 63, 65, 67, 69
                71, 73, 75, 77, 79, 81, 83, 85
  Non-zero exit status: 38
Files=1, Tests=88,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.10 cusr  0.06 csys =  0.18 CPU)
Result: FAIL
Failed 1/1 test programs. 38/88 subtests failed.
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lCFl4p (%check)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lCFl4p (%check)
I: [iurt_root_command] ERROR: chroot