Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/skopeo.spec'], chrootPath='/var/lib/mock/module-container-tools-an8-8040020211118094134-88f4c5b9-build-55788-27931/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/skopeo.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: File listed twice: containers-registries.conf.5.md Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/skopeo-1.3.1-5.0.1.module+an8.4.0+10495+57d0408c.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/skopeo.spec'], chrootPath='/var/lib/mock/module-container-tools-an8-8040020211118094134-88f4c5b9-build-55788-27931/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/skopeo.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v1MuHE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf containers-skopeo-038f70e + /usr/bin/gzip -dc /builddir/build/SOURCES/release-1.3-038f70e.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd containers-skopeo-038f70e + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'skopeo-1.3.1 base' + sed -i 's/install-binary: bin\/skopeo/install-binary:/' Makefile + sed -i 's/install-docs: docs/install-docs:/' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ilYhDp + umask 022 + cd /builddir/build/BUILD + cd containers-skopeo-038f70e + mkdir -p src/github.com/containers + ln -s ../../../ src/github.com/containers/skopeo + mkdir -p vendor/src + for v in vendor/* + test vendor/github.com = vendor/src + test -d vendor/github.com + mv vendor/github.com vendor/src/ + for v in vendor/* + test vendor/go.etcd.io = vendor/src + test -d vendor/go.etcd.io + mv vendor/go.etcd.io vendor/src/ + for v in vendor/* + test vendor/go.mozilla.org = vendor/src + test -d vendor/go.mozilla.org + mv vendor/go.mozilla.org vendor/src/ + for v in vendor/* + test vendor/go.opencensus.io = vendor/src + test -d vendor/go.opencensus.io + mv vendor/go.opencensus.io vendor/src/ + for v in vendor/* + test vendor/go4.org = vendor/src + test -d vendor/go4.org + mv vendor/go4.org vendor/src/ + for v in vendor/* + test vendor/golang.org = vendor/src + test -d vendor/golang.org + mv vendor/golang.org vendor/src/ + for v in vendor/* + test vendor/google.golang.org = vendor/src + test -d vendor/google.golang.org + mv vendor/google.golang.org vendor/src/ + for v in vendor/* + test vendor/gopkg.in = vendor/src + test -d vendor/gopkg.in + mv vendor/gopkg.in vendor/src/ + for v in vendor/* + test vendor/modules.txt = vendor/src + test -d vendor/modules.txt + for v in vendor/* + test vendor/src = vendor/src + continue ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/containers-skopeo-038f70e:/builddir/build/BUILD/containers-skopeo-038f70e/vendor:/usr/share/gocode + GOPATH=/builddir/build/BUILD/containers-skopeo-038f70e:/builddir/build/BUILD/containers-skopeo-038f70e/vendor:/usr/share/gocode + export GO111MODULE=off + GO111MODULE=off + export 'CGO_CFLAGS=-O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + CGO_CFLAGS='-O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ++ hack/libdm_tag.sh + export 'BUILDTAGS=exclude_graphdriver_btrfs btrfs_noversion ' + BUILDTAGS='exclude_graphdriver_btrfs btrfs_noversion ' + mkdir -p bin ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + go build -compiler gc '-tags=rpm_crashtraceback libtrust_openssl exclude_graphdriver_btrfs btrfs_noversion ' -ldflags ' -compressdwarf=false -B 0x4fb80ef6325ab4240e49fe3b8b951af8939b8d0f -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -o bin/skopeo ./cmd/skopeo internal/unsafeheader internal/cpu runtime/internal/sys runtime/internal/atomic internal/race runtime/internal/math internal/bytealg sync/atomic unicode unicode/utf8 encoding math/bits internal/testlog unicode/utf16 runtime math internal/nettrace runtime/cgo crypto/internal/subtle crypto/subtle container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle golang.org/x/sys/internal/unsafeheader github.com/ulikunitz/xz/internal/hash github.com/containers/ocicrypt/spec google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set github.com/containers/common/pkg/report/camelcase image/color google.golang.org/grpc/serviceconfig github.com/rivo/uniseg github.com/VividCortex/ewma github.com/vbauerster/mpb/v6/internal github.com/docker/docker/api github.com/docker/docker/api/types/events github.com/docker/docker/api/types/image github.com/containers/storage/pkg/promise github.com/containers/skopeo/version sync internal/reflectlite google.golang.org/protobuf/internal/pragma internal/singleflight math/rand google.golang.org/grpc/internal/buffer google.golang.org/grpc/internal/grpcsync errors sort internal/oserror io strconv syscall vendor/golang.org/x/net/dns/dnsmessage bytes reflect strings hash crypto crypto/internal/randutil crypto/hmac bufio path crypto/rc4 vendor/golang.org/x/crypto/hkdf regexp/syntax github.com/containers/image/v5/pkg/compression/internal time internal/syscall/unix internal/syscall/execenv github.com/containers/image/v5/pkg/compression/types compress/bzip2 hash/crc32 hash/crc64 encoding/base32 regexp github.com/docker/docker/api/types/versions context internal/poll encoding/binary internal/fmtsort github.com/containers/image/v5/internal/uploadreader github.com/hashicorp/errwrap vendor/golang.org/x/text/transform encoding/base64 crypto/cipher crypto/sha512 os crypto/ed25519/internal/edwards25519 crypto/md5 crypto/aes crypto/des crypto/sha1 crypto/sha256 encoding/pem vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/poly1305 fmt net path/filepath vendor/golang.org/x/crypto/chacha20poly1305 github.com/golang/snappy io/ioutil github.com/klauspost/compress/zstd/internal/xxhash runtime/debug golang.org/x/sys/unix github.com/containers/image/v5/internal/rootless os/exec # golang.org/x/sys/unix vendor/src/golang.org/x/sys/unix/affinity_linux.go:14:35: undefined: _NCPUBITS vendor/src/golang.org/x/sys/unix/affinity_linux.go:17:25: undefined: cpuMask vendor/src/golang.org/x/sys/unix/syscall_linux_gc.go:11:6: missing function body vendor/src/golang.org/x/sys/unix/syscall_linux_gc.go:15:6: missing function body vendor/src/golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing function body vendor/src/golang.org/x/sys/unix/syscall_unix_gc.go:16:6: missing function body vendor/src/golang.org/x/sys/unix/syscall_unix_gc.go:17:6: missing function body vendor/src/golang.org/x/sys/unix/syscall_unix_gc.go:18:6: missing function body github.com/beorn7/perks/quantile encoding/json github.com/pkg/errors github.com/syndtr/gocapability/capability encoding/csv encoding/hex github.com/containers/common/pkg/capabilities flag net/url text/template/parse math/big vendor/golang.org/x/crypto/curve25519 github.com/opencontainers/go-digest github.com/containers/image/v5/docker/reference text/template github.com/containers/image/v5/docker/policyconfiguration github.com/containers/image/v5/internal/iolimits github.com/opencontainers/image-spec/specs-go github.com/opencontainers/image-spec/specs-go/v1 github.com/containers/image/v5/types github.com/containers/image/v5/internal/pkg/platform github.com/klauspost/compress/fse crypto/rand encoding/asn1 crypto/elliptic crypto/ed25519 crypto/rsa crypto/dsa github.com/klauspost/compress/huff0 crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte log github.com/klauspost/compress/flate crypto/ecdsa github.com/klauspost/compress/zstd github.com/ulikunitz/xz/internal/xlog github.com/ulikunitz/xz/lzma github.com/spf13/pflag crypto/x509 github.com/klauspost/pgzip github.com/ulikunitz/xz github.com/containers/image/v5/pkg/strslice github.com/BurntSushi/toml crypto/tls github.com/spf13/cobra github.com/docker/go-units os/user github.com/containers/common/pkg/completion github.com/containers/storage/pkg/reexec github.com/opencontainers/runtime-spec/specs-go github.com/containers/storage/pkg/stringid github.com/docker/docker-credential-helpers/credentials github.com/hashicorp/go-multierror golang.org/x/net/internal/socks github.com/docker/docker-credential-helpers/client compress/flate golang.org/x/net/proxy vendor/golang.org/x/text/unicode/bidi compress/gzip vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/secure/bidirule net/textproto vendor/golang.org/x/net/http2/hpack github.com/containers/libtrust # github.com/containers/libtrust vendor/src/github.com/containers/libtrust/ec_key_openssl.go:23:9: undefined: ecdsa.HashSign mime mime/quotedprintable net/http/httptrace net/http/internal github.com/docker/go-connections/tlsconfig github.com/containers/image/v5/transports github.com/containers/image/v5/version mime/multipart vendor/golang.org/x/net/idna github.com/docker/distribution/digestset github.com/cespare/xxhash/v2 github.com/docker/distribution/reference hash/fnv go/token google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/version github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg google.golang.org/protobuf/internal/errors vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy github.com/prometheus/common/model github.com/prometheus/procfs/internal/fs google.golang.org/protobuf/encoding/protowire github.com/prometheus/procfs/internal/util google.golang.org/protobuf/reflect/protoreflect net/http gopkg.in/yaml.v2 text/tabwriter google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/order google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/proto google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts github.com/containers/common/pkg/report github.com/ghodss/yaml github.com/containers/image/v5/internal/types go.etcd.io/bbolt google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc # go.etcd.io/bbolt vendor/src/go.etcd.io/bbolt/bolt_unix.go:66:15: undefined: maxMapSize vendor/src/go.etcd.io/bbolt/db.go:127:13: undefined: maxMapSize vendor/src/go.etcd.io/bbolt/db.go:400:12: undefined: maxMapSize vendor/src/go.etcd.io/bbolt/db.go:418:10: undefined: maxMapSize vendor/src/go.etcd.io/bbolt/db.go:419:8: undefined: maxMapSize vendor/src/go.etcd.io/bbolt/tx.go:533:12: undefined: maxAllocSize vendor/src/go.etcd.io/bbolt/tx.go:534:10: undefined: maxAllocSize vendor/src/go.etcd.io/bbolt/unsafe.go:27:12: undefined: maxAllocSize github.com/mtrmac/gpgme golang.org/x/crypto/openpgp/errors golang.org/x/crypto/openpgp/armor hash/adler32 compress/zlib golang.org/x/crypto/cast5 golang.org/x/crypto/openpgp/elgamal golang.org/x/crypto/openpgp/s2k image image/internal/imageutil google.golang.org/protobuf/internal/encoding/tag image/jpeg google.golang.org/protobuf/internal/impl golang.org/x/crypto/openpgp/packet github.com/docker/go-connections/sockets github.com/docker/distribution/registry/api/errcode github.com/gorilla/mux github.com/docker/distribution github.com/docker/distribution/registry/api/v2 github.com/docker/distribution/registry/client/auth/challenge github.com/docker/distribution/registry/client/transport expvar golang.org/x/crypto/openpgp github.com/miekg/pkcs11 github.com/stefanberger/go-pkcs11uri golang.org/x/crypto/ed25519 golang.org/x/crypto/pbkdf2 gopkg.in/square/go-jose.v2/cipher gopkg.in/square/go-jose.v2/json gopkg.in/square/go-jose.v2 google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/descriptorpb google.golang.org/protobuf/types/known/anypb github.com/golang/protobuf/ptypes/any google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/reflect/protodesc github.com/golang/protobuf/ptypes/duration google.golang.org/protobuf/types/known/timestamppb github.com/containers/ocicrypt/config/keyprovider-config golang.org/x/net/internal/timeseries github.com/golang/protobuf/ptypes/timestamp html google.golang.org/grpc/backoff google.golang.org/grpc/internal/grpclog google.golang.org/grpc/grpclog html/template google.golang.org/grpc/connectivity google.golang.org/grpc/attributes google.golang.org/grpc/internal google.golang.org/grpc/internal/credentials github.com/golang/protobuf/proto google.golang.org/grpc/metadata google.golang.org/grpc/internal/grpcrand google.golang.org/grpc/codes google.golang.org/grpc/encoding google.golang.org/grpc/internal/backoff golang.org/x/net/trace google.golang.org/grpc/internal/balancerload google.golang.org/grpc/internal/envconfig golang.org/x/text/transform golang.org/x/text/unicode/bidi github.com/golang/protobuf/ptypes github.com/prometheus/client_model/go github.com/matttproud/golang_protobuf_extensions/pbutil google.golang.org/grpc/credentials google.golang.org/grpc/encoding/proto github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/common/expfmt google.golang.org/grpc/resolver google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/balancer google.golang.org/grpc/balancer/base google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/grpcutil google.golang.org/genproto/googleapis/rpc/status google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/status google.golang.org/grpc/internal/serviceconfig golang.org/x/text/secure/bidirule google.golang.org/grpc/status golang.org/x/net/http2/hpack golang.org/x/text/unicode/norm google.golang.org/grpc/internal/binarylog google.golang.org/grpc/keepalive google.golang.org/grpc/peer google.golang.org/grpc/stats google.golang.org/grpc/tap net/http/httputil net/mail go.mozilla.org/pkcs7 container/heap golang.org/x/net/idna github.com/acarl005/stripansi github.com/mattn/go-runewidth golang.org/x/sync/semaphore github.com/vbauerster/mpb/v6/decor github.com/containers/image/v5/directory/explicitfilepath archive/tar golang.org/x/net/http/httpguts github.com/containers/image/v5/internal/tmpdir golang.org/x/net/http2 github.com/containerd/containerd/errdefs github.com/docker/docker/api/types/blkiodev github.com/docker/docker/api/types/mount github.com/docker/docker/api/types/strslice github.com/docker/go-connections/nat github.com/docker/docker/api/types/container github.com/docker/docker/api/types/filters github.com/containers/ocicrypt/crypto/pkcs11 github.com/docker/docker/api/types/network github.com/docker/docker/api/types/registry github.com/docker/docker/api/types/time github.com/gogo/protobuf/proto github.com/containers/image/v5/oci/internal github.com/containers/ocicrypt/utils github.com/containers/ocicrypt/config github.com/containers/ocicrypt/keywrap github.com/containers/ocicrypt/blockcipher github.com/containers/ocicrypt/keywrap/jwe github.com/containers/ocicrypt/keywrap/pgp github.com/containers/ocicrypt/keywrap/pkcs11 github.com/containers/ocicrypt/keywrap/pkcs7 text/scanner golang.org/x/net/context github.com/imdario/mergo github.com/modern-go/concurrent github.com/modern-go/reflect2 github.com/containers/storage/pkg/directory github.com/opencontainers/selinux/pkg/pwalk github.com/vbatts/tar-split/tar/storage github.com/containers/storage/pkg/locker github.com/containers/storage/pkg/parsers github.com/willf/bitset database/sql/driver github.com/containers/storage/pkg/stringutils github.com/google/uuid github.com/vbatts/tar-split/archive/tar github.com/mistifyio/go-zfs github.com/tchap/go-patricia/patricia github.com/containers/storage/pkg/truncindex github.com/containers/storage/pkg/config github.com/google/go-intervals/intervalset github.com/vbatts/tar-split/tar/asm github.com/json-iterator/go github.com/containers/ocicrypt/config/pkcs11config github.com/containers/skopeo/cmd/skopeo/inspect github.com/docker/docker/api/types/swarm/runtime github.com/docker/docker/api/types/swarm github.com/docker/docker/api/types github.com/docker/docker/api/types/volume error: Bad exit status from /var/tmp/rpm-tmp.ilYhDp (%build) Bad exit status from /var/tmp/rpm-tmp.ilYhDp (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 loongarch64 --nodeps /builddir/build/SPECS/skopeo.spec