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

make twoliter build-package does not work with the kernel kit #6

Open
ginglis13 opened this issue Dec 17, 2024 · 0 comments
Open

make twoliter build-package does not work with the kernel kit #6

ginglis13 opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ginglis13
Copy link
Contributor

Platform I'm building on:

Linux btlrkt 6.11.10-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Nov 23 00:53:13 UTC 2024 x86_64 GNU/Linux

What I expected to happen:

Building a specific package with the PACKAGE=<package> make twoliter build-package syntax works, just like it does for the bottlerocket-core-kit.

What actually happened:

Hit some Go issue at the fetch-vendored step. Haven't debugged further, but perhaps we can remove this step since the kernel-kit doesn't ship any Go sources.

PACKAGE=grub make twoliter build-package
Found Twoliter v0.6.0 installed.
Skipping installation.
[2024-12-17T21:49:14Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2024-12-17T21:49:14Z INFO  twoliter::project::lock::image] Resolving dependency image dependency '[email protected]/bottlerocket/bottlerocket-sdk:v0.50.0'.
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO -
[cargo-make] INFO - Build File: /home/fedora/kernel-kit/build/tools/Makefile.toml
[cargo-make] INFO - Task: build-package
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: check-cargo-version
[cargo-make] INFO - Running Task: setup
[cargo-make] INFO - Running Task: setup-build
[cargo-make] INFO - Running Task: fetch-sdk
[cargo-make] INFO - Running Task: fetch-sources
[cargo-make] INFO - Running Task: fetch-vendored
pattern ./...: directory prefix . does not contain main module or its selected dependencies
Error while executing command, exit code: 1
Error: Command was unsuccessful, exit code 105
make: *** [Makefile:60: twoliter] Error 1

How to reproduce the problem:

Try to make a specific package in the kernel kit:

PACKAGE=<package> make twoliter build-package
@ginglis13 ginglis13 added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant