* [gentoo-user] Re: Anyone here speak vala?
@ 2015-04-14 20:48 99% ` walt
0 siblings, 0 replies; 1+ results
From: walt @ 2015-04-14 20:48 UTC (permalink / raw
To: gentoo-user
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.
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-04-13 23:13 [gentoo-user] Anyone here speak vala? walt
2015-04-14 2:39 ` Fernando Rodriguez
2015-04-14 20:48 99% ` [gentoo-user] " walt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox