From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C330B138C48 for ; Tue, 14 Apr 2015 20:49:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FB7BE08F7; Tue, 14 Apr 2015 20:48:54 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3CD7E088A for ; Tue, 14 Apr 2015 20:48:52 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Yi7lJ-0000Um-K1 for gentoo-user@lists.gentoo.org; Tue, 14 Apr 2015 22:48:49 +0200 Received: from 216.240.144.60 ([216.240.144.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Apr 2015 22:48:49 +0200 Received: from w41ter by 216.240.144.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Apr 2015 22:48:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: Anyone here speak vala? Date: Tue, 14 Apr 2015 13:48:43 -0700 Message-ID: References: <2668530.4y3xcoLKSJ@navi> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 216.240.144.60 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: <2668530.4y3xcoLKSJ@navi> X-Archives-Salt: 6b16106f-47c6-4469-976b-1322fdf42767 X-Archives-Hash: e4658ef0f3c36ab3114f9b775e9b67d6 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.