On 2018-11-21 13:18, Maurizio Cimadamore wrote:

Seems like a duplicate of this?

https://bugs.openjdk.java.net/browse/JDK-8213944
Yeah. The story is that we used to bundle a copy of the Xrandr.h header file, but this was recently removed. Then Xrandr became a build prerequisite, but no additional checks were made in configure for that.

In any case, you'll need to update your build environment. Inside the Oracle network, you can use the jib launcher and it'll work automatically. On linux distros, try: "sudo apt-get install libxrandr-dev" or "sudo yum install libXrandr-devel".

/Magnus

Maurizio

On 21/11/2018 12:15, Maurizio Cimadamore wrote:
Hi,
we recently refreshed the Panama repo and I'm getting a weird build error:

=== Output from failing command(s) repeated here ===
* For target support_native_java.desktop_libawt_xawt_awt_GraphicsEnv.o:
/w/lt/panama/dev/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:37:10: fatal error: X11/extensions/Xrandr.h: No such file or directory
 #include <X11/extensions/Xrandr.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~

configure.log shows no issues.

Am I doing something wrong, or is this a bug that crept in?

Thanks
Maurizio


Reply via email to