errors on compile from git

Bug #876730 reported by Joseph Bylund
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AllTray
Confirmed
Medium
Michael B. Trausch

Bug Description

1) Found in git version as of 2011/10/17.
2) Not packaged by distributor, code from "git clone https://github.com/mbt/alltray"
3) Window manager/desktop environment gnome-2.32.1
4) Should be reproducible.

Other infos:
valac-0.12

Output of make:

make all-recursive
make[1]: Entering directory `/home/user/temp/alltray/alltray'
Making all in intl
make[2]: Entering directory `/home/user/temp/alltray/alltray/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/user/temp/alltray/alltray/intl'
Making all in po
make[2]: Entering directory `/home/user/temp/alltray/alltray/po'
make[2]: Leaving directory `/home/user/temp/alltray/alltray/po'
Making all in images
make[2]: Entering directory `/home/user/temp/alltray/alltray/images'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/user/temp/alltray/alltray/images'
Making all in man
make[2]: Entering directory `/home/user/temp/alltray/alltray/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/user/temp/alltray/alltray/man'
Making all in src
make[2]: Entering directory `/home/user/temp/alltray/alltray/src'
valac -C --vapidir ./../vapi --pkg alltray --pkg gdk-2.0 --pkg gdk-x11-2.0 --pkg x11 --pkg gtk+-2.0 --pkg libwnck-1.0 --pkg x11_glue --pkg posix --pkg gtop_glue -X "-I header" \
  About.vala AllTray.vala Application.vala AttachHelper.vala Debug.vala GtkStatusIcon.vala Hotkey.vala Process.vala PromptDialog.vala Ctt.vala
About.vala:14.11-14.35: warning: string.chr is deprecated. Use string.index_of_char
Ctt.vala:123.14-123.30: warning: string.to_ulong is deprecated. Use uint64.parse
AllTray.vala:79.16-79.24: error: Argument 1: Cannot pass owned ref argument to unowned reference parameter
      Gdk.init(ref _args);
               ^^^^^^^^^
AllTray.vala:92.16-92.23: error: Argument 1: Cannot pass owned ref argument to unowned reference parameter
      Gtk.init(ref args);
               ^^^^^^^^
AllTray.vala:112.18-112.29: error: Argument 1: Cannot pass owned ref argument to unowned reference parameter
   opt_ctx.parse(ref env_args);
                 ^^^^^^^^^^^^
AllTray.vala:121.16-121.23: error: Argument 1: Cannot pass owned ref argument to unowned reference parameter
 opt_ctx.parse(ref args);
               ^^^^^^^^
Process.vala:71.11-71.25: warning: string.to_int is deprecated. Use int.parse
Compilation failed: 4 error(s), 3 warning(s)
make[2]: *** [alltray.stamp] Error 1
make[2]: Leaving directory `/home/user/temp/alltray/alltray/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/temp/alltray/alltray'
make: *** [all] Error 2

Revision history for this message
Michael B. Trausch (mtrausch) wrote :

The current git version of AllTray requires Vala 0.10 to build.

If you are able to bring it up to date to work with modern versions of Vala, I welcome the assistance of course. :) I will hopefully get some time soon in order to close this bug. Thank you for reporting it!

Changed in alltray:
importance: Undecided → Medium
milestone: none → 0.7.6dev
status: New → Confirmed
assignee: nobody → Michael B. Trausch (mtrausch)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.