On Wed, 14 May 2025 20:38:47 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:
> I wasn't able replicate and verify the fix myself as I don't have specific > linux flavors (RHEL,SLES) to test it . I had to build in a clean SUSE Docker image (`registry.suse.com/suse/sle15:15.3`). Here are my notes on the steps required, if you want to try to replicate (you'll want to adjust the git repo / branch, I think): zypper in -y wget wget https://download.java.net/java/GA/jdk24.0.1/24a58e0e276943138bf3e963e6291ac2/9/GPL/openjdk-24.0.1_linux-x64_bin.tar.gz zypper in -y tar zypper in -y gzip tar -xvzf openjdk-24.0.1_linux-x64_bin.tar.gz wget https://builds.shipilev.net/jtreg/jtreg-7.5.1%2B1.zip zypper in -y unzip unzip jtreg-7.5.1+1.zip zypper in -y git git clone https://github.com/gredler/jdk.git cd jdk git checkout ignored-whitespace zypper in -y autoconf make awk zip gcc11 gcc11-c++ alsa-devel cups-devel fontconfig-devel update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 20 update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 20 zypper in -y libX11-devel libXext-devel libXrender-devel libXrandr-devel libXtst-devel libXt-devel libXi-devel bash configure --with-boot-jdk=/jdk-24.0.1 --with-jtreg=/jtreg make images ../jtreg/bin/jtreg -jdk:build/linux-x86_64-server-release/images/jdk/ -w build/jtreg/work -r build/jtreg/report -verbose:all test/jdk/java/awt/Graphics2D/DrawString/IgnoredWhitespaceTest.java >> java.lang.RuntimeException: Fontconfig head is null, check your fonts or >> fonts configuration zypper in -y ghostscript-fonts-std fc-list ../jtreg/bin/jtreg -jdk:build/linux-x86_64-server-release/images/jdk/ -w build/jtreg/work -r build/jtreg/report -verbose:all test/jdk/java/awt/Graphics2D/DrawString/IgnoredWhitespaceTest.java ------------- PR Comment: https://git.openjdk.org/jdk/pull/25235#issuecomment-2881641220