-
Notifications
You must be signed in to change notification settings - Fork 7
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
pack-build Command Fails with Bump to 8.4.0 #349
Comments
@anthonydahanne Do you know when this might be resolved or rolled back? |
Can you post full build output? Also, are you on a Macbook M-series laptop? or Intel/x86_64 machine? thanks |
The same issue occurs on both arm64 (Apple M1 & M2) and x-86 machines. Full Build Output: Building pack (devops) Project: [/path/to/project] Setting networkaddress.cache.ttl=0 and networkaddress.cache.negative.ttl=0 in java.security file. |
It appears there is a typo in the buildpack.toml file for the architecture tag. The This appears to be the case for 8, 11, 17, 21, and 22 https://github.com/paketo-buildpacks/amazon-corretto/blob/main/buildpack.toml#L145 |
@dmikusa - I see a PR was approved and merged for the fix. Any word on when a patch release will be cut? Thanks again I've yet to verify if fixing the type solves the issue locally. |
I pulled the v8.3.0 tag and built the buildpack locally which put all the content in the When I switch to main and build the buildpack, the content goes to
What mechanism tells pack to search under |
I just cut 8.4.1, so that should be available in a few mins when CI finishes. The Apologies for the issue. Please let me know if this doesn't fix it. |
8.4.1 resolves the issue. Thank you |
Yes, this has resolved the issue. |
Expected Behavior
When the
pack build
command is run, it is expected to complete successfully. However, bumping the paketo-buildpacks/amazon-corretto dependency from 8.3.0 to 8.4.0 results in the error below.Current Behavior
Running the
pack build
command results in the following error:Paketo Buildpack for Amazon Corretto 8.4.0
unable to find dependency
no valid dependencies for jdk, 21, and io.buildpacks.stacks.jammy.tiny in [(jdk, 8.0.412, []) (jdk, 11.0.23, []) (jdk, 17.0.11, []) (jdk, 21.0.3, []) (jdk, 22.0.1, []) (jdk, 8.0.412, []) (jdk, 11.0.23, []) (jdk, 17.0.11, []) (jdk, 21.0.3, []) (jdk, 22.0.1, [])]
ERROR: failed to build: exit status 1
ERROR: failed to build: executing lifecycle: failed with status code: 51
Possible Solution
No solution yet, but reverting to 8.3.0 fixes the issue.
Steps to Reproduce
time pack build --verbose --timestamps public.ecr.aws/docker/library/ubuntu:22.04 \ --builder paketobuildpacks/builder-jammy-tiny \ --buildpack paketo-buildpacks/amazon-corretto \ --buildpack paketo-buildpacks/[email protected] \ --buildpack paketo-buildpacks/java \
time pack build --verbose --timestamps public.ecr.aws/docker/library/ubuntu:22.04 \ --builder paketobuildpacks/builder-jammy-tiny \ --buildpack paketo-buildpacks/amazon-corretto \ --buildpack paketo-buildpacks/[email protected] \ --buildpack paketo-buildpacks/java \
The text was updated successfully, but these errors were encountered: