D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/golang-github-leonelquinteros-gotext-1.5.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WD379B + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build + test -d /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5Bv40T + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build + rm -rf gotext-1.5.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gotext-1.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gotext-1.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/src/github.com/leonelquinteros/gotext ]] ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/src/github.com/leonelquinteros/gotext + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/src/github.com/leonelquinteros install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/src/github.com' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/src/github.com/leonelquinteros' + ln -fs /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1 /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/src/github.com/leonelquinteros/gotext + cd /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/src/github.com/leonelquinteros/gotext + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mn3UFS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build + cd gotext-1.5.1 + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/leonelquinteros/gotext --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XXNZOG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build + cd gotext-1.5.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + for cmd in cli/xgotext ++ echo golang-github-leonelquinteros-gotext-1.5.1-1.mga10- ++ cut -d ' ' -f1 ++ sha1sum ++ basename cli/xgotext + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build:/usr/share/gocode + GO111MODULE=off + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -a -v -x -ldflags ' -X github.com/leonelquinteros/gotext/version=1.5.1 -B 0x30fb8bea35ce92b79fde106e650f2803ad1e25ad -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/golang-github-leonelquinteros-gotext-1.5.1-build/gotext-1.5.1/_build/bin/xgotext github.com/leonelquinteros/gotext/cli/xgotext 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.XXNZOG (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XXNZOG (%build) I: [iurt_root_command] ERROR: chroot