libdesktop-agnostic/color.vala:106.17-106.26: error: only automatic properties can have default values

Bug #519831 reported by Aaron Hurt
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Desktop Agnostic Library for GLib-based Projects
Fix Released
High
Mark Lee

Bug Description

Building on archlinux x86_64 with latest packages as of this posting:

Configuring libdesktop-agnostic 0.0.1-bzr383-trunk

Checking for program gcc : ok /usr/bin/gcc

Checking for program cpp : ok /usr/bin/cpp

Checking for program ar : ok /usr/bin/ar

Checking for program ranlib : ok /usr/bin/ranlib

Checking for gcc : ok

Checking for program valac : ok /usr/bin/valac

Checking for gthread-2.0 : ok

Checking for program version valac >= 0.1.6 : ok 0.7.10

Checking for program python : ok /usr/bin/python

Checking for gmodule-2.0 >= 2.6.0 : ok

Checking for glib-2.0 >= 2.10.0 : ok

Checking for gobject-2.0 >= 2.12.0 : ok

Checking for library m : ok

Checking for gdk-2.0 >= 2.12.0 : ok

Checking for gtk+-2.0 >= 2.12.0 : ok

Checking for glib-2.0 >= 2.14.0 : ok

Checking for gconf-2.0 : ok

Checking for gnome-vfs-2.0 >= 2.6.0 : ok

Checking for gnome-desktop-2.0 : ok

Checking for gobject-introspection-1.0 >= 0.6.3 : ok

Checking for Python version : 2.6.4

Checking for library python2.6 : ok

Checking for program python2.6-config : ok /usr/bin/python2.6-config

Checking for header Python.h : ok

Checking for pygobject-2.0 >= 2.12.0 : ok

Checking for program pygobject-codegen-2.0 : ok /usr/bin/pygobject-codegen-2.0

Checking for pygobject-2.0 >= 2.15.2 : ok

'configure' finished successfully (1.391s)

Waf: Entering directory `/tmp/yaourt-tmp-root/aur-libdesktop-agnostic-gnome-bzr/libdesktop-agnostic-gnome-bzr/src/libdesktop-agnostic/build'

[ 1/119] valac: libdesktop-agnostic/color.vala libdesktop-agnostic/module.vala -> build/default/libdesktop-agnostic/color.c build/default/libdesktop-agnostic/desktop-agnostic.h build/default/libdesktop-agnostic/desktop-agnostic.vapi build/default/libdesktop-agnostic/DesktopAgnostic-1.0.gir build/default/libdesktop-agnostic/desktop-agnostic.deps build/default/libdesktop-agnostic/module.c build/default/libdesktop-agnostic/desktop-agnostic.h build/default/libdesktop-agnostic/desktop-agnostic.vapi build/default/libdesktop-agnostic/DesktopAgnostic-1.0.gir build/default/libdesktop-agnostic/desktop-agnostic.deps

[ 2/119] copy: data/desktop-agnostic.pc.in -> build/default/data/desktop-agnostic.pc

[ 3/119] copy: data/desktop-agnostic.ini.in -> build/default/data/desktop-agnostic.ini

[ 4/119] copy: python/__init__.py.in -> build/default/python/__init__.py

[ 5/119] pyg_codegen: python/desktopagnostic.override python/desktopagnostic.defs -> build/default/python/desktopagnostic.c

***INFO*** The coverage of global functions is 100.00% (1/1)

***INFO*** The coverage of methods is 100.00% (23/23)

***INFO*** There are no declared virtual proxies.

***INFO*** There are no declared virtual accessors.

***INFO*** There are no declared interface proxies.

[ 6/119] pyg_codegen: python/config.override python/config.defs -> build/default/python/config.c

***INFO*** There are no declared global functions.

***INFO*** The coverage of methods is 100.00% (21/21)

***INFO*** There are no declared virtual proxies.

***INFO*** There are no declared virtual accessors.

***INFO*** There are no declared interface proxies.

[ 7/119] pyg_codegen: python/vfs.override python/vfs.defs -> build/default/python/vfs.c

libdesktop-agnostic/color.vala:106.17-106.26: error: only automatic properties can have default values

libdesktop-agnostic/module.vala:47.34-47.55: warning: deprecated syntax, use [CCode (has_target = false)]

libdesktop-agnostic/module.vala:63.34-63.52: warning: deprecated syntax, use [CCode (has_target = false)]

***INFO*** The coverage of global functions is 100.00% (2/2)

***INFO*** The coverage of methods is 100.00% (18/18)

***INFO*** There are no declared virtual proxies.

***INFO*** There are no declared virtual accessors.

***INFO*** There are no declared interface proxies.

Waf: Leaving directory `/tmp/yaourt-tmp-root/aur-libdesktop-agnostic-gnome-bzr/libdesktop-agnostic-gnome-bzr/src/libdesktop-agnostic/build'

Build failed

 -> task failed (err #1):

 {task: valac_task color.vala,module.vala -> color.c,desktop-agnostic.h,desktop-agnostic.vapi,DesktopAgnostic-1.0.gir,desktop-agnostic.deps,module.c,desktop-agnostic.h,desktop-agnostic.vapi,DesktopAgnostic-1.0.gir,desktop-agnostic.deps,desktop-agnostic.h}

Tags: color compile
Revision history for this message
Mark Lee (malept) wrote :

There's a branch with a fix for this already; I just need to merge it.

In the meantime, a workaround (IIRC) is to downgrade your Vala version.

tags: added: color compile
Changed in libdesktop-agnostic:
assignee: nobody → Mark Lee (malept)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Aaron Hurt (ahurt) wrote :

Thank you, I see the other branch now 'various fixes' ... I'll see if I can hack together a workaround for myself from that code. I really miss my awn dock..it's a great project

Mark Lee (malept)
Changed in libdesktop-agnostic:
milestone: none → 0.3.90
status: Triaged → Fix Released
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.