temurin-build: Wrong folder name in published MacOS x64 builds of static libraries for 23-EA

What are you trying to do?

Build Mandrel using Temurin 23 EA builds with static libs downloaded from https://github.com/adoptium/temurin23-binaries/releases/download/jdk-23%2B4-ea-beta/OpenJDK-static-libs_x64_mac_hotspot_ea_23-0-4.tar.gz

Expected behaviour:

Static libraries should be placed under lib/static/darwin-amd64 and the build should pass.

Observed behaviour:

Static libraries are placed under lib/static/darwin-arm64 instead and the build fails.

Any other comments:

Despite the folder naming the static libraries appear to target amd64. Renaming the directory in the local installation resolves the issue.

About this issue

  • Original URL
  • State: closed
  • Created 6 months ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

This issue has now been resolved. Correctly-named ea versions of static libs can be found here:

  • jdk21 - Next release version in April.
  • jdk22 - Next release version in March.
  • jdk23 - Next release version in September.

The fix resolving this issue in the short term can be found here: https://github.com/adoptium/temurin-build/pull/3619 The long-term fix will be worked on here: https://github.com/adoptium/temurin-build/issues/3648

Closing this issue.

  • Any thoughts on why we’re generating static libs if we don’t value it enough to test it?

Static libs are mostly used by GraalVM builds. GraalVM is based on LabsJDK (a OpenJDK fork). Mandrel is based on OpenJDK (vanilla). So we raised this issue since we build mandrel with it in the mandrel-packaging PR checker. So we notice eventually. As we did and filed the issue.

Edit: We are currently working around this with https://github.com/graalvm/mandrel-packaging/commit/e88c8b32d2e62faf6302645900f4635343209c46

Taking a look. 😃