Created attachment 778187 [details] Full build log On a Gentoo system where media-libs/alsa-lib is not installed, merging dev-java/openjfx:11 with USE="media" results in the following error: > Task :media:buildLinuxGStreamer FAILED Task ':media:buildLinuxGStreamer' is not up-to-date because: Task has not declared any outputs despite executing actions. Starting process 'command 'make''. Working directory: /var/tmp/portage/dev-java/openjfx-11.0.11_p1/work/rt-11.0.11+1 Command: make -j5 -C /var/tmp/portage/dev-java/openjfx-11.0.11_p1/work/rt-11.0.11+1/modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite OUTPUT_DIR=/var/tmp/portage/dev-java/openjfx-11.0.11_p1/work/rt-11.0.11+1/modules/javafx.media/build/native/linux BUILD_TYPE=Release BASE_NAME=gstreamer-lite ARCH=x64 CC=gcc AR=ar LINKER=g++ Successfully started process 'command 'make'' make: Entering directory '/var/tmp/portage/dev-java/openjfx-11.0.11_p1/work/rt-11.0.11+1/modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite' Package alsa was not found in the pkg-config search path. Perhaps you should add the directory containing `alsa.pc' to the PKG_CONFIG_PATH environment variable Package 'alsa', required by 'virtual:world', not found ... gcc -fPIC -Wformat -Wextra -Wformat-security -fstack-protector -Werror=implicit-function-declaration -Werror=trampolines -D_GNU_SOURCE -DGST_REMOVE_DEPRECATED -DGSTREAMER_LITE -DHAVE_CONFIG_H -DOUTSIDE_SPEEX -DLINUX -DGST_DISABLE_GST_DEBUG -DGST_DISABLE_LOADSAVE -ffunction-sections -fdata-sections -O2 -pipe -Wno-error -fcommon -I../../../plugins -I../../../gstreamer-lite/projects/build/linux/common -I../../../gstreamer-lite/gstreamer -I../../../gstreamer-lite/gstreamer/libs -I../../../gstreamer-lite/gstreamer/gst/parse -I../../../gstreamer-lite/gst-plugins-base -I../../../gstreamer-lite/gst-plugins-base/gst-libs -I../../../gstreamer-lite/projects/plugins -I../../../gstreamer-lite/gst-plugins-base/gst-libs -I../../../gstreamer-lite/gst-plugins-good/gst-libs -I../../../gstreamer-lite/gst-plugins-good/gst/isomp4 -I../../../gstreamer-lite/gst-plugins-bad/gst-libs -c ../../../gstreamer-lite/gstreamer/gst/gstatomicqueue.c -o /var/tmp/portage/dev-java/openjfx-11.0.11_p1/work/rt-11.0.11+1/modules/javafx.media/build/native/linux/Release/obj/gstreamer-lite/gstreamer/gst/gstatomicqueue.o In file included from ../../../gstreamer-lite/gstreamer/gst/gstatomicqueue.c:23: ../../../gstreamer-lite/gstreamer/gst/gst_private.h:36:10: fatal error: glib.h: No such file or directory 36 | #include <glib.h> | ^~~~~~~~ compilation terminated. make: *** [Makefile:265: /var/tmp/portage/dev-java/openjfx-11.0.11_p1/work/rt-11.0.11+1/modules/javafx.media/build/native/linux/Release/obj/gstreamer-lite/gstreamer/gst/gstatomicqueue.o] Error 1 ... FAILURE: Build failed with an exception. * Where: Build file '/var/tmp/portage/dev-java/openjfx-11.0.11_p1/work/rt-11.0.11+1/build.gradle' line: 3351 * What went wrong: Execution failed for task ':media:buildLinuxGStreamer'. > Process 'command 'make'' finished with non-zero exit value 2 Once media-libs/alsa-lib is installed, the error no longer occurs, and the build process can complete.