Skip to content

Conversation

@leodido
Copy link
Contributor

@leodido leodido commented Nov 11, 2025

Problem

The v0.13.0 release failed due to build errors caused by dependency bumps in PRs #260 and #261:

../../../go/pkg/mod/github.com/opencontainers/[email protected]/libcontainer/specconv/spec_linux.go:1032:33: undefined: userns.GetUserNamespaceMappings

Root Cause

The bumped versions are incompatible with Go 1.24.9:

These cause compilation errors due to type mismatches in the Go 1.24 toolchain.

Solution

Revert to the versions from v0.12.0:

  • github.com/containerd/containerd v1.7.26
  • github.com/opencontainers/runc v1.1.10

These versions build successfully and will allow the v0.13.0 release to proceed.

Testing

  • ✅ Local build succeeds
  • ✅ All tests pass

Next Steps

After this PR is merged, we can:

  1. Re-create the v0.13.0 tag
  2. The release will build successfully
  3. Later, we can bump these dependencies when compatible versions are available

Revert dependency bumps from PR #266 that caused build failures:
- github.com/containerd/containerd v1.7.29 -> v1.7.26
- github.com/opencontainers/runc v1.2.8 -> v1.1.10

These versions are incompatible with Go 1.24.9 causing compilation errors.
The bumps will be reintroduced when compatible versions are available.

Fixes build error:
  cannot use limit (variable of type int64) as *int64 value in assignment

Co-authored-by: Ona <[email protected]>
@leodido
Copy link
Contributor Author

leodido commented Nov 11, 2025

Closing this PR as the root cause analysis was incorrect.

The issue is NOT with the dependencies (containerd and runc). They build fine with Go 1.24.9.

The actual problem is the Go version in CI (1.24.0 vs 1.24.9). See #269 for the correct fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants