Compilation error encountered on the master branch
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- build-system, devops
Research direction
The report names the Makefile targets sysbox-static, sysbox-fs-static, and test-img, with failures involving sysbox-runc and the vendored cri-o build. Re-run the provided make command, inspect the Go-version mismatch and the capnproto error, and trace the relevant Makefile rules. Done means the master branch build completes successfully.
Written by the indexing model from the issue text.
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
- Dominant language
- Shell
- Stars
- 3.9k
- Forks
- 230
- Avg merge
- 7h 48m
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nestybox/sysbox
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
0.7.1: /sys/class/net inside a sysbox container lists the host's interfaces, not the container's Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
help wanted new command
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE Openpackage request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op Openbug github-actions
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/MINGW-packages#31768 ·