ry=$WORK/b034/_pkg_.a packagefile errors=$WORK/b003/_pkg_.a packagefile fmt=$WORK/b002/_pkg_.a packagefile hash=$WORK/b048/_pkg_.a packagefile hash/adler32=$WORK/b049/_pkg_.a packagefile io=$WORK/b024/_pkg_.a EOF cd /usr/lib/golang/src/compress/zlib /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b046/_pkg_.a -trimpath "$WORK/b046=>" -p compress/zlib -std -complete -buildid xgUehiNk4N5aeC1zDNEv/xgUehiNk4N5aeC1zDNEv -goversion go1.15.5 -D "" -importcfg $WORK/b046/importcfg -pack -c=4 ./reader.go ./writer.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b040/_pkg_.a # internal cp $WORK/b040/_pkg_.a /builddir/.cache/go-build/c3/c3c98071c9f64ed269a58f328134c06b70ffd5435cf1be8eddbc0e50a090bd5c-d # internal /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b046/_pkg_.a # internal cp $WORK/b046/_pkg_.a /builddir/.cache/go-build/13/13c567ea135bf7fea68c6251aa8fe8bdf9ab8b5d69521440426ca7d591b6d4ed-d # internal image/png mkdir -p $WORK/b045/ cat >$WORK/b045/importcfg << 'EOF' # internal # import config packagefile bufio=$WORK/b036/_pkg_.a packagefile compress/zlib=$WORK/b046/_pkg_.a packagefile encoding/binary=$WORK/b034/_pkg_.a packagefile fmt=$WORK/b002/_pkg_.a packagefile hash=$WORK/b048/_pkg_.a packagefile hash/crc32=$WORK/b050/_pkg_.a packagefile image=$WORK/b035/_pkg_.a packagefile image/color=$WORK/b039/_pkg_.a packagefile io=$WORK/b024/_pkg_.a packagefile strconv=$WORK/b017/_pkg_.a EOF cd /usr/lib/golang/src/image/png /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b045/_pkg_.a -trimpath "$WORK/b045=>" -p image/png -std -complete -buildid O7YCTU36-ct4U506wWsT/O7YCTU36-ct4U506wWsT -goversion go1.15.5 -D "" -importcfg $WORK/b045/importcfg -pack -c=4 ./paeth.go ./reader.go ./writer.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b045/_pkg_.a # internal cp $WORK/b045/_pkg_.a /builddir/.cache/go-build/9a/9a1ec6fdb29315b642fa86d1353e02506f757fafd874e67b813a153902085757-d # internal github.com/Kagami/go-avif/cmd/avif mkdir -p $WORK/b001/ cat >$WORK/b001/importcfg << 'EOF' # internal # import config packagefile fmt=$WORK/b002/_pkg_.a packagefile github.com/Kagami/go-avif=$WORK/b033/_pkg_.a packagefile github.com/docopt/docopt-go=$WORK/b040/_pkg_.a packagefile image=$WORK/b035/_pkg_.a packagefile image/jpeg=$WORK/b043/_pkg_.a packagefile image/png=$WORK/b045/_pkg_.a packagefile io=$WORK/b024/_pkg_.a packagefile os=$WORK/b025/_pkg_.a packagefile runtime=$WORK/b007/_pkg_.a EOF cd /builddir/build/BUILD/go-avif-0.1.0/_build/src/github.com/Kagami/go-avif/cmd/avif /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b001/_pkg_.a -trimpath "$WORK/b001=>" -p main -complete -buildid BU2htqTE8P_Ck34gB-jW/BU2htqTE8P_Ck34gB-jW -goversion go1.15.5 -D "" -importcfg $WORK/b001/importcfg -pack -c=4 ./main.go # github.com/Kagami/go-avif/cmd/avif _build/src/github.com/Kagami/go-avif/cmd/avif/main.go:63:24: undefined: avif.MinQuality _build/src/github.com/Kagami/go-avif/cmd/avif/main.go:63:59: undefined: avif.MaxQuality _build/src/github.com/Kagami/go-avif/cmd/avif/main.go:64:22: undefined: avif.MinSpeed _build/src/github.com/Kagami/go-avif/cmd/avif/main.go:64:53: undefined: avif.MaxSpeed _build/src/github.com/Kagami/go-avif/cmd/avif/main.go:74:14: undefined: avif.Options _build/src/github.com/Kagami/go-avif/cmd/avif/main.go:102:8: undefined: avif.Encode error: Bad exit status from /var/tmp/rpm-tmp.2CkQyQ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.2CkQyQ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/go-avif.spec