From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Frederickson Subject: Re: Permissions error during libhandy build - looking for tips Date: Sun, 7 Jul 2019 17:40:55 -0400 Message-ID: <20190707174055.01bd6461@terracrypt.net> References: <20190707124146.45d1f173@terracrypt.net> <4cfe1fd1-2a97-2f43-22db-4c19f890f286@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45459) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkEu4-00039o-9u for guix-devel@gnu.org; Sun, 07 Jul 2019 17:41:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkEu3-0004ns-1W for guix-devel@gnu.org; Sun, 07 Jul 2019 17:41:00 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:38989) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hkEu2-0004nN-KP for guix-devel@gnu.org; Sun, 07 Jul 2019 17:40:58 -0400 In-Reply-To: <4cfe1fd1-2a97-2f43-22db-4c19f890f286@web.de> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Jonathan Brielmaier Cc: guix-devel@gnu.org On Sun, 7 Jul 2019 20:47:06 +0200 Jonathan Brielmaier wrote: > It tries to install the libglade-handy.so to the glade package, which > is forbidden. m4jn72l561mppfh12br1vcrp9x9y812p-glade-3.22.1 is a > different package, which you can't change during the install process > of libhandy... Ahh, yeah, makes sense. I noticed that store path is different than the one for the glade package in my profile, so I thought Guix might have extended the glade package somehow... guess not. > So there are two options from here: > - bring meson to install libglade-handy.so to the libhandy package > - don't intall libglade-handy.so at all Is the former the usual method for providing libraries like this? If I'm interpreting this correctly, meson somehow found the path to the glade package during the build, and I'd have to figure out how and override that to ensure libglade-handy.so ends up in the build tree for the libhandy package? Assuming that's the case, am I correct in thinking that Glade (the UI editor) will then be able to find libglade-handy.so because it'll be in my profile? > 0.0.10 is out, I think we should package this version. You're right; I started attempting this before 0.0.10 came out, but whenever I submit the package I'll pull in the latest version. > I would change this: > (origin > (method url-fetch) > (uri (string-append > "https://source.puri.sm/Librem5/libhandy/-/archive/" > version > "/libhandy-" > version > ".tar.gz")) > > to an origin based on git-fetch from a tag. This is usually better in > terms of reproducibility: > > (source (origin > (method git-fetch) > (uri (git-reference > (url "https://source.puri.sm/Librem5/libhandy") > (commit version))) > (file-name (git-file-name name version)) Ah, I forgot that the parameter to "commit" could also be a tag. I'll adjust that. > By the way: Am I right in the assumption that you are interested in > the Librem 5? Yup! I saw someone having trouble installing libhandy in one of their chatrooms, and I was thinking it might be interesting to try and get some of their software running with Guix. (Who knows, maybe we could run Guix System on the Librem 5 once it's out!)