From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aHFrGsJRYWDCEgEAgWs5BA (envelope-from ) for ; Mon, 29 Mar 2021 06:04:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4PtLFMJRYWCDLAAAbx9fmQ (envelope-from ) for ; Mon, 29 Mar 2021 04:04:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1658319F8C for ; Mon, 29 Mar 2021 06:04:18 +0200 (CEST) Received: from localhost ([::1]:34694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQj8T-0005vn-9p for larch@yhetil.org; Mon, 29 Mar 2021 00:04:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQj8F-0005uj-9d for guix-patches@gnu.org; Mon, 29 Mar 2021 00:04:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35903) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQj8E-0006dz-4v for guix-patches@gnu.org; Mon, 29 Mar 2021 00:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQj8E-00070L-0t for guix-patches@gnu.org; Mon, 29 Mar 2021 00:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47274] Linphone Packages Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Mar 2021 04:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47274 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Raghav Gururajan Cc: 47274@debbugs.gnu.org Received: via spool by 47274-submit@debbugs.gnu.org id=B47274.161699060726880 (code B ref 47274); Mon, 29 Mar 2021 04:04:01 +0000 Received: (at 47274) by debbugs.gnu.org; 29 Mar 2021 04:03:27 +0000 Received: from localhost ([127.0.0.1]:47449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQj7e-0006zT-Ve for submit@debbugs.gnu.org; Mon, 29 Mar 2021 00:03:27 -0400 Received: from mail-qk1-f171.google.com ([209.85.222.171]:47095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQj7b-0006z4-Tn for 47274@debbugs.gnu.org; Mon, 29 Mar 2021 00:03:25 -0400 Received: by mail-qk1-f171.google.com with SMTP id z10so11264786qkz.13 for <47274@debbugs.gnu.org>; Sun, 28 Mar 2021 21:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=eSII+/BKXXY3ZF2BwlKh5ZPihF4gRBLAChskRoVLp0k=; b=iQjGvTgrYVPj6npa+I/uEJXUggoHTnSO09MwneKzyeMLdkTgsM9JGt4r1Lv5MF65+0 gNjMjLuXr+Qi+hBHFecjwiq1zblBTZRtVRZHY/h3owNAlUv4WdLapWrR88AGA+HAxCTq x6VdpRrVXrpFikVejgWnnWPjJH3RCuZKE1wU7+WHIrWkRKTvQwQCd31Pr3nBTdn/Haek ws5l+81cAAKEK8S53hcSesA1Hq7TfwpQD/EmuOZlMUURJrMAfaSQ27iQT3R7QtKZjJ2M E3sphlK0oKmu2cANIKWhb/3Ey6sW32hp0YG9nPayU07V+l8fHg47f+7xJhk7wYC4iMAZ Agjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=eSII+/BKXXY3ZF2BwlKh5ZPihF4gRBLAChskRoVLp0k=; b=Nbi5uwP5DymsGEQphF1s9As0xAeboAEI2Q9YbX6JSnpF5JJjMPJ00QLjN7RKI94z3G KOaxNSGbsQhIDODGEA+vn9QcjXUxZHRO9qnZsJ2iy488cNOfq91nA9I699sBD9J/5tLh Iiv1zpwr3kspJ0Fq8zmDi9XwYWou2sJ0nOuoCtjmowJBqQhBt118sWwoly4toaQ6dcts Mt5VU2Bu7/+9WimmZMEQBeZxtvVo6V8tkaa5NPHifGZuIH4klegJq2vRWr0PyonhCE1x VfYJDLkTWvoPFctkjF0JBGeBfrRHQT3r5joZbLN1eTDAedNli7Em1wKQZ7aelN4tOJWU cMcA== X-Gm-Message-State: AOAM53326p3kZfaMFgnYV/G2yFdQov/CWzThmKDm03ZUa/+ileuZkof3 n5KcDPrVHaqfP/04gifBOse84P0kU7o= X-Google-Smtp-Source: ABdhPJwgLeJU3ukEznWFxyRi2arCTBAB9lx/7EMxjrLto2vbyzAGPARgN+PxiceS0tAxeCBjm5POSQ== X-Received: by 2002:ae9:e641:: with SMTP id x1mr23660641qkl.69.1616990598149; Sun, 28 Mar 2021 21:03:18 -0700 (PDT) Received: from hurd (dsl-155-113.b2b2c.ca. [66.158.155.113]) by smtp.gmail.com with ESMTPSA id a10sm12383141qkh.122.2021.03.28.21.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Mar 2021 21:03:17 -0700 (PDT) From: Maxim Cournoyer References: <2f3561d8-dfbd-992a-53c0-0856680a8552@raghavgururajan.name> <947239fd-4a1f-d340-dc5b-05089b50aedd@raghavgururajan.name> <66991ebb-4074-efab-4331-1ed195d55d26@raghavgururajan.name> <26fe14fd-bd97-44fd-5101-26fe608e2e2a@raghavgururajan.name> Date: Mon, 29 Mar 2021 00:03:16 -0400 In-Reply-To: <26fe14fd-bd97-44fd-5101-26fe608e2e2a@raghavgururajan.name> (Raghav Gururajan's message of "Mon, 22 Mar 2021 00:59:46 -0400") Message-ID: <871rbyd2t7.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616990658; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=eSII+/BKXXY3ZF2BwlKh5ZPihF4gRBLAChskRoVLp0k=; b=NTdAw8XU7QIVm3alEgpXPv91701sX0Ck8C4cRShmvVzzX289ZckFYODePLSsrbr6swuI9U aGrG9HtCSB48KhcWdyK8LZB3Z7093zYa4wSQrexINbUYdftAkcebOXvLazWQZW4tnh+cTf E0JMO4TxdJ4vTqrMv41CfGp8yYjfds4KlNohvxxE1OYalatrAAksYTySJCjUctMWHBf8vi nSmUj7b/pKVXRAmnJa/C5LkMuHWdFjFgeCFnPHLH3r94vlrS+XReOIkcp3tIkSmQBw5M07 BOn3bYWIrURPKN/qd07h7WI0q5CmAoSwQZuaozoxh1l11aiZw/x+x/ntNj5zRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616990658; a=rsa-sha256; cv=none; b=HVSA0tDnQ7A+/iuliSINzlwc5QsXDXUxIJ/LkwISG3SEZn/eSSql5qJeZPA/ANCD99X3Uh V9pfPWwm+u96xmzqtGBi3+wx8Z6pUZ2dk7WRvNPrpkPmjP+8wOygR46UJQ4ebBF92fwIRT a1o/XrNBEhVHfs03jLm+xmTl36VGMsPP2m5W3VM8VAXtOrNiRYgVuTERH42t/aoxJboTv+ m1KxYN31Tb6AVA/DJEhXKSwG5x6SLGeVcfqFdaSnPgxmKufglCxeK6h23Dpb4eYLRrJf0E lPBveQ4e9P6bUGWnD4I+ZJQauDhCL9hweElgOP+0/YKiUP5m5Uu2WVyVK7lPDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=iQjGvTgr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=iQjGvTgr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1658319F8C X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: mNTxCb670+c2 Hi Raghav! Raghav Gururajan writes: > Hello Guix! > >> Fixed it in the attached patch-set. The app works now. \o/ > > Spoke too soon. :/ > > New error now. > >> Anyway, I think we can do something for the following, w.r.t >> linphone-desktop: >> [1] Warnings. Fixing them might prevent them to become errors. >> [2] Better solution than symlinks in 'post-install phase. Because >> linphone-desktop should be able to read files in /lib and /share of >> *all* of its dependencies. Not just for those we made symlinks for, >> which is a temporary fix. >> Regarding [1], for one of the warnings, I tried creating symlink >> "{linphone-desktop}/lib" --> "{liblinphone}/lib", which worked. But >> is it the correct way? >> Regarding [2], I tried wrapping the program with XDG_DATA_DIRS, but >> didn't work. > > Looks like we need to do something about the [2]. The new error is > because of that. I can fix this new error with another symlink, but > new ones will keep happening. > > Context: > The old error that I mentioned and fixed in my previous email is, > "[Error]Core:linphone: Could not load grammar vcard_grammar because > the file could not be located.". > The new error I am mentioning in this email is, "[Error]Core:linphone: > Could not load grammar identity_grammar because the file could not be > located." > > Regards, > RG. I think I've managed to fix the issue, with the following: --8<---------------cut here---------------start------------->8--- (let* ((out (assoc-ref outputs "out")) (liblinphone (assoc-ref inputs "liblinphone")) (grammar-dest (string-append out "/share/belr/grammars"))) [...] (mkdir-p (dirname grammar-dest)) (symlink (string-append liblinphone "/share/belr/grammars") grammar-dest) --8<---------------cut here---------------end--------------->8--- At least it launches now, and everything seems to work. Will submit it soon! Thank you :-) Maxim