D: [iurt_root_command] chroot warning: %gochecks is obsolete, use %gocheck in %check instead! Installing /home/iurt/rpmbuild/SRPMS/golang-github-pkg-sftp-1.8.3-1.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.r0U8Co + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf sftp-1.8.3 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/sftp-1.8.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sftp-1.8.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/iurt/rpmbuild/SOURCES/glide.yaml /home/iurt/rpmbuild/SOURCES/glide.lock . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.xWnIko + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/golang-github-pkg-sftp-1.8.3-1.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/golang-github-pkg-sftp-1.8.3-1.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/golang-github-pkg-sftp-1.8.3-1.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/golang-github-pkg-sftp-1.8.3-1.mga8.x86_64 + cd sftp-1.8.3 + '[' 1 -eq 1 ']' + go-rpm-integration install -i github.com/pkg/sftp -b /home/iurt/rpmbuild/BUILD/sftp-1.8.3/_build/bin -s /home/iurt/rpmbuild/BUILD/sftp-1.8.3/_build -o devel.file-list -O /home/iurt/rpmbuild/BUILD/sftp-1.8.3 -V 1.8.3-1.mga8 -p /home/iurt/rpmbuild/BUILDROOT/golang-github-pkg-sftp-1.8.3-1.mga8.x86_64 -g /usr/share/gocode -r '.*example.*' glide.lock glide.yaml Installing: github.com/pkg/sftp /usr/bin/go-rpm-integration: line 436: pushd: /home/iurt/rpmbuild/BUILD/sftp-1.8.3/_build/src/github.com/pkg/sftp: No such file or directory error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.xWnIko (%install) RPM build errors: %gochecks is obsolete, use %gocheck in %check instead! Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.xWnIko (%install) I: [iurt_root_command] ERROR: chroot