Openjdk8 native build issue due to freetype #3598
Labels
bug
Issues that are problems in the code as reported by the community
Waiting on OP
Issues that are awaiting a response from the original author of the ticket
Hi,
I am trying to build openjdk8 using temurin build scripts in cygwin. Environment is Windows 11 Visual studio code 2022.
Command executed in cygwin
./makejdk-any-platform.sh --create-jre-image jdk8u
Freetype is not getting compiled getting these errors
First I got ARCHITECTURE: unbound variable in build.sh
if [ "${BUILD_CONFIG[OPENJDK_CORE_VERSION]}" = "${JDK8_CORE_VERSION}" ] && [ "${ARCHITECTURE}" = "64" ] && [ "${BUILD_CONFIG[BUILD_VARIANT]}" != "${BUILD_VARIANT_OPENJ9}" ]; then
I changed to
if [ "${BUILD_CONFIG[OPENJDK_CORE_VERSION]}" = "${JDK8_CORE_VERSION}" ] && [ "${BUILD_CONFIG[OS_ARCHITECTURE]}" = "x86_64" ] && [ "${BUILD_CONFIG[BUILD_VARIANT]}" != "${BUILD_VARIANT_OPENJ9}" ]; then
Then got this error:
configure : Trying to compile freetype sources with PlatformToolset=v143 to to /cygdrive/c/Openjdk8/temurin-build/workspace/libs/freetype/lib64
configure : User specified --with-freetype-src but building freetype failed
Thanks & Regards,
Rakshith S
The text was updated successfully, but these errors were encountered: