Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/buildah.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-337300-69702/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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.24.6-7.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/buildah.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-337300-69702/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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.yNPi5Q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf containers-buildah-60e6bc0 + /usr/bin/gzip -dc /builddir/build/SOURCES/release-1.24-60e6bc0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd containers-buildah-60e6bc0 + /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.24.6 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.U1kWD0 + umask 022 + cd /builddir/build/BUILD + cd containers-buildah-60e6bc0 + mkdir _build + pushd _build ~/build/BUILD/containers-buildah-60e6bc0/_build ~/build/BUILD/containers-buildah-60e6bc0 + mkdir -p src/github.com/containers ++ dirs +1 -l + ln -s /builddir/build/BUILD/containers-buildah-60e6bc0 src/github.com/containers/buildah + popd ~/build/BUILD/containers-buildah-60e6bc0 + mv vendor src ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/containers-buildah-60e6bc0/_build:/builddir/build/BUILD/containers-buildah-60e6bc0 + GOPATH=/builddir/build/BUILD/containers-buildah-60e6bc0/_build:/builddir/build/BUILD/containers-buildah-60e6bc0 + 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=v1.0.1 + CNI_VERSION=v1.0.1 ++ date +%s + export 'LDFLAGS= -X main.buildInfo=1702454806 -X main.cniVersion=v1.0.1' + LDFLAGS=' -X main.buildInfo=1702454806 -X main.cniVersion=v1.0.1' + 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 ' -X main.buildInfo=1702454806 -X main.cniVersion=v1.0.1 -compressdwarf=false -B 0x829fb9777e1281fe48ec618e689b8ad2050eddc7 -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 unicode/utf8 internal/goexperiment internal/goos internal/race internal/itoa google.golang.org/protobuf/internal/flags unicode/utf16 encoding runtime/internal/atomic unicode runtime/internal/syscall golang.org/x/sys/internal/unsafeheader internal/cpu math/bits internal/nettrace internal/abi runtime/internal/math sync/atomic runtime/internal/sys crypto/internal/subtle crypto/subtle 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 github.com/ulikunitz/xz/internal/hash image/color google.golang.org/grpc/attributes google.golang.org/grpc/serviceconfig github.com/rivo/uniseg github.com/VividCortex/ewma internal/bytealg 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 math github.com/containers/common/version github.com/containers/buildah/internal golang.org/x/crypto/internal/subtle github.com/openshift/imagebuilder/dockerfile/command crypto/internal/boring/fipstls crypto/internal/boring/bcache runtime github.com/klauspost/compress github.com/vbauerster/mpb/v7/internal internal/reflectlite sync google.golang.org/protobuf/internal/pragma google.golang.org/grpc/internal/buffer google.golang.org/grpc/internal/grpcsync internal/singleflight internal/testlog math/rand runtime/cgo errors sort internal/oserror io strconv internal/safefilepath path github.com/containers/storage/pkg/locker github.com/containers/common/pkg/apparmor golang.org/x/crypto/cast5 vendor/golang.org/x/net/dns/dnsmessage crypto/internal/nistec/fiat syscall container/heap github.com/beorn7/perks/quantile hash github.com/containers/image/v5/pkg/compression/internal crypto/internal/randutil bytes strings text/tabwriter github.com/containers/image/v5/internal/uploadreader github.com/containers/image/v5/pkg/compression/types hash/crc64 hash/fnv hash/adler32 hash/crc32 net/http/internal/ascii google.golang.org/grpc/encoding github.com/disiqueira/gotree/v3 html crypto/rc4 github.com/docker/docker/api/types/versions crypto encoding/base32 golang.org/x/crypto/openpgp/errors regexp/syntax reflect bufio vendor/golang.org/x/text/transform golang.org/x/text/transform github.com/containers/storage/pkg/stringutils github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg golang.org/x/crypto/blowfish golang.org/x/crypto/openpgp/s2k compress/bzip2 image crypto/internal/nistec internal/syscall/execenv internal/syscall/unix time regexp image/internal/imageutil image/jpeg github.com/acarl005/stripansi github.com/docker/libnetwork/resolvconf/dns google.golang.org/grpc/backoff google.golang.org/grpc/keepalive github.com/BurntSushi/toml/internal context io/fs google.golang.org/grpc/internal/grpcrand internal/poll google.golang.org/grpc/internal/backoff golang.org/x/net/context golang.org/x/sync/semaphore google.golang.org/grpc/tap golang.org/x/sync/errgroup os github.com/hashicorp/errwrap internal/fmtsort github.com/modern-go/reflect2 encoding/binary encoding/base64 crypto/cipher crypto/internal/edwards25519/field crypto/md5 vendor/golang.org/x/crypto/internal/poly1305 github.com/klauspost/compress/zstd/internal/xxhash vendor/golang.org/x/crypto/curve25519/internal/field github.com/klauspost/compress/internal/snapref github.com/cespare/xxhash/v2 golang.org/x/crypto/curve25519/internal/field golang.org/x/crypto/internal/poly1305 golang.org/x/sys/unix encoding/pem golang.org/x/crypto/openpgp/armor crypto/internal/edwards25519 vendor/golang.org/x/crypto/chacha20 golang.org/x/crypto/chacha20 crypto/des # 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/ifreq_linux.go:27:24: undefined: ifreq src/golang.org/x/sys/unix/ifreq_linux.go:139:9: undefined: ifreq src/golang.org/x/sys/unix/ifreq_linux.go:139:25: undefined: SizeofPtr src/golang.org/x/sys/unix/sockcmsg_unix.go:34:9: undefined: Cmsghdr src/golang.org/x/sys/unix/syscall_linux.go:942:17: undefined: RawSockaddrNFCLLCP 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:1167:12: undefined: SockaddrStorage src/golang.org/x/sys/unix/ztypes_linux.go:1167:12: too many errors google.golang.org/protobuf/internal/detrand internal/godebug github.com/containers/image/v5/internal/rootless google.golang.org/grpc/internal/xds/env io/ioutil path/filepath github.com/mattn/go-runewidth fmt internal/sysinfo github.com/docker/docker/api/types/mount os/signal internal/intern google.golang.org/grpc/internal/envconfig github.com/prometheus/procfs/internal/util vendor/golang.org/x/crypto/chacha20poly1305 net/netip github.com/containers/storage/pkg/directory github.com/cyphar/filepath-securejoin os/exec net google.golang.org/grpc/codes go/token google.golang.org/protobuf/internal/errors github.com/opencontainers/go-digest vendor/golang.org/x/crypto/curve25519 compress/flate encoding/json github.com/opencontainers/image-spec/specs-go encoding/hex net/url log google.golang.org/protobuf/internal/version github.com/pkg/errors math/big os/user google.golang.org/protobuf/encoding/protowire github.com/miekg/pkcs11 gopkg.in/yaml.v2 text/scanner github.com/docker/go-units github.com/containers/storage/pkg/reexec github.com/opencontainers/runtime-spec/specs-go github.com/opencontainers/image-spec/specs-go/v1 github.com/containers/image/v5/docker/reference github.com/syndtr/gocapability/capability google.golang.org/protobuf/reflect/protoreflect github.com/klauspost/compress/fse runtime/debug github.com/ulikunitz/xz/internal/xlog flag vendor/golang.org/x/text/unicode/bidi github.com/stefanberger/go-pkcs11uri github.com/containers/image/v5/types github.com/ulikunitz/xz/lzma vendor/golang.org/x/text/unicode/norm compress/gzip github.com/klauspost/compress/flate github.com/containers/image/v5/internal/pkg/platform github.com/modern-go/concurrent github.com/klauspost/compress/huff0 vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/runtime/protoiface github.com/containers/image/v5/pkg/strslice vendor/golang.org/x/text/secure/bidirule net/http/internal github.com/containers/image/v5/internal/iolimits github.com/containers/image/v5/internal/types google.golang.org/protobuf/reflect/protoregistry github.com/containers/image/v5/transports github.com/containers/image/v5/version github.com/proglottis/gpgme compress/zlib gopkg.in/square/go-jose.v2/json github.com/containers/ocicrypt/config/keyprovider-config golang.org/x/net/internal/timeseries text/template/parse google.golang.org/grpc/internal/grpclog google.golang.org/grpc/metadata encoding/asn1 google.golang.org/protobuf/proto crypto/elliptic crypto/dsa google.golang.org/protobuf/internal/encoding/defval google.golang.org/grpc/grpclog github.com/json-iterator/go google.golang.org/grpc/internal/balancerload github.com/klauspost/pgzip google.golang.org/grpc/internal/grpcutil golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack github.com/vbauerster/mpb/v7/decor vendor/golang.org/x/net/idna google.golang.org/grpc/connectivity github.com/containers/image/v5/internal/putblobdigest github.com/hashicorp/go-multierror vendor/github.com/golang-fips/openssl-fips/openssl vendor/golang.org/x/crypto/cryptobyte google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/encoding/prototext crypto/x509/pkix text/template github.com/containers/image/v5/internal/tmpdir archive/tar github.com/vbatts/tar-split/archive/tar github.com/opencontainers/selinux/pkg/pwalk github.com/vbatts/tar-split/tar/storage golang.org/x/text/secure/bidirule github.com/containers/storage/pkg/parsers github.com/opencontainers/selinux/pkg/pwalkdir database/sql/driver github.com/tchap/go-patricia/patricia github.com/containers/storage/pkg/config github.com/BurntSushi/toml github.com/google/go-intervals/intervalset github.com/containerd/stargz-snapshotter/estargz/errorutil runtime/trace github.com/containers/image/v5/directory/explicitfilepath github.com/containers/storage/pkg/truncindex github.com/containers/image/v5/docker/policyconfiguration github.com/containers/image/v5/internal/streamdigest github.com/docker/docker-credential-helpers/credentials testing golang.org/x/sys/execabs github.com/docker/distribution/digestset github.com/prometheus/common/model golang.org/x/net/idna github.com/prometheus/procfs/internal/fs html/template github.com/ghodss/yaml github.com/vbatts/tar-split/tar/asm github.com/docker/docker-credential-helpers/client github.com/docker/docker/api/types/blkiodev github.com/docker/distribution/reference github.com/docker/docker/api/types/strslice github.com/docker/docker/api/types/filters google.golang.org/protobuf/internal/encoding/tag github.com/gogo/protobuf/proto github.com/docker/docker/api/types/time github.com/containers/image/v5/oci/internal github.com/imdario/mergo github.com/docker/docker/api/types/network google.golang.org/protobuf/internal/impl github.com/containers/common/pkg/capabilities github.com/containers/common/pkg/timetype github.com/manifoldco/promptui/list github.com/manifoldco/promptui/screenbuf database/sql github.com/seccomp/libseccomp-golang github.com/containers/buildah/docker golang.org/x/crypto/curve25519 github.com/containerd/containerd/pkg/userns 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/opencontainers/runtime-tools/generate/seccomp github.com/blang/semver github.com/opencontainers/runtime-tools/filepath github.com/opencontainers/runtime-tools/error github.com/xeipuuv/gojsonpointer github.com/containers/buildah/pkg/rusage github.com/containers/buildah/pkg/util github.com/mattn/go-shellwords runtime/pprof github.com/opencontainers/runtime-tools/specerror github.com/xeipuuv/gojsonreference github.com/docker/docker/api/types/registry vendor/golang.org/x/net/http/httpproxy github.com/containernetworking/cni/pkg/types google.golang.org/grpc/stats github.com/docker/go-connections/nat github.com/containers/common/libnetwork/types net/textproto github.com/chzyer/readline github.com/spf13/pflag github.com/jinzhu/copier github.com/ishidawataru/sctp github.com/docker/docker/api/types/container github.com/containernetworking/cni/pkg/types/internal github.com/containernetworking/cni/pkg/utils github.com/containernetworking/cni/pkg/types/create github.com/containernetworking/cni/pkg/types/020 vendor/golang.org/x/net/http/httpguts golang.org/x/net/http/httpguts net/mail github.com/containernetworking/cni/pkg/types/040 github.com/docker/libnetwork/types github.com/containernetworking/cni/pkg/types/100 github.com/containernetworking/cni/pkg/version github.com/containernetworking/cni/pkg/invoke github.com/containernetworking/cni/libcni github.com/manifoldco/promptui github.com/spf13/cobra google.golang.org/protobuf/internal/filetype github.com/docker/docker/api/types/swarm/runtime github.com/containers/buildah/pkg/completion github.com/containers/common/pkg/completion google.golang.org/protobuf/runtime/protoimpl github.com/docker/docker/api/types/swarm google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/descriptorpb github.com/docker/docker/api/types github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp github.com/golang/protobuf/ptypes/any google.golang.org/genproto/googleapis/rpc/status github.com/docker/docker/api/types/volume google.golang.org/protobuf/reflect/protodesc github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes google.golang.org/grpc/encoding/proto github.com/prometheus/client_model/go github.com/matttproud/golang_protobuf_extensions/pbutil google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/internal/status github.com/prometheus/client_golang/prometheus/internal google.golang.org/grpc/status github.com/containerd/containerd/errdefs google.golang.org/grpc/internal/binarylog # vendor/github.com/golang-fips/openssl-fips/openssl openssl_lock_setup.c:15: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE : note: this is the location of the previous definition crypto/internal/backend/bbig crypto/internal/backend crypto/sha256 crypto/hmac crypto/sha512 crypto/sha1 crypto/aes crypto/rand vendor/golang.org/x/crypto/hkdf golang.org/x/crypto/pbkdf2 github.com/docker/docker/pkg/ioutils github.com/ulikunitz/xz golang.org/x/crypto/ssh/internal/bcrypt_pbkdf crypto/ed25519 golang.org/x/crypto/openpgp/elgamal mime/multipart crypto/rsa github.com/containers/storage/pkg/stringid github.com/google/uuid crypto/ecdsa github.com/godbus/dbus/v5 github.com/klauspost/compress/zstd golang.org/x/crypto/ed25519 gopkg.in/square/go-jose.v2/cipher github.com/docker/docker/pkg/pools github.com/mistifyio/go-zfs github.com/sylabs/sif/v2/pkg/sif github.com/containers/ocicrypt/crypto/pkcs11 golang.org/x/crypto/openpgp/packet crypto/x509 github.com/containers/ocicrypt/config/pkcs11config github.com/containers/ocicrypt/config github.com/containers/ocicrypt/keywrap golang.org/x/crypto/openpgp go.mozilla.org/pkcs7 gopkg.in/square/go-jose.v2 golang.org/x/crypto/ssh crypto/tls github.com/containers/ocicrypt/keywrap/pgp github.com/containers/storage/pkg/chunked/internal github.com/coreos/go-systemd/v22/dbus github.com/containerd/stargz-snapshotter/estargz github.com/containers/ocicrypt/utils github.com/containers/ocicrypt/keywrap/jwe github.com/containers/ocicrypt/keywrap/pkcs11 github.com/containers/ocicrypt/keywrap/pkcs7 github.com/containers/ocicrypt/blockcipher golang.org/x/crypto/ssh/agent net/http/httptrace github.com/docker/go-connections/tlsconfig google.golang.org/grpc/internal/credentials github.com/containers/libtrust net/http google.golang.org/grpc/credentials google.golang.org/grpc/peer google.golang.org/grpc/resolver google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/internal/metadata google.golang.org/grpc/internal google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/resolver/unix google.golang.org/grpc/balancer google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/resolver google.golang.org/grpc/balancer/roundrobin github.com/docker/distribution/registry/client/auth/challenge github.com/docker/distribution/registry/api/errcode github.com/docker/go-connections/sockets github.com/docker/distribution net/http/httputil golang.org/x/net/trace github.com/gorilla/mux expvar github.com/docker/distribution/registry/client/transport github.com/prometheus/common/expfmt github.com/containers/common/pkg/download github.com/containers/common/pkg/filters golang.org/x/net/http2 github.com/xeipuuv/gojsonschema github.com/docker/distribution/registry/api/v2 error: Bad exit status from /var/tmp/rpm-tmp.U1kWD0 (%build) Bad exit status from /var/tmp/rpm-tmp.U1kWD0 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/buildah.spec\n', 1)] 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 598, 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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/buildah.spec