compilation error: fails to build with vala 0.20

Bug #1163667 reported by jorge on 2013-04-03
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Feedler
Medium
Daniel Kur

Bug Description

I get the following error when trying to compile:

[ 44%] Generating sw.gmo
/home/jorge/.apps/feedler/src/database.vala:219.4-219.22: warning: implicit .begin is deprecated
[ 45%] /home/jorge/.apps/feedler/src/database.vala:237.4-237.22: warning: implicit .begin is deprecated
/home/jorge/.apps/feedler/src/database.vala:240.4-240.22: warning: implicit .begin is deprecated
/home/jorge/.apps/feedler/src/database.vala:243.4-243.22: warning: implicit .begin is deprecated
/home/jorge/.apps/feedler/src/database.vala:283.4-283.22: warning: implicit .begin is deprecated
/home/jorge/.apps/feedler/src/database.vala:302.4-302.22: warning: implicit .begin is deprecated
/home/jorge/.apps/feedler/src/database.vala:322.4-322.22: warning: implicit .begin is deprecated
/home/jorge/.apps/feedler/src/database.vala:325.4-325.22: warning: implicit .begin is deprecated
/home/jorge/.apps/feedler/src/database.vala:343.4-343.22: warning: implicit .begin is deprecated
/home/jorge/.apps/feedler/src/database.vala:364.4-364.22: warning: implicit .begin is deprecated
/home/jorge/.apps/feedler/src/database.vala:382.4-382.22: warning: implicit .begin is deprecated
/home/jorge/.apps/feedler/src/database.vala:401.4-401.22: warning: implicit .begin is deprecated
Generating pt.gmo
/home/jorge/.apps/feedler/src/ui/sidebar.vala:80.22-80.32: error: Argument 1: Cannot pass value to reference or output parameter
  this.store.remove (folder_iter);
                     ^^^^^^^^^^^
/home/jorge/.apps/feedler/src/ui/sidebar.vala:87.22-87.33: error: Argument 1: Cannot pass value to reference or output parameter
  this.store.remove (channel_iter);
                     ^^^^^^^^^^^^
[ 46%] Generating fr_CA.gmo
/home/jorge/.apps/feedler/src/ui/view-list.vala:80.27-80.39: warning: Access to static member `Feedler.View.settings' with an instance reference
  this.browser.settings = this.settings;
                          ^^^^^^^^^^^^^
/home/jorge/.apps/feedler/src/ui/view-web.vala:17.27-17.39: warning: Access to static member `Feedler.View.settings' with an instance reference
  this.browser.settings = this.settings;
                          ^^^^^^^^^^^^^
/home/jorge/.apps/feedler/src/manager.vala:33.4-33.28: warning: GLib.Thread.create has been deprecated since 2.32. Use new Thread<T> ()
/home/jorge/.apps/feedler/src/window.vala:398.23-398.50: warning: Granite.Widgets.HintedEntry.get_text has been deprecated since 0.2. Use Gtk.Entry.get_text
[ 48%] /home/jorge/.apps/feedler/src/ui/subscription.vala:34.92-34.112: warning: Granite.Widgets.HintedEntry.get_text has been deprecated since 0.2. Use Gtk.Entry.get_text
/home/jorge/.apps/feedler/src/ui/subscription.vala:34.118-34.134: warning: Granite.Widgets.HintedEntry.get_text has been deprecated since 0.2. Use Gtk.Entry.get_text
/home/jorge/.apps/feedler/src/ui/subscription.vala:81.3-81.23: warning: Granite.Widgets.HintedEntry.set_text has been deprecated since 0.2. Use Gtk.Entry.set_text
/home/jorge/.apps/feedler/src/ui/subscription.vala:82.3-82.19: warning: Granite.Widgets.HintedEntry.set_text has been deprecated since 0.2. Use Gtk.Entry.set_text
/home/jorge/.apps/feedler/src/ui/folder.vala:28.61-28.80: warning: Granite.Widgets.HintedEntry.get_text has been deprecated since 0.2. Use Gtk.Entry.get_text
/home/jorge/.apps/feedler/src/ui/folder.vala:55.3-55.22: warning: Granite.Widgets.HintedEntry.set_text has been deprecated since 0.2. Use Gtk.Entry.set_text
Generating en_AU.gmo
Compilation failed: 2 error(s), 22 warning(s)
[ 49%] make[2]: *** [src/desktop-launcher.c] Error 1
make[1]: *** [CMakeFiles/feedler.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Generating eo.gmo
[ 50%] Generating ar.gmo
[ 51%] Generating ro.gmo
[ 53%] Generating pt_BR.gmo
[ 54%] Generating sv.gmo
[ 55%] Generating en_GB.gmo
[ 56%] Built target translations
make: *** [all] Error 2

Pim Vullers (pimvullers) wrote :
Download full text (7.2 KiB)

When trying to build feedler with valac 0.20 I get the following error:

[ 1%] Generating src/desktop-launcher.c, src/database.c, src/dock.c, src/feedler.c, src/indicator.c, src/history.c, src/manager.c, src/settings.c, src/window.c, src/ui/cardlayout.c, src/ui/contractor.c, src/ui/folder.c, src/ui/infobar.c, src/ui/menu.c, src/ui/preferences.c, src/ui/sidebar.c, src/ui/sidebar-cell.c, src/ui/statusbar.c, src/ui/subscription.c, src/ui/toolbar.c, src/ui/view.c, src/ui/view-cell.c, src/ui/view-list.c, src/ui/view-web.c, src/service/interface.c, src/service/model.c, src/service/serializer.c
/usr/bin/valac-0.20 -C -b /tmp/portage/net-news/feedler-9999/work/feedler-9999 -d /tmp/portage/net-news/feedler-9999/work/feedler-9999_build --pkg=gtk+-3.0 --pkg=granite --pkg=unity --pkg=libsoup-2.4 --pkg=libxml-2.0 --pkg=sqlheavy-0.1 --pkg=gee-1.0 --pkg=DbusmenuGtk3-0.4 --pkg=Dbusmenu-0.4 --thread -g /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/desktop-launcher.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/database.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/dock.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/feedler.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/indicator.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/history.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/manager.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/settings.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/window.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/cardlayout.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/contractor.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/folder.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/infobar.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/menu.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/preferences.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/sidebar.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/sidebar-cell.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/statusbar.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/subscription.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/toolbar.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/view.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/view-cell.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/view-list.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/ui/view-web.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/service/interface.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/service/model.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/src/service/serializer.vala /tmp/portage/net-news/feedler-9999/work/feedler-9999/vapi/config.vapi /tmp/portage/net-news/feedler-9999/work/feedler-9999/vapi/webkitgtk-3.0.vapi /tmp/portage/net-news/feedler-9999/work/feedler-9999/vapi/Indicate-0.7.vapi
/tmp/portage/net-news/feedler-9999/work/feedler-9999/src/database.vala:219.4-219.22: w...

Read more...

Changed in feedler:
status: New → Confirmed
summary: - compilation error
+ compilation error: fails to build with vala 0.20
Cody Garver (codygarver) on 2013-05-04
Changed in feedler:
importance: Undecided → Medium
Changed in feedler:
assignee: nobody → Daniel Kur (daniel-m-kur)
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers