Re: Meson problem.
- From: Alexander <exalm7659 gmail com>
- To: Γιώργος Κωστόπουλος <giorgosk67 gmail com>
- Cc: Svitozar Cherepii <razotivs gmail com>, games-list gnome org
- Subject: Re: Meson problem.
- Date: Tue, 28 May 2019 21:03:19 +0500
That looks like enum handling changed in Vala at some point, and you
have too old Vala.
Honestly, just use Flatpak. Even if you build this particular game
right now, you may not be able to next year, for example. I can tell
for sure you'll not able to build Games app like this, for example.
On Tue, May 28, 2019 at 8:53 PM, Γιώργος Κωστόπουλος
via games-list <games-list gnome org> wrote:
Στις Τρί, 28 Μαΐ 2019 στις 5:48 μ.μ., ο/η Svitozar
Cherepii
<razotivs gmail com> έγραψε:
Figured it out. Python3 meson module[1] was added
in meson 0.38.0 while Devuan has 0.37.1
Oh, indeed! :-)
Installing the newer (backported) meson version, solves the problem.
However, this is a strong indication, that I have to stick with the
repo version.
(because all dependencies are satisfied etc).
Just for the record, in this particular situation meson completes
successfully, but running ninja from builddir directory, returns these
errors:
[5/17] Compiling Vala source ../src/vapi/config.vapi ../src/ai.vala
../s...prefs-box.vala ../src/prefs.vala ../src/scorebox.vala
../src/theme.vala.
FAILED: src/25a6634@@four-in-a-row@exe/ai.c
src/25a6634@@four-in-a-row@exe/four-in-a-row.c
src/25a6634@@four-in-a-row@exe/game-board-view.c
src/25a6634@@four-in-a-row@exe/game-board.c
src/25a6634@@four-in-a-row@exe/games-controls-list.c
src/25a6634@@four-in-a-row@exe/prefs-box.c
src/25a6634@@four-in-a-row@exe/prefs.c
src/25a6634@@four-in-a-row@exe/scorebox.c
src/25a6634@@four-in-a-row@exe/theme.c
valac -C --debug --debug --target-glib ' 2.40.0' --pkg glib-2.0 --pkg
libcanberra-gtk3 --pkg libcanberra --pkg librsvg-2.0 --pkg gtk+-3.0
--directory src/25a6634@@four-in-a-row@exe --basedir ../src
--target-glib 2.44 --vapidir
/home/giorgos/TEMPG/four-in-a-row-3.32.0/src/vapi
../src/vapi/config.vapi ../src/ai.vala ../src/four-in-a-row.vala
../src/game-board-view.vala ../src/game-board.vala
../src/games-controls-list.vala ../src/prefs-box.vala
../src/prefs.vala ../src/scorebox.vala ../src/theme.vala
librsvg-2.0.vapi:22.4-22.13: warning: [Deprecated] is deprecated. Use
[Version (deprecated = true, deprecated_since = "", replacement = "")]
librsvg-2.0.vapi:38.4-38.13: warning: [Deprecated] is deprecated. Use
[Version (deprecated = true, deprecated_since = "", replacement = "")]
librsvg-2.0.vapi:44.4-44.13: warning: [Deprecated] is deprecated. Use
[Version (deprecated = true, deprecated_since = "", replacement = "")]
librsvg-2.0.vapi:51.4-51.13: warning: [Deprecated] is deprecated. Use
[Version (deprecated = true, deprecated_since = "", replacement = "")]
librsvg-2.0.vapi:69.4-69.13: warning: [Deprecated] is deprecated. Use
[Version (deprecated = true, deprecated_since = "", replacement = "")]
librsvg-2.0.vapi:126.3-126.12: warning: [Deprecated] is deprecated.
Use [Version (deprecated = true, deprecated_since = "", replacement =
"")]
librsvg-2.0.vapi:132.3-132.12: warning: [Deprecated] is deprecated.
Use [Version (deprecated = true, deprecated_since = "", replacement =
"")]
librsvg-2.0.vapi:135.3-135.12: warning: [Deprecated] is deprecated.
Use [Version (deprecated = true, deprecated_since = "", replacement =
"")]
librsvg-2.0.vapi:138.3-138.12: warning: [Deprecated] is deprecated.
Use [Version (deprecated = true, deprecated_since = "", replacement =
"")]
librsvg-2.0.vapi:141.3-141.12: warning: [Deprecated] is deprecated.
Use [Version (deprecated = true, deprecated_since = "", replacement =
"")]
librsvg-2.0.vapi:144.3-144.12: warning: [Deprecated] is deprecated.
Use [Version (deprecated = true, deprecated_since = "", replacement =
"")]
librsvg-2.0.vapi:147.3-147.12: warning: [Deprecated] is deprecated.
Use [Version (deprecated = true, deprecated_since = "", replacement =
"")]
librsvg-2.0.vapi:156.3-156.12: warning: [Deprecated] is deprecated.
Use [Version (deprecated = true, deprecated_since = "", replacement =
"")]
../src/games-controls-list.vala:59.13-59.23: error: The name `STRING'
does not exist in the context of `GLib.Type'
Type.STRING,
^^^^^^^^^^^
../src/games-controls-list.vala:60.13-60.23: error: The name `STRING'
does not exist in the context of `GLib.Type'
Type.STRING,
^^^^^^^^^^^
../src/games-controls-list.vala:61.13-61.21: error: The name `UINT'
does not exist in the context of `GLib.Type'
Type.UINT,
^^^^^^^^^
../src/games-controls-list.vala:62.13-62.21: error: The name `UINT'
does not exist in the context of `GLib.Type'
Type.UINT,
^^^^^^^^^
../src/games-controls-list.vala:63.13-63.21: error: The name `UINT'
does not exist in the context of `GLib.Type'
Type.UINT,
^^^^^^^^^
../src/games-controls-list.vala:64.13-64.21: error: The name `UINT'
does not exist in the context of `GLib.Type'
Type.UINT);
^^^^^^^^^
../src/four-in-a-row.vala:87.18-87.23: error: The name `NOBODY' does
not exist in the context of `FourInARow.game_reset'
winner = NOBODY;
^^^^^^
../src/four-in-a-row.vala:379.26-379.32: error: The name `PLAYER1'
does not exist in the context of `FourInARow.is_player_human'
return player == PLAYER1 ?
Prefs.instance.level[PlayerID.PLAYER1] == Level.HUMAN
^^^^^^^
../src/four-in-a-row.vala:270.33-270.39: error: The name `PLAYER1'
does not exist in the context of `FourInARow.prompt_player'
who = player == PLAYER1 ?
theme_get_player_win(PlayerID.PLAYER1)
^^^^^^^
../src/four-in-a-row.vala:277.33-277.39: error: The name `PLAYER1'
does not exist in the context of `FourInARow.prompt_player'
who = player == PLAYER1 ?
theme_get_player_turn(PlayerID.PLAYER1)
^^^^^^^
../src/four-in-a-row.vala:101.33-101.39: error: The name `PLAYER1'
does not exist in the context of `FourInARow.game_reset'
vstr[0] = player == PLAYER1 ?
vlevel[Prefs.instance.level[PlayerID.PLAYER1]]
^^^^^^^
../src/four-in-a-row.vala:410.31-410.37: error: The name `PLAYER1'
does not exist in the context of `FourInARow.drop'
Tile tile = player == PLAYER1 ? Tile.PLAYER1 : Tile.PLAYER2;
^^^^^^^
../src/four-in-a-row.vala:110.23-110.28: error: The name `NOBODY' does
not exist in the context of `FourInARow.blink_winner'
if (winner == NOBODY)
^^^^^^
../src/four-in-a-row.vala:695.22-695.27: error: The name `NOBODY' does
not exist in the context of `FourInARow.check_game_state'
winner = NOBODY;
^^^^^^
Compilation failed: 14 error(s), 13 warning(s)
[7/17] Generating org.gnome.Four-in-a-row.appdata.xml_data_merge with
a custom command.
ninja: build stopped: subcommand failed.
_______________________________________________
games-list mailing list
games-list gnome org
https://mail.gnome.org/mailman/listinfo/games-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]