D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/golang-gotest-3.3.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.00NOEV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build + test -d /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.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.Q1xBY3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build + rm -rf gotest.tools-3.3.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gotest.tools-3.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gotest.tools-3.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/src/gotest.tools ]] ++ dirname /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/src/gotest.tools + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/src install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/src' + ln -fs /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0 /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/src/gotest.tools + cd /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/src/gotest.tools + mv internal/difflib/LICENSE LICENSE-difflib + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.amm1ye + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build + cd gotest.tools-3.3.0 + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path gotest.tools --template 'golang({{.}})\n' --with-tests --skip-self + 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.Ul00To + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build + mkdir /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/BUILDROOT + cd gotest.tools-3.3.0 + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/src/gotest.tools + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i gotest.tools -b /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build -o golang-gotest-devel.file-list -O /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0 -V 3.3.0-1.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: gotest.tools + IFS= +++ realpath -e --relative-base=. CONTRIBUTING.md README.md +++ sort -u ++ listfiles_include='CONTRIBUTING.md README.md' ++ echo 'CONTRIBUTING.md README.md' + godocs='CONTRIBUTING.md README.md' + [[ -n CONTRIBUTING.md README.md ]] + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE LICENSE-difflib +++ sort -u ++ listfiles_include='LICENSE LICENSE-difflib' ++ echo 'LICENSE LICENSE-difflib' + golicenses='LICENSE LICENSE-difflib' + [[ -n LICENSE LICENSE-difflib ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + echo %license '"LICENSE-difflib"' + IFS= + read -r f + install -m 0755 -d /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/BUILDROOT/usr/share/gocode/src/gotest.tools + ln -rs /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/BUILDROOT/usr/share/gocode/src/gotest.tools /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/BUILDROOT/usr/share/gocode/src/gotest.tools/v3 + echo /usr/share/gocode/src/gotest.tools/v3 + /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 Reading /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/SPECPARTS/rpm-debuginfo.specpart sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jDqkf2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build + cd gotest.tools-3.3.0 + '[' 1 -eq 1 ']' ++ find . -iname '*.go' -type f + sed -i 's|gotest.tools/v3|gotest.tools|' ./skip/example_test.go ./skip/skip_test.go ./skip/skip.go ./pkg.go ./icmd/example_test.go ./icmd/command.go ./icmd/command_test.go ./icmd/ops.go ./icmd/internal/stub/main.go ./icmd/exitcode.go ./poll/example_test.go ./poll/check_test.go ./poll/check.go ./poll/poll_test.go ./poll/poll.go ./x/doc.go ./x/subtest/example_test.go ./x/subtest/context.go ./x/subtest/context_test.go ./assert/example_test.go ./assert/opt/opt_test.go ./assert/opt/opt.go ./assert/assert_ext_test.go ./assert/cmp/compare_test.go ./assert/cmp/result.go ./assert/cmp/compare.go ./assert/assert_test.go ./assert/assert.go ./assert/cmd/gty-migrate-from-testify/migrate.go ./assert/cmd/gty-migrate-from-testify/migrate_test.go ./assert/cmd/gty-migrate-from-testify/doc.go ./assert/cmd/gty-migrate-from-testify/call.go ./assert/cmd/gty-migrate-from-testify/main.go ./assert/cmd/gty-migrate-from-testify/walktype.go ./assert/cmd/gty-migrate-from-testify/testdata/full-expected/some_test.go ./assert/cmd/gty-migrate-from-testify/testdata/full/some_test.go ./assert/cmd/gty-migrate-from-testify/main_test.go ./assert/cmd/gty-migrate-from-testify/call_test.go ./fs/file_test.go ./fs/manifest_test.go ./fs/example_test.go ./fs/manifest.go ./fs/ops_test.go ./fs/report.go ./fs/manifest_unix.go ./fs/path.go ./fs/report_test.go ./fs/file.go ./fs/ops.go ./fs/manifest_windows.go ./internal/cleanup/cleanup.go ./internal/maint/maint.go ./internal/difflib/difflib.go ./internal/assert/result.go ./internal/assert/assert.go ./internal/format/diff_test.go ./internal/format/format_test.go ./internal/format/format.go ./internal/format/diff.go ./internal/source/update.go ./internal/source/source.go ./internal/source/defers.go ./internal/source/source_test.go ./internal/source/version.go ./golden/golden_test.go ./golden/example_test.go ./golden/golden.go ./env/env_test.go ./env/example_test.go ./env/env.go + for test in "TestMigrateFileReplacesTestingT" "TestMigrateFileWithNamedCmpPackage" "TestMigrateFileWithCommentsOnAssert" "TestMigrateFileConvertNilToNilError" "TestMigrateFileConvertAssertNew" "TestMigrateFileWithExtraArgs" "TestMigrate_AssertAlreadyImported" "TestMigrate_AssertAlreadyImportedWithAlias" "TestRunCommandWithErrors" "TestWaitOnSocketWithTimeout" ++ grep -rl TestMigrateFileReplacesTestingT + awk -i inplace '/^func.*TestMigrateFileReplacesTestingT\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' assert/cmd/gty-migrate-from-testify/migrate_test.go + for test in "TestMigrateFileReplacesTestingT" "TestMigrateFileWithNamedCmpPackage" "TestMigrateFileWithCommentsOnAssert" "TestMigrateFileConvertNilToNilError" "TestMigrateFileConvertAssertNew" "TestMigrateFileWithExtraArgs" "TestMigrate_AssertAlreadyImported" "TestMigrate_AssertAlreadyImportedWithAlias" "TestRunCommandWithErrors" "TestWaitOnSocketWithTimeout" ++ grep -rl TestMigrateFileWithNamedCmpPackage + awk -i inplace '/^func.*TestMigrateFileWithNamedCmpPackage\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' assert/cmd/gty-migrate-from-testify/migrate_test.go + for test in "TestMigrateFileReplacesTestingT" "TestMigrateFileWithNamedCmpPackage" "TestMigrateFileWithCommentsOnAssert" "TestMigrateFileConvertNilToNilError" "TestMigrateFileConvertAssertNew" "TestMigrateFileWithExtraArgs" "TestMigrate_AssertAlreadyImported" "TestMigrate_AssertAlreadyImportedWithAlias" "TestRunCommandWithErrors" "TestWaitOnSocketWithTimeout" ++ grep -rl TestMigrateFileWithCommentsOnAssert + awk -i inplace '/^func.*TestMigrateFileWithCommentsOnAssert\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' assert/cmd/gty-migrate-from-testify/migrate_test.go + for test in "TestMigrateFileReplacesTestingT" "TestMigrateFileWithNamedCmpPackage" "TestMigrateFileWithCommentsOnAssert" "TestMigrateFileConvertNilToNilError" "TestMigrateFileConvertAssertNew" "TestMigrateFileWithExtraArgs" "TestMigrate_AssertAlreadyImported" "TestMigrate_AssertAlreadyImportedWithAlias" "TestRunCommandWithErrors" "TestWaitOnSocketWithTimeout" ++ grep -rl TestMigrateFileConvertNilToNilError + awk -i inplace '/^func.*TestMigrateFileConvertNilToNilError\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' assert/cmd/gty-migrate-from-testify/migrate_test.go + for test in "TestMigrateFileReplacesTestingT" "TestMigrateFileWithNamedCmpPackage" "TestMigrateFileWithCommentsOnAssert" "TestMigrateFileConvertNilToNilError" "TestMigrateFileConvertAssertNew" "TestMigrateFileWithExtraArgs" "TestMigrate_AssertAlreadyImported" "TestMigrate_AssertAlreadyImportedWithAlias" "TestRunCommandWithErrors" "TestWaitOnSocketWithTimeout" ++ grep -rl TestMigrateFileConvertAssertNew + awk -i inplace '/^func.*TestMigrateFileConvertAssertNew\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' assert/cmd/gty-migrate-from-testify/migrate_test.go + for test in "TestMigrateFileReplacesTestingT" "TestMigrateFileWithNamedCmpPackage" "TestMigrateFileWithCommentsOnAssert" "TestMigrateFileConvertNilToNilError" "TestMigrateFileConvertAssertNew" "TestMigrateFileWithExtraArgs" "TestMigrate_AssertAlreadyImported" "TestMigrate_AssertAlreadyImportedWithAlias" "TestRunCommandWithErrors" "TestWaitOnSocketWithTimeout" ++ grep -rl TestMigrateFileWithExtraArgs + awk -i inplace '/^func.*TestMigrateFileWithExtraArgs\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' assert/cmd/gty-migrate-from-testify/migrate_test.go + for test in "TestMigrateFileReplacesTestingT" "TestMigrateFileWithNamedCmpPackage" "TestMigrateFileWithCommentsOnAssert" "TestMigrateFileConvertNilToNilError" "TestMigrateFileConvertAssertNew" "TestMigrateFileWithExtraArgs" "TestMigrate_AssertAlreadyImported" "TestMigrate_AssertAlreadyImportedWithAlias" "TestRunCommandWithErrors" "TestWaitOnSocketWithTimeout" ++ grep -rl TestMigrate_AssertAlreadyImported + awk -i inplace '/^func.*TestMigrate_AssertAlreadyImported\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' assert/cmd/gty-migrate-from-testify/migrate_test.go + for test in "TestMigrateFileReplacesTestingT" "TestMigrateFileWithNamedCmpPackage" "TestMigrateFileWithCommentsOnAssert" "TestMigrateFileConvertNilToNilError" "TestMigrateFileConvertAssertNew" "TestMigrateFileWithExtraArgs" "TestMigrate_AssertAlreadyImported" "TestMigrate_AssertAlreadyImportedWithAlias" "TestRunCommandWithErrors" "TestWaitOnSocketWithTimeout" ++ grep -rl TestMigrate_AssertAlreadyImportedWithAlias + awk -i inplace '/^func.*TestMigrate_AssertAlreadyImportedWithAlias\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' assert/cmd/gty-migrate-from-testify/migrate_test.go + for test in "TestMigrateFileReplacesTestingT" "TestMigrateFileWithNamedCmpPackage" "TestMigrateFileWithCommentsOnAssert" "TestMigrateFileConvertNilToNilError" "TestMigrateFileConvertAssertNew" "TestMigrateFileWithExtraArgs" "TestMigrate_AssertAlreadyImported" "TestMigrate_AssertAlreadyImportedWithAlias" "TestRunCommandWithErrors" "TestWaitOnSocketWithTimeout" ++ grep -rl TestRunCommandWithErrors + awk -i inplace '/^func.*TestRunCommandWithErrors\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' icmd/command_test.go + for test in "TestMigrateFileReplacesTestingT" "TestMigrateFileWithNamedCmpPackage" "TestMigrateFileWithCommentsOnAssert" "TestMigrateFileConvertNilToNilError" "TestMigrateFileConvertAssertNew" "TestMigrateFileWithExtraArgs" "TestMigrate_AssertAlreadyImported" "TestMigrate_AssertAlreadyImportedWithAlias" "TestRunCommandWithErrors" "TestWaitOnSocketWithTimeout" ++ grep -rl TestWaitOnSocketWithTimeout + awk -i inplace '/^func.*TestWaitOnSocketWithTimeout\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' poll/check_test.go + GO_LDFLAGS=' -X gotest.tools/version=3.3.0' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i gotest.tools -b /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build -V 3.3.0-1.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/src PATH: /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin GOPATH: /home/pterjan/rpmbuild/BUILD/golang-gotest-3.3.0-build/gotest.tools-3.3.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X gotest.tools/version=3.3.0 -extldflags '-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: gotest.tools gotest.tools ? gotest.tools [no test files] gotest.tools/assert PASS ok gotest.tools/assert 0.040s gotest.tools/assert PASS ok gotest.tools/assert 0.041s gotest.tools/assert/cmd/gty-migrate-from-testify panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x557e6a81fcaf] goroutine 44 [running]: go/types.(*Checker).handleBailout(0xc00029e540, 0xc0002d5c80) /usr/lib/golang/src/go/types/check.go:404 +0x88 panic({0x557e6ab14c80?, 0x557e6adf3d20?}) /usr/lib/golang/src/runtime/panic.go:785 +0x132 go/types.(*StdSizes).Sizeof(0x0, {0x557e6ab7c1f0, 0x557e6adf8bc0}) /usr/lib/golang/src/go/types/sizes.go:229 +0x30f go/types.(*Config).sizeof(...) /usr/lib/golang/src/go/types/sizes.go:334 go/types.representableConst.func1({0x557e6ab7c1f0?, 0x557e6adf8bc0?}) /usr/lib/golang/src/go/types/const.go:77 +0x86 go/types.representableConst({0x557e6ab7efd8, 0x557e6adeb3e0}, 0xc00029e540, 0x557e6adf8bc0, 0x0) /usr/lib/golang/src/go/types/const.go:93 +0x173 go/types.(*Checker).arrayLength(0xc00029e540, {0x557e6ab7d978, 0xc00049c880?}) /usr/lib/golang/src/go/types/typexpr.go:537 +0x1db go/types.(*Checker).typInternal(0xc00029e540, {0x557e6ab7da38, 0xc0002a2270}, 0x0) /usr/lib/golang/src/go/types/typexpr.go:320 +0x4b5 go/types.(*Checker).definedType(0xc00029e540, {0x557e6ab7da38, 0xc0002a2270}, 0xc0002d54d0?) /usr/lib/golang/src/go/types/typexpr.go:201 +0x2f go/types.(*Checker).varType(0xc00029e540, {0x557e6ab7da38, 0xc0002a2270}) /usr/lib/golang/src/go/types/typexpr.go:166 +0x25 go/types.(*Checker).structType(0xc00029e540, 0xc0002a2c60, 0xc0002a2c60?) /usr/lib/golang/src/go/types/struct.go:114 +0x18a go/types.(*Checker).typInternal(0xc00029e540, {0x557e6ab7dc48, 0xc00029c318}, 0xc0002b7450) /usr/lib/golang/src/go/types/typexpr.go:337 +0xf45 go/types.(*Checker).definedType(0xc00029e540, {0x557e6ab7dc48, 0xc00029c318}, 0x0?) /usr/lib/golang/src/go/types/typexpr.go:201 +0x2f go/types.(*Checker).typeDecl(0xc00029e540, 0xc0002b7450, 0xc00032c780, 0x0) /usr/lib/golang/src/go/types/decl.go:649 +0x4e8 go/types.(*Checker).objDecl(0xc00029e540, {0x557e6ab82a58, 0xc0002b7450}, 0x0) /usr/lib/golang/src/go/types/decl.go:191 +0xa3f go/types.(*Checker).packageObjects(0xc00029e540) /usr/lib/golang/src/go/types/resolver.go:702 +0x3a5 go/types.(*Checker).checkFiles(0xc00029e540, {0xc0002ac0b8, 0x1, 0x1}) /usr/lib/golang/src/go/types/check.go:459 +0x15a go/types.(*Checker).Files(0xc0002441c0?, {0xc0002ac0b8?, 0xc0002cc360?, 0x5?}) /usr/lib/golang/src/go/types/check.go:422 +0x75 golang.org/x/tools/go/packages.(*loader).loadPackage(0xc0002441c0, 0xc0000e4c80) /usr/share/gocode/src/golang.org/x/tools/go/packages/packages.go:1001 +0x74f golang.org/x/tools/go/packages.(*loader).loadRecursive.func1() /usr/share/gocode/src/golang.org/x/tools/go/packages/packages.go:838 +0x1a9 sync.(*Once).doSlow(0x0?, 0x0?) /usr/lib/golang/src/sync/once.go:76 +0xb4 sync.(*Once).Do(...) /usr/lib/golang/src/sync/once.go:67 golang.org/x/tools/go/packages.(*loader).loadRecursive(0x0?, 0x0?) /usr/share/gocode/src/golang.org/x/tools/go/packages/packages.go:826 +0x3b golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?) /usr/share/gocode/src/golang.org/x/tools/go/packages/packages.go:833 +0x26 created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 109 /usr/share/gocode/src/golang.org/x/tools/go/packages/packages.go:832 +0x94 exit status 2 FAIL gotest.tools/assert/cmd/gty-migrate-from-testify 0.350s error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jDqkf2 (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jDqkf2 (%check) I: [iurt_root_command] ERROR: chroot