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

Bug: Build Of Alpine APK Packages Is Failing Due To A Dependency #1113

Closed
steelhead31 opened this issue Jan 27, 2025 · 4 comments
Closed

Bug: Build Of Alpine APK Packages Is Failing Due To A Dependency #1113

steelhead31 opened this issue Jan 27, 2025 · 4 comments
Assignees
Labels

Comments

@steelhead31
Copy link
Contributor

Builds of the APK linux installer packages are failing, both using the new automated system, and if the previous static APK build files are used to produce a rebuild of the previous releases APK files.

OK: 243 MiB in 73 packages
>>> temurin-21: Updating the workspace/x86_64 repository index...
ERROR: temurin-21-21.0.6_p7-r0.apk: UNTRUSTED signature
ERROR: temurin-21-jdk-21.0.6_p7-r0.apk: UNTRUSTED signature
ERROR: temurin-21-src-21.0.6_p7-r0.apk: UNTRUSTED signature
>>> ERROR: temurin-21: Failed to create index
>>> temurin-21: Uninstalling dependencies...
ERROR: No such package: .makedepends-temurin-21

> Task :jdk:alpine:packageJdkAlpine FAILED

FAILURE: Build failed with an exception.

Build of previous APKs.

xecuting busybox-1.36.1-r19.trigger
OK: 243 MiB in 73 packages
>>> temurin-21: Updating the workspace/x86_64 repository index...
ERROR: temurin-21-21.0.5_p11-r1.apk: UNTRUSTED signature
ERROR: temurin-21-jdk-21.0.5_p11-r1.apk: UNTRUSTED signature
ERROR: temurin-21-src-21.0.5_p11-r1.apk: UNTRUSTED signature
>>> ERROR: temurin-21: Failed to create index
>>> temurin-21: Uninstalling dependencies...
ERROR: No such package: .makedepends-temurin-21

> Task :jdk:alpine:packageJdkAlpine FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '/home/adoptopenjdk/workspace/doptium-packages-linux-pipeline_new-scottfryer/jdk/alpine/build.gradle' line: 104

* What went wrong:
Execution failed for task ':jdk:alpine:packageJdkAlpine'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org/

BUILD FAILED in 1m 21s
@steelhead31
Copy link
Contributor Author

steelhead31 commented Jan 27, 2025

FYI @gdams @sxa

@steelhead31
Copy link
Contributor Author

I've done some investigating, the build of the package works ( both using the automated and old style builds ) if "Enable GPG Signing" is disabled, suggesting the issue in some way relates to the key/signing of the apk build.

@steelhead31
Copy link
Contributor Author

disabling signing, all the packages build ok
signing with my own self signed cert and key works ok..

unpinning from alpine:3.21 fixes the build for JDK11+ ( it defaults to 3.19 ) but jdk8 is then broken

@steelhead31
Copy link
Contributor Author

Fixed via #1120 & #1119

@github-project-automation github-project-automation bot moved this from In Progress to Done in 2025 Adoptium Plan Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant