FTBFS: commit 303dc122 broke mesa snapshot build
git bisect start
# status: waiting for both good and bad commits
# good: [0f2d5ed75c4c97cfd4923f634be7a156f45d8316] aco: assume no unreachable blocks
git bisect good 0f2d5ed75c4c97cfd4923f634be7a156f45d8316
# status: waiting for bad commit, 1 good commit known
# bad: [18e6bb322ebb6022da7186f3b8a3170cd632b83a] radv: fix 2d/3d image copy on compute queue
git bisect bad 18e6bb322ebb6022da7186f3b8a3170cd632b83a
# bad: [edc8e011ebf66657c3704a77e6d779f7217daa9e] nir/serialize: Encode data for temporaries
git bisect bad edc8e011ebf66657c3704a77e6d779f7217daa9e
# bad: [fc90d4eed9f9c995171078ab76fb6462a9ff0404] nil: Make the Rust library the primary build target
git bisect bad fc90d4eed9f9c995171078ab76fb6462a9ff0404
# good: [299f32736a9c8489e466d606ef1bfd93de04e0b5] nil: Move to a single header file
git bisect good 299f32736a9c8489e466d606ef1bfd93de04e0b5
# bad: [9fdcd217a46da5ba1365900c0f6f1e16db33ec49] nil: Rename nil_tiling::gob_height_8 to gob_height_is_8
git bisect bad 9fdcd217a46da5ba1365900c0f6f1e16db33ec49
# bad: [1713b02da728c7b44f26ad4f568c204647e14a89] nil: Rewrite nil_format in rust
git bisect bad 1713b02da728c7b44f26ad4f568c204647e14a89
# bad: [303dc1221477d3dbdfb6a5f95d6972a1ed2c2ee6] nil: Add the start of a Rust library
git bisect bad 303dc1221477d3dbdfb6a5f95d6972a1ed2c2ee6
# first bad commit: [303dc1221477d3dbdfb6a5f95d6972a1ed2c2ee6] nil: Add the start of a Rust library
I build mesa with follow command
meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib --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 -Dplatforms=x11,wayland -Ddri3=enabled -Dosmesa=true -Dgallium-drivers=swrast,virgl,nouveau,r300,crocus,i915,iris,svga,radeonsi,r600,freedreno,etnaviv,tegra,vc4,v3d,kmsro,lima,panfrost,zink -Dgallium-vdpau=enabled -Dgallium-omx=bellagio -Dgallium-va=enabled -Dgallium-xa=enabled -Dgallium-nine=true -Dgallium-opencl=icd -Dgallium-rusticl=true -Dvulkan-drivers=swrast,amd,intel,intel_hasvk,broadcom,freedreno,panfrost,imagination-experimental,nouveau -Dvulkan-layers=device-select -Dshared-glapi=enabled -Dgles1=enabled -Dgles2=enabled -Dopengl=true -Dgbm=enabled -Dglx=dri -Degl=enabled -Dglvnd=true -Dintel-clc=enabled -Dmicrosoft-clc=disabled -Dllvm=enabled -Dshared-llvm=enabled -Dvalgrind=enabled -Dbuild-tests=false -Dselinux=true -Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec,av1dec,av1enc,vp9dec -Dandroid-libbacktrace=disabled -Dglx-read-only-text=true -Dintel-rt=disabled
since commit 303dc122 mesa snapshot build failed with message
Program cbindgen found: NO
src/nouveau/nil/meson.build:80: WARNING: Project targets '>= 1.1.0' but uses feature introduced in '1.3.0': rust_abi arg in static_library.
src/nouveau/nil/meson.build:87: WARNING: Project targets '>= 1.1.0' but uses feature introduced in '1.3.0': rust_abi arg in static_library.
src/nouveau/nil/meson.build:97:12: ERROR: Tried to use not-found external program in "command"
full build log: build.log
after commit 5577128c this message changed to
Program cbindgen found: NO
Run-time dependency paste found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency paste
src/nouveau/nil/meson.build:17:12: ERROR: Automatic wrap-based subproject downloading is disabled
full build log: build.log
Edited by Mikhail Gavrilov