-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Description
command:
make IMAGE_BASE_DISTRO=ubuntu IMAGE_BASE_RELEASE=jammy sysbox-static
error:
docker run --privileged --rm --runtime=runc --hostname sysbox-build --name sysbox-build -e SYS_ARCH=amd64 -e TARGET_ARCH=amd64 -v /root/sysbox:/root/nestybox/sysbox -v /pkg/mod:/go/pkg/mod -v /root/.gitconfig:/root/.gitconfig -v /lib/modules/6.6.98-38.oc9.x86_64:/lib/modules/6.6.98-38.oc9.x86_64:ro -v /usr/src/linux-headers-6.6.98-38.oc9.x86_64:/usr/src/linux-headers-6.6.98-38.oc9.x86_64:ro sysbox-test-amd64 /bin/bash -c "export HOST_UID=0 && \
export HOST_GID=0 && buildContainerInit sysbox-static-local"
go: updates to go.mod needed; to update it:
go mod tidy
make -C sysboxFsGrpc/sysboxFsProtobuf
make[2]: 'sysboxFsProtobuf.pb.go' is up to date.
make -C sysboxMgrGrpc/sysboxMgrProtobuf
make[2]: 'sysboxMgrProtobuf.pb.go' is up to date.
CGO_ENABLED=1 go build -buildvcs=false -trimpath -tags "seccomp apparmor idmapped_mnt netgo osusergo" -ldflags "-extldflags -static -X 'main.edition=Community Edition (CE)' -X main.version=0.6.7 -X main.commitId=1e3b5a225595d091923dd9e9e574a29885feaf9e -X 'main.builtAt=Sat Oct 25 20:16:44 UTC 2025' -X 'main.builtBy='" -o build/amd64/sysbox-runc .
CGO_ENABLED=1 go build -buildvcs=false -trimpath -tags "seccomp apparmor idmapped_mnt netgo osusergo" -ldflags "-extldflags -static -X 'main.edition=Community Edition (CE)' -X main.version=0.6.7 -X main.commitId=1e3b5a225595d091923dd9e9e574a29885feaf9e -X 'main.builtAt=Sat Oct 25 20:16:44 UTC 2025' -X 'main.builtBy='" -o contrib/cmd/recvtty/recvtty ./contrib/cmd/recvtty
CGO_ENABLED=1 go build -buildvcs=false -trimpath -tags "netgo osusergo" \
-installsuffix netgo -ldflags "-extldflags -static -X 'main.edition=Community Edition (CE)' -X main.version=0.6.7 -X main.commitId=61a9daff36c6acbde8e2146337cb76c57e4a66ad -X 'main.builtAt=Sat Oct 25 20:17:33 UTC 2025' -X 'main.builtBy='" \
-o build/amd64/sysbox-fs ./cmd/sysbox-fs
go: module ../sysbox-runc requires go >= 1.23.0 (running go 1.22.6)
make[1]: *** [Makefile:71: build/amd64/sysbox-fs-static] Error 1
make: *** [Makefile:241: sysbox-fs-static] Error 2
make: *** [Makefile:210: sysbox-static] Error 2
go version change 1.23.0
Unpacking libgpgme-dev (1.18.0-4.1ubuntu4) ...
Setting up libgpg-error-dev (1.47-3build2.1) ...
Setting up libassuan-dev (2.5.6-1build1) ...
Setting up libgpgme11t64:amd64 (1.18.0-4.1ubuntu4) ...
Setting up libgpgme-dev (1.18.0-4.1ubuntu4) ...
Processing triggers for libc-bin (2.39-0ubuntu8.6) ...
Cloning into '/tmp/crio-build/cri-o'...
Updating files: 100% (9766/9766), done.
branch 'v1.28-sysbox' set up to track 'origin/v1.28-sysbox'.
Switched to a new branch 'v1.28-sysbox'
go build -trimpath -ldflags '-s -w -X [github.com/cri-o/cri-o/internal/version.buildDate='2025-10-25T20:36:32Z](https://github.com/cri-o/cri-o/internal/version.buildDate='2025-10-25T20:36:32Z)' ' -tags "containers_image_ostree_stub exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper libdm_no_deferred_remove seccomp " -o bin/crio [github.com/cri-o/cri-o/cmd/crio](https://github.com/cri-o/cri-o/cmd/crio)
# [capnproto.org/go/capnp/v3](https://capnproto.org/go/capnp/v3)
vendor/[capnproto.org/go/capnp/v3/list.go:1094:10](https://capnproto.org/go/capnp/v3/list.go:1094:10): invalid composite literal type T
make: *** [Makefile:186: bin/crio] Error 1
The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends libgpgme-dev libgpg-error-dev libassuan-dev && mkdir -p /tmp/crio-build && git clone https://github.com/nestybox/cri-o.git /tmp/crio-build/cri-o && git -C /tmp/crio-build/cri-o checkout -b ${crio_version}-sysbox origin/${crio_version}-sysbox && export CGO_LDFLAGS="-lgpgme -lgpg-error -lassuan" && cd /tmp/crio-build/cri-o && make binaries && mv /usr/bin/crio /usr/bin/crio.orig && cp /tmp/crio-build/cri-o/bin/crio-static /usr/bin/crio && rm -rf /tmp/crio-build' returned a non-zero code: 2
make: *** [Makefile:467: test-img] Error 2
Metadata
Metadata
Assignees
Labels
No labels