Control: reassign -1 iagno 1:3.36.2-1
Control: forwarded -1 https://gitlab.gnome.org/GNOME/iagno/-/issues/16
Control: tags -1 + fixed-upstream patch

On Mon, 03 Aug 2020 at 12:43:37 +0100, Simon McVittie wrote:
> In the failing build (on bullseye but with unstable's meson), the failing
> command seems to be:
> 
> valac -C --pkg gio-2.0 --color=always --directory 
> src/iagno-perfs-tests-generator.p --basedir ../src 
> --enable-experimental-non-null ../src/vapi/config.vapi 
> ../src/perfs-tests-generator.vala ../src/computer-player.vala 
> ../src/computer-reversi.vala ../src/game.vala ../src/player.vala
> 
> In the successful build (on pure bullseye) the corresponding command seems
> to be this:
> 
> [8/47] valac -C --pkg posix --pkg gio-2.0 --color=always --directory 
> src/25a6634@@iagno-perfs-tests-generator@exe --basedir ../src 
> --enable-experimental-non-null ../src/vapi/config.vapi 
> ../src/perfs-tests-generator.vala ../src/computer-player.vala 
> ../src/computer-reversi.vala ../src/game.vala ../src/player.vala
> 
> so it seems meson 0.55.0 has stopped passing "--pkg posix" to valac

On closer inspection this seems to be a pre-existing bug in iagno that
was exposed by a meson bugfix.

Bisecting meson indicates that the build failure is triggered by
7195c0ee "compilers: Fix accidental coredata mutations".

Two executables in iagno use the Posix module:
iagno-perfs-tests-generator, and the iagno game itself. However, only the
iagno game itself has the required posix_dependency. I think previously,
the meson bug fixed in 7195c0ee might have made that dependency leak into
the other dependency list.

The patch is to add the missing dependency:
https://gitlab.gnome.org/GNOME/iagno/-/commit/0100bab269f2102f24a6e41202b931da1b6e8dc5

    smcv

Reply via email to