Description
The GTK4-4.17.1-GCC-13.3.0.eb easyconfig fails during compilation on an EL8-based system because the system kernel headers do not provide:
The failure affects multiple GTK test-suite targets that compile:
Environment
EasyBuild: 5.3.1
Easyconfig: GTK4-4.17.1-GCC-13.3.0.eb
GTK: 4.17.1
Toolchain: GCC 13.3.0
OS: Rocky Linux 8 / EL8
The kernel-headers package is installed, but the required header is unavailable:
rpm -q kernel-headers
rpm -ql kernel-headers | grep '/linux/udmabuf.h$'
First failure
The first failure occurs while building the GDK dmabuf-support test:
FAILED: testsuite/gdk/dmabuf-support.p/udmabuf.c.o
../gtk-4.17.1/testsuite/gdk/udmabuf.c:11:10: fatal error: linux/udmabuf.h: No such file or directory
11 | #include <linux/udmabuf.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
Additional failure
Skipping only the dmabuf-support test is not sufficient because the GSK compare-render test also directly compiles the same source file:
FAILED: testsuite/gsk/compare-render.p/.._gdk_udmabuf.c.o
gcc ... \
-o testsuite/gsk/compare-render.p/.._gdk_udmabuf.c.o \
-c ../gtk-4.17.1/testsuite/gdk/udmabuf.c
../gtk-4.17.1/testsuite/gdk/udmabuf.c:11:10: fatal error: linux/udmabuf.h: No such file or directory
11 | #include <linux/udmabuf.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
Therefore, a patch that only conditionally disables:
testsuite/gdk/dmabuf-support
does not fully resolve the build failure.
Cause
GTK 4.17.1 unconditionally includes:
#include <linux/udmabuf.h>
in:
That source file is used by at least these two test-suite targets:
testsuite/gdk/dmabuf-support
testsuite/gsk/compare-render
EL8 kernel headers do not provide linux/udmabuf.h, so both targets fail during compilation.
The GTK libraries themselves do not appear to require this header; the failure is limited to the GTK test suite.
Description
The
GTK4-4.17.1-GCC-13.3.0.ebeasyconfig fails during compilation on an EL8-based system because the system kernel headers do not provide:The failure affects multiple GTK test-suite targets that compile:
Environment
The
kernel-headerspackage is installed, but the required header is unavailable:First failure
The first failure occurs while building the GDK
dmabuf-supporttest:Additional failure
Skipping only the
dmabuf-supporttest is not sufficient because the GSKcompare-rendertest also directly compiles the same source file:Therefore, a patch that only conditionally disables:
does not fully resolve the build failure.
Cause
GTK 4.17.1 unconditionally includes:
in:
That source file is used by at least these two test-suite targets:
EL8 kernel headers do not provide
linux/udmabuf.h, so both targets fail during compilation.The GTK libraries themselves do not appear to require this header; the failure is limited to the GTK test suite.