_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + install -m 0755 -vd /builddir/build/BUILDROOT/goddi-1.2-5.fc37.riscv64/usr/bin install: creating directory '/builddir/build/BUILDROOT/goddi-1.2-5.fc37.riscv64/usr/bin' + install -m 0755 -vp /builddir/build/BUILD/goddi-1.2/_build/bin/goddi /builddir/build/BUILDROOT/goddi-1.2-5.fc37.riscv64/usr/bin/ '/builddir/build/BUILD/goddi-1.2/_build/bin/goddi' -> '/builddir/build/BUILDROOT/goddi-1.2-5.fc37.riscv64/usr/bin/goddi' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.2-5.fc37 --unique-debug-suffix -1.2-5.fc37.riscv64 --unique-debug-src-base goddi-1.2-5.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 0 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/goddi-1.2 extracting debug info from /builddir/build/BUILDROOT/goddi-1.2-5.fc37.riscv64/usr/bin/goddi warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts of file /builddir/build/BUILDROOT/goddi-1.2-5.fc37.riscv64/usr/bin/goddi. Use `info auto-load python-scripts [REGEXP]' to list them. original debug info size: 6788kB, size after compression: 6708kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 77 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VKLgoH + umask 022 + cd /builddir/build/BUILD + cd goddi-1.2 + LDFLAGS=' -X github.com/NetSPI/goddi/version=1.2' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-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 ' + go-rpm-integration check -i github.com/NetSPI/goddi -b /builddir/build/BUILD/goddi-1.2/_build/bin -s /builddir/build/BUILD/goddi-1.2/_build -V 1.2-5.fc37 -p /builddir/build/BUILDROOT/goddi-1.2-5.fc37.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/goddi-1.2/_build/src PATH: /builddir/build/BUILD/goddi-1.2/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/goddi-1.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/NetSPI/goddi/version=1.2 -extldflags '-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 '" testing: github.com/NetSPI/goddi github.com/NetSPI/goddi/ddi # github.com/NetSPI/goddi/ddi ./gpp_unix.go:104:3: fmt.Println arg list ends with redundant newline error: Bad exit status from /var/tmp/rpm-tmp.VKLgoH (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VKLgoH (%check) 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/goddi.spec