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/buildah.spec'], chrootPath='/var/lib/mock/module-container-tools-an8-8040020211118094134-88f4c5b9-build-55789-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/buildah.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 Wrote: /builddir/build/SRPMS/buildah-1.21.4-2.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/buildah.spec'], chrootPath='/var/lib/mock/module-container-tools-an8-8040020211118094134-88f4c5b9-build-55789-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/buildah.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.08QJvC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf containers-buildah-d1e9240 + /usr/bin/gzip -dc /builddir/build/SOURCES/release-1.21-d1e9240.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd containers-buildah-d1e9240 + /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 'buildah-1.21.4 base' + sed -i 's/GOMD2MAN =/GOMD2MAN ?=/' docs/Makefile + sed -i '/docs install/d' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6oaU8y + umask 022 + cd /builddir/build/BUILD + cd containers-buildah-d1e9240 + mkdir _build + pushd _build ~/build/BUILD/containers-buildah-d1e9240/_build ~/build/BUILD/containers-buildah-d1e9240 + mkdir -p src/github.com/containers ++ dirs +1 -l + ln -s /builddir/build/BUILD/containers-buildah-d1e9240 src/github.com/containers/buildah + popd ~/build/BUILD/containers-buildah-d1e9240 + mv vendor src ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/containers-buildah-d1e9240/_build:/builddir/build/BUILD/containers-buildah-d1e9240 + GOPATH=/builddir/build/BUILD/containers-buildah-d1e9240/_build:/builddir/build/BUILD/containers-buildah-d1e9240 + export 'BUILDTAGS=seccomp selinux btrfs_noversion exclude_graphdriver_btrfs' + BUILDTAGS='seccomp selinux btrfs_noversion exclude_graphdriver_btrfs' + 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' ++ grep '^# github.com/containernetworking/cni ' src/modules.txt ++ sed 's,.* ,,' + export CNI_VERSION=v0.8.1 + CNI_VERSION=v0.8.1 ++ date +%s + export 'LDFLAGS= -X main.buildInfo=1637232625 -X main.cniVersion=v0.8.1' + LDFLAGS=' -X main.buildInfo=1637232625 -X main.cniVersion=v0.8.1' + rm -f src/github.com/containers/storage/drivers/register/register_btrfs.go ++ head -c20 /dev/urandom ++ tr -d ' \n' ++ od -An -tx1 + go build -compiler gc '-tags=rpm_crashtraceback libtrust_openssl seccomp selinux btrfs_noversion exclude_graphdriver_btrfs' -ldflags ' -X main.buildInfo=1637232625 -X main.cniVersion=v0.8.1 -compressdwarf=false -B 0xe6a54e48c4b2b06155a7c6de6b0ea7a5d450293b -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -o bin/buildah github.com/containers/buildah/cmd/buildah internal/cpu runtime/internal/sys internal/unsafeheader runtime/internal/atomic runtime/internal/math internal/race internal/bytealg sync/atomic unicode unicode/utf8 encoding math/bits internal/testlog runtime unicode/utf16 math internal/nettrace runtime/cgo crypto/internal/subtle crypto/subtle golang.org/x/sys/internal/unsafeheader github.com/ulikunitz/xz/internal/hash vendor/golang.org/x/crypto/cryptobyte/asn1 container/list vendor/golang.org/x/crypto/internal/subtle github.com/containers/ocicrypt/spec github.com/containers/storage/pkg/promise image/color google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set google.golang.org/grpc/serviceconfig github.com/VividCortex/ewma github.com/rivo/uniseg 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/common/version github.com/openshift/imagebuilder/dockerfile/command sync internal/reflectlite internal/singleflight google.golang.org/protobuf/internal/pragma math/rand google.golang.org/grpc/internal/buffer google.golang.org/grpc/internal/grpcsync sort errors internal/oserror io strconv syscall vendor/golang.org/x/net/dns/dnsmessage bytes strings reflect hash crypto github.com/containers/image/v5/pkg/compression/internal github.com/containers/image/v5/pkg/compression/types time internal/syscall/unix internal/syscall/execenv path bufio regexp/syntax compress/bzip2 hash/crc32 hash/crc64 crypto/internal/randutil crypto/hmac context internal/poll crypto/rc4 regexp vendor/golang.org/x/crypto/hkdf encoding/base32 github.com/docker/docker/api/types/versions golang.org/x/net/context os vendor/golang.org/x/text/transform encoding/binary internal/fmtsort hash/fnv golang.org/x/crypto/openpgp/errors hash/adler32 golang.org/x/crypto/cast5 golang.org/x/crypto/openpgp/s2k encoding/base64 crypto/cipher github.com/golang/snappy fmt net path/filepath crypto/aes io/ioutil os/exec github.com/klauspost/compress/zstd/internal/xxhash runtime/debug encoding/json os/user github.com/opencontainers/go-digest github.com/containers/image/v5/docker/reference 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 math/big encoding/hex github.com/klauspost/compress/fse github.com/klauspost/compress/huff0 crypto/rand log archive/tar github.com/klauspost/compress/flate github.com/klauspost/compress/zstd github.com/pkg/errors golang.org/x/sys/unix # golang.org/x/sys/unix src/golang.org/x/sys/unix/affinity_linux.go:14:35: undefined: _NCPUBITS src/golang.org/x/sys/unix/affinity_linux.go:17:25: undefined: cpuMask src/golang.org/x/sys/unix/syscall_linux_gc.go:11:6: missing function body src/golang.org/x/sys/unix/syscall_linux_gc.go:15:6: missing function body src/golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing function body src/golang.org/x/sys/unix/syscall_unix_gc.go:16:6: missing function body src/golang.org/x/sys/unix/syscall_unix_gc.go:17:6: missing function body src/golang.org/x/sys/unix/syscall_unix_gc.go:18:6: missing function body crypto/sha256 github.com/ulikunitz/xz/internal/xlog github.com/klauspost/pgzip github.com/ulikunitz/xz/lzma github.com/containers/image/v5/pkg/strslice crypto/elliptic github.com/containernetworking/cni/pkg/types github.com/containernetworking/cni/pkg/types/020 github.com/containernetworking/cni/pkg/utils github.com/ulikunitz/xz github.com/containernetworking/cni/pkg/types/current crypto/sha512 github.com/containernetworking/cni/pkg/version github.com/containernetworking/cni/pkg/invoke encoding/asn1 github.com/containernetworking/cni/libcni crypto/rsa crypto/des crypto/ed25519/internal/edwards25519 vendor/golang.org/x/crypto/cryptobyte crypto/md5 crypto/sha1 crypto/dsa crypto/x509/pkix encoding/pem crypto/ed25519 crypto/ecdsa net/url vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/poly1305 vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/crypto/chacha20poly1305 github.com/miekg/pkcs11 gopkg.in/yaml.v2 text/scanner crypto/x509 github.com/stefanberger/go-pkcs11uri github.com/docker/go-units github.com/containers/storage/pkg/reexec github.com/opencontainers/runtime-spec/specs-go github.com/syndtr/gocapability/capability flag crypto/tls github.com/modern-go/concurrent github.com/modern-go/reflect2 compress/flate compress/gzip vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/secure/bidirule github.com/json-iterator/go vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/idna github.com/containers/libtrust # github.com/containers/libtrust src/github.com/containers/libtrust/ec_key_openssl.go:23:9: undefined: ecdsa.HashSign net/textproto vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy mime mime/quotedprintable net/http/httptrace net/http/internal mime/multipart github.com/containers/image/v5/internal/iolimits github.com/containers/image/v5/internal/types github.com/containers/image/v5/internal/rootless go.etcd.io/bbolt github.com/containers/image/v5/transports github.com/containers/image/v5/version net/http # go.etcd.io/bbolt src/go.etcd.io/bbolt/bolt_unix.go:66:15: undefined: maxMapSize src/go.etcd.io/bbolt/db.go:127:13: undefined: maxMapSize src/go.etcd.io/bbolt/db.go:400:12: undefined: maxMapSize src/go.etcd.io/bbolt/db.go:418:10: undefined: maxMapSize src/go.etcd.io/bbolt/db.go:419:8: undefined: maxMapSize src/go.etcd.io/bbolt/tx.go:533:12: undefined: maxAllocSize src/go.etcd.io/bbolt/tx.go:534:10: undefined: maxAllocSize src/go.etcd.io/bbolt/unsafe.go:27:12: undefined: maxAllocSize github.com/mtrmac/gpgme golang.org/x/crypto/openpgp/armor compress/zlib golang.org/x/crypto/openpgp/elgamal image image/internal/imageutil image/jpeg golang.org/x/crypto/openpgp/packet golang.org/x/crypto/openpgp golang.org/x/crypto/ed25519 golang.org/x/crypto/pbkdf2 gopkg.in/square/go-jose.v2/cipher gopkg.in/square/go-jose.v2/json github.com/containers/ocicrypt/crypto/pkcs11 github.com/containers/ocicrypt/config github.com/containers/ocicrypt/config/keyprovider-config github.com/containers/ocicrypt/keywrap gopkg.in/square/go-jose.v2 google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/reflect/protoreflect go/token google.golang.org/protobuf/internal/version golang.org/x/net/internal/timeseries google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/genid github.com/containers/ocicrypt/utils google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/order google.golang.org/protobuf/reflect/protoregistry github.com/containers/ocicrypt/blockcipher github.com/containers/ocicrypt/keywrap/jwe google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/proto google.golang.org/protobuf/internal/descopts html text/template/parse text/tabwriter google.golang.org/grpc/backoff google.golang.org/grpc/internal/grpclog google.golang.org/grpc/grpclog google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc google.golang.org/grpc/connectivity google.golang.org/grpc/attributes google.golang.org/grpc/internal google.golang.org/grpc/internal/credentials text/template 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 google.golang.org/grpc/internal/balancerload google.golang.org/grpc/internal/envconfig golang.org/x/text/transform golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm golang.org/x/text/secure/bidirule golang.org/x/net/http2/hpack google.golang.org/protobuf/internal/encoding/tag html/template google.golang.org/grpc/keepalive google.golang.org/protobuf/internal/impl google.golang.org/grpc/stats google.golang.org/grpc/tap net/http/httputil golang.org/x/net/idna golang.org/x/net/trace net/mail github.com/containers/ocicrypt/keywrap/pgp github.com/containers/ocicrypt/keywrap/pkcs11 golang.org/x/net/http/httpguts go.mozilla.org/pkcs7 container/heap golang.org/x/net/http2 github.com/acarl005/stripansi github.com/mattn/go-runewidth github.com/vbauerster/mpb/v6/decor github.com/containers/ocicrypt/keywrap/pkcs7 golang.org/x/sync/semaphore github.com/hashicorp/errwrap github.com/hashicorp/go-multierror github.com/containers/image/v5/internal/tmpdir 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/stringid github.com/google/uuid github.com/containers/storage/pkg/stringutils 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/BurntSushi/toml github.com/containers/storage/pkg/config github.com/google/go-intervals/intervalset github.com/vbatts/tar-split/tar/asm github.com/containers/image/v5/directory/explicitfilepath github.com/containers/image/v5/docker/policyconfiguration github.com/containers/image/v5/internal/uploadreader github.com/docker/docker-credential-helpers/credentials golang.org/x/net/internal/socks google.golang.org/protobuf/internal/filetype github.com/docker/docker-credential-helpers/client golang.org/x/net/proxy google.golang.org/protobuf/runtime/protoimpl github.com/docker/go-connections/tlsconfig github.com/docker/distribution/registry/api/errcode google.golang.org/protobuf/types/descriptorpb google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/known/timestamppb github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration github.com/docker/go-connections/sockets github.com/golang/protobuf/ptypes/timestamp github.com/docker/distribution/digestset github.com/gorilla/mux github.com/docker/distribution/registry/client/auth/challenge github.com/docker/distribution/reference github.com/docker/distribution/registry/client/transport github.com/docker/distribution expvar github.com/docker/distribution/registry/api/v2 github.com/beorn7/perks/quantile google.golang.org/protobuf/reflect/protodesc github.com/cespare/xxhash/v2 github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/prometheus/common/model github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util github.com/ghodss/yaml 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/filters github.com/docker/docker/api/types/registry github.com/docker/docker/api/types/network github.com/docker/docker/api/types/container github.com/docker/docker/api/types/time github.com/gogo/protobuf/proto github.com/containers/image/v5/oci/internal github.com/imdario/mergo github.com/containers/common/pkg/apparmor github.com/golang/protobuf/proto github.com/containers/common/pkg/capabilities github.com/containers/common/pkg/timetype github.com/containers/common/pkg/filters os/signal github.com/lunixbochs/vtclean github.com/chzyer/readline github.com/juju/ansiterm/tabwriter github.com/mattn/go-isatty github.com/mattn/go-colorable github.com/juju/ansiterm google.golang.org/grpc/credentials google.golang.org/grpc/resolver google.golang.org/grpc/encoding/proto github.com/golang/protobuf/ptypes google.golang.org/grpc/balancer google.golang.org/grpc/balancer/base google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/internal/grpcutil google.golang.org/genproto/googleapis/rpc/status google.golang.org/grpc/internal/status google.golang.org/grpc/status google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/binarylog google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/peer github.com/prometheus/client_model/go github.com/matttproud/golang_protobuf_extensions/pbutil github.com/containerd/containerd/errdefs github.com/manifoldco/promptui/list github.com/manifoldco/promptui/screenbuf github.com/disiqueira/gotree/v3 database/sql github.com/manifoldco/promptui github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/common/expfmt github.com/cyphar/filepath-securejoin github.com/seccomp/libseccomp-golang github.com/containers/buildah/docker github.com/docker/docker/pkg/ioutils github.com/jinzhu/copier github.com/docker/libnetwork/resolvconf/dns github.com/ishidawataru/sctp github.com/opencontainers/runtime-tools/generate/seccomp github.com/docker/docker/api/types/swarm/runtime github.com/docker/docker/api/types/swarm github.com/blang/semver github.com/docker/libnetwork/types github.com/docker/docker/api/types github.com/opencontainers/runtime-tools/filepath github.com/opencontainers/runtime-tools/error github.com/xeipuuv/gojsonpointer github.com/opencontainers/runtime-tools/specerror github.com/docker/docker/api/types/volume github.com/xeipuuv/gojsonreference github.com/containerd/containerd/pkg/userns github.com/docker/docker/pkg/pools github.com/xeipuuv/gojsonschema golang.org/x/sys/execabs github.com/docker/docker/pkg/homedir github.com/morikuni/aec github.com/docker/docker/pkg/stdcopy github.com/openshift/imagebuilder/signal github.com/openshift/imagebuilder/strslice encoding/csv github.com/containers/buildah/pkg/rusage github.com/containers/ocicrypt/config/pkcs11config github.com/spf13/pflag github.com/mattn/go-shellwords runtime/pprof github.com/spf13/cobra github.com/containers/buildah/pkg/completion github.com/containers/common/pkg/completion error: Bad exit status from /var/tmp/rpm-tmp.6oaU8y (%build) Bad exit status from /var/tmp/rpm-tmp.6oaU8y (%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/buildah.spec