Bug 2241430 - I am began get FTBFS when build mesa after update meson to 1.2.2-1.fc40 version in my build environment
Summary: I am began get FTBFS when build mesa after update meson to 1.2.2-1.fc40 versi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: meson
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-29 20:50 UTC by Mikhail
Modified: 2023-11-03 18:43 UTC (History)
4 users (show)

Fixed In Version: meson-1.2.2-2.fc40 meson-1.2.2-2.fc38 meson-1.2.3-1.fc39
Clone Of:
Environment:
Last Closed: 2023-10-08 14:46:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build-with-1.2.1-1.fc40 log (275.53 KB, application/zip)
2023-09-29 20:53 UTC, Mikhail
no flags Details
build-with-1.2.2-1.fc40 log (244.48 KB, application/zip)
2023-09-29 21:00 UTC, Mikhail
no flags Details
mesa.spec (18.23 KB, text/x-matlab)
2023-09-29 21:01 UTC, Mikhail
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github mesonbuild meson issues 12326 0 None open regression: Mesa fails to build with meson 1.2.2 2023-10-08 12:04:18 UTC
freedesktop.org Gitlab mesa mesa issues 9908 0 None opened rusticl: I am began get FTBFS when build mesa after update meson to 1.2.2-1.fc40 version in my build environment 2023-10-08 12:05:18 UTC

Description Mikhail 2023-09-29 20:50:14 UTC
I am began get FTBFS when build mesa after update meson to 1.2.2-1.fc40 version in my build environment

Last good meson version was 1.2.1-1.fc40

Reproducible: Always

Comment 1 Mikhail 2023-09-29 20:53:59 UTC
Created attachment 1991212 [details]
build-with-1.2.1-1.fc40 log

Comment 2 Mikhail 2023-09-29 21:00:06 UTC
Created attachment 1991213 [details]
build-with-1.2.2-1.fc40 log

Comment 3 Mikhail 2023-09-29 21:01:13 UTC
Created attachment 1991214 [details]
mesa.spec

Comment 4 Mikhail 2023-09-29 21:07:00 UTC




FAILED: src/gallium/frontends/rusticl/rusticl_mesa_bindings.rs 
/usr/bin/bindgen ../src/gallium/frontends/rusticl/rusticl_mesa_bindings.h --output /builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/redhat-linux-build/src/gallium/frontends/rusticl/rusticl_mesa_bindings.rs --no-convert-floats --use-array-pointers-in-arguments --default-enum-style rust --with-derive-partialeq --with-derive-eq --with-derive-partialord --with-derive-ord --with-derive-hash --with-derive-default --anon-fields-prefix anon_ --allowlist-function free --allowlist-function malloc --allowlist-function 'blob_.*' --allowlist-function 'disk_cache_.*' --allowlist-type float_controls --allowlist-function 'mesa_.*' --allowlist-var 'OS_.*' --allowlist-function 'rz?alloc_.*' --allowlist-function 'SHA1.*' --allowlist-var 'SHA1_.*' --allowlist-function 'u_.*' --allowlist-function 'util_format_.*' --allowlist-type 'cl_sampler_.*_mode' --constified-enum-module 'cl_sampler_.*_mode' --allowlist-function 'clc_.*' --allowlist-type clc_kernel_arg_access_qualifier --bitfield-enum clc_kernel_arg_access_qualifier --allowlist-type clc_kernel_arg_type_qualifier --bitfield-enum clc_kernel_arg_type_qualifier --allowlist-type gl_access_qualifier --bitfield-enum gl_access_qualifier --allowlist-function 'glsl_.*' --allowlist-function 'nir_.*' --allowlist-var nir_debug --allowlist-var 'NIR_DEBUG_.*' --bitfield-enum nir_lower_int64_options --bitfield-enum nir_opt_if_options --bitfield-enum nir_variable_mode --allowlist-function 'should_.*_nir' --allowlist-function 'spirv_.*' --allowlist-function 'pipe_.*' --allowlist-var 'PIPE_.*' --allowlist-type pipe_endian --bitfield-enum pipe_map_flags --allowlist-type pipe_query_type --constified-enum-module pipe_query_type --allowlist-type pipe_resource_usage --bitfield-enum pipe_resource_usage --allowlist-type pipe_tex_filter --constified-enum-module pipe_tex_filter --allowlist-type pipe_tex_wrap --constified-enum-module pipe_tex_wrap --allowlist-function 'rusticl_.*' --allowlist-function 'std(err|out)_ptr' -- -fno-builtin-malloc -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="23.3.0-devel"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_OPENGL=1 -DHAVE_OPENGL_ES_1=1 -DHAVE_OPENGL_ES_2=1 -DHAVE_SWRAST -DHAVE_VIRGL -DHAVE_NOUVEAU -DHAVE_R300 -DHAVE_CROCUS -DHAVE_I915 -DHAVE_IRIS -DHAVE_SVGA -DHAVE_RADEONSI -DHAVE_R600 -DHAVE_FREEDRENO -DHAVE_ETNAVIV -DHAVE_TEGRA -DHAVE_VC4 -DHAVE_V3D -DHAVE_KMSRO -DHAVE_LIMA -DHAVE_PANFROST -DHAVE_ZINK -DVIDEO_CODEC_VC1DEC=1 -DVIDEO_CODEC_H264DEC=1 -DVIDEO_CODEC_H264ENC=1 -DVIDEO_CODEC_H265DEC=1 -DVIDEO_CODEC_H265ENC=1 -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_XCB_PLATFORM -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=1 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DGLAPI_EXPORT_PROTO_ENTRY_POINTS=0 -DALLOW_KCMP -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -DHAVE_REALLOCARRAY -DHAVE_FMEMOPEN -D_GNU_SOURCE -DUSE_SSE41 -DHAVE___BUILTIN_IA32_CLFLUSHOPT -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_SYS_INOTIFY_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_POSIX_FALLOCATE -DHAVE_GNU_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_ISSIGNALING -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DSUPPORT_INTEL_INTEGRATED_GPUS -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="17.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DUSE_LIBELF -DUSE_LIBGLVND=1 -DHAVE_VALGRIND -DMESA_SELINUX -DHAVE_LIBUNWIND -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI -DHAVE_DRI2 -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_DRISW_KMS -DHAVE_LIBSENSORS=1 -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/src/gallium/include -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/redhat-linux-build/src/gallium/include -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/src/gallium/auxiliary -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/redhat-linux-build/src/gallium/auxiliary -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/include/. -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/redhat-linux-build/include/. -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/src/. -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/redhat-linux-build/src/. -DNDEBUG -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/src/compiler/nir/. -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/redhat-linux-build/src/compiler/nir/. -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/src/compiler/. -I/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/redhat-linux-build/src/compiler/. -I/usr/include/valgrind -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="23.3.0-devel"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_OPENGL=1 -DHAVE_OPENGL_ES_1=1 -DHAVE_OPENGL_ES_2=1 -DHAVE_SWRAST -DHAVE_VIRGL -DHAVE_NOUVEAU -DHAVE_R300 -DHAVE_CROCUS -DHAVE_I915 -DHAVE_IRIS -DHAVE_SVGA -DHAVE_RADEONSI -DHAVE_R600 -DHAVE_FREEDRENO -DHAVE_ETNAVIV -DHAVE_TEGRA -DHAVE_VC4 -DHAVE_V3D -DHAVE_KMSRO -DHAVE_LIMA -DHAVE_PANFROST -DHAVE_ZINK -DVIDEO_CODEC_VC1DEC=1 -DVIDEO_CODEC_H264DEC=1 -DVIDEO_CODEC_H264ENC=1 -DVIDEO_CODEC_H265DEC=1 -DVIDEO_CODEC_H265ENC=1 -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_XCB_PLATFORM -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=1 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DGLAPI_EXPORT_PROTO_ENTRY_POINTS=0 -DALLOW_KCMP -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -DHAVE_REALLOCARRAY -DHAVE_FMEMOPEN -D_GNU_SOURCE -DUSE_SSE41 -DHAVE___BUILTIN_IA32_CLFLUSHOPT -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_SYS_INOTIFY_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_POSIX_FALLOCATE -DHAVE_GNU_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_ISSIGNALING -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DSUPPORT_INTEL_INTEGRATED_GPUS -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="17.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DUSE_LIBELF -DUSE_LIBGLVND=1 -DHAVE_VALGRIND -DMESA_SELINUX -DHAVE_LIBUNWIND -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI -DHAVE_DRI2 -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_DRISW_KMS -DHAVE_LIBSENSORS=1 -mtls-dialect=gnu2 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wmisleading-indentation -Wno-missing-field-initializers -Wno-format-truncation -Wno-nonnull-compare -fno-math-errno -fno-trapping-math -fno-common -Wno-unused-function -Werror=format -Wformat-security -ffunction-sections -fdata-sections -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ ../src/gallium/frontends/rusticl/rusticl_mesa_bindings.h -MF src/gallium/frontends/rusticl/rusticl_mesa_bindings.h.d
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-nonnull-compare' [-Wunknown-warning-option]
error: unknown argument: '-mtls-dialect=gnu2'
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-nonnull-compare' [-Wunknown-warning-option]
/builddir/build/BUILD/mesa-a25f96c00cfe4f4ad7f5f079ba3e11d4da2e1994/src/./compiler/glsl/list.h:47:10: fatal error: 'stddef.h' file not found

Comment 5 Kalev Lember 2023-09-29 21:12:58 UTC
That's probably due to https://github.com/mesonbuild/meson/issues/12065 that landed in meson 1.2.2 - do you want to comment in that ticket and ask about the new error?

Comment 6 Kalev Lember 2023-10-08 14:43:18 UTC
I went ahead and applied a revert of the bindgen commit that broke mesa build, similar to how some other distros have already done. Looks like it's going to be reverted upstream as well:

https://src.fedoraproject.org/rpms/meson/c/f48b1706418b771690d509be55921328eb63d9a2?branch=rawhide

Comment 7 Fedora Update System 2023-10-08 14:45:32 UTC
FEDORA-2023-8451f40a30 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8451f40a30

Comment 8 Fedora Update System 2023-10-08 14:46:10 UTC
FEDORA-2023-8451f40a30 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2023-10-08 14:56:20 UTC
FEDORA-2023-933ff95e2c has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-933ff95e2c

Comment 10 Fedora Update System 2023-10-08 14:56:43 UTC
FEDORA-2023-49a3981763 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-49a3981763

Comment 11 Fedora Update System 2023-10-09 02:34:50 UTC
FEDORA-2023-49a3981763 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-49a3981763`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-49a3981763

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2023-10-09 03:03:48 UTC
FEDORA-2023-933ff95e2c has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-933ff95e2c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-933ff95e2c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2023-10-17 02:14:40 UTC
FEDORA-2023-933ff95e2c has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2023-10-23 01:38:04 UTC
FEDORA-2023-5f5b9d8879 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-5f5b9d8879`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5f5b9d8879

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2023-11-03 18:43:38 UTC
FEDORA-2023-5f5b9d8879 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.