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

Issue with go dependencies while building rootfs for qemu-virt-a72 #238

Open
zmahiri47 opened this issue Jul 31, 2023 · 0 comments
Open

Comments

@zmahiri47
Copy link

I am trying to build this project and running into issue with do deps. When I get to the rootfs step, go dependencies appear to be missing. When I install manually, I encounter a point where it requires a "go mod tidy", which brings me back to first dependency again. Apologies I am new to this project so any suggestions would be greatly appreciated.

Output from first failure for rootfs suggesting to install go dependencies

[build] Building u-bmc image for qemu-virt-a72
[config:generate] Config generated successfully!
[core:u-bmc-build] Building u-bmc executable...
[core:u-bmc-build] Done!
[image:rootfs] Creating rootfs...
[image:rootfs] 2023/07/31 18:21:43 Skipping directory /home/zmk/go/src/github.com/u-root/u-root/cmds/core/bind because build constraints exclude all Go files
[image:rootfs] 2023/07/31 18:21:43 Skipping directory /home/zmk/go/src/github.com/u-root/u-root/cmds/core/strace because build constraints exclude all Go files
[image:rootfs] 2023/07/31 18:21:45 Preserving bb generated source directory at /tmp/bb-4109696199 due to error
[image:rootfs] 2023/07/31 18:21:45 go build with modules failed: error building go package in "/tmp/bb-4109696199/src/bb.u-root.com/bb": go: github.com/u-root/[email protected] requires
[image:rootfs] github.com/google/[email protected] requires
[image:rootfs] github.com/google/[email protected]: missing go.sum entry for go.mod file; to add it:
[image:rootfs] go mod download github.com/google/go-tpm-tools
[image:rootfs] go: github.com/u-root/[email protected] requires
[image:rootfs] github.com/google/[email protected] requires
[image:rootfs] github.com/google/[email protected]: missing go.sum entry for go.mod file; to add it:
[image:rootfs] go mod download github.com/google/go-tpm-tools
[image:rootfs] , exit status 1
task: Failed to run task "build": task: Failed to run task "platform:build-qemu-virt-a72": task: Failed to run task "image:rootfs": exit status 1

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

No branches or pull requests

1 participant