[jdk17u] Withdrawn: 8258465: Headless build fails due to missing X11 headers on linux

Alexey Pavlyutkin duke at openjdk.java.net
Thu Oct 28 07:04:15 UTC 2021


On Tue, 26 Oct 2021 11:03:49 GMT, Alexey Pavlyutkin <duke at openjdk.java.net> wrote:

> I'd like to backport JDK-8258465 to jdk17u.
> 
> The patch makes configuration script to look up for X11 header that are actually REQUIRED even for HEADLESS builds. That prevents build failure due to absent X11 headers
> 
> The original patch applied cleanly
> 
> Tested on 20.04 LTS with
> 
> - temporary rename your X11 include directory (usually /usr/include/X11)
> - configure headless-only build with --enable-headless-only flag
> 
> EXPECTED result: configuration FAILS with
> 
> `configure: error: Could not find X11 libraries. You might be able to fix this by running 'sudo apt-get install libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev'.`

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.java.net/jdk17u/pull/215


More information about the jdk-updates-dev mailing list