/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:77:22: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? INT32 openMidiDevice(snd_rawmidi_stream_t direction, INT32 deviceIndex, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetNumDevices': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:70:12: warning: implicit declaration of function 'getMidiDeviceCount'; did you mean 'getMidiDeviceVendor'? [-Wimplicit-function-declaration] return getMidiDeviceCount(SND_RAWMIDI_STREAM_OUTPUT); ^~~~~~~~~~~~~~~~~~ getMidiDeviceVendor /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:111:31: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? return getMidiDeviceCount(SND_RAWMIDI_STREAM_INPUT); ^~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:111:31: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c: In function 'MIDI_IN_GetDeviceName': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:116:15: warning: implicit declaration of function 'getMidiDeviceName'; did you mean 'getMidiDeviceVendor'? [-Wimplicit-function-declaration] int ret = getMidiDeviceName(SND_RAWMIDI_STREAM_INPUT, deviceIndex, ^~~~~~~~~~~~~~~~~ getMidiDeviceVendor /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:70:31: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? return getMidiDeviceCount(SND_RAWMIDI_STREAM_OUTPUT); ^~~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:70:31: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetDeviceName': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:76:12: warning: implicit declaration of function 'getMidiDeviceName'; did you mean 'getMidiDeviceVendor'? [-Wimplicit-function-declaration] return getMidiDeviceName(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, ^~~~~~~~~~~~~~~~~ getMidiDeviceVendor /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:116:33: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? int ret = getMidiDeviceName(SND_RAWMIDI_STREAM_INPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c: In function 'MIDI_IN_GetDeviceDescription': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:129:15: warning: implicit declaration of function 'getMidiDeviceDescription'; did you mean 'getMidiDeviceVersion'? [-Wimplicit-function-declaration] int ret = getMidiDeviceDescription(SND_RAWMIDI_STREAM_INPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~ getMidiDeviceVersion /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:76:30: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? return getMidiDeviceName(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetDeviceDescription': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:89:12: warning: implicit declaration of function 'getMidiDeviceDescription'; did you mean 'getMidiDeviceVersion'? [-Wimplicit-function-declaration] return getMidiDeviceDescription(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~ getMidiDeviceVersion /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:129:40: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? int ret = getMidiDeviceDescription(SND_RAWMIDI_STREAM_INPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c: In function 'MIDI_IN_OpenDevice': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:145:11: warning: implicit declaration of function 'openMidiDevice'; did you mean 'closeMidiDevice'? [-Wimplicit-function-declaration] ret = openMidiDevice(SND_RAWMIDI_STREAM_INPUT, deviceIndex, handle); ^~~~~~~~~~~~~~ closeMidiDevice /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:89:37: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? return getMidiDeviceDescription(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, ^~~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_OpenDevice': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:104:12: warning: implicit declaration of function 'openMidiDevice'; did you mean 'closeMidiDevice'? [-Wimplicit-function-declaration] return openMidiDevice(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, handle); ^~~~~~~~~~~~~~ closeMidiDevice /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:145:26: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? ret = openMidiDevice(SND_RAWMIDI_STREAM_INPUT, deviceIndex, handle); ^~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c: In function 'MIDI_IN_GetMessage': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:179:5: error: unknown type name 'snd_seq_event_t'; did you mean 'snd_ctl_event_t'? snd_seq_event_t alsa_message; ^~~~~~~~~~~~~~~ snd_ctl_event_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:204:15: warning: implicit declaration of function 'snd_rawmidi_read'; did you mean 'snd_timer_read'? [-Wimplicit-function-declaration] err = snd_rawmidi_read((snd_rawmidi_t*) handle->deviceHandle, buffer, 1); ^~~~~~~~~~~~~~~~ snd_timer_read /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:204:33: error: 'snd_rawmidi_t' undeclared (first use in this function); did you mean 'snd_mixer_t'? err = snd_rawmidi_read((snd_rawmidi_t*) handle->deviceHandle, buffer, 1); ^~~~~~~~~~~~~ snd_mixer_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:204:47: error: expected expression before ')' token err = snd_rawmidi_read((snd_rawmidi_t*) handle->deviceHandle, buffer, 1); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:104:27: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function); did you mean 'SND_PCM_STREAM_LAST'? return openMidiDevice(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, handle); ^~~~~~~~~~~~~~~~~~~~~~~~~ SND_PCM_STREAM_LAST /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_SendShortMessage': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:141:11: warning: implicit declaration of function 'snd_rawmidi_write'; did you mean 'snd_pcm_writen'? [-Wimplicit-function-declaration] err = snd_rawmidi_write((snd_rawmidi_t*) handle->deviceHandle, buffer, getShortMessageLength(status)); ^~~~~~~~~~~~~~~~~ snd_pcm_writen /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:141:30: error: 'snd_rawmidi_t' undeclared (first use in this function); did you mean 'snd_mixer_t'? err = snd_rawmidi_write((snd_rawmidi_t*) handle->deviceHandle, buffer, getShortMessageLength(status)); ^~~~~~~~~~~~~ snd_mixer_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:211:15: warning: implicit declaration of function 'snd_midi_event_encode_byte'; did you mean 'snd_ctl_event_get_type'? [-Wimplicit-function-declaration] err = snd_midi_event_encode_byte((snd_midi_event_t*) handle->platformData, ^~~~~~~~~~~~~~~~~~~~~~~~~~ snd_ctl_event_get_type /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:141:44: error: expected expression before ')' token err = snd_rawmidi_write((snd_rawmidi_t*) handle->deviceHandle, buffer, getShortMessageLength(status)); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_SendLongMessage': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:168:30: error: 'snd_rawmidi_t' undeclared (first use in this function); did you mean 'snd_mixer_t'? err = snd_rawmidi_write((snd_rawmidi_t*) handle->deviceHandle, ^~~~~~~~~~~~~ snd_mixer_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:168:44: error: expected expression before ')' token err = snd_rawmidi_write((snd_rawmidi_t*) handle->deviceHandle, ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:211:43: error: 'snd_midi_event_t' undeclared (first use in this function); did you mean 'snd_mixer_event_t'? err = snd_midi_event_encode_byte((snd_midi_event_t*) handle->platformData, ^~~~~~~~~~~~~~~~ snd_mixer_event_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:211:60: error: expected expression before ')' token err = snd_midi_event_encode_byte((snd_midi_event_t*) handle->platformData, ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:227:25: error: request for member 'type' in something not a structure or union switch (alsa_message.type) { ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetNumDevices': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:71:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetDeviceName': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:78:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_GetDeviceDescription': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:91:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c: In function 'MIDI_OUT_OpenDevice': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[4]: *** [/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/build/linux-ppc64le-normal-server-release/support/native/java.desktop/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.o] Error 1 Lib-java.desktop.gmk:62: recipe for target '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/build/linux-ppc64le-normal-server-release/support/native/java.desktop/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.o' failed make[4]: *** Waiting for unfinished jobs.... /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:228:10: error: 'SND_SEQ_EVENT_NOTEON' undeclared (first use in this function); did you mean 'SND_CTL_EVENT_ELEM'? case SND_SEQ_EVENT_NOTEON: ^~~~~~~~~~~~~~~~~~~~ SND_CTL_EVENT_ELEM /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:229:10: error: 'SND_SEQ_EVENT_NOTEOFF' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEON'? case SND_SEQ_EVENT_NOTEOFF: ^~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEON /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:230:10: error: 'SND_SEQ_EVENT_KEYPRESS' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEON'? case SND_SEQ_EVENT_KEYPRESS: ^~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEON /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:231:31: error: request for member 'type' in something not a structure or union status = (alsa_message.type == SND_SEQ_EVENT_KEYPRESS) ? 0xA0 : ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:232:26: error: request for member 'type' in something not a structure or union (alsa_message.type == SND_SEQ_EVENT_NOTEON) ? 0x90 : 0x80; ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:233:31: error: request for member 'data' in something not a structure or union status |= alsa_message.data.note.channel; ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:235:37: error: request for member 'data' in something not a structure or union alsa_message.data.note.note, ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:236:37: error: request for member 'data' in something not a structure or union alsa_message.data.note.velocity); ^ In file included from /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:29:0: /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:54:24: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceCount(snd_rawmidi_stream_t direction); ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:59:23: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceName(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:68:30: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceDescription(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:239:10: error: 'SND_SEQ_EVENT_CONTROLLER' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEOFF'? case SND_SEQ_EVENT_CONTROLLER: ^~~~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEOFF /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:240:37: error: request for member 'data' in something not a structure or union status = 0xB0 | alsa_message.data.control.channel; ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:242:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.param, ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:243:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:77:22: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? INT32 openMidiDevice(snd_rawmidi_stream_t direction, INT32 deviceIndex, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:51:34: error: unknown type name 'snd_rawmidi_info_t'; did you mean 'snd_timer_info_t'? snd_rawmidi_info_t* rawmidi_info, ^~~~~~~~~~~~~~~~~~ snd_timer_info_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:57:34: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? static int iterateRawmidiDevices(snd_rawmidi_stream_t direction, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:58:34: error: unknown type name 'DeviceIteratorPtr' DeviceIteratorPtr iterator, ^~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:246:10: error: 'SND_SEQ_EVENT_PGMCHANGE' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEON'? case SND_SEQ_EVENT_PGMCHANGE: ^~~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEON /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:193:24: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceCount(snd_rawmidi_stream_t direction) { ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:215:48: error: unknown type name 'snd_rawmidi_info_t'; did you mean 'snd_timer_info_t'? static int deviceInfoIterator(UINT32 deviceID, snd_rawmidi_info_t *rawmidi_info, ^~~~~~~~~~~~~~~~~~ snd_timer_info_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:247:10: error: 'SND_SEQ_EVENT_CHANPRESS' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_KEYPRESS'? case SND_SEQ_EVENT_CHANPRESS: ^~~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_KEYPRESS /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:248:31: error: request for member 'type' in something not a structure or union status = (alsa_message.type == SND_SEQ_EVENT_PGMCHANGE) ? 0xC0 : 0xD0; ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:249:31: error: request for member 'data' in something not a structure or union status |= alsa_message.data.control.channel; ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:251:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value, 0); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:261:44: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? static int getMIDIDeviceDescriptionByIndex(snd_rawmidi_stream_t direction, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:295:23: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceName(snd_rawmidi_stream_t direction, int index, char *name, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:323:30: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceDescription(snd_rawmidi_stream_t direction, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:347:28: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? static int getMidiDeviceID(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:254:10: error: 'SND_SEQ_EVENT_PITCHBEND' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_PGMCHANGE'? case SND_SEQ_EVENT_PITCHBEND: ^~~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_PGMCHANGE /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:255:37: error: request for member 'data' in something not a structure or union status = 0xE0 | alsa_message.data.control.channel; ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:262:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:371:22: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? INT32 openMidiDevice(snd_rawmidi_stream_t direction, INT32 deviceIndex, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c: In function 'closeMidiDevice': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:461:11: warning: implicit declaration of function 'snd_rawmidi_close'; did you mean 'snd_mixer_close'? [-Wimplicit-function-declaration] err = snd_rawmidi_close((snd_rawmidi_t*) handle->deviceHandle); ^~~~~~~~~~~~~~~~~ snd_mixer_close /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:267:10: error: 'SND_SEQ_EVENT_SYSEX' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEON'? case SND_SEQ_EVENT_SYSEX: ^~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEON /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:269:48: error: request for member 'data' in something not a structure or union jdk_message->data.l.size = alsa_message.data.ext.len; ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:270:55: error: request for member 'data' in something not a structure or union jdk_message->data.l.data = malloc(alsa_message.data.ext.len); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:276:58: error: request for member 'data' in something not a structure or union memcpy(jdk_message->data.l.data, alsa_message.data.ext.ptr, alsa_message.data.ext.len); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:276:85: error: request for member 'data' in something not a structure or union memcpy(jdk_message->data.l.data, alsa_message.data.ext.ptr, alsa_message.data.ext.len); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:461:30: error: 'snd_rawmidi_t' undeclared (first use in this function); did you mean 'snd_mixer_t'? err = snd_rawmidi_close((snd_rawmidi_t*) handle->deviceHandle); ^~~~~~~~~~~~~ snd_mixer_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:461:30: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:461:44: error: expected expression before ')' token err = snd_rawmidi_close((snd_rawmidi_t*) handle->deviceHandle); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:464:9: warning: implicit declaration of function 'snd_midi_event_free'; did you mean 'snd_ctl_event_free'? [-Wimplicit-function-declaration] snd_midi_event_free((snd_midi_event_t*) handle->platformData); ^~~~~~~~~~~~~~~~~~~ snd_ctl_event_free /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:464:30: error: 'snd_midi_event_t' undeclared (first use in this function); did you mean 'snd_mixer_event_t'? snd_midi_event_free((snd_midi_event_t*) handle->platformData); ^~~~~~~~~~~~~~~~ snd_mixer_event_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:464:47: error: expected expression before ')' token snd_midi_event_free((snd_midi_event_t*) handle->platformData); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:282:10: error: 'SND_SEQ_EVENT_QFRAME' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_SYSEX'? case SND_SEQ_EVENT_QFRAME: ^~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_SYSEX /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:284:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value & 0x7F, 0); ^ Lib-java.desktop.gmk:62: recipe for target '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/build/linux-ppc64le-normal-server-release/support/native/java.desktop/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.o' failed make[4]: *** [/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/build/linux-ppc64le-normal-server-release/support/native/java.desktop/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.o] Error 1 /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:287:10: error: 'SND_SEQ_EVENT_SONGPOS' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_NOTEON'? case SND_SEQ_EVENT_SONGPOS: ^~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_NOTEON /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:289:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:292:10: error: 'SND_SEQ_EVENT_SONGSEL' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_SONGPOS'? case SND_SEQ_EVENT_SONGSEL: ^~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_SONGPOS /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:294:37: error: request for member 'data' in something not a structure or union alsa_message.data.control.value & 0x7F, 0); ^ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:297:10: error: 'SND_SEQ_EVENT_TUNE_REQUEST' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_CHANPRESS'? case SND_SEQ_EVENT_TUNE_REQUEST: ^~~~~~~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_CHANPRESS /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:303:10: error: 'SND_SEQ_EVENT_CLOCK' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_SYSEX'? case SND_SEQ_EVENT_CLOCK: ^~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_SYSEX /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:307:10: error: 'SND_SEQ_EVENT_START' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_SYSEX'? case SND_SEQ_EVENT_START: ^~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_SYSEX /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:311:10: error: 'SND_SEQ_EVENT_CONTINUE' undeclared (first use in this function); did you mean 'SND_TIMER_EVENT_CONTINUE'? case SND_SEQ_EVENT_CONTINUE: ^~~~~~~~~~~~~~~~~~~~~~ SND_TIMER_EVENT_CONTINUE /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:315:10: error: 'SND_SEQ_EVENT_STOP' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_START'? case SND_SEQ_EVENT_STOP: ^~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_START /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:319:10: error: 'SND_SEQ_EVENT_SENSING' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_CONTINUE'? case SND_SEQ_EVENT_SENSING: ^~~~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_CONTINUE /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:323:10: error: 'SND_SEQ_EVENT_RESET' undeclared (first use in this function); did you mean 'SND_SEQ_EVENT_SYSEX'? case SND_SEQ_EVENT_RESET: ^~~~~~~~~~~~~~~~~~~ SND_SEQ_EVENT_SYSEX /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c: In function 'MIDI_IN_GetNumDevices': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:112:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Lib-java.desktop.gmk:62: recipe for target '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/build/linux-ppc64le-normal-server-release/support/native/java.desktop/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.o' failed make[4]: *** [/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/build/linux-ppc64le-normal-server-release/support/native/java.desktop/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.o] Error 1 make[4]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make/Main.gmk:215: recipe for target 'java.desktop-libs' failed make[3]: *** [java.desktop-libs] Error 2 make[3]: *** Waiting for unfinished jobs.... make[5]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make/hotspot' make[5]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' Creating buildjdk/support/modules_libs/java.base/libverify.so from 2 file(s) Creating buildjdk/support/modules_libs/java.base/libjava.so from 58 file(s) Creating buildjdk/support/native/java.base/libfdlibm.a from 57 file(s) Creating buildjdk/support/modules_libs/java.base/libzip.so from 5 file(s) Creating buildjdk/support/modules_libs/java.base/jli/libjli.so from 8 file(s) Creating buildjdk/support/modules_libs/java.base/libjimage.so from 6 file(s) Creating buildjdk/support/modules_libs/java.base/libnet.so from 21 file(s) Creating buildjdk/support/modules_libs/java.base/libnio.so from 22 file(s) Creating buildjdk/support/modules_libs/java.base/libjsig.so from 1 file(s) /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/TimeZone_md.c: In function 'findZoneinfoFile': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/TimeZone_md.c:150:5: warning: 'readdir64_r' is deprecated [-Wdeprecated-declarations] while (readdir64_r(dirp, entry, &dp) == 0 && dp != NULL) { ^~~~~ In file included from /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/TimeZone_md.c:36:0: /usr/include/dirent.h:201:12: note: declared here extern int readdir64_r (DIR *__restrict __dirp, ^~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/UnixFileSystem_md.c: In function 'Java_java_io_UnixFileSystem_list': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/UnixFileSystem_md.c:342:5: warning: 'readdir64_r' is deprecated [-Wdeprecated-declarations] while ((readdir64_r(dir, ptr, &result) == 0) && (result != NULL)) { ^~~~~ In file included from /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libjava/UnixFileSystem_md.c:43:0: /usr/include/dirent.h:201:12: note: declared here extern int readdir64_r (DIR *__restrict __dirp, ^~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c: In function 'Java_sun_nio_fs_UnixNativeDispatcher_readdir': /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c:734:5: warning: 'readdir64_r' is deprecated [-Wdeprecated-declarations] res = readdir64_r(dirp, ptr, &result); ^~~ In file included from /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c:30:0: /usr/include/dirent.h:201:12: note: declared here extern int readdir64_r (DIR *__restrict __dirp, ^~~~~~~~~~~ make[5]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make[5]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make[5]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make[5]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' Creating buildjdk/support/modules_cmds/jdk.jdeps/javap from 1 file(s) Creating buildjdk/support/modules_cmds/jdk.jdeps/jdeps from 1 file(s) Creating buildjdk/support/modules_cmds/jdk.jdeps/jdeprscan from 1 file(s) Creating buildjdk/support/native/java.base/java_objs/java from 1 file(s) Creating buildjdk/support/modules_cmds/jdk.jlink/jimage from 1 file(s) Creating buildjdk/support/modules_cmds/jdk.jlink/jlink from 1 file(s) Creating buildjdk/support/modules_cmds/java.base/keytool from 1 file(s) Creating buildjdk/support/modules_cmds/jdk.jlink/jmod from 1 file(s) Creating buildjdk/support/modules_libs/java.base/jexec from 1 file(s) make[5]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make[5]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make[5]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make[5]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make[5]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' Creating support/interim-jmods/java.logging.jmod Creating support/interim-jmods/java.base.jmod make[5]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make[5]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make[5]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' Creating interim jimage make[5]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make[4]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make' make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9' ERROR: Build failed for target 'legacy-jre-image' in configuration 'linux-ppc64le-normal-server-release' (exit code 2) make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9' === Output from failing command(s) repeated here === * For target support_native_java.desktop_libjsound_PLATFORM_API_LinuxOS_ALSA_MidiIn.o: In file included from /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.c:34:0: /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:54:24: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceCount(snd_rawmidi_stream_t direction); ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:59:23: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceName(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:68:30: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceDescription(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ /bin/grep: write error: Broken pipe ... (rest of output omitted) * For target support_native_java.desktop_libjsound_PLATFORM_API_LinuxOS_ALSA_MidiOut.o: In file included from /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.c:33:0: /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:54:24: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceCount(snd_rawmidi_stream_t direction); ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:59:23: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceName(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:68:30: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceDescription(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ ... (rest of output omitted) * For target support_native_java.desktop_libjsound_PLATFORM_API_LinuxOS_ALSA_MidiUtils.o: In file included from /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.c:29:0: /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:54:24: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceCount(snd_rawmidi_stream_t direction); ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:59:23: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceName(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ snd_pcm_stream_t /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.h:68:30: error: unknown type name 'snd_rawmidi_stream_t'; did you mean 'snd_pcm_stream_t'? int getMidiDeviceDescription(snd_rawmidi_stream_t direction, int index, ^~~~~~~~~~~~~~~~~~~~ ... (rest of output omitted) * All command lines available in /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/build/linux-ppc64le-normal-server-release/make-support/failure-logs. === End of repeated output === === Make failed targets repeated here === Lib-java.desktop.gmk:62: recipe for target '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/build/linux-ppc64le-normal-server-release/support/native/java.desktop/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiOut.o' failed Lib-java.desktop.gmk:62: recipe for target '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/build/linux-ppc64le-normal-server-release/support/native/java.desktop/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiUtils.o' failed Lib-java.desktop.gmk:62: recipe for target '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/build/linux-ppc64le-normal-server-release/support/native/java.desktop/libjsound/PLATFORM_API_LinuxOS_ALSA_MidiIn.o' failed make/Main.gmk:215: recipe for target 'java.desktop-libs' failed === End of repeated output === Hint: Try searching the build log for the name of the first failed target. Hint: See doc/building.html#troubleshooting for assistance. make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9' /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make/Init.gmk:300: recipe for target 'main' failed make[2]: *** [main] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9' /home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/make/Init.gmk:186: recipe for target 'legacy-jre-image' failed make[1]: *** [legacy-jre-image] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9' package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output/build/openjdk-jdk-11.0.2+9/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'