ened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Syntax-Feature-Loop-v1.8.0 + ./Build test # Testing Syntax::Feature::Loop v1.8.0 # Using Perl 5.038000 t/00_load.t ............. ok syntax error at t/01_basic.t line 19, near "; last " Execution of t/01_basic.t aborted due to compilation errors. # Looks like your test exited with 2 before it could output anything. t/01_basic.t ............ Dubious, test returned 2 (wstat 512, 0x200) Failed 4/4 subtests syntax error at t/02_pragma_a.t line 27, near "; last" Execution of t/02_pragma_a.t aborted due to compilation errors. # Looks like your test exited with 2 before it could output anything. t/02_pragma_a.t ......... Dubious, test returned 2 (wstat 512, 0x200) Failed 6/6 subtests syntax error at t/02_pragma_b.t line 27, near "; last" Execution of t/02_pragma_b.t aborted due to compilation errors. # Looks like your test exited with 2 before it could output anything. t/02_pragma_b.t ......... Dubious, test returned 2 (wstat 512, 0x200) Failed 6/6 subtests syntax error at t/03_line_numbers.t line 102, near "is" Execution of t/03_line_numbers.t aborted due to compilation errors. # Looks like your test exited with 2 before it could output anything. t/03_line_numbers.t ..... Dubious, test returned 2 (wstat 512, 0x200) Failed 5/5 subtests t/devel-pod-coverage.t .. skipped: Pod coverage is only tested when DEVEL_TESTS=1 t/pod.t ................. ok Test Summary Report ------------------- t/01_basic.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 4 tests but ran 0. t/02_pragma_a.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 6 tests but ran 0. t/02_pragma_b.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 6 tests but ran 0. t/03_line_numbers.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 5 tests but ran 0. Files=7, Tests=2, 5 wallclock secs ( 0.17 usr 0.04 sys + 3.58 cusr 0.62 csys = 4.41 CPU) Result: FAIL Failed 4/7 test programs. 0/2 subtests failed. error: Bad exit status from /var/tmp/rpm-tmp.NVZf1u (%check) Bad exit status from /var/tmp/rpm-tmp.NVZf1u (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 riscv64 --nodeps /builddir/build/SPECS/perl-Syntax-Feature-Loop.spec