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

Packages re-built after they are build with build-package #401

Open
arnaldo2792 opened this issue Oct 18, 2024 · 0 comments
Open

Packages re-built after they are build with build-package #401

arnaldo2792 opened this issue Oct 18, 2024 · 0 comments

Comments

@arnaldo2792
Copy link
Contributor

What's the problem

I would expect that a package build with build-package isn't rebuild once I run make ARCH=<my-arch>

What really happened?

Any package build first with build-package is rebuild when make ARCH=<my-arch> is run:

❯ PACKAGE=cni make twoliter build-package
Found Twoliter v0.5.0 installed.
Skipping installation.
[2024-10-18T00:43:25Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2024-10-18T00:43:25Z INFO  twoliter::project::lock::image] Resolving dependency image dependency '[email protected]/bottlerocket/bottlerocket-sdk:v0.46.0'.
[cargo-make] INFO - cargo make 0.36.13
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Build File: <got-you>/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
[cargo-make] INFO - Running Task: publish-setup
00:43:28 [INFO] Found infra config at path: <got-you>/Infra.toml
00:43:28 [INFO] No repo config in '<got-you>/Infra.toml' - using local roles/keys
[cargo-make] INFO - Running Task: cargo-metadata
[cargo-make] INFO - Running Task: validate-kits
[cargo-make] INFO - Running Task: build-package
   Compiling cni v0.1.0 (<got-you>/kit/packages/cni)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.31s
[cargo-make] INFO - Build Done in 18.05 seconds.
❯ make ARCH=x86_64
Found Twoliter v0.5.0 installed.
Skipping installation.
[2024-10-18T00:43:54Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2024-10-18T00:43:54Z INFO  twoliter::project::lock::image] Resolving dependency image dependency '[email protected]/bottlerocket/bottlerocket-sdk:v0.46.0'.
[2024-10-18T00:43:55Z INFO  twoliter::project::lock] Extracting kit dependencies. dependencies=[]
[2024-10-18T00:43:55Z INFO  twoliter::project::lock] Resolving project references to check against lock file
[2024-10-18T00:43:55Z INFO  twoliter::project::lock::image] Resolving dependency image dependency '[email protected]/bottlerocket/bottlerocket-sdk:v0.46.0'.
[cargo-make] INFO - cargo make 0.36.13
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Build File: <got-you>/Makefile.toml
[cargo-make] INFO - Task: build-kit
[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
[cargo-make] INFO - Running Task: publish-setup
00:44:01 [INFO] Found infra config at path: <got-you>/kit/Infra.toml
00:44:01 [INFO] No repo config in '<got-you>/kit/Infra.toml' - using local roles/keys
[cargo-make] INFO - Running Task: cargo-metadata
[cargo-make] INFO - Running Task: validate-kits
[cargo-make] INFO - Running Task: build-kit
   Compiling cni v0.1.0 (<got-you>/packages/cni)
   Compiling bottlerocket-core-kit v0.1.0 (<got-you>/kits/bottlerocket-core-kit)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.21s
[cargo-make] INFO - Build Done in 35.96 seconds.
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