RFR: JDK-8309703: AIX build fails after JDK-8280982

Matthias Baesken mbaesken at openjdk.org
Fri Jun 9 10:19:57 UTC 2023


After
[JDK-8280982](https://bugs.openjdk.org/browse/JDK-8280982): [Wayland] [XWayland] java.awt.Robot taking screenshots
the AIX build fails.
We get

* For target support_native_java.desktop_libawt_xawt_screencast_pipewire.o:
In file included from /aixbuild/jdk-dev/src/java.desktop/unix/native/libawt_xawt/awt/screencast_pipewire.c:33:
In file included from /aixbuild/jdk-dev/src/java.desktop/unix/native/libawt_xawt/awt/screencast_pipewire.h:40:
In file included from /aixbuild/jdk-dev/src/java.desktop/unix/native/libpipewire/include/spa/debug/types.h:17:
In file included from /aixbuild/jdk-dev/src/java.desktop/unix/native/libpipewire/include/spa/utils/type-info.h:33:
In file included from /aixbuild/jdk-dev/src/java.desktop/unix/native/libpipewire/include/spa/param/type-info.h:8:
In file included from /aixbuild/jdk-dev/src/java.desktop/unix/native/libpipewire/include/spa/param/param-types.h:50:
In file included from /aixbuild/jdk-dev/src/java.desktop/unix/native/libpipewire/include/spa/param/audio/type-info.h:8:
In file included from /aixbuild/jdk-dev/src/java.desktop/unix/native/libpipewire/include/spa/param/audio/raw-types.h:18:
/aixbuild/jdk-dev/src/java.desktop/unix/native/libpipewire/include/spa/param/audio/raw.h:15:10: fatal error: 'endian.h' file not found

I cannot find endian.h on my AIX machine.
Instead there is <sys/machine.h> which provides some info on byte order etc. instead .

Additionally we have a "warning as error"  in src/java.desktop/unix/native/libawt_xawt/awt/screencast_pipewire.c ; xlc17 clang 15 is very picky about the vfprintf used there. I disabled the warning.

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

Commit messages:
 - JDK-8309703

Changes: https://git.openjdk.org/jdk/pull/14390/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14390&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309703
  Stats: 12 lines in 2 files changed: 11 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/14390.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14390/head:pull/14390

PR: https://git.openjdk.org/jdk/pull/14390



More information about the client-libs-dev mailing list