>>> host-runc 1.2.0 Downloading wget -nd -t 3 --no-check-certificate -O '/workdir/instance-0/output-1/build/.runc-1.2.0-go2.tar.gz.CE8GSA/output' 'https://github.com/opencontainers/runc/archive/v1.2.0/runc-1.2.0-go2.tar.gz' WARNING: The certificate is NOT trusted. The certificate issuer is unknown. WARNING: The certificate is NOT trusted. The certificate issuer is unknown. [0] Downloading 'https://github.com/opencontainers/runc/archive/v1.2.0/runc-1.2.0-go2.tar.gz' ... HTTP response 302 [https://github.com/opencontainers/runc/archive/v1.2.0/runc-1.2.0-go2.tar.gz] Adding URL: https://codeload.github.com/opencontainers/runc/tar.gz/refs/tags/v1.2.0 [0] Downloading 'https://codeload.github.com/opencontainers/runc/tar.gz/refs/tags/v1.2.0' ... Saving '/workdir/instance-0/output-1/build/.runc-1.2.0-go2.tar.gz.CE8GSA/output' HTTP response 200 [https://codeload.github.com/opencontainers/runc/tar.gz/refs/tags/v1.2.0] runc-1.2.0-go2.tar.gz: OK (sha256: 25072beb84f4adae316a968241dc74ac30982d38e4459635074aa9e9d87d3de7) >>> host-runc 1.2.0 Extracting gzip -d -c /workdir/instance-0/dl/runc/runc-1.2.0-go2.tar.gz | tar --strip-components=1 -C /workdir/instance-0/output-1/build/host-runc-1.2.0 -xf - >>> host-runc 1.2.0 Patching if [ ! -f /workdir/instance-0/output-1/build/host-runc-1.2.0/go.mod ]; then printf "module github.com/opencontainers/runc\n" > /workdir/instance-0/output-1/build/host-runc-1.2.0/go.mod; fi >>> host-runc 1.2.0 Configuring >>> host-runc 1.2.0 Building cd /workdir/instance-0/output-1/build/host-runc-1.2.0; GO111MODULE=on GOFLAGS=-mod=vendor GOROOT="/workdir/instance-0/output-1/host/lib/go" GOPATH="/workdir/instance-0/output-1/host/share/go-path" GOCACHE="/workdir/instance-0/output-1/host/share/go-cache" GOMODCACHE="/workdir/instance-0/output-1/host/share/go-path/pkg/mod" GOPROXY=off GOTOOLCHAIN=local PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" GOBIN= CGO_ENABLED=1 GOOS="" GOARCH="" GOCACHE="/workdir/instance-0/output-1/host/share/host-go-cache" CC="/usr/bin/gcc" CXX="/usr/bin/g++" CGO_CFLAGS="-O2 -I/workdir/instance-0/output-1/host/include" CGO_CXXFLAGS="-O2 -I/workdir/instance-0/output-1/host/include" CGO_LDFLAGS="-L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib" /workdir/instance-0/output-1/host/bin/go build -v -ldflags "-X main.version=1.2.0 -extldflags '-static'" -modcacherw -tags "cgo static_build" -trimpath -p 1 -buildvcs=false -o /workdir/instance-0/output-1/build/host-runc-1.2.0/bin/runc github.com/opencontainers/runc/. internal/goarch internal/abi internal/unsafeheader internal/cpu internal/bytealg internal/byteorder internal/chacha8rand internal/coverage/rtcov internal/godebugs internal/goexperiment internal/goos internal/profilerecord internal/runtime/atomic internal/runtime/exithook internal/runtime/syscall internal/stringslite runtime/internal/math runtime/internal/sys runtime internal/reflectlite errors internal/race sync/atomic sync io unicode unicode/utf8 bytes cmp encoding math/bits math internal/itoa iter strconv reflect slices encoding/binary encoding/base64 internal/fmtsort internal/oserror path internal/bisect internal/godebug internal/asan internal/msan syscall time io/fs internal/filepathlite internal/syscall/unix internal/poll internal/syscall/execenv internal/testlog os fmt strings unicode/utf16 encoding/json hash hash/fnv google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/internal/pragma google.golang.org/protobuf/reflect/protoreflect google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts embed google.golang.org/protobuf/internal/editiondefaults google.golang.org/protobuf/internal/flags go/token google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid sort google.golang.org/protobuf/internal/order google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/proto google.golang.org/protobuf/internal/filedesc bufio compress/flate hash/crc32 compress/gzip google.golang.org/protobuf/internal/set google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/encoding/tag io/ioutil google.golang.org/protobuf/internal/impl google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/internal/version google.golang.org/protobuf/runtime/protoimpl github.com/checkpoint-restore/go-criu/v6/rpc golang.org/x/sys/unix github.com/containerd/console container/list context crypto crypto/internal/alias crypto/subtle crypto/cipher crypto/internal/boring/sig crypto/internal/boring crypto/aes crypto/des crypto/internal/edwards25519/field crypto/internal/nistec/fiat crypto/internal/nistec crypto/internal/randutil crypto/ecdh math/rand math/big crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig crypto/sha512 encoding/asn1 vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa crypto/internal/edwards25519 crypto/rand crypto/ed25519 crypto/hmac vendor/golang.org/x/crypto/internal/alias vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf crypto/internal/hpke vendor/golang.org/x/crypto/sha3 crypto/internal/mlkem768 crypto/md5 crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/dsa encoding/hex crypto/x509/pkix encoding/pem vendor/golang.org/x/net/dns/dnsmessage internal/nettrace internal/singleflight math/rand/v2 internal/concurrent internal/weak unique net/netip runtime/cgo net net/url path/filepath crypto/x509 crypto/tls github.com/coreos/go-systemd/v22/activation github.com/docker/go-units github.com/moby/sys/user github.com/moby/sys/userns os/exec github.com/checkpoint-restore/go-criu/v6 github.com/cyphar/filepath-securejoin github.com/moby/sys/mountinfo github.com/mrunalp/fileutils log/internal log github.com/sirupsen/logrus github.com/opencontainers/runc/libcontainer/utils github.com/opencontainers/runc/libcontainer/apparmor os/user github.com/godbus/dbus/v5 github.com/coreos/go-systemd/v22/dbus github.com/opencontainers/runc/libcontainer/devices github.com/opencontainers/runtime-spec/specs-go github.com/opencontainers/runc/libcontainer/configs github.com/syndtr/gocapability/capability github.com/opencontainers/runc/libcontainer/capabilities github.com/opencontainers/runc/libcontainer/cgroups github.com/opencontainers/runc/libcontainer/cgroups/fscommon github.com/opencontainers/runc/libcontainer/cgroups/fs2 github.com/opencontainers/runc/libcontainer/cgroups/fs github.com/opencontainers/runc/libcontainer/cgroups/systemd github.com/opencontainers/runc/libcontainer/cgroups/manager github.com/opencontainers/runc/libcontainer/intelrdt github.com/opencontainers/selinux/pkg/pwalkdir github.com/opencontainers/selinux/go-selinux github.com/opencontainers/runc/libcontainer/configs/validate hash/adler32 compress/zlib debug/dwarf internal/saferio internal/zstd debug/elf github.com/opencontainers/runc/libcontainer/system github.com/opencontainers/runc/libcontainer/dmz github.com/opencontainers/runc/libcontainer/internal/userns github.com/opencontainers/runc/libcontainer/keys github.com/opencontainers/runc/libcontainer/logs github.com/opencontainers/runc/libcontainer/seccomp github.com/opencontainers/runc/libcontainer/system/kernelversion github.com/opencontainers/runc/types github.com/opencontainers/selinux/go-selinux/label github.com/vishvananda/netns github.com/vishvananda/netlink/nl github.com/vishvananda/netlink golang.org/x/sys/execabs runtime/debug github.com/opencontainers/runc/libcontainer github.com/cilium/ebpf/internal/unix github.com/cilium/ebpf/internal/sys github.com/cilium/ebpf/asm go/scanner go/ast go/build/constraint go/internal/typeparams go/parser go/doc/comment text/tabwriter go/printer go/format golang.org/x/exp/constraints github.com/cilium/ebpf/internal github.com/cilium/ebpf/internal/kallsyms maps github.com/cilium/ebpf/btf github.com/cilium/ebpf/internal/kconfig github.com/cilium/ebpf/internal/sysenc github.com/cilium/ebpf/internal/tracefs github.com/cilium/ebpf github.com/cilium/ebpf/link github.com/opencontainers/runc/libcontainer/cgroups/devices github.com/opencontainers/runc/libcontainer/nsenter github.com/opencontainers/runc/libcontainer/specconv github.com/opencontainers/runc/types/features github.com/opencontainers/runtime-spec/specs-go/features flag html regexp/syntax regexp github.com/russross/blackfriday/v2 github.com/cpuguy83/go-md2man/v2/md2man text/template/parse text/template github.com/urfave/cli os/signal github.com/opencontainers/runc # github.com/opencontainers/runc /workdir/instance-0/output-1/host/lib/go/pkg/tool/linux_amd64/link: running /usr/bin/gcc failed: exit status 1 /usr/bin/gcc -m64 -o $WORK/b001/exe/a.out -Wl,--export-dynamic-symbol=_cgo_panic -Wl,--export-dynamic-symbol=_cgo_topofstack -Wl,--export-dynamic-symbol=crosscall2 -Wl,--compress-debug-sections=zlib /tmp/go-link-249272994/go.o /tmp/go-link-249272994/000000.o /tmp/go-link-249272994/000001.o /tmp/go-link-249272994/000002.o /tmp/go-link-249272994/000003.o /tmp/go-link-249272994/000004.o /tmp/go-link-249272994/000005.o /tmp/go-link-249272994/000006.o /tmp/go-link-249272994/000007.o /tmp/go-link-249272994/000008.o /tmp/go-link-249272994/000009.o /tmp/go-link-249272994/000010.o /tmp/go-link-249272994/000011.o /tmp/go-link-249272994/000012.o /tmp/go-link-249272994/000013.o /tmp/go-link-249272994/000014.o /tmp/go-link-249272994/000015.o /tmp/go-link-249272994/000016.o /tmp/go-link-249272994/000017.o /tmp/go-link-249272994/000018.o /tmp/go-link-249272994/000019.o /tmp/go-link-249272994/000020.o /tmp/go-link-249272994/000021.o /tmp/go-link-249272994/000022.o /tmp/go-link-249272994/000023.o /tmp/go-link-249272994/000024.o /tmp/go-link-249272994/000025.o /tmp/go-link-249272994/000026.o /tmp/go-link-249272994/000027.o /tmp/go-link-249272994/000028.o /tmp/go-link-249272994/000029.o /tmp/go-link-249272994/000030.o /tmp/go-link-249272994/000031.o -L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib -lresolv -L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib -L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib -lpthread -L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib -L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib -no-pie -static /usr/bin/ld: cannot find -lresolv: No such file or directory /usr/bin/ld: cannot find -lc: No such file or directory collect2: error: ld returned 1 exit status make: *** [package/pkg-generic.mk:289: /workdir/instance-0/output-1/build/host-runc-1.2.0/.stamp_built] Error 1 make: Leaving directory '/workdir/instance-0/buildroot'