D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-Expect-Simple-0.40.0-7.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RF51Qm + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Expect-Simple-0.04 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/Expect-Simple-0.04.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd Expect-Simple-0.04 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2ulKJA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Expect-Simple-0.04 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Expect::Simple Writing MYMETA.yml and MYMETA.json + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 cp lib/Expect/Simple.pm blib/lib/Expect/Simple.pm Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hCXqqQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/perl-Expect-Simple-0.40.0-7.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/perl-Expect-Simple-0.40.0-7.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/perl-Expect-Simple-0.40.0-7.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/perl-Expect-Simple-0.40.0-7.mga7.x86_64 + cd Expect-Simple-0.04 + '[' 1 -eq 1 ']' + echo 'warning: %makeinstall_std is deprecated, try %make_install instead' warning: %makeinstall_std is deprecated, try %make_install instead + make DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/perl-Expect-Simple-0.40.0-7.mga7.x86_64 install Manifying 1 pod document Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Expect-Simple-0.40.0-7.mga7.x86_64/usr/lib/perl5/vendor_perl/5.26.2/Expect/Simple.pm Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Expect-Simple-0.40.0-7.mga7.x86_64/usr/share/man/man3/Expect::Simple.3pm Appending installation info to /home/pterjan/rpmbuild/BUILDROOT/perl-Expect-Simple-0.40.0-7.mga7.x86_64/usr/lib/perl5/5.26.2/x86_64-linux-thread-multi/perllocal.pod + rm -rf /home/pterjan/rpmbuild/BUILDROOT/perl-Expect-Simple-0.40.0-7.mga7.x86_64//usr/lib/perl5/vendor_perl/5.26.2/x86_64-linux-thread-multi + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 0.40.0-7.mga7 --unique-debug-suffix -0.40.0-7.mga7.x86_64 --unique-debug-src-base perl-Expect-Simple-0.40.0-7.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/Expect-Simple-0.04 + '[' -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/translate_menu + '[' -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_elf_files + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.O45sR7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Expect-Simple-0.04 + '[' 1 -eq 1 ']' + make test PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 "/usr/bin/perl5.26.2" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t pty_allocate(nonfatal): posix_openpt(): No such device at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/IO/Pty.pm line 24. pty_allocate(nonfatal): getpt(): No such file or directory at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/IO/Pty.pm line 24. pty_allocate(nonfatal): openpty(): No such file or directory at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/IO/Pty.pm line 24. pty_allocate(nonfatal): open(/dev/ptmx): No such device at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/IO/Pty.pm line 24. Expect::Simple: Cannot open a pty at /home/pterjan/rpmbuild/BUILD/Expect-Simple-0.04/blib/lib/Expect/Simple.pm line 76. at t/Expect-Simple.t line 17. # Looks like your test exited with 2 just after 1. t/Expect-Simple.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 5/6 subtests Test Summary Report ------------------- t/Expect-Simple.t (Wstat: 512 Tests: 1 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 6 tests but ran 1. Files=1, Tests=1, 9 wallclock secs ( 0.02 usr 0.01 sys + 0.13 cusr 0.02 csys = 0.18 CPU) Result: FAIL Failed 1/1 test programs. 0/1 subtests failed. make: *** [Makefile:844: test_dynamic] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.O45sR7 (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.O45sR7 (%check) I: [iurt_root_command] ERROR: chroot