After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 774094 - Build failure in GNOME Continuous
Build failure in GNOME Continuous
Status: RESOLVED FIXED
Product: gnome-nibbles
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-nibbles-maint
gnome-nibbles-maint
Depends on:
Blocks:
 
 
Reported: 2016-11-08 09:42 UTC by Emmanuele Bassi (:ebassi)
Modified: 2016-11-08 13:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Really fix wrong printf format specifier for 'Game Over' screen (16.92 KB, patch)
2016-11-08 13:15 UTC, Iulian Radu
committed Details | Review

Description Emmanuele Bassi (:ebassi) 2016-11-08 09:42:32 UTC
Nibbles fails to build on Continuous:

gnome-nibbles.vala:980.103-980.113: error: Argument 1: Cannot convert from `long' to `int'
        var points_left_label = new Gtk.Label (_("(%d more points to reach the leaderboard)").printf (points_left));
                                                                                                      ^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)

It's likely a change introduced by the Vala compiler.
Comment 1 Iulian Radu 2016-11-08 13:15:47 UTC
The following fix has been pushed:
ec263d1 Really fix wrong printf format specifier for 'Game Over' screen
Comment 2 Iulian Radu 2016-11-08 13:15:52 UTC
Created attachment 339313 [details] [review]
Really fix wrong printf format specifier for 'Game Over' screen