Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753866 - games-puzzle/swell-foop-3.34.1 : ../.../game-view.vala:357.9-357.17: error: syntax error, no expression allowed between array brac
Summary: games-puzzle/swell-foop-3.34.1 : ../.../game-view.vala:357.9-357.17: error: s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-10 15:22 UTC by Toralf Förster
Modified: 2021-04-18 13:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.08 KB, text/plain)
2020-11-10 15:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,32.29 KB, text/plain)
2020-11-10 15:22 UTC, Toralf Förster
Details
environment (environment,113.17 KB, text/plain)
2020-11-10 15:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.29 KB, application/x-bzip)
2020-11-10 15:22 UTC, Toralf Förster
Details
games-puzzle:swell-foop-3.34.1:20201110-004457.log (games-puzzle:swell-foop-3.34.1:20201110-004457.log,6.86 KB, text/plain)
2020-11-10 15:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.71 KB, application/x-bzip)
2020-11-10 15:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-11-10 15:22:24 UTC
FAILED: src/swell-foop.p/history.c src/swell-foop.p/game.c src/swell-foop.p/game-view.c src/swell-foop.p/score-dialog.c src/swell-foop.p/swell-foop.c 
/usr/bin/valac-0.50 -C --pkg clutter-gtk-1.0 --pkg clutter-1.0 --pkg gtk+-3.0 --pkg gobject-2.0 --target-glib ' 2.36' --pkg glib-2.0 --pkg gmodule-2.0 --pkg posix /var/tmp/portage/games-puzzle/swell-foop-3.34.1/work/swell-foop-3.34.1/vapi/config.vapi --color=always --directory src/swell-foop.p --basedir ../swell-foop-3.34.1/src ../swell-foop-3.34.1/src/history.vala ../swell-foop-3.34.1/src/game.vala ../swell-foop-3.34.1/src/game-view.vala ../swell-foop-3.34.1/src/score-dialog.vala ../swell-foop-3.34.1/src/swell-foop.vala
../swell-foop-3.34.1/src/game-view.vala:357.9-357.17: error: syntax error, no expression allowed between array brackets
        string[4] colors = {"blue", "green", "yellow", "red"};
        ^^^^^^^^^
../swell-foop-3.34.1/src/swell-foop.vala:445.13-445.24: warning: `Gtk.show_uri' has been deprecated since 3.22

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20201108-130033

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
Available Rust versions:
  [1]   rust-1.47.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Nov 10 12:05:42 AM UTC 2020

emerge -qpvO games-puzzle/swell-foop
[ebuild  N    ] games-puzzle/swell-foop-3.34.1
Comment 1 Toralf Förster gentoo-dev 2020-11-10 15:22:25 UTC
Created attachment 670682 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-10 15:22:27 UTC
Created attachment 670685 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-10 15:22:29 UTC
Created attachment 670688 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-11-10 15:22:30 UTC
Created attachment 670691 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-10 15:22:31 UTC
Created attachment 670694 [details]
games-puzzle:swell-foop-3.34.1:20201110-004457.log
Comment 6 Toralf Förster gentoo-dev 2020-11-10 15:22:33 UTC
Created attachment 670697 [details]
temp.tbz2
Comment 7 Matt Turner gentoo-dev 2021-04-18 13:50:11 UTC
Interesting. This appears to be a vala-0.50 incompatibility.
Comment 8 Larry the Git Cow gentoo-dev 2021-04-18 13:56:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e624b40e8a5654294f68ed7725cb994893ae8f

commit b5e624b40e8a5654294f68ed7725cb994893ae8f
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-18 13:55:03 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-18 13:56:07 +0000

    games-puzzle/swell-foop: Fix compatibility with vala-0.50
    
    Closes: https://bugs.gentoo.org/753866
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 .../swell-foop/files/3.34.1-fix-vala-0.50.patch    | 25 ++++++++++++++++++++++
 games-puzzle/swell-foop/swell-foop-3.34.1.ebuild   |  4 ++++
 2 files changed, 29 insertions(+)