* [gentoo-user] Anyone here speak vala?
@ 2015-04-13 23:13 walt
2015-04-14 2:39 ` Fernando Rodriguez
0 siblings, 1 reply; 3+ messages in thread
From: walt @ 2015-04-13 23:13 UTC (permalink / raw
To: gentoo-user
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 :(
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Anyone here speak vala?
2015-04-13 23:13 [gentoo-user] Anyone here speak vala? walt
@ 2015-04-14 2:39 ` Fernando Rodriguez
2015-04-14 20:48 ` [gentoo-user] " walt
0 siblings, 1 reply; 3+ messages in thread
From: Fernando Rodriguez @ 2015-04-14 2:39 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
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.
--
Fernando Rodriguez
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: Anyone here speak vala?
2015-04-14 2:39 ` Fernando Rodriguez
@ 2015-04-14 20:48 ` walt
0 siblings, 0 replies; 3+ messages in thread
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 [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-04-14 20:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-13 23:13 [gentoo-user] Anyone here speak vala? walt
2015-04-14 2:39 ` Fernando Rodriguez
2015-04-14 20:48 ` [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