Closed sethforprivacy closed 1 week ago
Seems the architecture is not recognized. Please try building:
linux-arm-build-0.4.0
b5cd95c54dd2d2073fbfd7945f98334077e12a57
And post the logs thanks
Tested that, failed. Here are the logs:
#13 25.60 Starting a Gradle Daemon (subsequent builds will be faster)
#13 304.8 > Task :buildSrc:checkKotlinGradlePluginConfigurationErrors
#13 334.9 > Task :buildSrc:compileKotlin
#13 356.8 > Task :buildSrc:pluginDescriptors
#13 356.9 > Task :buildSrc:processResources NO-SOURCE
#13 399.6 > Task :buildSrc:compileJava NO-SOURCE
#13 399.6 > Task :buildSrc:compileGroovy NO-SOURCE
#13 399.6 > Task :buildSrc:classes UP-TO-DATE
#13 400.0
#13 400.0 > Task :buildSrc:jar
#13 400.0 :jar: No valid plugin descriptors were found in META-INF/gradle-plugins
#13 519.3
#13 519.3 > Configure project :
#13 519.3 architecture=aarch64
#13 521.6 SQLDelight Gradle plugin was applied but there are no databases set up.
#13 523.4
#13 523.4 FAILURE: Build failed with an exception.
#13 523.4
#13 523.4 * Where:
#13 523.4 Build file '/phoenixd/build.gradle.kts' line: 194
#13 523.4
#13 523.4 * What went wrong:
#13 523.4 Task with name 'linuxX64Binaries' not found in root project 'phoenixd'.
#13 523.4
#13 523.4 * Try:
#13 523.4 > Run with --stacktrace option to get the stack trace.
#13 523.4 > Run with --info or --debug option to get more log output.
#13 523.4 > Run with --scan to get full insights.
#13 523.4 > Get more help at https://help.gradle.org./
#13 523.4
#13 523.4 BUILD FAILED in 8m 41s
#13 523.4 4 actionable tasks: 4 executed
#13 ERROR: process "/bin/sh -c git clone --recursive --single-branch --branch ${PHOENIXD_BRANCH} -c advice.detachedHead=false https://github.com/ACINQ/phoenixd . && test `git rev-parse HEAD` = ${PHOENIXD_COMMIT_HASH} || exit 1 && ./gradlew distTar" did not complete successfully: exit code: 1
------
> [build 5/5] RUN git clone --recursive --single-branch --branch linux-arm-build-0.4.0 -c advice.detachedHead=false https://github.com/ACINQ/phoenixd . && test `git rev-parse HEAD` = b5cd95c54dd2d2073fbfd7945f98334077e12a57 || exit 1 && ./gradlew distTar:
523.4 Task with name 'linuxX64Binaries' not found in root project 'phoenixd'.
523.4
523.4 * Try:
523.4 > Run with --stacktrace option to get the stack trace.
523.4 > Run with --info or --debug option to get more log output.
523.4 > Run with --scan to get full insights.
523.4 > Get more help at https://help.gradle.org./
523.4
523.4 BUILD FAILED in 8m 41s
523.4 4 actionable tasks: 4 executed
------
Dockerfile:17
--------------------
16 | WORKDIR /phoenixd
17 | >>> RUN git clone --recursive --single-branch --branch ${PHOENIXD_BRANCH} -c advice.detachedHead=false \
18 | >>> https://github.com/ACINQ/phoenixd . \
19 | >>> && test `git rev-parse HEAD` = ${PHOENIXD_COMMIT_HASH} || exit 1 \
20 | >>> && ./gradlew distTar
21 |
--------------------
ERROR: failed to solve: process "/bin/sh -c git clone --recursive --single-branch --branch ${PHOENIXD_BRANCH} -c advice.detachedHead=false https://github.com/ACINQ/phoenixd . && test `git rev-parse HEAD` = ${PHOENIXD_COMMIT_HASH} || exit 1 && ./gradlew distTar" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c git clone --recursive --single-branch --branch ${PHOENIXD_BRANCH} -c advice.detachedHead=false https://github.com/ACINQ/phoenixd . && test `git rev-parse HEAD` = ${PHOENIXD_COMMIT_HASH} || exit 1 && ./gradlew distTar" did not complete successfully: exit code: 1
Thanks, that helped. The issue should be fixed in
linux-arm-build-0.4.0-fix
935ffc2449e39d71b9a66bc457fccea6206d9c79
Confirmed that that branch/commit built without issues for me!
https://github.com/sethforprivacy/phoenixd-docker/actions/runs/11348449889/job/31562247550
I can't get v0.4.0 to successfully build for arm64 in Docker due to this error:
https://github.com/sethforprivacy/phoenixd-docker/actions/runs/11326427746/job/31495346699#step:10:442
https://paste.sethforprivacy.com/?09fb59720819f937#AxdwwoXQZ5s8VciBf942cJVRFbisvKPRTGptLQTMYXE9
Not quite sure where to get started fixing it, but should be easy to reproduce as our Dockerfiles are practically identical.