Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553348 - gnome-extra/activity-log-manager-0.9.7 fails to build with vala-0.28
Summary: gnome-extra/activity-log-manager-0.9.7 fails to build with vala-0.28
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks: 553176
  Show dependency tree
 
Reported: 2015-06-26 17:42 UTC by Pacho Ramos
Modified: 2015-06-28 17:02 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2015-06-26 17:42:59 UTC
Even if ebuild is setting:
VALA_MAX_API_VERSIOn="0.22"

It ends up using 0.28 and, then, failing with:
blacklist-dbus.vala:202.19-202.19: warning: if-statement without body
blacklist-dbus.vala:202.19-202.19: warning: if-statement without body
				if(ev != null);
				              ^
				if(ev != null);
				              ^
blacklist-dbus.vala:140.60-140.68: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public async void find_events (string id, TreeIter iter, ListStore store)
		                                                         ^^^^^^^^^
blacklist-dbus.vala:168.64-168.72: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public void get_count_for_app (string app_id, TreeIter iter, ListStore store) {
		                                                             ^^^^^^^^^
blacklist-dbus.vala:140.60-140.68: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public async void find_events (string id, TreeIter iter, ListStore store)
		                                                         ^^^^^^^^^
blacklist-dbus.vala:168.64-168.72: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public void get_count_for_app (string app_id, TreeIter iter, ListStore store) {
		                                                             ^^^^^^^^^
unified-privacy-applications.vala:63.59-63.67: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public void get_count_for_app(string id, TreeIter iter, ListStore store) {
		                                                        ^^^^^^^^^
unified-privacy-applications.vala:134.11-134.19: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		private ListStore store;
		        ^^^^^^^^^
unified-privacy-applications.vala:148.10-148.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy-applications.vala:148.10-148.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy-applications.vala:295.11-295.19: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		private ListStore store;
		        ^^^^^^^^^
unified-privacy-applications.vala:315.10-315.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy-applications.vala:315.10-315.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy-applications.vala:429.10-429.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy-applications.vala:429.10-429.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy-applications.vala:63.59-63.67: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
unified-privacy.vala:58.11-58.19: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public void get_count_for_app(string id, TreeIter iter, ListStore store) {
		                                                        ^^		private ListStore exception_list_store;
		^^^        ^^^^^^^^^
^^^^
unified-privacy-applications.vala:134.11-134.19: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		private ListStore store;
		        ^^^^^^^^^
unified-privacy-applications.vala:148.10-148.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy-applications.vala:148.10-148.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy-applications.vala:295.11-295.19: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		private ListStore store;
		        ^^^^^^^^^
unified-privacy-applications.vala:315.10-315.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy-applications.vala:315.10-315.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy-applications.vala:429.10-429.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy-applications.vala:429.10-429.18: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
		public ListStore liststore {
		       ^^^^^^^^^
unified-privacy.vala:58.11-58.19: error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore'
Compilation failed: 12 error(s), 1 warning(s)
		private ListStore exception_list_store;
		        ^^^^^^^^^
Compilation failed: 12 error(s), 1 warning(s)
Makefile:1279: recipe for target 'activity_log_manager_vala.stamp' failed
make[3]: *** [activity_log_manager_vala.stamp] Error 1
make[3]: *** Waiting for unfinished jobs....
Makefile:1328: recipe for target 'alm_switchboard_vala.stamp' failed
make[3]: *** [alm_switchboard_vala.stamp] Error 1
make[3]: Leaving directory '/var/tmp/portage/gnome-extra/activity-log-manager-0.9.7/work/activity-log-manager-0.9.7/src'
Makefile:1345: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/gnome-extra/activity-log-manager-0.9.7/work/activity-log-manager-0.9.7/src'
Makefile:499: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/gnome-extra/activity-log-manager-0.9.7/work/activity-log-manager-0.9.7'
Makefile:409: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: gnome-extra/activity-log-manager-0.9.7::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=gnome-extra/activity-log-manager-0.9.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnome-extra/activity-log-manager-0.9.7::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/gnome-extra/activity-log-manager-0.9.7:20150626-173953.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/gnome-extra/activity-log-manager-0.9.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/activity-log-manager-0.9.7/temp/environment'.
 * Working directory: '/var/tmp/portage/gnome-extra/activity-log-manager-0.9.7/work/activity-log-manager-0.9.7'
 * S: '/var/tmp/portage/gnome-extra/activity-log-manager-0.9.7/work/activity-log-manager-0.9.7'

I neither couldn't find any fix for 0.28 as project looks dead since 2013 :S
Comment 1 Pacho Ramos gentoo-dev 2015-06-27 11:31:51 UTC
+  27 Jun 2015; Pacho Ramos <pacho@gentoo.org> activity-log-manager-0.9.7.ebuild:
+  Fix typo in VALA_MAX_API_VERSION variable, it also builds with 0.26 (even if
+  it failed with 0.24)
+

It now builds :)
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-06-28 17:02:04 UTC
+*activity-log-manager-0.9.7-r1 (28 Jun 2015)
+
+  28 Jun 2015; Justin Lecher <jlec@gentoo.org>
+  +activity-log-manager-0.9.7-r1.ebuild,
+  +files/activity-log-manager-0.9.7-ambiguous.patch:
+  Add fixes for latest glib, Gtk and vala changes, bug #553348
+