Add build-essential and use newer git in lima Linux VM - #1679
Open
Huy Pham (hdp617) wants to merge 1 commit into
Open
Huy Pham (hdp617) wants to merge 1 commit into
Huy Pham (hdp617) wants to merge 1 commit into
Conversation
Contributor
Author
Following docs/dev/microvm-local.md to run hack/microvm-assets/assemble.sh in the Lima guest fails twice over. The git bundled with the guest image does not understand the refstorage repository extension, so cloning virtiofsd aborts with "unknown repository extension found: refstorage". Install a newer git from ppa:git-core/ppa. The list also omits a C compiler, so the arm64 virtiofsd build stops at "error: linker cc not found". Add build-essential. Also record the path-MTU black hole that stalls cargo at zero bytes while curl to the same host runs at full speed. The filtered ICMP replies leave the kernel retransmitting a segment the path cannot carry, which reads as a slow network rather than a broken one.
Huy Pham (hdp617)
force-pushed
the
docs/fix-microvm-lima-git
branch
from
September 16, 2026 20:34
046fe2c to
847df1b
Compare
Collaborator
|
We should probably run this in a container instead FWIW. |
Contributor
Author
Just to confirm, are you suggesting building the microvm assets in a Docker container? |
Collaborator
Yes, that seems better than depending on installing in the host. We can do that in a follow-up though. |
Benjamin Elder (BenTheElder)
approved these changes
Sep 16, 2026
Contributor
Author
I like it for hermetic builds. Will do in a follow-up. |
Contributor
Author
|
I think this is no longer needed with #1708. Will close once confirmed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
build-essentialpkg.The bundled version in the guest image doesn't support ref storage backend. As a result,
./hack/microvm-assets/assemble.shfails with the following error.Fixes #<issue_number_goes_here>