D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
warning: /home/pterjan/rpmbuild/SPECS/fzf.spec line 50: autopatch: no matching patches in range
Installing /home/pterjan/rpmbuild/SRPMS/fzf-0.44.1-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hlCVfz
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build
+ test -d /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2hxg38
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build
+ rm -rf fzf-0.44.1
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/fzf-0.44.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd fzf-0.44.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -fr /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/vendor
+ [[ ! -e /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/bin ]]
+ install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/bin
install: creating directory '/home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build'
install: creating directory '/home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/bin'
+ export GOPATH=/home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build:/usr/share/gocode
+ GOPATH=/home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build:/usr/share/gocode
+ [[ ! -e /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/src/github.com/junegunn/fzf ]]
++ dirname /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/src/github.com/junegunn/fzf
+ install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/src/github.com/junegunn
install: creating directory '/home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/src'
install: creating directory '/home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/src/github.com'
install: creating directory '/home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/src/github.com/junegunn'
+ ln -fs /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1 /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/src/github.com/junegunn/fzf
+ cd /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/src/github.com/junegunn/fzf
+ tar xJf /home/pterjan/rpmbuild/SOURCES/vendor.tar.xz
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.L02Onw
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build
+ cd fzf-0.44.1
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ export 'LDFLAGS=-X main.version=0.44.1 -X main.revision=Fedora '
+ LDFLAGS='-X main.version=0.44.1 -X main.revision=Fedora '
++ echo fzf-0.44.1-1.mga10-
++ sha1sum
++ cut -d ' ' -f1
+ GOPATH=/home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build:/usr/share/gocode
+ GO111MODULE=off
+ go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -a -v -x -ldflags '-X main.version=0.44.1 -X main.revision=Fedora  -X github.com/junegunn/fzf/version.tag=0.44.1 -X github.com/junegunn/fzf/version=0.44.1 -B 0x61ce1bfce0a08c47a9189e88c76800f70f34dd8e -compressdwarf=false -linkmode=external -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 '\''' -o /home/pterjan/rpmbuild/BUILD/fzf-0.44.1-build/fzf-0.44.1/_build/bin/fzf github.com/junegunn/fzf
failed to start telemetry sidecar: os.Executable: readlink /proc/self/exe: no such file or directory
go: cannot find GOROOT directory: 'go' binary is trimmed and GOROOT is not set
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.L02Onw (%build)

RPM build warnings:
    /home/pterjan/rpmbuild/SPECS/fzf.spec line 50: autopatch: no matching patches in range

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.L02Onw (%build)
I: [iurt_root_command] ERROR: chroot