On 04/13/2015 07:39 PM, Fernando Rodriguez wrote: > On Monday, April 13, 2015 4:13:40 PM walt wrote: >> I'm trying to install dev-libs/granite but the install fails with this bit > of wit: >> >> /var/tmp/portage/dev- > libs/granite-0.2.3.1/work/granite-0.2.3.1/lib/Widgets/DynamicNotebook.vala:509.19-509.49: > > error: Return value transfers ownership but method return type hasn't been > declared to transfer ownership >> get { return add_button.tooltip_text; } >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> Sometimes I despair of software devs ever learning to communicate with > humans :( >> >> > > I don't know Vala but I can tell you what's going on. It's a version mismatch > between the compiler and library. Since vala is in early stages the syntax is > still changing. So the answer is to file a bug with gentoo. > > However you can get it to compile with valac-0.24 but it looks for valac-0.26 > so: > > # mv /usr/bin/valac-0.26 /usr/bin/valac-0.26.old > # cp /usr/bin/valac-0.24 /usr/bin/valac-0.26 > # emerge dev-libs/granite > > And then restore the original valac-0.26. This will compile successfully but > with several warnings so it may not actually work.
Your workaround got granite installed, thanks. My objective is to try to build a promising calendar app I downloaded from the ElementaryOS project (all their apps are written in vala). So now I'll go try to make the calendar work :) Thanks again.