Sezen Gnome Panel applet fails to compile in Ubuntu 10.10 Maverick Meerkat

Bug #621734 reported by Alin Andrei on 2010-08-21
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sezen
Undecided
Michal Hruby

Bug Description

Sezen Gnome Panel applet fails to compile in Ubuntu 10.10 Maverick Meerkat. It seems to be a Vala issue (:

toolbar.vala:269.14-269.74: warning: unhandled error `GLib.Error'
      return theme.load_icon (icon_name, size, IconLookupFlags.FORCE_SIZE);
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
toolbar.vala:242.20-243.60: warning: unhandled error `GLib.Error'
pixbuf-cache.vala:203.26-203.56: warning: unhandled error `GLib.Error'
        GLib.Icon icon = Icon.new_for_string (icon_name);
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pixbuf-cache.vala:207.27-207.67: warning: unhandled error `GLib.Error'
          var input_str = yield loadable.load_async (0, null, null);
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pixbuf-cache.vala:208.18-208.61: warning: unhandled error `GLib.Error'
          pbuf = new Gdk.Pixbuf.from_stream (input_str, null);
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pixbuf-cache.vala:220.18-220.32: warning: unhandled error `GLib.Error'
          pbuf = ii.load_icon ().copy ();
                 ^^^^^^^^^^^^^^^
pixbuf-cache.vala:170.20-170.60: error: Invalid assignment from owned expression to unowned variable
      unowned Icon icon = g_content_type_get_icon (mimetype);
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pixbuf-cache.vala:171.11-171.14: error: The name `icon' does not exist in the context of `Sezen.PixbufCache.get_pixbuf_for_mimetype'
      if (icon == null) return null;
          ^^^^
pixbuf-cache.vala:172.43-172.46: error: The name `icon' does not exist in the context of `Sezen.PixbufCache.get_pixbuf_for_mimetype'
      pixbuf = yield get_pixbuf_for_icon (icon, icon_size);
                                          ^^^^
pixbuf-cache.vala:125.18-127.71: warning: unhandled error `GLib.Error'
menu-items.vala:174.7-174.49: warning: unhandled error `GLib.SpawnError'
      Process.spawn_command_line_async (cmd_line);
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
menu-items.vala:49.23-51.64: warning: unhandled error `GLib.Error'
dashboard-view.vala:281.7-281.82: warning: unhandled error `GLib.SpawnError'
      Process.spawn_command_line_async ("xdg-open \"" + subject.get_uri () + "\"");
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dashboard-view.vala:227.38-227.53: warning: unhandled error `GLib.Error'
          unowned Gdk.Pixbuf? pbuf = get_icon.end (r);
                                     ^^^^^^^^^^^^^^^^
dashboard-view.vala:184.17-184.74: warning: unhandled error `GLib.Error'
      no_icon = IconTheme.get_default ().load_icon ("gtk-file", 48, flags);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 3 error(s), 13 warning(s)
make[4]: *** [sezenapplet_vala.stamp] Error 1
make[4]: Leaving directory `/build/buildd/gnome-applets-2.30.0/sezen/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/buildd/gnome-applets-2.30.0/sezen'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/gnome-applets-2.30.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/gnome-applets-2.30.0'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

You can see the complete build log, here: http://launchpadlibrarian.net/54104886/buildlog_ubuntu-maverick-i386.gnome-applets_2.30.0-3ubuntu2%2Bbzr10344~webupd8~maverick1_FAILEDTOBUILD.txt.gz

Michal Hruby (mhr3) wrote :

I think this is fixed now.

Changed in sezen:
assignee: nobody → Michal Hruby (mhr3)
status: New → Fix Committed
Alin Andrei (nilarimogard) wrote :

Indeed, I can confirm it has been fixed.

Thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers