Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Release tags for the synthetic Go branch #10568

Open
imjasonh opened this issue Jun 25, 2024 · 3 comments
Open

FR: Release tags for the synthetic Go branch #10568

imjasonh opened this issue Jun 25, 2024 · 3 comments
Labels
type: enhancement New feature or request

Comments

@imjasonh
Copy link

Description

I'd like to depend on the synthetic Go branch, but it seems to only track the head of the main branch, and doesn't have any tags corresponding to real release tags.

Is this feature related to a specific bug?

Nope.

I'm having some difficulty building the project with Bazel, and I'd love to be able to just use Go instead.

Do you have a specific solution in mind?

Something like synthetic tags for go-release-20240617.0 corresponding to release-20240617.0, and so on.

@imjasonh imjasonh added the type: enhancement New feature or request label Jun 25, 2024
@milantracy
Copy link
Contributor

Which error/failure did you see when you build the project with bazel ?

@imjasonh
Copy link
Author

I posted yesterday on the gitter:

Hey all, I have a question about building gvisor from source using bazel. I'm trying to build for only one platform, not using the Docker builder container, and it's failing for me because /usr/bin/x86_64-linux-gnu-gcc isn't found on aarch64 (and vice versa). I'm running bazel build --config=aarch64 //runsc but that doesn't seem to be enough.

It's probably not insurmountable, but in general building with Go seems a lot easier for me than building with Bazel, except that I can't pin to a release the same way.

@kevinGC
Copy link
Collaborator

kevinGC commented Jun 27, 2024

A couple things:

  1. While we don't have tags in the go branch, you can use pseudo versions to pin to a particular commit.
  2. The Go branch is great for using gVisor as a dependency, but if you're actually working on or building runsc, bazel is the way to do it.
  3. That linux-gnu-gcc thing is a frustrating error -- IIRC installing gcc-multilib will fix it, although the package name likely varies across Linux distros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants