Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1020262 > unrolled thread
| Started by | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| First post | 2020-08-03 10:20 +0200 |
| Last post | 2020-08-03 22:30 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.bugs.dist
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
| From | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| Date | 2020-08-03 10:20 +0200 |
| 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' |
| Message-ID | <AzDRq-yN-41@gated-at.bofh.it> |
Source: iagno Version: 1:3.36.2-1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200802 ftbfs-bullseye Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_configure -- --bindir=games > cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu --bindir=games > The Meson build system > Version: 0.55.0 > Source dir: /<<PKGBUILDDIR>> > Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu > Build type: native build > Project name: iagno > Project version: 3.36.2 > Using 'CFLAGS' from environment with value: '-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security' > Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs' > Using 'CPPFLAGS' from environment with value: '-Wdate-time -D_FORTIFY_SOURCE=2' > Using 'CFLAGS' from environment with value: '-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security' > Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs' > Using 'CPPFLAGS' from environment with value: '-Wdate-time -D_FORTIFY_SOURCE=2' > C compiler for the host machine: cc (gcc 10.2.0 "cc (Debian 10.2.0-3) 10.2.0") > C linker for the host machine: cc ld.bfd 2.35 > Vala compiler for the host machine: valac (valac 0.48.8) > Host machine cpu family: x86_64 > Host machine cpu: x86_64 > Found pkg-config: /usr/bin/pkg-config (0.29.2) > Run-time dependency gio-2.0 found: YES 2.64.4 > Run-time dependency glib-2.0 found: YES 2.64.4 > Run-time dependency gsound found: YES 1.0.2 > Run-time dependency gtk+-3.0 found: YES 3.24.20 > Library m found: YES > Library posix found: YES > Run-time dependency librsvg-2.0 found: YES 2.48.7 > Program appstream-util found: YES > Program desktop-file-validate found: YES > Program glib-compile-schemas found: YES > Configuring config.h using configuration > Found pkg-config: /usr/bin/pkg-config (0.29.2) > Configuring org.gnome.Reversi.service using configuration > Program /usr/bin/python3 found: YES (/usr/bin/python3) > Build targets in project: 17 > > Found ninja-1.10.0 at /usr/bin/ninja > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_build > cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v > [1/47] glib-compile-resources ../data/iagno.gresource.xml --sourcedir ../data/. --sourcedir ../data --internal --generate --target data/resources.h > xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH > [2/47] /usr/bin/meson --internal msgfmthelper ../data/org.gnome.Reversi.appdata.xml.in data/org.gnome.Reversi.appdata.xml xml /<<PKGBUILDDIR>>/po > [3/47] /usr/bin/meson --internal msgfmthelper ../data/org.gnome.Reversi.desktop.in data/org.gnome.Reversi.desktop desktop /<<PKGBUILDDIR>>/po > [4/47] /usr/bin/meson --internal msgfmthelper ../data/themes/adwaita.theme.desktop.in data/themes/adwaita.theme desktop /<<PKGBUILDDIR>>/po > [5/47] /usr/bin/meson --internal msgfmthelper ../data/themes/classic.theme.desktop.in data/themes/classic.theme desktop /<<PKGBUILDDIR>>/po > [6/47] /usr/bin/meson --internal msgfmthelper ../data/themes/high_contrast.theme.desktop.in data/themes/high_contrast.theme desktop /<<PKGBUILDDIR>>/po > [7/47] /usr/bin/meson --internal msgfmthelper ../data/themes/sun_and_star.theme.desktop.in data/themes/sun_and_star.theme desktop /<<PKGBUILDDIR>>/po > [8/47] 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 > FAILED: src/iagno-perfs-tests-generator.p/perfs-tests-generator.c src/iagno-perfs-tests-generator.p/computer-player.c src/iagno-perfs-tests-generator.p/computer-reversi.c src/iagno-perfs-tests-generator.p/game.c src/iagno-perfs-tests-generator.p/player.c > 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 > ../src/game.vala:46.5-46.28: warning: accessibility of struct fields can only be `public` > private Player [,] tiles; > ^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:47.5-47.44: warning: accessibility of struct fields can only be `public` > private unowned uint8 [,] neighbor_tiles; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:303.5-303.25: warning: accessibility of struct fields can only be `public` > private uint8 x_saved; > ^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:304.5-304.25: warning: accessibility of struct fields can only be `public` > private uint8 y_saved; > ^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:462.5-462.37: warning: accessibility of struct fields can only be `public` > private uint8 [,] empty_neighbors; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/perfs-tests-generator.vala:45.16-45.20: error: The name `Posix' does not exist in the context of `PerfsTestsGenerator.handle_local_options' > return Posix.EXIT_SUCCESS; > ^^^^^ > Compilation failed: 1 error(s), 5 warning(s) > [9/47] valac -C --pkg gio-2.0 --color=always --directory src/iagno-tests.p --basedir ../src --enable-experimental-non-null ../src/test-iagno.vala ../src/computer-player.vala ../src/computer-reversi.vala ../src/game.vala ../src/player.vala > ../src/game.vala:46.5-46.28: warning: accessibility of struct fields can only be `public` > private Player [,] tiles; > ^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:47.5-47.44: warning: accessibility of struct fields can only be `public` > private unowned uint8 [,] neighbor_tiles; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:303.5-303.25: warning: accessibility of struct fields can only be `public` > private uint8 x_saved; > ^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:304.5-304.25: warning: accessibility of struct fields can only be `public` > private uint8 y_saved; > ^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:462.5-462.37: warning: accessibility of struct fields can only be `public` > private uint8 [,] empty_neighbors; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/computer-player.vala:61.5-61.22: warning: method `ComputerPlayer.move' never used > internal void move (double delay_seconds = 0.0) > ^^^^^^^^^^^^^^^^^^ > ../src/computer-player.vala:108.5-108.29: warning: method `ComputerPlayer.cancel_move' never used > internal void cancel_move () > ^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/computer-reversi.vala:672.25-672.40: warning: use of possibly unassigned parameter `best_move' > while ((best_move.x == 1 || best_move.x == 6) > ^^^^^^^^^^^^^^^^ > ../src/game.vala:974.5-974.35: warning: method `Game.test_placing_tile' never used > internal bool test_placing_tile (uint8 x, uint8 y, out unowned PossibleMove move) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:974.56-974.84: warning: use of possibly unassigned parameter `move' > internal bool test_placing_tile (uint8 x, uint8 y, out unowned PossibleMove move) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Compilation succeeded - 10 warning(s) > [10/47] valac -C --pkg librsvg-2.0 --pkg posix --pkg gtk+-3.0 --pkg gsound --target-glib ' 2.42.0' --pkg glib-2.0 --pkg gio-2.0 --color=always --directory src/iagno.p --basedir ../src --gresources=../data/iagno.gresource.xml --target-glib 2.44 --vapidir /<<PKGBUILDDIR>>/src/vapi --enable-experimental-non-null ../src/vapi/config.vapi ../src/about-list.vala ../src/adaptative-window.vala ../src/base-headerbar.vala ../src/base-view.vala ../src/base-window.vala ../src/computer-player.vala ../src/computer-reversi.vala ../src/game-actionbar.vala ../src/game-headerbar.vala ../src/game-view.vala ../src/game-window.vala ../src/game.vala ../src/history-button.vala ../src/iagno.vala ../src/new-game-screen.vala ../src/night-light-monitor.vala ../src/notifications-revealer.vala ../src/overlayed-list.vala ../src/player.vala ../src/registry-placeholder.vala ../src/reversi-view.vala ../src/theme-manager.vala > ../src/game.vala:46.5-46.28: warning: accessibility of struct fields can only be `public` > private Player [,] tiles; > ^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:47.5-47.44: warning: accessibility of struct fields can only be `public` > private unowned uint8 [,] neighbor_tiles; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:303.5-303.25: warning: accessibility of struct fields can only be `public` > private uint8 x_saved; > ^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:304.5-304.25: warning: accessibility of struct fields can only be `public` > private uint8 y_saved; > ^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:462.5-462.37: warning: accessibility of struct fields can only be `public` > private uint8 [,] empty_neighbors; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/game-actionbar.vala:58.5-58.43: warning: `override' not required to implement `abstract' interface method `AdaptativeWidget.set_window_size' > protected override void set_window_size (AdaptativeWidget.WindowSize new_size) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/game-actionbar.vala:122.5-122.43: warning: `override' not required to implement `abstract' interface method `AdaptativeWidget.set_window_size' > protected override void set_window_size (AdaptativeWidget.WindowSize new_size) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/reversi-view.vala:316.28-316.31: warning: `Rsvg.DimensionData' has been deprecated since 2.46. > ../src/history-button.vala:49.5-49.43: warning: `override' not required to implement `abstract' interface method `AdaptativeWidget.set_window_size' > protected override void set_window_size (AdaptativeWidget.WindowSize new_size) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/history-button.vala:109.28-109.31: warning: `Rsvg.DimensionData' has been deprecated since 2.46. > ../src/base-headerbar.vala:305.5-305.37: warning: method `BaseHeaderBar.has_popover' never used > internal virtual bool has_popover () > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/computer-player.vala:50.5-50.27: warning: method `ComputerPlayer.move_sync' never used > internal void move_sync (out uint8 x, out uint8 y) // for tests > ^^^^^^^^^^^^^^^^^^^^^^^ > ../src/computer-reversi.vala:672.25-672.40: warning: use of possibly unassigned parameter `best_move' > while ((best_move.x == 1 || best_move.x == 6) > ^^^^^^^^^^^^^^^^ > ../src/game-window.vala:257.5-257.34: warning: method `GameWindow.cannot_undo_more' never used > internal void cannot_undo_more () > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/game.vala:974.56-974.84: warning: use of possibly unassigned parameter `move' > internal bool test_placing_tile (uint8 x, uint8 y, out unowned PossibleMove move) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/history-button.vala:82.5-82.37: warning: field `HistoryButton.tileset_pixbuf' never used > private Gdk.Pixbuf tileset_pixbuf; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/new-game-screen.vala:92.5-92.55: warning: method `NewGameScreen.get_size_button_label' never used > internal static inline string get_size_button_label (int size) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/overlayed-list.vala:78.5-78.34: warning: method `OverlayedList.add_placeholder' never used > protected void add_placeholder () > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/overlayed-list.vala:119.5-119.28: warning: method `OverlayedList.next_match' never used > internal bool next_match () > ^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/overlayed-list.vala:141.5-141.32: warning: method `OverlayedList.previous_match' never used > internal bool previous_match () > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/overlayed-list.vala:170.5-170.28: warning: method `OverlayedList.select_all' never used > internal void select_all () > ^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/overlayed-list.vala:175.5-175.30: warning: method `OverlayedList.unselect_all' never used > internal void unselect_all () > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/overlayed-list.vala:180.5-180.38: warning: method `OverlayedList.select_row_for_real' never used > protected void select_row_for_real (ListBoxRow row) // ahem... > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/overlayed-list.vala:190.5-190.46: warning: method `OverlayedList.get_selected_rows_indices' never used > protected int [] get_selected_rows_indices () > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/overlayed-list.vala:216.5-216.32: warning: method `OverlayedList.scroll_bottom' never used > protected void scroll_bottom () > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ../src/overlayed-list.vala:284.5-284.47: warning: method `OverlayedList.get_selection_state' never used > internal SelectionState get_selection_state () > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Compilation succeeded - 26 warning(s) > [11/47] glib-compile-resources ../data/iagno.gresource.xml --sourcedir ../data/. --sourcedir ../data --internal --generate --target data/resources.c --dependency-file data/resources.c.d > xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH > ninja: build stopped: subcommand failed. > dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v returned exit code 1 > make: *** [debian/rules:7: build] Error 25 The full build log is available from: http://qa-logs.debian.net/2020/08/02/iagno_3.36.2-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.
[toc] | [next] | [standalone]
| From | Simon McVittie <smcv@debian.org> |
|---|---|
| Date | 2020-08-03 13:50 +0200 |
| Message-ID | <AzH8B-2vw-1@gated-at.bofh.it> |
| In reply to | #1020262 |
Control: reassign -1 meson 0.55.0-2
Control: affects -1 + iagno
On Mon, 03 Aug 2020 at 10:02:31 +0200, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
Some test results:
* Everything from unstable: fails
* Everything from unstable, except meson from bullseye: OK
* Everything from bullseye, except meson from unstable: fails
* Everything from bullseye: OK
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,
even though it still prints:
Library posix found: YES
during the configure step. So I think this looks like a meson regression.
Regards,
smcv
[toc] | [prev] | [next] | [standalone]
| From | Simon McVittie <smcv@debian.org> |
|---|---|
| Date | 2020-08-03 22:30 +0200 |
| Message-ID | <AzPfP-7yi-1@gated-at.bofh.it> |
| In reply to | #1020358 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web