JDK-8309703 : AIX build fails after JDK-8280982
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 21
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: aix
  • CPU: ppc
  • Submitted: 2023-06-09
  • Updated: 2025-03-05
  • Resolved: 2023-06-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 21 JDK 22 JDK 8
11.0.26-oracleFixed 17.0.13-oracleFixed 21Fixed 22 b02Fixed 8u441Fixed
Related Reports
Relates :  
Relates :  
Description
After
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.
Maybe it does not exist there, <sys/machine.h>  includes some info on byte order etc. instead .
Not sure if this inclusion is needed at all on AIX.
Comments
>FWIW I'd be at least a little surprised if Pipewire or Wayland is (ever ?) a thing on AIX. >Perhaps none of this code needs to be built / delivered on AIX, but if the easiest thing is to build it then that's OK. Hi [~prr] we got the information that Wayland is not supported on AIX, so created https://bugs.openjdk.org/browse/JDK-8351277 to remove pipewire from the AIX build.
05-03-2025

jdk17u-dev backport request I would like to have the backport in 17 as well, for parity with Oracle JDK. The backport is clean and low risk.
11-07-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/2704 Date: 2024-07-11 07:56:15 +0000
11-07-2024

FWIW I'd be at least a little surprised if Pipewire or Wayland is (ever ?) a thing on AIX. Perhaps none of this code needs to be built / delivered on AIX, but if the easiest thing is to build it then that's OK.
12-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21/pull/8 Date: 2023-06-12 14:13:15 +0000
12-06-2023

Changeset: 3981297f Author: Matthias Baesken <mbaesken@openjdk.org> Date: 2023-06-12 06:56:16 +0000 URL: https://git.openjdk.org/jdk/commit/3981297fd34a628dff44898e6c60455cf071741a
12-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14390 Date: 2023-06-09 10:12:57 +0000
09-06-2023