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

Build task fetch-vendored failed #3538

Closed
congzhegao opened this issue Oct 18, 2023 · 3 comments
Closed

Build task fetch-vendored failed #3538

congzhegao opened this issue Oct 18, 2023 · 3 comments
Labels
status/needs-triage Pending triage or re-evaluation type/bug Something isn't working

Comments

@congzhegao
Copy link

congzhegao commented Oct 18, 2023

Platform I'm building on: aarch64. As I'm using a m2 mac, I ran a ubuntu container using docker and built the AMI within the ubuntu container.

What I expected to happen: The build process passes

What actually happened:

[cargo-make][1] INFO - Task: default
[cargo-make][1] INFO - Profile: development
[cargo-make][1] INFO - Running Task: setup
[cargo-make][1] INFO - Running Task: setup-build
[cargo-make][1] INFO - Running Task: fetch-sdk
[cargo-make][1] INFO - Running Task: fetch-toolchain
[cargo-make][1] INFO - Running Task: fetch-sources
[cargo-make][1] INFO - Running Task: fetch-vendored
pattern ./...: directory prefix . does not contain main module or its selected dependencies
[cargo-make][1] ERROR - Error while executing command, exit code: 1
[cargo-make][1] WARN - Build Failed.
Error: Command was unsuccessful, exit code 1

How to reproduce the problem:
I checked out to v1.15.0 and run cargo make, and it raised the error above. I don't have much context on twoliter unfortunately

@congzhegao congzhegao added status/needs-triage Pending triage or re-evaluation type/bug Something isn't working labels Oct 18, 2023
@zmrow
Copy link
Contributor

zmrow commented Oct 19, 2023

Hi @congzhegao ! I'm not sure any of us have ever tried to build Bottlerocket on a Mac in a container (our build process uses containers extensively though), and I'm not sure if this is something twoliter (our new build system) is going to support.

@webern Have you tried this? Is this something twoliter will support?

@stmcginnis
Copy link
Contributor

Just to point out - we don't actually support building on macOS right now. This error is a little different than that one, but I believe there are a few things that we would need to work out before that could be done.

@congzhegao
Copy link
Author

Thank you for the info! I'll try to run it in an ubuntu vm on mac, otherwise have to buy another laptop for this ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/needs-triage Pending triage or re-evaluation type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants