meson-cc-tests/check-unused-result.c missing from 1.17.6 release tarball
For some reason, this file is present in git, but missing from the tarball, causing meson builds to fail for me (while trying to update the Fedora package):
+ /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build -Dfreetype=enabled -Dfontconfig=enabled -Dglib=enabled -Dgtk_doc=true -Dspectre=disabled -Dtee=enabled -Dtests=disabled -Dxcb=enabled -Dxlib=enabled -Dxml=disabled
The Meson build system
Version: 0.60.3
Source dir: /builddir/build/BUILD/cairo-1.17.6
Build dir: /builddir/build/BUILD/cairo-1.17.6/redhat-linux-build
Build type: native build
Program version.py found: YES (/builddir/build/BUILD/cairo-1.17.6/version.py)
Project name: cairo
Project version: 1.17.6
C compiler for the host machine: gcc (gcc 12.0.1 "gcc (GCC) 12.0.1 20220308 (Red Hat 12.0.1-0)")
C linker for the host machine: gcc ld.bfd 2.38-6
C++ compiler for the host machine: g++ (gcc 12.0.1 "g++ (GCC) 12.0.1 20220308 (Red Hat 12.0.1-0)")
C++ linker for the host machine: g++ ld.bfd 2.38-6
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Werror-implicit-function-declaration: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wpacked: YES
Compiler for C supports arguments -Wswitch-enum: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wvolatile-register-var: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wunsafe-loop-optimizations: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-attributes: YES
Compiler for C supports arguments -Wno-long-long: YES
Compiler for C supports arguments -Winline: YES
Compiler for C supports arguments -Wno-unused-but-set-variable: YES
Compiler for C supports arguments -Wno-enum-conversion: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -fno-common: YES
meson.build:83:10: ERROR: File meson-cc-tests/check-unused-result.c does not exist.
A full log can be found at /builddir/build/BUILD/cairo-1.17.6/redhat-linux-build/meson-logs/meson-log.txt
I suppose that it is not included because of the conditional test in meson.build, so I will take a closer look once I have a successfult build.