-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Temurin 21 JDK does not link to major version of libfreetype or is not statically linked #3624
Comments
Interesting. Thanks for the report! We did change the build platform for Linux/x64 for JDK21, but I've replicated this on Linux/aarch64 which hasn't changed so it's not related to that. Noting that most other openjdk providers seem to ship their own freetype library. Temurin does not #3557 indicates we changed the behaviour for JDK21+ as a result of discussions in #3504. FYI @andrew-m-leonard - we should probably call this out in https://adoptium.net/blog/2024/01/eclipse-temurin-8u402-11022-1710-and-2102-available but it seems we may have a change in behaviour here which was not expected. |
Noting that installing |
not sure I understand the "scenario" ? Is this an Installer issue maybe? |
Quite likely - it looks like it's present in the tarball (which I hadn't checked earlier but not the installed |
Assigning George as he agreed to look at this in the PMC potentially as part of his investigations of adoptium/installer#801 in case they can both be tested together |
I believe @steelhead31 has resolved this now, so I'll leave him to add some closing comments :-) |
The initial bug was fixed in adoptium/installer#812 , which then subsequently required republished of the JDK21.0.2+13 release packages, which was complete via PR adoptium/installer#824 , in addition s390x support was added adoptium/installer#827 and a bug identified and fixed in the JRE 21 RPM packages which was also fixed adoptium/installer#831. All the new installer packages have been published to the jfrog artifactory, and can be identified with the suffixed spec version of -2 ( and -3 for the ppc64le JRE fix ). |
Thank you! |
Debian images (e.g. tag
Is this directly related? If so, shall I create a ticket in the containers project? |
I think that's different enough to warrant creation of another issue. What are you running when you get that error? It would be good to have a recreate since just running the image with jshell doesn't seem to show that exception. If you can determine if it is reproducible outside the container image that would also be useful to know. |
I am wondering if the container image needs "fontconfig" installing ? |
@sxa ok will create an issue later and see if I can create a minimal demo to reproduce it @andrew-m-leonard fontconfig should already be installed but I'll try to verify if that is a "should" or actually present |
What are you trying to do?
Do something that uses the font manager.
Expected behaviour:
It should work like with Temurin 17 JDK.
Observed behaviour:
Error in java when using Temurin 21 JDK:
Any other comments:
Can be verified by using ldd libfontmanager.so | grep freetype:
temurin 17:
libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fbccc335000)
in comparison to temurin 21:
libfreetype.so => not found
debian package is temurin-21-jdk in version 21.0.2.0.0+13
operating system is Debian 12
The text was updated successfully, but these errors were encountered: