Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1020439

Bug#966854: iagno: FTBFS: ../src/perfs-tests-generator.vala:45.16-45.20: error: The name `Posix' does not exist in the context of `PerfsTestsGenerator.handle_local_options'

From Simon McVittie <smcv@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#966854: iagno: FTBFS: ../src/perfs-tests-generator.vala:45.16-45.20: error: The name `Posix' does not exist in the context of `PerfsTestsGenerator.handle_local_options'
Date 2020-08-03 22:30 +0200
Message-ID <AzPfP-7yi-1@gated-at.bofh.it> (permalink)
References <AzDRq-yN-41@gated-at.bofh.it> <AzDRq-yN-41@gated-at.bofh.it> <AzH8B-2vw-1@gated-at.bofh.it> <AzDRq-yN-41@gated-at.bofh.it> <AzH8B-2vw-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#966854: iagno: FTBFS: ../src/perfs-tests-generator.vala:45.16-45.20: error: The name `Posix' does not exist in the context of `PerfsTestsGenerator.handle_local_options' Lucas Nussbaum <lucas@debian.org> - 2020-08-03 10:20 +0200
  Bug#966854: iagno: FTBFS: ../src/perfs-tests-generator.vala:45.16-45.20: error: The name `Posix' does not exist in the context of `PerfsTestsGenerator.handle_local_options' Simon McVittie <smcv@debian.org> - 2020-08-03 13:50 +0200
    Bug#966854: iagno: FTBFS: ../src/perfs-tests-generator.vala:45.16-45.20: error: The name `Posix' does not exist in the context of `PerfsTestsGenerator.handle_local_options' Simon McVittie <smcv@debian.org> - 2020-08-03 22:30 +0200

csiph-web