Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/perl-Time-HiRes.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-41243-21227/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=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/perl-Time-HiRes.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/perl-Time-HiRes-1.9758-2.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/perl-Time-HiRes.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-41243-21227/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=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/perl-Time-HiRes.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VdA9aX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Time-HiRes-1.9758 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/Time-HiRes-1.9758.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Time-HiRes-1.9758 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1YXfsp + umask 022 + cd /builddir/build/BUILD + cd Time-HiRes-1.9758 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 'OPTIMIZE=-O2 -g' Configuring Time::HiRes... Using hints hints/linux.pl... Extra libraries: -lrt... Have syscall()... looking for syscall.h... found . Looking for gettimeofday()... found. Looking for setitimer()... found. Looking for getitimer()... found. You have interval timers (both setitimer and getitimer). Looking for ualarm()... found. Looking for usleep()... found. Looking for nanosleep()... testing... found. You can mix subsecond sleeps with signals, if you want to. (It's still not portable, though.) Looking for clockid_t... found. Looking for clock_gettime()... found. Looking for clock_getres()... found. Looking for clock_nanosleep()... found. Looking for clock()... found. Looking for working futimens()... found. Looking for working utimensat()... found. You seem to have subsecond timestamp setting. Looking for stat() subsecond timestamps... Trying struct stat st_atimespec.tv_nsec...NOT found. Trying struct stat st_atimensec...NOT found. Trying struct stat st_atime_n...NOT found. Trying struct stat st_atim.tv_nsec...found. Trying struct stat st_uatime...NOT found. You seem to have subsecond timestamp reading. (Your struct stat has them, but the filesystems must help.) Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Time::HiRes Now you may issue 'make'. Do not forget also 'make test'. + make -j4 Running Mkbootstrap for HiRes () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Time-HiRes-1.9758/typemap' HiRes.xs > HiRes.xsc cp HiRes.pm blib/lib/Time/HiRes.pm chmod 644 "HiRes.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs 644 mv HiRes.xsc HiRes.c loongarch64-redhat-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.9758\" -DXS_VERSION=\"1.9758\" -fPIC "-I/usr/lib64/perl5/CORE" -DTIME_HIRES_NANOSLEEP -DTIME_HIRES_CLOCKID_T -DTIME_HIRES_CLOCK_GETTIME -DTIME_HIRES_CLOCK_GETRES -DTIME_HIRES_CLOCK_NANOSLEEP -DTIME_HIRES_CLOCK -DHAS_FUTIMENS -DHAS_UTIMENSAT -DTIME_HIRES_UTIME -DTIME_HIRES_STAT_XTIM -DTIME_HIRES_STAT=4 -DATLEASTFIVEOHOHFIVE HiRes.c rm -f blib/arch/auto/Time/HiRes/HiRes.so loongarch64-redhat-linux-gnu-gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong HiRes.o -o blib/arch/auto/Time/HiRes/HiRes.so \ -lrt -lperl \ chmod 755 blib/arch/auto/Time/HiRes/HiRes.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GM2fCS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Time-HiRes-1.9758-2.el8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Time-HiRes-1.9758-2.el8.loongarch64 ++ dirname /builddir/build/BUILDROOT/perl-Time-HiRes-1.9758-2.el8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Time-HiRes-1.9758-2.el8.loongarch64 + cd Time-HiRes-1.9758 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Time-HiRes-1.9758-2.el8.loongarch64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Time-HiRes-1.9758-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/auto/Time/HiRes/HiRes.so Installing /builddir/build/BUILDROOT/perl-Time-HiRes-1.9758-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/Time/HiRes.pm Installing /builddir/build/BUILDROOT/perl-Time-HiRes-1.9758-2.el8.loongarch64/usr/share/man/man3/Time::HiRes.3pm + find /builddir/build/BUILDROOT/perl-Time-HiRes-1.9758-2.el8.loongarch64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Time-HiRes-1.9758-2.el8.loongarch64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.9758-2.el8 --unique-debug-suffix -1.9758-2.el8.loongarch64 --unique-debug-src-base perl-Time-HiRes-1.9758-2.el8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Time-HiRes-1.9758 extracting debug info from /builddir/build/BUILDROOT/perl-Time-HiRes-1.9758-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/auto/Time/HiRes/HiRes.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 658 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Gtr1Ol + umask 022 + cd /builddir/build/BUILD + cd Time-HiRes-1.9758 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/alarm.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 10/10 subtests HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/clock.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 5/5 subtests HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/gettimeofday.t .. Dubious, test returned 1 (wstat 256, 0x100) No subtests run HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/itimer.t ........ Dubious, test returned 1 (wstat 256, 0x100) No subtests run HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/nanosleep.t ..... Dubious, test returned 1 (wstat 256, 0x100) No subtests run HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/sleep.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 4/4 subtests HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/stat.t .......... Dubious, test returned 1 (wstat 256, 0x100) No subtests run HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/time.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 2/2 subtests HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/tv_interval.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 13/13 subtests HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/ualarm.t ........ Dubious, test returned 1 (wstat 256, 0x100) No subtests run HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/usleep.t ........ Dubious, test returned 1 (wstat 256, 0x100) No subtests run HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/utime.t ......... Dubious, test returned 1 (wstat 256, 0x100) No subtests run Test Summary Report ------------------- t/alarm.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 10 tests but ran 0. t/clock.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 5 tests but ran 0. t/gettimeofday.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/itimer.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/nanosleep.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/sleep.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 4 tests but ran 0. t/stat.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/time.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 2 tests but ran 0. t/tv_interval.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 13 tests but ran 0. t/ualarm.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/usleep.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/utime.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output Files=12, Tests=0, 1442 wallclock secs ( 0.05 usr 0.01 sys + 0.46 cusr 0.04 csys = 0.56 CPU) Result: FAIL Failed 12/12 test programs. 0/0 subtests failed. make: *** [Makefile:961: test_dynamic] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Gtr1Ol (%check) Bad exit status from /var/tmp/rpm-tmp.Gtr1Ol (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/perl-Time-HiRes.spec