D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/golang-gopkg-yaml-2-2.4.0-2.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YI733M + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf yaml-2.4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/yaml-2.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd yaml-2.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/src/gopkg.in/yaml.v2 ]] ++ dirname /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/src/gopkg.in/yaml.v2 + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/src/gopkg.in install: creating directory '/home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/src/gopkg.in' + ln -fs /home/pterjan/rpmbuild/BUILD/yaml-2.4.0 /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/src/gopkg.in/yaml.v2 + cd /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/src/gopkg.in/yaml.v2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rAzrC7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/golang-gopkg-yaml-2-2.4.0-2.mga9.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/golang-gopkg-yaml-2-2.4.0-2.mga9.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/golang-gopkg-yaml-2-2.4.0-2.mga9.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/golang-gopkg-yaml-2-2.4.0-2.mga9.noarch + cd yaml-2.4.0 + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/src/gopkg.in/yaml.v2 + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i gopkg.in/yaml.v2 -b /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/bin -s /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build -o golang-gopkg-yaml-2-devel.file-list -O /home/pterjan/rpmbuild/BUILD/yaml-2.4.0 -V 2.4.0-2.mga9 -p /home/pterjan/rpmbuild/BUILDROOT/golang-gopkg-yaml-2-2.4.0-2.mga9.noarch -g /usr/share/gocode -r '.*example.*' Installing: gopkg.in/yaml.v2 + IFS= +++ realpath -e --relative-base=. README.md +++ sort -u ++ listfiles_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 LICENSE.libyaml NOTICE +++ sort -u ++ listfiles_include='LICENSE LICENSE.libyaml NOTICE' ++ echo 'LICENSE LICENSE.libyaml NOTICE' + golicenses='LICENSE LICENSE.libyaml NOTICE' + [[ -n LICENSE LICENSE.libyaml NOTICE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + echo %license '"LICENSE.libyaml"' + IFS= + read -r f + echo %license '"NOTICE"' + IFS= + read -r f + install -m 0755 -d /home/pterjan/rpmbuild/BUILDROOT/golang-gopkg-yaml-2-2.4.0-2.mga9.noarch/usr/share/gocode/src/gopkg.in/v2 + ln -rs /home/pterjan/rpmbuild/BUILDROOT/golang-gopkg-yaml-2-2.4.0-2.mga9.noarch/usr/share/gocode/src/gopkg.in/yaml.v2 /home/pterjan/rpmbuild/BUILDROOT/golang-gopkg-yaml-2-2.4.0-2.mga9.noarch/usr/share/gocode/src/gopkg.in/v2/yaml + echo /usr/share/gocode/src/gopkg.in/v2/yaml + echo '%dir "/usr/share/gocode/src/gopkg.in/v2"' + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NwYPDE + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd yaml-2.4.0 + '[' 1 -eq 1 ']' + LDFLAGS=' -X gopkg.in/yaml.v2/version=2.4.0' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags ' + go-rpm-integration check -i gopkg.in/yaml.v2 -b /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/bin -s /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build -V 2.4.0-2.mga9 -p /home/pterjan/rpmbuild/BUILDROOT/golang-gopkg-yaml-2-2.4.0-2.mga9.noarch -g /usr/share/gocode -r '.*example.*' Testing in: /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/src PATH: /home/pterjan/rpmbuild/BUILD/yaml-2.4.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/yaml-2.4.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X gopkg.in/yaml.v2/version=2.4.0 -extldflags ' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags '" testing: gopkg.in/yaml.v2 gopkg.in/yaml.v2 # gopkg.in/yaml.v2 decode_test.go:11:2: cannot find package "gopkg.in/check.v1" in any of: /usr/lib/golang/src/gopkg.in/check.v1 (from $GOROOT) /home/pterjan/rpmbuild/BUILD/yaml-2.4.0/_build/src/gopkg.in/check.v1 (from $GOPATH) /usr/share/gocode/src/gopkg.in/check.v1 FAIL gopkg.in/yaml.v2 [setup failed] error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.NwYPDE (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.NwYPDE (%check) I: [iurt_root_command] ERROR: chroot