-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
Investigate non-functioning of --with-png=no
in freetype builds
#3509
Comments
Note that https://ci.adoptium.net/computer/build-macstadium-macos11-arm64-2/ is the machine where the two links to libpng were removed. |
Right now on test-macstadium-macos11-arm64-1 I uninstalled both versions of libpng, arm and x64, and was able to build an x64 mac jdk8 binary. This is likely the way forward; to explicitly uninstall both versions of libpng on our arm mac machines during setup |
Hmmm are you saying that the freetype package from brew pulls in the libpng development stuff? It sounds from the above like you managed to just uninstall (or did you mean |
Typo, I meant to say uninstall both versions of libpng. Fixed |
I built https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-mac-x64-temurin/423/artifact/workspace/target/OpenJDK8U-jdk_x64_mac_hotspot_2023-11-02-12-59.tar.gz on build-macstadium-macos11-arm64-1 after uninstalling intel and arm64 libpng. |
(Just as a clarification point of note, this issue is specifically related to the fact the option we try to pass in |
If we can resolve this then we can undo the removal of |
The reason why its failing |
adoptium/infrastructure#3254 is in to revert changes made in adoptium/infrastructure#3185 which is all that's left to do in this issue |
adoptium/infrastructure#3254 is merged, this can be closed |
What are you trying to do?
Build freetype from source without libpng even when libpng is installed
Expected behaviour:
freetype is built without a dynamic link to libpng
Observed behaviour:
freetype is built with a dynamic link to libpng (Seen on macos jdk8u builds when cross-compiled on an aarch64 build machines)
Any other comments:
This line is in the build process but doesn't seem to take effect:
temurin-build/sbin/prepareWorkspace.sh
Line 482 in 698313c
It looks like the configure command in the freetype build invokes make which does
cd build/make && ./configure
when there is no configure script in that directory:(Noting that the build continues regardless, but the parameter to get rid of the libpng support does not take effect)
This problem was introduced via adoptium/infrastructure#2536 (comment) where libpng was explicitly installed in the x64 brew environment on the aarch64 build machines.
Two possible mitigations:
The text was updated successfully, but these errors were encountered: