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/dist-an8.7-build-224948-62190/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.19.9-6.an8.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/dist-an8.7-build-224948-62190/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.wm5AAb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf containers-buildah-6d7f496 + /usr/bin/gzip -dc /builddir/build/SOURCES/release-1.19-6d7f496.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd containers-buildah-6d7f496 + /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.19.9 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.E88EXu + umask 022 + cd /builddir/build/BUILD + cd containers-buildah-6d7f496 + mkdir _build + pushd _build ~/build/BUILD/containers-buildah-6d7f496/_build ~/build/BUILD/containers-buildah-6d7f496 + mkdir -p src/github.com/containers ++ dirs +1 -l + ln -s /builddir/build/BUILD/containers-buildah-6d7f496 src/github.com/containers/buildah + popd ~/build/BUILD/containers-buildah-6d7f496 + mv vendor src ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/containers-buildah-6d7f496/_build:/builddir/build/BUILD/containers-buildah-6d7f496 + GOPATH=/builddir/build/BUILD/containers-buildah-6d7f496/_build:/builddir/build/BUILD/containers-buildah-6d7f496 + 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' + rm -f src/github.com/containers/storage/drivers/register/register_btrfs.go ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback libtrust_openssl seccomp selinux btrfs_noversion exclude_graphdriver_btrfs' -ldflags ' -compressdwarf=false -B 0xc9628c47999bf978ad8fb4996040038958da6484 -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/unsafeheader internal/goarch internal/goexperiment internal/cpu internal/goos runtime/internal/atomic internal/abi runtime/internal/math runtime/internal/sys runtime/internal/syscall internal/race internal/bytealg sync/atomic unicode unicode/utf8 internal/itoa encoding math/bits unicode/utf16 runtime internal/nettrace github.com/containers/common/version math golang.org/x/sys/internal/unsafeheader crypto/internal/subtle crypto/subtle crypto/internal/boring/fipstls crypto/internal/boring/sig github.com/containers/storage/pkg/promise github.com/ulikunitz/xz/internal/hash container/list github.com/pquerna/ffjson/shared vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle github.com/containers/ocicrypt/spec image/color google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set github.com/docker/docker/api github.com/docker/docker/api/types/events github.com/docker/docker/api/types/image github.com/VividCortex/ewma github.com/vbauerster/mpb/v5/internal github.com/openshift/imagebuilder/dockerfile/command internal/reflectlite sync internal/singleflight internal/testlog runtime/cgo math/rand google.golang.org/protobuf/internal/pragma errors sort internal/oserror io syscall strconv bytes path strings reflect vendor/golang.org/x/net/dns/dnsmessage bufio time internal/syscall/unix internal/syscall/execenv regexp/syntax github.com/containers/common/pkg/apparmor compress/bzip2 context internal/poll io/fs regexp hash crypto encoding/binary internal/fmtsort os golang.org/x/net/context hash/crc32 github.com/pquerna/ffjson/fflib/v1/internal hash/crc64 encoding/base64 golang.org/x/sys/unix crypto/cipher # 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/affinity_linux.go:50:27: undefined: cpuMask src/golang.org/x/sys/unix/sockcmsg_unix.go:34:9: undefined: Cmsghdr src/golang.org/x/sys/unix/ztypes_linux.go:23:11: undefined: Timespec src/golang.org/x/sys/unix/ztypes_linux.go:24:11: undefined: Timespec src/golang.org/x/sys/unix/ztypes_linux.go:1132:12: undefined: SockaddrStorage src/golang.org/x/sys/unix/ztypes_linux.go:2313:8: undefined: Timespec src/golang.org/x/sys/unix/ztypes_linux.go:2806:8: undefined: TIPCSubscr src/golang.org/x/sys/unix/ztypes_linux.go:3214:10: undefined: PPSKInfo src/golang.org/x/sys/unix/affinity_linux.go:50:27: too many errors github.com/klauspost/compress/snappy github.com/klauspost/compress/zstd/internal/xxhash github.com/containers/storage/pkg/locker fmt internal/godebug path/filepath io/ioutil internal/intern encoding/base32 net/netip github.com/hashicorp/errwrap os/exec github.com/containers/storage/pkg/directory github.com/containers/storage/pkg/stringutils go/build/constraint net text/tabwriter github.com/containers/image/v5/internal/rootless encoding/json os/user github.com/BurntSushi/toml github.com/pkg/errors github.com/syndtr/gocapability/capability log text/scanner github.com/containers/common/pkg/capabilities github.com/docker/go-units math/big archive/tar encoding/hex github.com/klauspost/compress/fse github.com/klauspost/compress/huff0 runtime/debug github.com/klauspost/compress/flate github.com/pquerna/ffjson/fflib/v1 github.com/ulikunitz/xz/internal/xlog encoding/asn1 github.com/ulikunitz/xz/lzma github.com/klauspost/pgzip crypto/internal/boring github.com/containernetworking/cni/pkg/types flag github.com/containernetworking/cni/pkg/types/020 github.com/containernetworking/cni/pkg/utils github.com/containernetworking/cni/pkg/types/current github.com/containers/storage/pkg/reexec github.com/opencontainers/selinux/pkg/pwalk github.com/vbatts/tar-split/tar/storage github.com/containernetworking/cni/pkg/version github.com/containers/storage/pkg/parsers github.com/containernetworking/cni/pkg/invoke github.com/willf/bitset github.com/hashicorp/go-multierror github.com/containernetworking/cni/libcni github.com/mistifyio/go-zfs github.com/containers/storage/pkg/config github.com/opencontainers/runtime-spec/specs-go github.com/vbatts/tar-split/archive/tar github.com/tchap/go-patricia/patricia github.com/opencontainers/go-digest go/token github.com/containers/storage/pkg/truncindex net/url go/scanner text/template/parse github.com/vbatts/tar-split/tar/asm go/ast github.com/containers/image/v5/docker/reference github.com/containers/image/v5/pkg/compression/internal github.com/containers/image/v5/pkg/compression/types github.com/opencontainers/image-spec/specs-go github.com/opencontainers/image-spec/specs-go/v1 github.com/containers/image/v5/types os/signal go/internal/typeparams go/printer go/parser text/template github.com/chzyer/readline github.com/lunixbochs/vtclean go/format github.com/pquerna/ffjson/inception github.com/juju/ansiterm/tabwriter github.com/mattn/go-isatty github.com/mattn/go-colorable github.com/juju/ansiterm github.com/manifoldco/promptui/list github.com/manifoldco/promptui/screenbuf github.com/containers/image/v5/internal/pkg/platform github.com/containers/image/v5/pkg/strslice crypto/elliptic/internal/fiat crypto/internal/randutil github.com/manifoldco/promptui vendor/golang.org/x/crypto/cryptobyte crypto/des crypto/ed25519/internal/edwards25519/field crypto/md5 crypto/ed25519/internal/edwards25519 crypto/rc4 crypto/dsa crypto/x509/pkix encoding/pem vendor/golang.org/x/crypto/chacha20 crypto/elliptic/internal/nistec vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field vendor/golang.org/x/crypto/chacha20poly1305 github.com/docker/docker/api/types/versions vendor/golang.org/x/crypto/curve25519 github.com/containers/image/v5/transports github.com/containers/image/v5/version github.com/mtrmac/gpgme golang.org/x/crypto/openpgp/errors compress/flate golang.org/x/crypto/openpgp/armor hash/adler32 golang.org/x/crypto/cast5 golang.org/x/crypto/openpgp/s2k image compress/zlib github.com/containers/image/v5/internal/iolimits github.com/containers/image/v5/internal/tmpdir 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 image/internal/imageutil github.com/docker/docker-credential-helpers/client image/jpeg golang.org/x/net/internal/socks golang.org/x/net/proxy compress/gzip vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/secure/bidirule net/textproto vendor/golang.org/x/net/http2/hpack mime vendor/golang.org/x/net/idna mime/quotedprintable net/http/internal net/http/internal/ascii github.com/docker/distribution/digestset github.com/docker/distribution/reference github.com/beorn7/perks/quantile github.com/cespare/xxhash/v2 vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy hash/fnv google.golang.org/protobuf/internal/version github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/prometheus/common/model google.golang.org/protobuf/internal/detrand github.com/prometheus/procfs/internal/fs google.golang.org/protobuf/internal/errors github.com/prometheus/procfs/internal/util google.golang.org/protobuf/encoding/protowire gopkg.in/yaml.v2 google.golang.org/protobuf/reflect/protoreflect google.golang.org/grpc/codes 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 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/descfmt google.golang.org/protobuf/proto google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/encoding/defval github.com/ghodss/yaml github.com/docker/docker/api/types/filters google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc github.com/docker/docker/api/types/network github.com/docker/docker/api/types/registry github.com/gogo/protobuf/proto github.com/docker/docker/api/types/time github.com/containers/image/v5/oci/internal github.com/imdario/mergo golang.org/x/text/transform google.golang.org/protobuf/internal/encoding/tag golang.org/x/text/unicode/bidi google.golang.org/protobuf/internal/impl golang.org/x/text/secure/bidirule golang.org/x/text/unicode/norm golang.org/x/net/idna github.com/docker/docker/api/types/swarm/runtime github.com/docker/docker/api/types/swarm github.com/docker/docker/api/types golang.org/x/net/http/httpguts golang.org/x/net/http2/hpack github.com/docker/docker/api/types/volume github.com/opencontainers/runc/libcontainer/apparmor github.com/seccomp/libseccomp-golang github.com/containers/buildah/define github.com/containers/buildah/docker go.etcd.io/bbolt google.golang.org/protobuf/internal/filetype # go.etcd.io/bbolt src/go.etcd.io/bbolt/db.go:127:13: undeclared name maxMapSize for array length 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/db.go:885:2: pos declared but not used src/go.etcd.io/bbolt/bolt_unix.go:66:15: undeclared name maxMapSize for array length 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: undeclared name maxAllocSize for array length gopkg.in/square/go-jose.v2/json google.golang.org/protobuf/runtime/protoimpl github.com/golang/protobuf/proto google.golang.org/protobuf/types/known/anypb github.com/golang/protobuf/ptypes/any google.golang.org/protobuf/types/known/durationpb github.com/golang/protobuf/ptypes/duration google.golang.org/protobuf/types/known/timestamppb github.com/matttproud/golang_protobuf_extensions/pbutil github.com/golang/protobuf/ptypes/timestamp google.golang.org/genproto/googleapis/rpc/status github.com/golang/protobuf/ptypes github.com/prometheus/client_model/go google.golang.org/grpc/internal/status github.com/prometheus/client_golang/prometheus/internal google.golang.org/grpc/status github.com/containers/ocicrypt/config github.com/containerd/containerd/errdefs github.com/containers/ocicrypt/keywrap # crypto/internal/boring openssl_lock_setup.c:15: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE : note: this is the location of the previous definition crypto/sha256 crypto/aes crypto/sha512 github.com/ulikunitz/xz crypto/hmac crypto/sha1 crypto/rand vendor/golang.org/x/crypto/hkdf golang.org/x/crypto/pbkdf2 net/mail container/heap github.com/klauspost/compress/zstd github.com/containers/storage/pkg/stringid crypto/elliptic crypto/rsa crypto/ed25519 golang.org/x/crypto/openpgp/elgamal mime/multipart golang.org/x/crypto/ed25519 github.com/acarl005/stripansi crypto/ecdsa github.com/mattn/go-runewidth golang.org/x/sync/semaphore crypto/x509 golang.org/x/crypto/openpgp/packet gopkg.in/square/go-jose.v2/cipher github.com/vbauerster/mpb/v5/decor github.com/docker/docker/pkg/ioutils github.com/docker/libnetwork/resolvconf/dns github.com/ishidawataru/sctp github.com/godbus/dbus/v5 golang.org/x/crypto/openpgp github.com/docker/libnetwork/types crypto/tls gopkg.in/square/go-jose.v2 github.com/containers/ocicrypt/keywrap/pgp go.mozilla.org/pkcs7 github.com/opencontainers/runtime-tools/generate/seccomp database/sql/driver github.com/containers/ocicrypt/utils github.com/blang/semver github.com/containers/ocicrypt/blockcipher github.com/containers/ocicrypt/keywrap/jwe github.com/containers/ocicrypt/keywrap/pkcs7 github.com/coreos/go-systemd/v22/dbus github.com/opencontainers/runtime-tools/filepath github.com/opencontainers/runtime-tools/error github.com/xeipuuv/gojsonpointer github.com/opencontainers/runtime-tools/specerror github.com/xeipuuv/gojsonreference golang.org/x/sync/errgroup github.com/docker/docker/pkg/pools 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/mattn/go-shellwords github.com/spf13/pflag runtime/pprof net/http/httptrace github.com/containers/libtrust net/http github.com/docker/go-connections/tlsconfig github.com/spf13/cobra github.com/containers/buildah/pkg/completion github.com/containers/common/pkg/completion github.com/docker/distribution/registry/api/errcode github.com/docker/distribution github.com/gorilla/mux github.com/docker/go-connections/sockets github.com/docker/distribution/registry/client/auth/challenge github.com/docker/distribution/registry/client/transport expvar github.com/prometheus/common/expfmt net/http/httputil golang.org/x/net/http2 github.com/docker/distribution/registry/api/v2 github.com/xeipuuv/gojsonschema error: Bad exit status from /var/tmp/rpm-tmp.E88EXu (%build) Bad exit status from /var/tmp/rpm-tmp.E88EXu (%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